Hi
When building gtk-gnutella from HEAD I get this failure:
if test -f dba; then \
/usr/pkgsrc/wip/gtk-gnutella-current/work/.tools/bin/mv dba
dba~; fi
cc -o dba dba.o util.o -Lshell -lshell -Lcore -lcore -Ldht -ldht -Lui/gtk
-lgtk-common -lgtkx -lgtk-common -ldht -lcore -Llib -lshared -Lsdbm -lsdbm
-lshared -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender
-lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpangoft2-1.0 -lcairo -lX11
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lintl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgobject-2.0 -lglib-2.0 -lintl
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-lgnutls -O2 -g -L. -lsdbm -L../lib -lshared -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -lgobject-2.0 -lglib-2.0 -lintl
ld: cannot find -lshell
gmake[4]: *** [dba] Error 1
I created these patches to avoid the problem.
===> l...@laphroaig:/usr/pkgsrc/wip/gtk-gnutella-current %cat patches/patch-aa
$NetBSD$
--- src/Jmakefile.orig 2009-11-05 05:37:01.000000000 +0100
+++ src/Jmakefile
@@ -77,11 +77,11 @@ CFLAGS = -I.. -I. \
DPFLAGS = $(CFLAGS)
LDFLAGS = \
- -Lshell -lshell \
- -Lcore -lcore \
- -Ldht -ldht \
+ -L../shell -lshell \
+ -L../core -lcore \
+ -L../dht -ldht \
|case d_headless in undef
- -Lui/gtk -lgtk-common -lgtkx -lgtk-common \
+ -L../ui/gtk -lgtk-common -lgtkx -lgtk-common \
-case
-ldht -lcore -Llib -lshared -Lsdbm -lsdbm -lshared \
$(GTK_LDFLAGS) $(XML2_LDFLAGS) $(DBUS_LDFLAGS) $(GNUTLS_LDFLAGS) \
===> l...@laphroaig:/usr/pkgsrc/wip/gtk-gnutella-current %cat patches/patch-ab
$NetBSD$
--- src/Makefile.SH.orig 2009-11-05 23:54:27.000000000 +0100
+++ src/Makefile.SH
@@ -126,14 +126,14 @@ CFLAGS = -I.. -I. \
DPFLAGS = $(CFLAGS)
LDFLAGS = \
- -Lshell -lshell \
- -Lcore -lcore \
- -Ldht -ldht \
+ -L../shell -lshell \
+ -L../core -lcore \
+ -L../dht -ldht \
!NO!SUBS!
case "$d_headless" in
undef)
$spitshell >>Makefile <<'!NO!SUBS!'
- -Lui/gtk -lgtk-common -lgtkx -lgtk-common \
+ -L../ui/gtk -lgtk-common -lgtkx -lgtk-common \
!NO!SUBS!
;;
esac
I am not sure I need to patch both the Jmakefile and the Makefile.SH;
but I hope you get the idea about the problem I am seeing and the
changed -L path.
I do not understand why I am the only one seeing this? It seems no
fresh checkouts are buildable? This makes me think that I am doing
something wrong/strange here..
Best regards,
Lars Nordlund
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel