discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm fails)


From: Bryan Pierce
Subject: Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm fails)
Date: Sat, 11 Jul 2009 00:44:24 -0700
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Hello again!

Perhaps you would be so kind to help me through one more step...
I ran into the same error again while make-ing gorm-1.2.10

I thought I might be able to figure out how to translate the patch to
Gorm, but it is apparently beyond my level of
expertise.

This is the error that was produced running make:
(there is no configure script)
(there were also quite a few warnings previous to the error (see
attatchment) - I don't know how significant they are - they do not
appear to be directly related to the error as fare as I can tell)

     Linking library GormCore ...
    ld: for architecture ppc
    ld: warning can't open dynamic library: libgnustep-base.dylib.1.18
    (checking for undefined symbols may be affected) (No such file or
    directory, errno = 2)
    ld: obj/GormInternalViewEditor.m.o illegal reference to symbol:
_NSFrameRect defined in indirectly referenced dynamic library /usr/
GNUstep/Local/Library/Libraries/./libgnustep-gui.dylib.0.16
    /usr/bin/libtool: internal link edit command failed
    make[3]: *** [obj/libGormCore.dylib.1.2.10] Error 1


And here are the critical lines of the patch for reference (for
/src/gnustep-gui-0.16.0/TextConverters/RTF/GNUmakefile):
    +ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
    +RTFConverter_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
    +endif


All I can guess is that I would want to create a patch for
/src/gorm-1.2.10/GormCore/GNUmakefile , and perhaps replacing
RTFConverter_BUNDLE_LIBS with something "Gorm-ish"

But beyond that I'm finding myself feeling a bit "new"
Thanks again in advance for any help!!!

Sincerely,
Bryan






Wolfgang Lux wrote:
Bryan Pierce wrote:

Wolfgang Lux wrote:
Bryan Pierce wrote:

The gnustep-gui configure seems to run great, but I am getting hung up on the following error
when running make

   Making all for bundle RTFConverter...
   - - -
    Linking bundle RTFConverter ...

/usr/bin/ld: warning can't open dynamic library: libgnustep-base.dylib.1.18 (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
   /usr/bin/ld: Undefined symbols:

_NSClassFromString referenced from libgnustep-gui.dylib.0.16 expected to be defined
   in libgnustep-base.dylib.1.18
   /* contuing with a long list of undefined symbols */

I don't have a clue why this error is happening. libgnustep-gui.dylib.0.16 exists in /usr/ GNUstep/Local/Library/Libraries which is in my DYLD_LIBRARY_PATH. So far everything I've tried
has resulted in the exact same error.

I think, configuring GNUstep-make with --enable-absolute-install-paths and reinstalling GNUstep-make should help. If it doesn't, applying the patch below to GNUmakefile in TextConverters/RTF may work. However, I guess the same error will be recurring in other places and you'll have to create similar patches there.



Wolfgang

Thank you very much, Wolfgang!

Reconfiguring gnustep-make didn't work, but the patch did the trick (and no other patches were needed). I'm excited because gnustep-back also installed with no problems, so I feel like I'm finally on the road to programming fame and glory ;-)

So for a start on your way to fame and glory, can you please file a bug report with your original message on https://savannah.gnu.org/bugs/?group=gnustep. This gives me a ticket to add my patch to the source tree (I still believe it is not necessary with a recent gnustep-make, but then it doesn't harm either).

Wolfgang




