<shell>
modules/dev-libs/steptalk $ make messages=yes

[snip]

Making all in GDL2...
make[2]: Entering directory
`/home/kephnos/src/gnustep/modules/dev-libs/steptalk/Modules/GDL2'
Making all for bundle GDL2...
gcc -shared  -rdynamic       -o ./GDL2.bundle/./GDL2
./obj/STGDL2Module.m.o ./obj/GDL2Constants.m.o
-L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/.
-L/home/kephnos/GNUstep/Library/Libraries
-L/usr/GNUstep/Local/Library/Libraries
-L/usr/GNUstep/System/Library/Libraries   -lgnustep-db2
-lgnustep-db2control -lgnustep-db2modeler   -lgnustep-gui
-lgnustep-base   -lpthread -lobjc   -lm
/usr/bin/ld: cannot find -lgnustep-db2
collect2: ld returned 1 exit status
make[3]: *** [GDL2.bundle/./GDL2] Error 1
make[2]: *** [GDL2.all.bundle.variables] Error 2
make[2]: Leaving directory
`/home/kephnos/src/gnustep/modules/dev-libs/steptalk/Modules/GDL2'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory
`/home/kephnos/src/gnustep/modules/dev-libs/steptalk/Modules'
make: *** [internal-all] Error 2
</shell>

Borrowing from what Matt Rice told me to do to get gsldapwebexplorer
compiling, I removed this line from
dev-libs/steptalk/Modules/GDL2/GNUmakefile:

GDL2_BUNDLE_LIBS += -lgnustep-db2 -lgnustep-db2control -lgnustep-db2modeler

and added this line:

ADDITIONAL_NATIVE_LIBS = EOAccess EOControl EOModeler

Attached is the patchfile, if anyone wants it.

Sam H
Index: Modules/GDL2/GNUmakefile
===================================================================
--- Modules/GDL2/GNUmakefile	(revision 26979)
+++ Modules/GDL2/GNUmakefile	(working copy)
@@ -35,8 +35,7 @@
         
 GDL2_RESOURCE_FILES = ScriptingInfo.plist
 
-GDL2_BUNDLE_LIBS += -lgnustep-db2 -lgnustep-db2control -lgnustep-db2modeler
-
+ADDITIONAL_NATIVE_LIBS = EOAccess EOControl EOModeler
 ADDITIONAL_BUNDLE_LIBS = -lStepTalk
 ADDITIONAL_INCLUDE_DIRS += -I../../Frameworks/
 ADDITIONAL_LIB_DIRS += -L../../Frameworks/StepTalk/StepTalk.framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to