pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Bug report for clisp: work/clisp/configure doesn't understand --x-includes and --x-libraries



Hi,

I tried to install wip/clisp today, and there seems to be a rather
small problem in wip/clisp/work/clisp/configure: It lacks support for
--x-includes and --x-libraries (or both aren't really needed with the
configure script and the script is called wrongly):

[...]
INFO: [subst.mk:pkglocaledir] Nothing changed in ./modules/wildcard/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./modules/zlib/Makefile.in.
./configure: invalid argument --x-includes=/usr/X11R7/include
./configure: Try `./configure --help'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/clisp
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/clisp


I resolved the issue by adding both --x-includes and --x-libraries to
this configure script, and the build finished successfully. I'm not
that familiar with pkgsrc, but it appears that work/clisp/configure is
quite okay, and that it's unnecessary to call this script with both
parameters. Later on work/clisp/src/configure is called with all
options (including --x-includes and --x-libraries), and everything is
fine:

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Configuring for clisp-2.48.99nb20091004
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
executing /usr/pkgsrc/wip/clisp/work/clisp/src/configure
--disable-maintainer-mode --fsstnd=netbsd --with-gettext
--with-dynamic-modules --with-gmalloc --with-dynamic-ffi
--with-included-regex --with-module=pcre --with-module=rawsock
--with-module=clx/new-clx --with-module=gtk2
--x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib
--with-module=wildcard --with-readline --without-libiconv-prefix
--without-libintl-prefix --prefix=/usr/pkg --mandir=/usr/pkg/man
configure: creating cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
[...]

My environment is NetBSD 5.0.1 i386, pkgsrc-wip updated this evening.
PKG_OPTIONS.clisp=gtk2 new-clx pcre rawsock readline regexp wildcard
ffcall gmalloc

Regards,
Christian Walther

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index