Subject: pkg/14912: graphics/plasma does not configure with xpkgwedge
To: None <>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 12/11/2001 13:56:09
>Number:         14912
>Category:       pkg
>Synopsis:       graphics/plasma does not configure with xpkgwedge
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 11 00:02:01 PST 2001
>Originator:     Robert Elz
>Release:        NetBSD 1.5Y 20011126 (pkgsrc 20011209)
	Prince of Songkla University
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD fuchsia 1.5Y NetBSD 1.5Y (FUCHSIA) #2: Mon Nov 26 13:41:27 ICT 2001 kre@fuchsia:/usr/obj/sys/FUCHSIA i386
Architecture: i386
Machine: i386
	graphics/plasma does not configure with xpkgwedge

	Note: this looks to be a very similar problem to that reported in
	the PR pkg/14833

	cd pkgsrc/pkgtools/xpkgwedge
	make install

	cd ../../graphics/plasma

	Wait for ...

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
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found   
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -I/usr/obj/pkg/graphics/plasma/work.i386/.bu
ildlink/include -O2 -L/usr/obj/pkg/graphics/plasma/work.i386/.buildlink/lib  -Wl
,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/usr/obj/pkg/graphics/plasma/work.i386/.bu
ildlink/include -O2 -L/usr/obj/pkg/graphics/plasma/work.i386/.buildlink/lib  -Wl
,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for sdl-config... /usr/obj/pkg/graphics/plasma/work.i386/.buildlink/bin
checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!
*** Error code 1

make: stopped in /usr/src/pkgsrc/graphics/plasma
*** Error code 1

	Just as in pkg/14833, the configure script is creating a
	.c file, compiling it, and attempting to run it.  The compilation
	command used is ...

gcc -o conftest -g -O2 -I/usr/pkg/include -I/usr/pkg/include/SDL -D_REENTRANT   conftest.c  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/lib -lSDL -lpthread -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -lossaudio -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga

	And just as in pkg/14833 this results in ...

	fuchsia# ./conftest
	Shared object "" not found


fuchsia# ldd conftest
         -lm.0 => /usr/lib/
         -lm.0 => /usr/lib/
         -laudiofile.0 => /usr/pkg/lib/
         -lossaudio.0 => /usr/lib/
         -lesd.2 => /usr/pkg/lib/
         -lX11.6 => /usr/X11R6/lib/
         -lXext.6 => /usr/X11R6/lib/
         -lSDL.0 => /usr/pkg/lib/
         -lpthread.14 => /usr/pkg/lib/
         -lX11.6 => not found
         -lXext.6 => not found
         -lc.12 => /usr/lib/

 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>