Hi all,
I have solaris7 running on a sparc box.
I've successfully installed php and apache and everything was fine.
Now I've tried to reinstall php --with-recode.
I've installed recode_3.5 which worked fine.
I've configured php --with-recode and insalled it. - fine, too.
but then I've tried to configure apache and got the following errors:
bash-2.04# ./configure --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.17
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 270 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
A test compilation with your Makefile configuration
failed. The below error output from the compilation
test will give you an idea what is failing. Note that
Apache requires an ANSI C Compiler, such as gcc.
cd ..; gcc -DSOLARIS2=270 -I/daten/ifx/apache/src/php -I/daten/ifx/apache/src/php/main -I/daten/ifx/apache/src/php/main -I/daten/ifx/apache/src/php/Zend -I/daten/ifx/apache/src/php/Zend -I/daten/ifx/apache/src/php/TSRM -I/daten/ifx/apache/src/php/TSRM -I/daten/ifx/apache/src/php -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy helpers/dummy.c -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95 -R/usr/local/lib -R/daten/ifx/lib -R/daten/ifx/lib/esql -R/daten/ifx/apache/src/php/ext/informix -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95 -L/usr/local/lib -L/daten/ifx/lib -L/daten/ifx/lib/esql -L/daten/ifx/apache/src/php/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lrecode -ldl -lttf -lz -lpng -lgd -ljpeg -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lgcc -L/usr/local/lib -ljpeg -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lsocket -laio -ldl -lelf -lphp_ifx -lifglx -lsocket -lnsl
Undefined first referenced
symbol in file
program_name /usr/local/lib/librecode.so
ld: fatal: Symbol referencing errors. No output written to helpers/dummy
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
bash-2.04#
ANY IDEA??????
Herwig