Subject: Re: Problem compiling PHP 4.0.5
To: Jason Beegan <jtb@netbsd.org>
From: Wouter Vijvers <woutje@chello.nl>
List: netbsd-help
Date: 05/17/2001 22:04:46
Hey,
Thanks for your quick reply Jason. I tried your solution, but it didn't
work. I already had libtool installed on my system from pkgsrc; version is
libtool-1.4.20010219nb5 (I also have a libtool-base, but no libtool-info). I
replaced the ltconfig file with your script, did a "gmake distclean" and ran
my configure-script again, but on "make" it errored even sooner:
-----------------------------
node184a# make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -DNETBSD -DEAPI -DUSE_EXPAT -I/usr/p
kg/include -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
zend_language_scanner.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1
Stop.
*** Error code 1
Stop.
node184a#
----------------------------
I then tried to do a "make update" in /usr/pkg/devel/libtool", but it exited
some lines saying something like "can't find package to install" or
something. It did change the the last number of the installed package to a
6 (=>libtool-1.4.20010219nb6). Does that mean libtool is now patched?
I just thought of another thing. I'm trying to recompile PHP from the 4.0.5
tarball from their site. Should I uninstall the currently installed
php-package (ap-php-4.0.4.1 and php-4.0.4.1) before I install this new
version? The pkgsrc database probably gets messed up if I just overwrite the
current package, right?
Greetings,
Wouter