List Info

Thread: Apache on Mac68k




Apache on Mac68k
user name
2006-12-03 17:50:45
Hello,

> Has anyone had any success building Apache in NetBSD
1.6.2?   I have an
> old LC III that I have installed NetBSD 1.6.2 SoftFloat
on, and I'm
> running into some dificulty getting Perl 5 to build --
Perl is required
> for Apache.

I used to run a few 1.6 servers on m68k Macs and Amigas back
in the day 
with Apache, PHP, MySQL, and so forth. However, pkgsrc is
moving past 1.6, 
so it's not as easy as it used to be - not everything works
out of the 
box.

> Barring that, has anyone had any luck installing NetBSD
3.1 on an LC III 
> with no FPU?  All of my attempts have failed at the
disk partition and 
> format stage.  Has anyone compiled a 3.1 SoftFloat
distribution yet?

You could try these:

ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-3.0-mac68ksoft
float/

They're from a year ago, but it might prove a good starting
point. I 
believe that everything is committed so that you can also
build softfloat 
from source.

> I really want to get Apache up and running on this LC
III under a stable
> NetBSD environment.   That precludes 2.X release of
NetBSD for the 68k
> Macs unfortunately.

Yes, NetBSD-2 was pretty much a wash for m68k machines.
NetBSD-4 was just 
branched, and seems completely stable now on my Quadras.
I'll try to build 
a softfloat NetBSD-4 release...

John
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-03 18:46:06
> Barring that, has anyone had any luck installing NetBSD
3.1 on an LC III 
> with no FPU?  All of my attempts have failed at the
disk partition and 
> format stage.  Has anyone compiled a 3.1 SoftFloat
distribution yet?

Regarding the installer issues, I'm not sure if they were
fixed. You might 
need to install the sets manually.

I've built softfloat sets for mac68k. Currently, m68030
softfloat sets are 
available here:

ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-4_BETA2-030sof
t-mac68k/

m68040 optimized softfloat binaries will shortly be
available here:

ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-4_BETA2-040sof
t-mac68k/

Please try these out and let us know how they work. Also
please let us 
know if the installer works.

John
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-04 20:37:51
At 10:46 Uhr -0800 3.12.2006, John Klos wrote:
>Regarding the installer issues, I'm not sure if they
were fixed.

Was this a generic sysinst failure, or something LC040 /
softfloat specific?

>I've built softfloat sets for mac68k.

Is there a description somewhere of the softfloat build
procedure?

	hauke

--
"It's never straight up and down"     (DEVO)


NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-06 14:36:11
Hi,

Thanks very much for doing this.  I've had to put my 
68k systems away for now.  I'd use them but they don't
have enough memory for what I need to run.  It's too bad.

Thanks again!

cheers

bruce


On Sun, Dec 03, 2006 at 10:46:06AM -0800, John Klos wrote:
> >Barring that, has anyone had any luck installing
NetBSD 3.1 on an LC III 
> >with no FPU?  All of my attempts have failed at the
disk partition and 
> >format stage.  Has anyone compiled a 3.1 SoftFloat
distribution yet?
> 
> Regarding the installer issues, I'm not sure if they
were fixed. You might 
> need to install the sets manually.
> 
> I've built softfloat sets for mac68k. Currently, m68030
softfloat sets are 
> available here:
> 
>
ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-4_BETA2-030sof
t-mac68k/
> 
> m68040 optimized softfloat binaries will shortly be
available here:
> 
>
ftp://ftp.ziaspace.com/pub/NetBSD/m68k/NetBSD-4_BETA2-040sof
t-mac68k/
> 
> Please try these out and let us know how they work.
Also please let us 
> know if the installer works.
> 
> John

-- 
edoneelsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-06 14:51:20
Hi,

Unless something has changed, you do a normal build.sh
build but you set MKSOFTFLOAT=yes beforehand.

For those of you who want to play with the 68k systems,
first, thanks, and second get something, anything, faster
for building.

