Click to See Complete Forum and Search --> : Cant compile


pim
10-15-2002, 04:43 PM
When i compile i get this message

This is the config switch i used

./configure --with-zlib=/usr --with-db3=/opt/sfw \
--with-openssl=/opt/sfw/ssl \
--with-mysql=/opt/sfw/mysql \
--enable-calendar \
--with-apxs=/usr/local/bin/apxs \
--enable-ftp \
--enable-discard-path \
--enable-libgcc
#
make

ld: fatal: file stub.lo: unknown file type
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'
Current working directory /www/php-4.2.3
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
# ld: fatal: file stub.lo: unknown file type
ld:: not found
#

bbaassiri
10-19-2002, 01:54 AM
./buildconf ; ./configure ; make


did u try the following steps + making sure that config.cache is removed

pim
10-21-2002, 09:22 AM
Yes i did. I Re-download the lates build of php and finaly was able to compile it. Thanks!!

Now all i have to do is figure out why i cant update a database with phpMyAdmin. I can create a database, Add data via a commande line ( mysql database <data ).

under a unix System (solaris9)

chmod 777 *.php and all the database files.

Help!!

Pierre