bug-gnustep
[Top][All Lists]
Advanced

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

Re: Gorm build Problem


From: Fred Kiefer
Subject: Re: Gorm build Problem
Date: Wed, 12 Jan 2011 10:03:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11

I was hoping that somebody with Red Hat experience would reply to your
question.
The issue here seems to be a mismatch between the versions of Gorm and
base provided by your distribution. Most likely they follow a policy of
supplying only "stable" versions and so the mismatch happened.

I don't know about the actual version numbers, but would expect that
Gorm is outdated relative to base. You may check by looking into the
header file GSObjcRuntime.h (On my machine it is in
/usr/GNUstep/System/Library/Headers/GNUstepBase/ but this may be
different for you depending on the file system layout used by Fedora).
There the two functions should look like this:
GS_EXPORT NSArray *
GSObjCMethodNames(id obj, BOOL recurse);

GS_EXPORT NSArray *
GSObjCVariableNames(id obj, BOOL recurse);

If they do, Gorm is outdated, otherwise GNUstep base is.

The best thing to do is to get Gorm from SVN and while you are at it,
you could get a full GNUstep release from SVN.
Or if you don't want to use the bleeding edge just download Gorm from
our ftp server
ftp://ftp.gnustep.org/pub/gnustep/dev-apps/gorm-1.2.12.tar.gz

Compiling GNUstep from source is really easy, especially when the
dependencies are already installed via the rpms.

Hope this helps,
Fred

Am 04.01.2011 22:17, schrieb mike lear:
> Hello 
> I have a problem building Gorm. I am using Fedora 12 with the following gcc 
> version:
> 
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
> --enable-bootstrap --enable-shared --enable-threads=posix 
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-gnu-unique-object 
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
> --disable-dssi --enable-plugin 
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
> --enable-libgcj-multifile --enable-java-maintainer-mode 
> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
> --with-ppl --with-cloog --with-tune=generic --with-arch=i686 
> --build=i686-redhat-linux
> Thread model: posix
> gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC) 
> 
> I have GNUstep 2,4.0 package with the development libraries all upto date 
> from Fedora.
> I can use a GNUmakefile to build objc apps and tools ok. 
> I wanted to install gorm but it fails its build. I have enclosed the full 
> build progress.
> 
> I am hoping you can point me in the right direction to fix this problem.
> Thanks in advance Mike Lear.
> 
> [root@eddie gorm-1.2.12]# make && make install
> This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
> rm -f InterfaceBuilder; \
>       ln -s GormLib InterfaceBuilder
> Making all in GormObjCHeaderParser ...
> Making all for library libGormObjCHeaderParser...
>  Compiling file NSScanner+OCHeaderParser.m ...
>  Compiling file OCClass.m ...
>  Compiling file OCHeaderParser.m ...
>  Compiling file OCIVar.m ...
>  Compiling file OCIVarDecl.m ...
>  Compiling file OCMethod.m ...
>  Compiling file ParserFunctions.m ...
>  Linking library libGormObjCHeaderParser ...
> Making all in GormLib ...
> Making all for library libGorm...
>  Compiling file IBApplicationAdditions.m ...
>  Compiling file IBConnectors.m ...
>  Compiling file IBDocuments.m ...
>  Compiling file IBEditors.m ...
>  Compiling file IBInspector.m ...
>  Compiling file IBInspectorManager.m ...
>  Compiling file IBInspectorMode.m ...
>  Compiling file IBObjectAdditions.m ...
> 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
>  Compiling file IBPalette.m ...
>  Compiling file IBPlugin.m ...
>  Compiling file IBResourceManager.m ...
>  Linking library libGorm ...
> Making all in GormCore ...
> Making all for library GormCore...
>  Compiling file GormBoxEditor.m ...
>  Compiling file GormClassEditor.m ...
>  Compiling file GormClassInspector.m ...
>  Compiling file GormClassManager.m ...
>  Compiling file GormClassPanelController.m ...
>  Compiling file GormConnectionInspector.m ...
>  Compiling file GormControlEditor.m ...
>  Compiling file GormCustomClassInspector.m ...
>  Compiling file GormCustomView.m ...
>  Compiling file GormDocument.m ...
>  Compiling file GormDocumentController.m ...
>  Compiling file GormDocumentWindow.m ...
>  Compiling file GormFilePrefsManager.m ...
>  Compiling file GormFilesOwner.m ...
>  Compiling file GormFontViewController.m ...
>  Compiling file GormFunctions.m ...
> GormFunctions.m: In function ‘_GSObjCMethodNamesForClass’:
> GormFunctions.m:356: error: too many arguments to function ‘GSObjCMethodNames’
> GormFunctions.m: In function ‘_GSObjCVariableNames’:
> GormFunctions.m:371: error: too many arguments to function 
> ‘GSObjCVariableNames’
> make[4]: *** [obj/GormCore.obj/GormFunctions.m.o] Error 1
> make[3]: *** [internal-library-all_] Error 2
> make[2]: *** [GormCore.all.library.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
> [root@eddie gorm-1.2.12]# 




reply via email to

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