Compiling Apache_1.3.X / PHP 4.0X

Hi,

I am bringing a port of Apache_1.3.14 on QNX4.25D. To assist with this I
have been using 1.3.9 as a reference.

Q1. Apache_1.3.9 Compile

The Apache_1.39 binary distribution won’t compile without modifications to
the Makefiles on my machine. It appears like the original port was done with
a different shell to standard /bin/sh. Has anyone managed to get this to
compile without modifying the Makefiles??

The compiled code appears to be very stable and I have not experienced any
of the problems discussed by others in this newsgroup.

Q2. Apache_1.3.14

To get the configure scripts to work I have found it necessary to replace
the /bin/echo with my own replacement. Most of the modifications required
for Apache_1.3.9 are incorporated into the configuration scripts. It appears
like I will have the port up an running in the next few hours.

Has anyone managed to port this version to 4.25? What tools and shell did
you use? Do it run OK?

Q3 PHP4.0

Has any one managed to port PHP 4.0X to 4.25? The configuration scripts
nearly work and I don’t thing it will take too much work to get this
working. PHP looks quite neat and I would like to use it to implement
XML-RPC for a project.

Regards
Richard Lyon

Richard Lyon wrote in message <9551dg$joj$1@inn.qnx.com>…

Hi,

I am bringing a port of Apache_1.3.14 on QNX4.25D. To assist with this I
have been using 1.3.9 as a reference.

Q2. Apache_1.3.14 Compile
Haven’t tried the latest apache…

Q3 PHP4.0

Runs great. Igor did the initial work for 3.0.X and a lot of it was

incorporated
into 4.0 - I’m running 4.0.2 and will have 4.0.3 in the next day along
with pdflib, sybase via odbc, joeg, and other features.

I’ll have to check but I don’t remember there being any problem except for
one embedded sed script - I’ll check with Chris who is doing 4.0.3 to see
if he had any problems.

Jay

“Jay Hogg” <jh@fastlane.net.r-e-m-o-v-e> wrote in message
news:955711$ms1$1@inn.qnx.com

Richard Lyon wrote in message <9551dg$joj$> 1@inn.qnx.com> >…
I am bringing a port of Apache_1.3.14 on QNX4.25D. To assist with this I
have been using 1.3.9 as a reference.

Q2. Apache_1.3.14 Compile
Haven’t tried the latest apache…

I’ll revert to 1.3.9 if unsolvable runtime problems showup. It supports PHP
4.0
The only real problem I have left with the 1.3.14 configuration is an awk
script for generating the last part of ap_config_auto.h.
It’s not correctly constructing some of the defines. Everything compiles OK
if I hand edit the header file.

Sigh … I see version 1.3.17 has been released.


Q3 PHP4.0

Runs great. Igor did the initial work for 3.0.X and a lot of it was
incorporated
into 4.0 - I’m running 4.0.2 and will have 4.0.3 in the next day along
with pdflib, sybase via odbc, joeg, and other features.

I’ll have to check but I don’t remember there being any problem except for
one embedded sed script - I’ll check with Chris who is doing 4.0.3 to see
if he had any problems.

This sound great. I’d be inerested to hear what has to be modified.

Regards
Richard Lyon

Hi,

I have 1.3.14 up and running. It looks quite OK, binbuild.sh and
installbin.sh work as with unix (configure, compile, create archive, etc
…)

PHP-4.0.4 is compiling. A few bits of C code had to be changed in
…/ext/standard. Most of the mods are in the build scripts.
Currently trying to link apache include a static php4 module, but its
getting late.

Is there any alternative to using /bin/sh? The differences between this
shell and unix equivalents are causing most of the work.

Regards …


“Richard Lyon” <rlyon01@ozemail.com.au> wrote in message
news:9559o7$of1$1@inn.qnx.com

“Jay Hogg” <> jh@fastlane.net.r-e-m-o-v-e> > wrote in message
news:955711$ms1$> 1@inn.qnx.com> …
Richard Lyon wrote in message <9551dg$joj$> 1@inn.qnx.com> >…
I am bringing a port of Apache_1.3.14 on QNX4.25D. To assist with this
I
have been using 1.3.9 as a reference.

Q2. Apache_1.3.14 Compile
Haven’t tried the latest apache…


I’ll revert to 1.3.9 if unsolvable runtime problems showup. It supports
PHP
4.0
The only real problem I have left with the 1.3.14 configuration is an awk
script for generating the last part of ap_config_auto.h.
It’s not correctly constructing some of the defines. Everything compiles
OK
if I hand edit the header file.

Sigh … I see version 1.3.17 has been released.


Q3 PHP4.0

Runs great. Igor did the initial work for 3.0.X and a lot of it was
incorporated
into 4.0 - I’m running 4.0.2 and will have 4.0.3 in the next day along
with pdflib, sybase via odbc, joeg, and other features.

I’ll have to check but I don’t remember there being any problem except
for
one embedded sed script - I’ll check with Chris who is doing 4.0.3 to
see
if he had any problems.


This sound great. I’d be inerested to hear what has to be modified.

Regards
Richard Lyon