Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Looking for Apache on SCO Unix 3.2v4.2

0 views
Skip to first unread message

Siegfried Kurz

unread,
Nov 7, 2002, 4:14:15 AM11/7/02
to
Hello,
I'm trying to find Apache for SCO Unix 3.2v4.2.
I have no compiler for this machine.
I have got a SCO OpenServer 3.2v5.0.2 with SCO Development System and
with gcc.
I've compiled apache_1.3.27 on OpenServer 3.2v5.0.2, it runs well on
the same machine.

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


Tony Lawrence

unread,
Nov 7, 2002, 11:58:11 AM11/7/02
to
Siegfried Kurz wrote:
> Hello,
> I'm trying to find Apache for SCO Unix 3.2v4.2.

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

Siegfried Kurz

unread,
Nov 8, 2002, 3:00:28 AM11/8/02
to
"Tony Lawrence" <to...@pcunix.com> schrieb im Newsbeitrag
news:aqe632$j3s$1...@pcls4.std.com...

> Siegfried Kurz wrote:
> > Hello,
> > I'm trying to find Apache for SCO Unix 3.2v4.2.
>
> Yumpin yimminy, why????
>
> Run it on a Linux or Free BSD machine- are you looking for pain?
There are about 50 clients of mine which have SCO Unix 3.2v4.2
installed and
I want to install Apache on their machines.
SCO Unix 3.2v4.2 runs well on their machines since about 5 years, so
up to now,
there was no need for installing a new OS.

--
Kind regards
Siegfried

Roberto Zini

unread,
Nov 8, 2002, 7:39:16 AM11/8/02
to
Siegfried Kurz wrote:


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)

Tom Parsons

unread,
Nov 8, 2002, 7:56:11 AM11/8/02
to sco...@xenitec.on.ca
Siegfried Kurz enscribed:

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
==========================================================================

Siegfried Kurz

unread,
Nov 8, 2002, 4:26:13 AM11/8/02
to
> Hi.
Hi Roberto, thanks for Your answer.

>
> 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

Siegfried Kurz

unread,
Nov 8, 2002, 4:47:35 AM11/8/02
to
"Tom Parsons" <c...@tegan.com> schrieb im Newsbeitrag
news:2002110806...@tegan.com...
Hi Tom,

> Siegfried Kurz enscribed:
> | "Tony Lawrence" <to...@pcunix.com> schrieb im Newsbeitrag
> | news:aqe632$j3s$1...@pcls4.std.com...
> | > Siegfried Kurz wrote:
> | > > Hello,
> | > > I'm trying to find Apache for SCO Unix 3.2v4.2.
> | >
> | > Yumpin yimminy, why????
> | >
> | > Run it on a Linux or Free BSD machine- are you looking for pain?
> | There are about 50 clients of mine which have SCO Unix 3.2v4.2
> | installed and
> | I want to install Apache on their machines.
> | SCO Unix 3.2v4.2 runs well on their machines since about 5 years,
so
> | up to now, there was no need for installing a new OS.
>
> 5 years?? That means they were sold a rather obsolete product in
the
> beginning. 3.2v4.2 was current from 1993 - 1995.
You are right, so the machines must run for a longer time.

> 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 ... )

Fabio Giannotti

unread,
Nov 8, 2002, 10:41:23 AM11/8/02
to Scomsc (E-mail)

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

Jean-Pierre Radley

unread,
Nov 8, 2002, 10:50:28 AM11/8/02
to ScoMisc [c.u.s.m]
Fabio Giannotti propounded (on Fri, Nov 08, 2002 at 03:41:23PM +0000):

|
| 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, /dev/zero and friends simply do not exist on 3.2v4.x.


--
JP

Fabio Giannotti

unread,
Nov 8, 2002, 11:09:34 AM11/8/02
to Scomsc (E-mail)

> -----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... :)

J. L. Schilling

unread,
Nov 11, 2002, 8:08:54 AM11/11/02
to
"Siegfried Kurz" <Siegfr...@addcom.de> wrote in message news:<aqe2km$8u138$1...@ID-37340.news.dfncis.de>...

>
> 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?

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

Bela Lubkin

unread,
Nov 14, 2002, 3:43:51 AM11/14/02
to sco...@xenitec.on.ca
Siegfried Kurz wrote:

> 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 Kurz

unread,
Nov 25, 2002, 8:36:32 AM11/25/02
to

"Bela Lubkin" <be...@caldera.com> schrieb im Newsbeitrag
news:2002111400...@mammoth.ca.caldera.com...
.....

> 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.)
Seems like this is too complicated for me.
But anyhow, thanks for Your answers.

Siegfried
---


0 new messages