So next, I've tried to compile it for 3.2v4.2.
I've added the -mcoff option to make it run on 3.2v4.2.
Then copied the binaries to the 3.2v4.2 machine but apache refuses to
start:
The error_log says:
open: No such file or directory
httpd: Could not open /dev/zero
Has anybody some hints for me how to compile apache for SCO Unix
3.2v4.2
on a OpenServer 3.2v5.0.2 with gcc?
Or is there a binary distribution for SCO that runs on a 3.2v4.2?
Thanks in advance.
--
Kind regards
Siegfried
Yumpin yimminy, why????
Run it on a Linux or Free BSD machine- are you looking for pain?
--
Please note new phone number: (781) 784-7547
Tony Lawrence
Unix/Linux Support Tips, How-To's, Tests and more: http://aplawrence.com
Free Unix/Linux Consultants list: http://aplawrence.com/consultants.html
--
Kind regards
Siegfried
Hi.
According to the OS5 docs, /dev/zero is a source of an unlimited stream
of zero-valued bytes.
I don't have a 3.2v4.2 machine around but check if you have
/dev/byte/hex/00; if you do, then you can link it to /dev/zero.
Alternatively, you __MIGHT__ try by linking /dev/null to /dev/zero but
I'm not sure about that (do it at your own risk).
Last, you could write a simple shell/C program which opens a named pipe
(eg, /dev/zero) and fills it with an unlimited stream of zero bytes,
thus satisfying Apache's needs.
Best,
Roberto
--
---------------------------------------------------------------------
Roberto Zini email : r.z...@strhold.it
Technical Support Manager -- Strhold Evolution Division R.E. (ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)
5 years?? That means they were sold a rather obsolete product in the
beginning. 3.2v4.2 was current from 1993 - 1995.
And, there is most certainly a reason to upgrade. 3.2v4.2 is unlikely
to run properly on current hardware and you certainly are not going
to find drivers for most, if not all, modern hardware.
--
==========================================================================
Tom Parsons t...@tegan.com
==========================================================================
>
> According to the OS5 docs, /dev/zero is a source of an unlimited
stream
> of zero-valued bytes.
>
> I don't have a 3.2v4.2 machine around but check if you have
> /dev/byte/hex/00; if you do, then you can link it to /dev/zero.
There's no such device or directory on my machine.
>
> Alternatively, you __MIGHT__ try by linking /dev/null to /dev/zero
but
> I'm not sure about that (do it at your own risk).
I've tried this, but Apache doesn't start anyway, but now without any
error-messages in the log.
(LogLevel debug)
>
> Last, you could write a simple shell/C program which opens a named
pipe
> (eg, /dev/zero) and fills it with an unlimited stream of zero bytes,
> thus satisfying Apache's needs.
I'll try this, but I fear the there may be more problems, so I hoped
to find sombebody who
runs apache on his SCO 3.2v4.2 and would deliver me a binary.
Best regards,
Have a nice weekend
Siegfried
> And, there is most certainly a reason to upgrade. 3.2v4.2 is
unlikely
> to run properly on current hardware and you certainly are not going
> to find drivers for most, if not all, modern hardware.
I haven' t touched these machines for years, why should I?
(Never change ... )
Don't know *anything* about Apache on 4.2, but did you check the permissions
on /dev and /dev/zero? I think they need to be at least 775 and 666...
Fabio
Fabio, /dev/zero and friends simply do not exist on 3.2v4.x.
--
JP
> -----Original Message-----
> From: listm...@xenitec.on.ca [mailto:listm...@xenitec.on.ca]On
> Behalf Of Jean-Pierre Radley
> Sent: Friday, November 08, 2002 9:50 AM
> To: distri...@xenitec.on.ca; ScoMisc [c.u.s.m]
> Subject: Re: Looking for Apache on SCO Unix 3.2v4.2
>
>
Apparently, I should have said:
"Don't know *anything* about Apache on 4.2, and have forgotten most things I
knew about 4.2 itself..."
Ah well, the passing of time will do that... :)
Very general advice would be to see how cross-compiles are done
in Apache, and to see what configuration/build option controls the
/dev/zero usage and to set it to do something else.
Jonathan Schilling
> The error_log says:
> open: No such file or directory
> httpd: Could not open /dev/zero
Roberto Zini wrote:
> According to the OS5 docs, /dev/zero is a source of an unlimited stream
> of zero-valued bytes.
>
> I don't have a 3.2v4.2 machine around but check if you have
> /dev/byte/hex/00; if you do, then you can link it to /dev/zero.
>
> Alternatively, you __MIGHT__ try by linking /dev/null to /dev/zero but
> I'm not sure about that (do it at your own risk).
>
> Last, you could write a simple shell/C program which opens a named pipe
> (eg, /dev/zero) and fills it with an unlimited stream of zero bytes,
> thus satisfying Apache's needs.
The next error message will probably be something like:
mmap: invalid system call
The most likely reason for it to be opening /dev/zero is that it wants
to create some anonymous writable memory. 3.2v4.2 doesn't support
mmap() at all...
As Jonathan Schilling suggested, Siegfried is going to have to fiddle
with Apache's build configuration. There is probably a `configure`
script. It fools around a bunch and figures out what system calls are
supported -- by the running OS, which is the 5.0.x he's building on. He
needs to figure out how to override `configure` so that it knows that
mmap() is _not_ supported (and likely half a dozen other calls as well).
Apache is a large and complex beast. It's probably possible to get it
working (to some degree) on 3.2v4.2, but it will take someone with a lot
of knowledge of Apache _and_ OpenServer release differences. (Or,
possibly, someone with a 3.2v4.2 development system.)
>Bela<
Siegfried
---