Subject: libwww needing autoconf>=2.5? And lib*.so files not made.
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 02/10/2004 22:11:12
Building www/libwww failed here:

===> Configuring for libwww-5.4.0nb1
cd /tmp/pkgsrc/www/libwww/work.bigfour/w3c-libwww-5.4.0;
/usr/pkg/bin/aclocal-1.4 &&  /usr/pkg/bin/automake-1.4 -i &&
/usr/pkg/bin/autoconf-2.13
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
*** Error code 2

The Makefile has:
AUTOMAKE_REQD=          1.4
so mk/automake.mk sets AUTOCONF_REQD to 2.13.

My fix was to add to libwww/Makefile:
AUTOCONF_REQD=          2.54

The automake and autoconf are way different versions though. (There were a
few warnings.) Is this okay?

And also the lib*so files are not installed. The libwww*.a and *.la files
are installed. Has anyone seen this?

configure:8976: checking if libtool supports shared libraries
configure:8978: result: yes
configure:8981: checking whether to build shared libraries
configure:9039: result:

** Notice above has missing result.

configure:9042: checking whether to build static libraries
configure:9046: result: yes
...
configure:13151: checking if libtool supports shared libraries
configure:13153: result: yes
configure:13156: checking whether to build shared libraries
configure:13174: result:
configure:13177: checking whether to build static libraries
configure:13181: result: yes

So I added "--enable-shared" to CONFIGURE_ARGS and then:

configure:8981: checking whether to build shared libraries
configure:9039: result: yes

But still didn't get installed correct.

I ended up with "ELF 32-bit LSB shared object" files that didn't have
".so" as part of file name like:
/usr/pkg/lib/libwwwzip.1.0 and /usr/pkg/lib/libwwwutils.1.0 and others.

I am guessing this has to do with libtool update.

This is under NetBSD/i386 1.6.2_RC3.

   Jeremy C. Reed
   http://www.reedmedia.net/