I was wondering if anybody knew how to fix this, I've tried 4.6 and don't
seem to have a problem with the compile, but I get this error with 4.1.0.

Here is my config script

./configure \
--with-prefix=/usr/local/psa/apache \
--with-apxs=/usr/local/psa/apache/bin/apxs \
--with-config-file-path=/usr/local/psa/apache/conf \
--with-system-regex \
--disable-pear \
--enable-sockets \
--enable-track-vars \
--with-curl=/usr/local \
--with-openssl=/usr \
--with-gdbm \
--enable-ftp \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/local \
--enable-gd-native-ttf \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-imap=/usr/local \
--with-mcrypt=/usr/local \
--with-mysql=/usr/local/psa/mysql \
--with-iodbc=/usr/local \
--enable-wddx \
--disable-xml \
--enable-xslt \
--with-xslt-sablot \
--with-expat-dir=/usr/local \
--with-zlib=/usr/local \
--with-ttf=/usr/local

### Error Follows ###
gmake
Making all in Zend

(Stuff goes here...)

Making all in TSRM
gmake[1]: Entering directory `/usr/local/psa/php/php-4.1.0/TSRM'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/psa/php/php-4.1.0/TSRM'
Making all in .
gmake[1]: Entering directory `/usr/local/psa/php/php-4.1.0'
/bin/sh /usr/local/psa/php/php-4.1.0/libtool --silent --mode=link
gcc  -I. -I/usr/local/psa/php/php-4.1.0/ -I/usr/local/psa/php/php-4.1.0/main
 -I/usr/local/psa/php/php-4.1.0 -I/usr/local/psa/apache/include -I/usr/local
/psa/php/php-4.1.0/Zend -I/usr/local/include -I/usr/local/include/freetype2/
freetype -I/usr/local/include/c-client -I/usr/local/psa/mysql/include/mysql 
-I/usr/local/include  -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/ps
a/apache/bin:/bin:/usr/bin" -DMOD_SSL=208103 -DMOD_PERL -DUSE_PERL_SSI -DEAP
I -DEAPI_MM -DUSE_EXPAT -I/usr/local/psa/php/php-4.1.0/TSRM -g -O2 -prefer-p
ic   -o libphp4.la -rpath
/usr/local/psa/php/php-4.1.0/libs -avoid-version -L/usr/local/lib -L/usr/loc
al/psa/mysql/lib/mysql  -R /usr/local/lib -R /usr/local/psa/mysql/lib/mysql
stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la
ext/zlib/libzlib.la ext/curl/libcurl.la ext/dba/libdba.la ext/ftp/libftp.la
ext/gd/libgd.la ext/imap/libimap.la ext/mcrypt/libmcrypt.la
ext/mysql/libmysql.la ext/odbc/libodbc.la ext/
openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libposix.la
ext/session/libsession.la ext/sockets/libsockets.la
ext/standard/libstandard.la ext/wddx/libwddx.la ext/xml/libxml.la
ext/xslt/libxslt.la
TSRM/libtsrm.la -L/usr/local/lib -liodbc -lpam -lc-client4 -lsablot -liconv 
-lexpat -lexpat -lexpat -liodbc -lmysqlclient -lz -lmcrypt -lltdl -lcrypt -l
pam -lgd -lfreetype -lpng -lz -ljpeg -lgdbm -lcurl -lcrypto -lssl -lcurl -lz
 -lcrypt -lssl -lcrypto -lm -lcrypt
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_CreateCompress':
jcapimin.o(.text+0x0): multiple definition of `jpeg_CreateCompress'
Zend/.libs/libZend.al(jcapimin.o)(.text+0x0): first defined here
/usr/local/lib/libjpeg.a(jcapimin.o): In function `jpeg_destroy_compress':
jcapimin.o(.text+0x108): multiple definition of `jpeg_destroy_compress'
Zend/.libs/libZend.al(jcapimin.o)(.text+0x108): first defined here

(MORE GOES HERE...)

/usr/local/lib/libjpeg.a(jmemnobs.o): In function `jpeg_mem_available':
jmemnobs.o(.text+0x50): multiple definition of `jpeg_mem_available'
Zend/.libs/libZend.al(jmemnobs.o)(.text+0x50): first defined here
/usr/local/lib/libjpeg.a(jmemnobs.o): In function `jpeg_open_backing_store':
jmemnobs.o(.text+0x58): multiple definition of `jpeg_open_backing_store'
Zend/.libs/libZend.al(jmemnobs.o)(.text+0x58): first defined here
/usr/local/lib/libjpeg.a(jmemnobs.o): In function `jpeg_mem_init':
jmemnobs.o(.text+0x78): multiple definition of `jpeg_mem_init'
Zend/.libs/libZend.al(jmemnobs.o)(.text+0x78): first defined here
/usr/local/lib/libjpeg.a(jmemnobs.o): In function `jpeg_mem_term':
jmemnobs.o(.text+0x80): multiple definition of `jpeg_mem_term'
Zend/.libs/libZend.al(jmemnobs.o)(.text+0x80): first defined here
gmake[1]: *** [libphp4.la] Error 1
gmake[1]: Leaving directory `/usr/local/psa/php/php-4.1.0'
gmake: *** [all-recursive] Error 1

### End Error ###

I'd really appreciate any help with this.

Thanks!
Ben



-- 
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]

Reply via email to