php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10419 apache ./configure fails
Submitted: 2001-04-20 05:56 UTC Modified: 2001-04-30 08:49 UTC
From: joker at telenetz dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: linux suse7.1 2.4.2
Private report: No CVE-ID: None
 [2001-04-20 05:56 UTC] joker at telenetz dot com
this is the same as bug #9950

when i add -lpthread to LIBS in the apache makefile,
some errors are solved but not all when running ./configure in the apache dir.

/usr/lib/libresolv.so: undefined reference to `__res_nclose@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_getreq_poll@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `__strndup@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_max_pollfd@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_init@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_ninit@GLIBC_2.2'
/usr/lib/libresolv.so: undefined reference to `__res_state@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `svc_pollfd@GLIBC_2.2'
collect2: ld returned 1 exit status

latest cvs from php (checked out on 20-apr-01 11:40) can't run ./configure correctly:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for mawk... no
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.

so i can't try apache configure together with latest cvs

gcc is:
gcc version 2.95.3 20010315 (release)
and gcc works correctly with all other configure scripts.

any ideas ?

thx
gerald

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-30 08:49 UTC] joker at telenetz dot com
problem solved.

using the official patch for oracle from technet.oracle.com
will do the job....

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC