Does anyone have a HOW-TO ?
Where I'm running into problems is with modules not being 64 bit. Using
the latest
packages from SunFreeWare, Gcc 3.3, etc.
I added the following to my environment, but some modules just don't
want to work.
export CFLAGS="-des -Duse64bitall"
export CPPFLAGS=$CFLAGS
export CXXFLAGS=$CPPFLAGS
export LDFLAGS="-mcpu=v9 -m64"
export LDDLFLAGS="-mcpu=v9 -m64 -G"
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--disable-zlib \
--disable-ctype \
--enable-track-vars \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets
make examples
ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
wrong ELF class: ELFCLASS64
ld: fatal: file ext/ftp/php_ftp.lo: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
bash-2.05#
I dont mind if everything is compiled as 32 but dont know how to.
thanks !!!!!
-pete
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php