It seems that --enable-xslt and --with-xslt-sablot are mutually exclusive.
This together with the V_FOPEN/VCWD_FOPEN I e-mailed about earlier got it up
and running.
-----Original Message-----
From: Jon Wagoner [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 5:29 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] problems compiling php 4.0.6 into apache 1.3.20
I am trying to compile php with many of the options, to try different things
out. So far, I have managed to get PHP to compile. Apache seems to compile
okay until what seems like the last step, then I start getting errors. The
last part of the make returns this:
Any help would be appreciated.
Jon
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=22 -DMOD_SSL=208104
-I/usr/src/php-4.0.6 -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/main
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/Zend
-I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6
-DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -DMOD_SSL=208104
-I/usr/src/php-4.0.6 -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/main
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/Zend
-I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6
-DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DLINUX=22 -DMOD_SSL=208104 -I/usr/src/php-4.0.6
-I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6/main
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/Zend
-I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6/TSRM -I/usr/src/php-4.0.6
-DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-L/usr/local/ssl/lib \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/ssl/libssl.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a
ap/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/X11R6/lib -Wl,-rpath,/usr/local/mysql/lib
-Wl,-rpath,/usr/local/pgsql/lib -rdynamic -L/usr/local/lib -L/usr/X11R6/lib
-L/usr/local/mysql/lib -L/usr/local/pgsql/lib -Lmodules/php4
-L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/local/lib -liodbc
-lc-client -ldl -lexpat -lsablot -lexpat -lswf -lexpat -lsablot -lpspell
-lpq -liodbc -lmysqlclient -lz -lming -lmhash -lmcrypt -lltdl -lgmp -lgd
-lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lxml2 -lcurl -ldl -lcpdf
-lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt -lssl
-lcrypto
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_create':
/usr/src/php-4.0.6/ext/xslt/sablot.c:156: multiple definition of
`php_if_xslt_create'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:566:
first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_create' changed from 208
to 180 in sablot.o
modules/php4/libphp4.a(sablot.o): In function
`php_if_xslt_set_error_handler':
/usr/src/php-4.0.6/ext/xslt/sablot.c:324: multiple definition of
`php_if_xslt_set_error_handler'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:1084
: first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_set_error_handler' changed
from 586 to 105 in sablot.o
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_set_base':
/usr/src/php-4.0.6/ext/xslt/sablot.c:342: multiple definition of
`php_if_xslt_set_base'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:968:
first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_set_base' changed from 271
to 260 in sablot.o
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_set_encoding':
/usr/src/php-4.0.6/ext/xslt/sablot.c:362: multiple definition of
`php_if_xslt_set_encoding'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:943:
first defined here
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_process':
/usr/src/php-4.0.6/ext/xslt/sablot.c:417: multiple definition of
`php_if_xslt_process'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:497:
first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_process' changed from 578
to 982 in sablot.o
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_error':
/usr/src/php-4.0.6/ext/xslt/sablot.c:532: multiple definition of
`php_if_xslt_error'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:1017
: first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_error' changed from 347 to
138 in sablot.o
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_errno':
/usr/src/php-4.0.6/ext/xslt/sablot.c:515: multiple definition of
`php_if_xslt_errno'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:1060
: first defined here
/usr/bin/ld: Warning: size of symbol `php_if_xslt_errno' changed from 123 to
102 in sablot.o
modules/php4/libphp4.a(sablot.o): In function `php_if_xslt_free':
/usr/src/php-4.0.6/ext/xslt/sablot.c:549: multiple definition of
`php_if_xslt_free'
modules/php4/libphp4.a(sablot.o):/usr/src/php-4.0.6/ext/sablot/sablot.c:808:
first defined here
/usr/local/lib/libswf.a(swfimage.o): In function `swf_definebitmap':
swfimage.o(.text+0x672): the use of `mktemp' is dangerous, better use
`mkstemp'
modules/php4/libphp4.a(ming.o): In function `php_if_swffont_init':
/usr/src/php-4.0.6/ext/ming/ming.c:1135: undefined reference to `V_FOPEN'
modules/php4/libphp4.a(ming.o): In function `php_if_swfmovie_save':
/usr/src/php-4.0.6/ext/ming/ming.c:1567: undefined reference to `V_FOPEN'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.20'
make: *** [build] Error 2
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]