Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60024 invoked by uid 1010); 19 Jul 2004 21:25:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59944 invoked from network); 19 Jul 2004 21:25:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 19 Jul 2004 21:25:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6JLPEe1000336; Mon, 19 Jul 2004 17:25:14 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6JLPDa16540; Mon, 19 Jul 2004 17:25:13 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i6JLPC7m005182; Mon, 19 Jul 2004 22:25:12 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i6JLPBsj005181; Mon, 19 Jul 2004 22:25:11 +0100 Date: Mon, 19 Jul 2004 22:25:11 +0100 To: Jeff Stern Cc: Marcus Boerger , internals@lists.php.net Message-ID: <20040719212511.GA5132@redhat.com> Mail-Followup-To: Jeff Stern , Marcus Boerger , internals@lists.php.net References: <1090017507.22276.2.camel@sporkula.ss.uci.edu> <988053779.20040717022330@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] libtool errors when compiling php5.0.0 rpms for fedora core 2 (fc2) From: jorton@redhat.com (Joe Orton) On Mon, Jul 19, 2004 at 01:20:26PM -0700, Jeff Stern wrote: > libtool: link: `ext/libxml/libxml.lo' is not a valid libtool object > make: *** [sapi/cgi/php] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.29174 (%build) IIRC this is the error you get from trying to build PHP using libtool 1.5, which isn't a support configuration. Try applying this patch before running ./buildconf (it applies to 5.0.0 too): --- php-4.3.2/acinclude.m4.libtool15 +++ php-4.3.2/acinclude.m4 @@ -821,12 +821,12 @@ dnl AC_DEFUN([PHP_BUILD_PROGRAM],[ OVERALL_TARGET=[]ifelse($1,,php,$1) - php_c_pre='$(CC)' - php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)' - php_c_post=' && echo > $[@]' - php_cxx_pre='$(CXX)' - php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)' - php_cxx_post=' && echo > $[@]' + php_c_pre='$(LIBTOOL) --mode=compile $(CC)' + php_c_meta='$(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -prefer-non-pic' + php_c_post= + php_cxx_pre='$(LIBTOOL) --mode=compile $(CXX)' + php_cxx_meta='$(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -prefer-non-pic' + php_cxx_post= php_lo=o shared_c_pre='$(LIBTOOL) --mode=compile $(CC)'