It can be days to build stuff on a 68k system.  If you only
will run apple hardware get some cheap G3 to run build.sh
on.  Otherwise, if you can stand to see a x86 boot, intel
systems run gcc very fast, and this makes build.sh
run fast.

cheers

bruce

On Mon, Dec 04, 2006 at 09:37:51PM +0100, Hauke Fath wrote:
> At 10:46 Uhr -0800 3.12.2006, John Klos wrote:
> >Regarding the installer issues, I'm not sure if
they were fixed.
> 
> Was this a generic sysinst failure, or something LC040
/ softfloat specific?
> 
> >I've built softfloat sets for mac68k.
> 
> Is there a description somewhere of the softfloat build
procedure?
> 
> 	hauke
> 
> --
> "It's never straight up and down"     (DEVO)
> 
> 

-- 
edoneelsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-07 07:11:15
Hi,

On 2006/12/06, at 23:51, Bruce O'Neel wrote:

> Hi,
>
> Unless something has changed, you do a normal build.sh
> build but you set MKSOFTFLOAT=yes beforehand.

When I was a new, some members gave me advices "how
to",
sorry I don't remember it clearly. Please teach me it again.
It was 2 points;

1) in /etc/mk.conf, add one line;
MKSOFTFLOAT=yes

2) in My kernel config file, add one line;
options       COPTS+=-msoft-float -02 -68030

I'm not sure about 2) "COPTS+".
1) Is this correct?
2) Where should I put it? In My kernel conf or in mk.conf?
3) Is it required not only building a kernel but also
release?
4) Is it also work(required) for making packages?

If "YES" to 3) or 4), it should be put in mk.conf,
...?

>
> For those of you who want to play with the 68k systems,
> first, thanks, and second get something, anything,
faster
> for building.
>
> It can be days to build stuff on a 68k system.  If you
only
> will run apple hardware get some cheap G3 to run
build.sh
> on.  Otherwise, if you can stand to see a x86 boot,
intel
> systems run gcc very fast, and this makes build.sh
> run fast.
>
> cheers
>
> bruce

Yes, I think so. I got a cheap P.III box for Cross
Compiling.
It's about 50 times faster than my fastest Quadra. It's very
useful especially for making a mac68k test kernel.

Thanks a lot,
Kazu Inanaga

NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-11 16:08:48
Hi,

I didn't like changing /etc/mk.conf so much, so I just did

env MKSOFTFLOAT=yes build.sh blah blah blah

It is required for all of the building.  You need to make
sure that 
gcc doesn't generate FPU instructions.

cheers

bruce

On Thu, Dec 07, 2006 at 04:11:15PM +0900, Kazuyuki Inanaga
wrote:
> Hi,
> 
> On 2006/12/06, at 23:51, Bruce O'Neel wrote:
> 
> >Hi,
> >
> >Unless something has changed, you do a normal
build.sh
> >build but you set MKSOFTFLOAT=yes beforehand.
> 
> When I was a new, some members gave me advices
"how to",
> sorry I don't remember it clearly. Please teach me it
again.
> It was 2 points;
> 
> 1) in /etc/mk.conf, add one line;
> MKSOFTFLOAT=yes
> 
> 2) in My kernel config file, add one line;
> options       COPTS+=-msoft-float -02 -68030
> 
> I'm not sure about 2) "COPTS+".
> 1) Is this correct?
> 2) Where should I put it? In My kernel conf or in
mk.conf?
> 3) Is it required not only building a kernel but also
release?
> 4) Is it also work(required) for making packages?
> 
> If "YES" to 3) or 4), it should be put in
mk.conf, ...?
> 
> >
> >For those of you who want to play with the 68k
systems,
> >first, thanks, and second get something, anything,
faster
> >for building.
> >
> >It can be days to build stuff on a 68k system.  If
you only
> >will run apple hardware get some cheap G3 to run
build.sh
> >on.  Otherwise, if you can stand to see a x86 boot,
intel
> >systems run gcc very fast, and this makes build.sh
> >run fast.
> >
> >cheers
> >
> >bruce
> 
> Yes, I think so. I got a cheap P.III box for Cross
Compiling.
> It's about 50 times faster than my fastest Quadra. It's
very
> useful especially for making a mac68k test kernel.
> 
> Thanks a lot,
> Kazu Inanaga
> 

