Hi,
I've been trying to figure out what's wrong here for days. I'm not afraid of work but unfortunately I just don't know enough to even know where to start tracking this down without help. 🙂
Thank you very much in advance for your help. Any solutions will get posted back to this thread.
The problem: during make ld fails with unresolved compress/uncompress and httpd is not created. If I configure Apache -not- to use php, there is no problem.
I've been following the instructions at http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/print.html. Everything has worked fine (with a few repeated steps to correct for the loose nut behind the keyboard) up to this point (make'ing Apache, page 8 on my printed copy).
The host system is: OSF1 ... V5.0 910 alpha (aka Compaq Tru64 Unix v5 on a DEC Alpha 4000)
make is: GNU Make version 3.79, Built for alphaev5-dec-osf5.0
gcc is: 2.9-gnupro-98r2
ld is: /usr/bin/ld version 5.0
cc* is: Tru64 UNIX Compiler Driver 5.0, Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910)
*which I haven't tried because ./configure doesn't seem to accept target compiler flags (eg -CXX=cc)
php is: php-4.0.1pl2
apache is: apache_1.3.12
The configure string for php is:
<blockquote><code>
./configure \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=../apache_1.3.12 \
--enable-track-vars
</code></blockquote>
The configure string for apache is:
<blockquote><code>
SSL_BASE=../openssl-0.9.5a \
./configure \
--with-layout=Apache \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache \
--enable-shared=ssl \
</code></blockquote>
The make messages are:
<blockquote><code>
cd /usr/local/src/apache_1.3.12/
make
===> src
make[1]: Entering directory /usr/local/src/apache_1.3.12'
make[2]: Entering directory/usr/local/src/apache_1.3.12/src'
===> src/os/unix
make[3]: Nothing to be done for all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done forall'.
<=== src/ap
===> src/main
make[3]: Nothing to be done for all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[4]: Nothing to be done forall'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done for all'.
<=== src/modules/standard
===> src/modules/ssl
make[4]: Nothing to be done forall'.
<=== src/modules/ssl
===> src/modules/php4
make[4]: Nothing to be done for all'.
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DOSF1 -DMOD_SSL=206104 -I/usr/local/src/php-4
.0.1pl2 -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/php-4.0.1pl2/main -I
/usr/local/src/php-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2/Zend -I/usr/local
/src/php-4.0.1pl2 -DEAPI -DUSE_EXPAT -I./lib/expat-lite./apacimodules.c
gcc -c -I./os/unix -I./include -DOSF1 -DMOD_SSL=206104 -I/usr/local/src/php-4
.0.1pl2 -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/php-4.0.1pl2/main -I
/usr/local/src/php-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2/Zend -I/usr/local
/src/php-4.0.1pl2 -DEAPI -DUSE_EXPAT -I./lib/expat-lite./apacibuildmark.c
gcc -DOSF1 -DMOD_SSL=206104 -I/usr/local/src/php-4.0.1pl2 -I/usr/local/src/php-
4.0.1pl2/main -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/php-4.0.1pl2/Z
end -I/usr/local/src/php-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2 -DEAPI -DUS
E_EXPAT -I./lib/expat-lite./apaci\
-o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/lib
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.
a -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Lmodules
/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldb -lmysqlclient -lre
solv -lm -lresolv -lm
/usr/bin/ld:
Unresolved:
uncompress
compress
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory/usr/local/src/apache_1.3.12/src'
make[1]: [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
make: [build] Error 2
</code></blockquote>