Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2010 16:44:58 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        perl@FreeBSD.org
Subject:   Unable to build x11-toolkits/p5-Tk, a permanent dependency of net-mgmt/net-snmp
Message-ID:  <alpine.BSF.2.00.1006061601250.61347@mail.fig.ol.no>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-799206982-1275835502=:61347
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Has anyone been able to build x11-toolkits/p5-Tk recently?

My attempt to compile and install net-mgmt/net-snmp on yesterday's 
8.1-PRE came to a sudden halt when the ports infrastructure tried to 
install x11-toolkits/p5-Tk. /usr/ports was re-cvsup'd this morning.

Maybe I'm to blame for this.

It seems Makefile.PL from x11-toolkits/p5-Tk doesn't really grasp 
where libX11.so.6 resides, and I know for a fact that the library is 
in place at /usr/local/lib, otherwise the ports infrastructure would 
have compiled and installed any missing libraries. Also, I did check 
with ls to make sure the library is really in its rightful place.

The output from the command make, as run from x11-toolkits/p5-Tk after 
I ran rm -Rf work, follows:

===>
===> An experimental implementation of client side fonts
===> and anti-aliased fonts via Xft
===> can be enabled by defining WITH_XFT
===>
===>  License check disabled, port has not defined LICENSE
===>  Extracting for p5-Tk-804.028.502_1
=> MD5 Checksum OK for Tk-804.028_502.tar.gz.
=> SHA256 Checksum OK for Tk-804.028_502.tar.gz.
===>   p5-Tk-804.028.502_1 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Patching for p5-Tk-804.028.502_1
===>   p5-Tk-804.028.502_1 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Applying FreeBSD patches for p5-Tk-804.028.502_1
===>   p5-Tk-804.028.502_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   p5-Tk-804.028.502_1 depends on file: /usr/local/bin/perl5.10.1 - found
===>   p5-Tk-804.028.502_1 depends on shared library: jpeg.11 - found
===>   p5-Tk-804.028.502_1 depends on shared library: png.6 - found
===>  Configuring for p5-Tk-804.028.502_1
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.10.1/mach okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/regexp511.c
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/svtrv.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Using -L/usr/local/lib to find /usr/local/lib/libX11.so.6
Cannot find -lX11 anywhere --- cannot build Perl/Tk
Can't open Makefile: No such file or directory.
===>  Building for p5-Tk-804.028.502_1
make: cannot open Makefile.
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk.

Below is trimmed output from make -d A after I ran rm -Rf work, 
complete make -d A output is available upon request:

Global:CONFIGURE_ARGS = X11LIB=${LOCALBASE}/lib X11INC=${LOCALBASE}/include INSTALLDIRS="site" CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}"  INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
Global:CONFIGURE_SCRIPT = Makefile.PL

CONFIGURE_ARGS   = X11LIB=${LOCALBASE}/lib X11INC=${LOCALBASE}/include INSTALLDIRS="site" CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}"  INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"

cd /usr/ports/x11-toolkits/p5-Tk/work/Tk-804.028_502 &&  /usr/bin/env TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps"  /usr/local/bin/perl5.10.1 ./Makefile.PL X11LIB=/usr/local/lib X11INC=/usr/local/include INSTALLDIRS="site" CC="gcc" CCFLAGS="-O2 -pipe -fno-strict-aliasing" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
/usr/local/bin/perl is installed in /usr/local/lib/perl5/5.10.1/mach okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/regexp511.c
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/svtrv.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Using -L/usr/local/lib to find /usr/local/lib/libX11.so.6
Cannot find -lX11 anywhere --- cannot build Perl/Tk

cd /usr/ports/x11-toolkits/p5-Tk/work/Tk-804.028_502 &&  /usr/local/bin/perl5.10.1 -pi -e 's/ doc_(perl|site|\$\(INSTALLDIRS\))_install$//' Makefile
Can't open Makefile: No such file or directory.


Trond.

- -- 
- ----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |    FreeBSD 8.0-STABLE & Alpine 2.00

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwLtG4ACgkQbYWZalUoElsG+wCbBIB/m8fKlY3G6y3BOLJ5ytu0
nCAAni/vRMy757JXIdlYI4L0eXzBr40E
=+s72
-----END PGP SIGNATURE-----
--2055831798-799206982-1275835502=:61347--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1006061601250.61347>