I have searched the list archives and have notice that others have
encountered a similar error though I don't see how to resolve it my case ...
I would like to install 4.0.4pl1 on Solaris 2.6 to work with MySQL and
Apache, thus I tried to configure as follows (the pathways corresponding to
the actual directory roots for MySQL and Apache on my system):
# ./configure --with-mysql=/usr/mysql --with-apxs=/usr/apache_1.3.9
loading cache ./config.cache
checking for a BSD compatible install...
/afs/nd.edu/sun4x_57/usr/local/src/gnu/
bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... sparc-sun-solaris2.6
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.28 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
I have checked PATH and it includes pathways to get to all of the needed
software. I have also very recently compiled other software using the gcc
compiler so I know that it is working.
I might mention that the compiler does not fail immediately, but rather
after several minutes. I have also tried compiling in a scratch partition
which I know has lots and lots of disk space and I still get the same error.
I do not find a debug.log file in either the ../php or /var directories.
Finally, I noticed on the FAQ page (http://www.php.net/FAQ.php#6.11) that
some configuration variables should be checked; as a result I changed the
variables as follows, but still get same error.
# Next 3 variables commented out per http://www.php.net/FAQ.php#6.11
# my $CFG_CFLAGS_SHLIB = '-fPIC -DSHARED_MODULE'; # substituted via
Makefi
le.tmpl
# my $CFG_LD_SHLIB = 'ld'; # substituted via Makefile.tmpl
# my $CFG_LDFLAGS_SHLIB = '-G'; # substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB = '-fpic -DSHARED_MODULE'; # substituted via
Makefi
le.tmpl
my $CFG_LD_SHLIB = 'gcc'; # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl
I'm stuck and so would appreciate any advice on how proceed.
Thank you!
Christian
--
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]