Subject: pkg/30588: devel/guild14-gtk build cannot find guile14
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/24/2005 07:53:01
>Number:         30588
>Category:       pkg
>Synopsis:       devel/guild14-gtk build cannot find guile14
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 24 07:53:00 +0000 2005
>Originator:     John D. Baker
>Release:        Mac OS X 10.3.9
Darwin pm8500.technoskunk.fur 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc

Building devel/guile14-gtk fails during the 'configure' step as

checking for guile-config... yes
checking whether guile-config works... yes
checking for sin in -lm... yes
checking for guile libraries... /usr/pkg/guile/1.4/lib -L/usr/pkg/guile/1.4/lib -lguile -L/usr/pkg/lib -L/usr/lib -lm -lpthread
checking for guile headers... -I/usr/pkg/guile/1.4/include
checking whether guile works... no
configure: error: Can not find Guile on this system
*** Error code 1

bmake: stopped in /usr/pkgsrc/devel/guile14-gtk

The last entries in
/usr/pkgsrc/devel/guile14-gtk/work/guile-gtk-0.19/config.log read:

configure:2387: checking whether guile works
configure:2402: gcc -pipe -o conftest -O2 -I/usr/pkg/include -I/usr/include -no-
cpp-precomp -I/usr/pkg/include -I/usr/include -I/usr/pkg/guile/1.4/include -L/us
r/pkg/lib -L/usr/lib -L/usr/X11R6/lib  conftest.c -lm -lintl -liconv /usr/pkg/gu
ile/1.4/lib -L/usr/pkg/guile/1.4/lib -lguile -L/usr/pkg/lib -L/usr/lib -lm -lpth
read 1>&5
ld: can't map file: /usr/pkg/guile/1.4/lib ((os/kern) invalid argument)
configure: failed program was:
#line 2389 "configure"
#include "confdefs.h"

                #include <libguile.h>
                #include <guile/gh.h>
int main() {

; return 0; }

cd .../pkgsrc/devel/guile14-gtk
bmake install
It looks like a '-L' got dropped before an instance of the path

Not sure where the fix should go...