IBObjectAdditions.m:67: warning: incomplete implementation of category 
`IBObjectAdditions'
IBObjectAdditions.m:67: warning: method definition for 
`+canSubstituteForClass:' not found
IBObjectAdditions.m:67: warning: incomplete implementation of category 
`IBObjectAdditions'
IBObjectAdditions.m:67: warning: method definition for `-editorClassName' not 
found
IBObjectAdditions.m:67: warning: method definition for 
`-classInspectorClassName' not found
IBObjectAdditions.m:67: warning: method definition for 
`-helpInspectorClassName' not found
IBObjectAdditions.m:67: warning: method definition for 
`-sizeInspectorClassName' not found
IBObjectAdditions.m:67: warning: method definition for 
`-connectInspectorClassName' not found
IBObjectAdditions.m:67: warning: method definition for `-inspectorClassName' 
not found
IBObjectAdditions.m:67: warning: method definition for `-imageForViewer' not 
found
IBObjectAdditions.m:67: warning: category `IBObjectAdditions' does not fully 
implement the `IBObjectProtocol' protocol
GormClassEditor.m: In function `-[GormClassEditor initWithDocument:]':
GormClassEditor.m:177: warning: multiple declarations for method 
`setContentView:'
/usr/GNUstep/Local/Library/Headers/AppKit/NSBox.h:108: warning: using 
`-(void)setContentView:(NSView *)aView'
/usr/GNUstep/Local/Library/Headers/AppKit/NSScrollView.h:90: warning: also 
found `-(void)setContentView:(NSClipView *)aView'
GormClassEditor.m: In function `-[GormClassEditor toggleView:]':
GormClassEditor.m:202: warning: multiple declarations for method 
`setContentView:'
/usr/GNUstep/Local/Library/Headers/AppKit/NSBox.h:108: warning: using 
`-(void)setContentView:(NSView *)aView'
/usr/GNUstep/Local/Library/Headers/AppKit/NSScrollView.h:90: warning: also 
found `-(void)setContentView:(NSClipView *)aView'
GormClassEditor.m:209: warning: multiple declarations for method 
`setContentView:'
/usr/GNUstep/Local/Library/Headers/AppKit/NSBox.h:108: warning: using 
`-(void)setContentView:(NSView *)aView'
/usr/GNUstep/Local/Library/Headers/AppKit/NSScrollView.h:90: warning: also 
found `-(void)setContentView:(NSClipView *)aView'
GormClassEditor.m: In function `-[GormClassEditor switchViewToDefault]':
GormClassEditor.m:224: warning: multiple declarations for method 
`setContentView:'
/usr/GNUstep/Local/Library/Headers/AppKit/NSBox.h:108: warning: using 
`-(void)setContentView:(NSView *)aView'
/usr/GNUstep/Local/Library/Headers/AppKit/NSScrollView.h:90: warning: also 
found `-(void)setContentView:(NSClipView *)aView'
GormClassEditor.m:231: warning: multiple declarations for method 
`setContentView:'
/usr/GNUstep/Local/Library/Headers/AppKit/NSBox.h:108: warning: using 
`-(void)setContentView:(NSView *)aView'
/usr/GNUstep/Local/Library/Headers/AppKit/NSScrollView.h:90: warning: also 
found `-(void)setContentView:(NSClipView *)aView'
GormDocument.m: In function `-[GormDocument images]':
GormDocument.m:3379: warning: multiple declarations for method `objects'
../InterfaceBuilder/IBDocuments.h:160: warning: using `-(NSArray *)objects'
/usr/GNUstep/Local/Library/Headers/GNUstepGUI/GSNibLoading.h:278: warning: also 
found `-(NSMapTable *)objects'
GormDocument.m: In function `-[GormDocument sounds]':
GormDocument.m:3387: warning: multiple declarations for method `objects'
../InterfaceBuilder/IBDocuments.h:160: warning: using `-(NSArray *)objects'
/usr/GNUstep/Local/Library/Headers/GNUstepGUI/GSNibLoading.h:278: warning: also 
found `-(NSMapTable *)objects'
GormFilePrefsManager.m: In function `-[GormFilePrefsManager loadFromData:]':
GormFilePrefsManager.m:239: warning: multiple declarations for method `version'
/usr/GNUstep/Local/Library/Headers/Foundation/NSHTTPCookie.h:246: warning: 
using `-(unsigned)version'
GormFilePrefsManager.h:74: warning: also found `-(int)version'
GormFilePrefsManager.m:240: warning: multiple declarations for method `version'
/usr/GNUstep/Local/Library/Headers/Foundation/NSHTTPCookie.h:246: warning: 
using `-(unsigned)version'
GormFilePrefsManager.h:74: warning: also found `-(int)version'
GormResource.m: In function `-[GormResource dealloc]':
GormResource.m:104: warning: `NSData' does not respond to `release'
GormViewKnobs.m: In function `GormShowFrameWithKnob':
GormViewKnobs.m:157: warning: multiple declarations for method `currentContext'
/usr/GNUstep/Local/Library/Headers/AppKit/NSGraphicsContext.h:176: warning: 
using `+(NSGraphicsContext *)currentContext'
/usr/GNUstep/Local/Library/Headers/AppKit/NSOpenGL.h:97: warning: also found 
`+(NSOpenGLContext *)currentContext'
/usr/bin/libtool: internal link edit command failed
make[3]: *** [obj/libGormCore.dylib.1.2.10] Error 1
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [GormCore.all.library.variables] Error 2
make: *** [internal-all] Error 2
--- GNUmakefile.orig    2009-07-08 15:20:00.000000000 +0200
+++ GNUmakefile 2009-07-08 15:22:18.000000000 +0200
@@ -42,6 +42,9 @@
 ifeq ($(GNUSTEP_TARGET_OS),cygwin)
 RTFConverter_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
 endif
+ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
+RTFConverter_BUNDLE_LIBS += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS)
+endif
 
 -include GNUmakefile.preamble
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]