apache on qnx

Apache on QNX
I downloaded apache_1.3.29.tar.gz from www.apache.org, unzipped it into
a working directory.
When configuring, ./configure --prefix=/usr/local/apache_1.3.29, there
is an error with the file /src/Configure …
======== Error Output for sanity check ========
cd …; gcc -DQNX -DUSE_HSREGEX -DNO_DL_NEEDED ./apaci -o
helpers/dummy helpers
/dummy.c -N128k -lsocket -lunix -lexpat -lm
gcc: unrecognized option -N128k' /usr/bin/ntox86-ld: cannot find -lunix collect2: ld returned 1 exit status make: *** [dummy] Error 1 ============= End of Error Report ============= To fix I remove the options from line (549) in Configure that threw the error. Before: *-qnx) OS='QNX' CFLAGS="$CFLAGS -DQNX" LIBS="$LIBS -N128k -lsocket -lunix" DEF_WANTHSREGEX=yes ;; After: *-qnx) OS='QNX' CFLAGS="$CFLAGS -DQNX" LIBS="$LIBS -lsocket" DEF_WANTHSREGEX=yes ;; First question: Do you know what these options are? I can then run make. The next error is during make ... In file included from ../../include/ap_config.h:1152, from os.c:6: /usr/include/grp.h:46: conflicting types for initgroups’
…/…/include/ap_config.h:769: previous declaration of initgroups' make[3]: *** [os.o] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory /usr/local/apache_1.3.29/src’
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.29’
make: *** [build] Error 2
To remedy I comment the line (769) in /src/include/ap_config.h…
//int initgroups(char *, int);
Second question: Do you know why this error is thrown?
I can then complete make and run make install. Once installed I
configure httpd.conf and run apache. The problem here is that I get
prompted that apache is started, however, the process doesn’t start.
Third question: Any idea why it doesn’t actually start? I think it must
have to do with the workarounds for the errors thrown during
compilation, but I don’t understand why those errors happened.
I appreciate any suggestions for getting apache installed and running on
QNX.

Virgilio wrote:

Apache on QNX
I downloaded apache_1.3.29.tar.gz from > www.apache.org> , unzipped it
into a working directory.
When configuring, ./configure --prefix=/usr/local/apache_1.3.29,
there is an error with the file /src/Configure …
======== Error Output for sanity check ========
cd …; gcc -DQNX -DUSE_HSREGEX -DNO_DL_NEEDED ./apaci -o
helpers/dummy helpers
/dummy.c -N128k -lsocket -lunix -lexpat -lm
gcc: unrecognized option `-N128k’
/usr/bin/ntox86-ld: cannot find -lunix
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============

Looks like using a QNX4 package on a QNX6 system …

There’s a ready-to-run apache on the QNX6 Third Party CD,
which works really well.


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann


MBS GmbH E-Mail: karsten.hoffmann@mbs-software.de
Römerstraße 15 Tel: +49 / 2151 / 72 94-38
D-47809 Krefeld Fax: +49 / 2151 / 72 94-50
http://www.mbs-software.de Mobil: +49 / 172 / 38 12 373

Thank you for your response. I have installed Apache from the
third-party CD and it does run fine. I am now struggling to get it
configured to run with PHP. Have you ever done this?

Regards,
Virgilio Carneiro


Karsten P. Hoffmann wrote:

Virgilio wrote:

Apache on QNX
I downloaded apache_1.3.29.tar.gz from > www.apache.org> , unzipped it
into a working directory.
When configuring, ./configure --prefix=/usr/local/apache_1.3.29,
there is an error with the file /src/Configure …
======== Error Output for sanity check ========
cd …; gcc -DQNX -DUSE_HSREGEX -DNO_DL_NEEDED ./apaci -o
helpers/dummy helpers
/dummy.c -N128k -lsocket -lunix -lexpat -lm
gcc: unrecognized option `-N128k’
/usr/bin/ntox86-ld: cannot find -lunix
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============


Looks like using a QNX4 package on a QNX6 system …

There’s a ready-to-run apache on the QNX6 Third Party CD,
which works really well.


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann

Here is a secret URL for you:
http://www.qnxzone.com/downloads/PostgreSQL

Follow the readme exactly and you’ll be fine (so long as you use the stuff
from that URL). The qnxzone runs on that. You can throw away the PostgreSQL
of course, if you don’t need it.

– igor

“Virgilio” <v@net.com> wrote in message news:3FCB6753.60201@net.com

Thank you for your response. I have installed Apache from the
third-party CD and it does run fine. I am now struggling to get it
configured to run with PHP. Have you ever done this?

Regards,
Virgilio Carneiro


Karsten P. Hoffmann wrote:
Virgilio wrote:

Apache on QNX
I downloaded apache_1.3.29.tar.gz from > www.apache.org> , unzipped it
into a working directory.
When configuring, ./configure --prefix=/usr/local/apache_1.3.29,
there is an error with the file /src/Configure …
======== Error Output for sanity check ========
cd …; gcc -DQNX -DUSE_HSREGEX -DNO_DL_NEEDED ./apaci -o
helpers/dummy helpers
/dummy.c -N128k -lsocket -lunix -lexpat -lm
gcc: unrecognized option `-N128k’
/usr/bin/ntox86-ld: cannot find -lunix
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============


Looks like using a QNX4 package on a QNX6 system …

There’s a ready-to-run apache on the QNX6 Third Party CD,
which works really well.


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Karsten Hoffmann

\

Igor Kovalenko <kovalenko@attbi.com> wrote:
IK > Here is a secret URL for you:
IK > http://www.qnxzone.com/downloads/PostgreSQL

IK > Follow the readme exactly and you’ll be fine (so long as you use the stuff
IK > from that URL). The qnxzone runs on that. You can throw away the PostgreSQL
IK > of course, if you don’t need it.

IK > – igor

Is this different/better than the postgreSQL on the 3rd Party CD?

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bqi34p$2j1$1@inn.qnx.com

Igor Kovalenko <> kovalenko@attbi.com> > wrote:
IK > Here is a secret URL for you:
IK > > http://www.qnxzone.com/downloads/PostgreSQL

IK > Follow the readme exactly and you’ll be fine (so long as you use the
stuff
IK > from that URL). The qnxzone runs on that. You can throw away the
PostgreSQL
IK > of course, if you don’t need it.

IK > – igor

Is this different/better than the postgreSQL on the 3rd Party CD?

I think it is the same. At least it used to be…