-- 
edoneelsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-12 12:12:55
Hi,

On 2006/12/12, at 1:08, Bruce O'Neel wrote:
> I didn't like changing /etc/mk.conf so much, so I just
did
>
> env MKSOFTFLOAT=yes build.sh blah blah blah
>
> It is required for all of the building.

I see. Thanks a lot!

> You need to make sure that gcc doesn't generate FPU
instructions.

Sorry for bothering you, but I can't understand this.
Does this advice point "cross-compilation"?

man: GCC(1)
-msoft-float
Generate output containing library calls for floating point.
 Warn-
ing: the requisite libraries are not available for all m68k
tar-
gets.  Normally the facilities of the machine's usual C
compiler
are used, but this can't be done directly in
cross-compilation.
You must make your own arrangements to provide suitable
library
functions for cross-compilation.  The embedded targets
m68k-*-aout
and m68k-*-coff do provide software floating point support.

 >You must make your own arrangements to ...
How can I make it acutually?

Regards,
Kazu Inanaga

NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-12 14:01:59
Hi,

The softfloat patches had two parts to them.

- make sure that gcc was called with -msoft-float.

- make sure that libc had a full software floating point
package which matched what gcc was expecting.

The second part was stolen from the arm port.

Therefore, if you have the softfloat build installed 
-msoft-float will work just fine.  It works (well used to
work) just fine from build.sh on a non m68k system, so, it
probably still works.

If you don't have the softfloat build installed -msoft-float

will compile, but not link.

cheers

bruce

On Tue, Dec 12, 2006 at 09:12:55PM +0900, Kazuyuki Inanaga
wrote:
> Hi,
> 
> On 2006/12/12, at 1:08, Bruce O'Neel wrote:
> >I didn't like changing /etc/mk.conf so much, so I
just did
> >
> >env MKSOFTFLOAT=yes build.sh blah blah blah
> >
> >It is required for all of the building.
> 
> I see. Thanks a lot!
> 
> >You need to make sure that gcc doesn't generate FPU
instructions.
> 
> Sorry for bothering you, but I can't understand this.
> Does this advice point "cross-compilation"?
> 
> man: GCC(1)
> -msoft-float
> Generate output containing library calls for floating
point.  Warn-
> ing: the requisite libraries are not available for all
m68k tar-
> gets.  Normally the facilities of the machine's usual C
compiler
> are used, but this can't be done directly in
cross-compilation.
> You must make your own arrangements to provide suitable
library
> functions for cross-compilation.  The embedded targets
m68k-*-aout
> and m68k-*-coff do provide software floating point
support.
> 
> >You must make your own arrangements to ...
> How can I make it acutually?
> 
> Regards,
> Kazu Inanaga
> 

-- 
edoneelsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
NetBSD-4 softfloat (was: Apache on Mac68k)
user name
2006-12-12 16:46:07
Hi,

I read "edoneel daily - Downloads".
http://edo
neel.chaosnet.org/Downloads.html

> NetBSD Current
> The patches for the softfloat build are now included in
NetBSD- 
> current.
> Set MKSOFTFLOAT=yes

> General
> NB: Any additional things you build for your LC040
system must be  
> built
> with the -msoft-float flag to gcc.


On 2006/12/12, at 23:01, Bruce O'Neel wrote:
> Therefore, if you have the softfloat build installed
> -msoft-float will work just fine.  It works (well used
to
> work) just fine from build.sh on a non m68k system, so,
it
> probably still works.
>
> If you don't have the softfloat build installed
-msoft-float
> will compile, but not link.
>

I get it much clear now, I think. ;)
I've started to "build.sh release" for my FPU-less
machines
on i386 and Quadra800 with -current source. I expect to
report
"success" later.

Thanks a lot,
Kazu Inanaga
[1-10] [11]

about | contact  Other archives ( Real Estate discussion Medical topics )