discuss-gnustep
[Top][All Lists]
Advanced

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

Re: build error on mac os x 10.6+


From: Ivan Vučica
Subject: Re: build error on mac os x 10.6+
Date: Thu, 11 Dec 2014 15:20:14 +0000

You will really want to work on Opal backend in gnustep-back on a system that doesn't already have a conflicting AppKit implementation.

I can't recall any procedure to have ever worked for me to build the entirety of GNUstep on OS X. Most advice that appears on this mailing list is "Just use Cocoa plus GNUstep additions, if you need any".

For work on GNUstep, consider installing something like VirtualBox. You can easily make the filesystem in VM accessible to OS X tools, if you need any, with sshfs.

On Thu Dec 11 2014 at 11:38:09 AM Johan Ceuppens <enrytheermit@gmail.com> wrote:
Hello,

I would like to work on the Opal backend as said by a friendly person : on macos x 10.6.x :
I built gnustep-base correctly, put default config files etc in my /Users homedirectory, included paths, then built gnustep-gui from github (or gna), I get errors, here's my configure and make output (gnustep make works, I know that) :

caradhras:gnustep-gui bubble$ ./configure --prefix=/Users/bubble/gnustep  --with-default-config=/Library/GNUstep/GNUstep.conf  --with-jpeg-library=/Users/bubble/gnustep/lib --with-jpeg-include=/Users/bubble/gnustep/include --disable-icu
configure: WARNING: unrecognized options: --with-default-config
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11/lib, headers
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for main in -lm... yes
checking for rint... yes
checking for rintf... yes
checking for atan2f... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking sys/mntent.h usability... no
checking sys/mntent.h presence... no
checking for sys/mntent.h... no
checking for struct mntent.mnt_dir... no
checking for struct mntent.mnt_mountp... no
checking for library containing getmntent... no
checking for getmntinfo... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for main in -lz... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for libpng-config... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_sig_cmp in -lpng... yes
checking for DGifOpen in -lungif... no
configure: Checking if ungif is linked against -lX11
checking for DGifCloseFile in -lungif... no
checking for DGifOpen in -lgif... no
configure: Checking if libgif is linked against -lX11
checking for DGifCloseFile in -lgif... no
checking for QuantizeBuffer... no
checking for GifQuantizeBuffer... no
checking for new_aspell_document_checker in -laspell... no
checking for icns_read_family_from_file in -licns... no
checking sndfile.h usability... no
checking sndfile.h presence... no
checking for sndfile.h... no
checking ao/ao.h usability... no
checking ao/ao.h presence... no
checking for ao/ao.h... no
checking for new_utterance in -lflite... no
checking flite/flite.h usability... no
checking flite/flite.h presence... no
checking for flite/flite.h... no
checking for cups-config... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for cupsServer in -lcups... yes
checking whether the compiler supports -Wdeclaration-after-statement... yes
checking for the version of gnustep-gui we are compiling... 0.24.0
configure: creating ./config.status
config.status: creating config.make
config.status: creating gui.make
config.status: creating Headers/Additions/GNUstepGUI/GSVersion.h
config.status: creating Headers/Additions/GNUstepGUI/config.h
configure: WARNING: unrecognized options: --with-default-config
caradhras:gnustep-gui bubble$ make
This is gnustep-make 2.6.6. Type 'make print-gnustep-make-help' for help.
Making all in Source ...
/Users/bubble/gnustep/Library/GNUstep/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepGUI/config.h .
touch ./config.h
Making all for library libgnustep-gui...
 Compiling file Functions.m ...
In file included from GSGuiPrivate.h:34,
                 from Functions.m:35:
/Users/bubble/gnustep/usr/local/include/GNUstepBase/GSConfig.h:417:1: warning: "__weak" redefined
<built-in>: warning: this is the location of the previous definition
In file included from Functions.m:35:
GSGuiPrivate.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GSRoundTowardsInfinity’
GSGuiPrivate.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GSRoundTowardsNegativeInfinity’
In file included from ../Headers/AppKit/NSApplication.h:40,
                 from Functions.m:36:
/Users/bubble/gnustep/usr/local/include/GNUstepBase/GSVersionMacros.h:410:1: warning: "NS_FORMAT_ARGUMENT" redefined
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
                 from /System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h:5,
                 from Functions.m:30:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:89:1: warning: this is the location of the previous definition
In file included from ../Headers/AppKit/NSApplication.h:40,
                 from Functions.m:36:
/Users/bubble/gnustep/usr/local/include/GNUstepBase/GSVersionMacros.h:419:1: warning: "NS_FORMAT_FUNCTION" redefined
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
                 from /System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h:5,
                 from Functions.m:30:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:80:1: warning: this is the location of the previous definition
In file included from ../Headers/AppKit/NSApplication.h:40,
                 from Functions.m:36:
/Users/bubble/gnustep/usr/local/include/GNUstepBase/GSVersionMacros.h:422:1: warning: "NS_REQUIRES_NIL_TERMINATION" redefined
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
                 from /System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h:5,
                 from Functions.m:30:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:53:1: warning: this is the location of the previous definition
Functions.m: In function ‘NSApplicationMain’:
Functions.m:60: warning: implicit declaration of function ‘CREATE_AUTORELEASE_POOL’
Functions.m:60: error: ‘pool’ undeclared (first use in this function)
Functions.m:60: error: (Each undeclared identifier is reported only once
Functions.m:60: error: for each function it appears in.)
Functions.m:89: warning: implicit declaration of function ‘RECREATE_AUTORELEASE_POOL’
Functions.m:93: warning: implicit declaration of function ‘DESTROY’
Functions.m: In function ‘NSDrawBitmap’:
Functions.m:346: warning: implicit declaration of function ‘RELEASE’
Functions.m: In function ‘NSHighlightRect’:
Functions.m:635: error: ‘GSCompositeHighlight’ undeclared (first use in this function)
Functions.m: In function ‘NSFrameRectWithWidth’:
Functions.m:782: warning: ‘NSGraphicsContext’ may not respond to ‘-focusView’
Functions.m:782: warning: (Messages without a matching method signature
Functions.m:782: warning: will be assumed to return ‘id’ and accept
Functions.m:782: warning: ‘...’ as arguments.)
Functions.m: In function ‘NSFrameRectWithWidthUsingOperation’:
Functions.m:806: warning: ‘NSGraphicsContext’ may not respond to ‘-focusView’
Functions.m: In function ‘NSConvertGlobalToWindowNumber’:
Functions.m:1162: warning: implicit declaration of function ‘GSAllWindows’
Functions.m:1162: warning: initialization makes pointer from integer without a cast
Functions.m:1168: warning: no ‘-objectAtIndex:’ method found
Functions.m: In function ‘NSConvertWindowNumberToGlobal’:
Functions.m:1182: warning: implicit declaration of function ‘GSWindowWithNumber’
Functions.m:1182: warning: invalid receiver type ‘int’
Functions.m:1182: warning: cast to pointer from integer of different size
Functions.m: In function ‘NSShowSystemInfoPanel’:
Functions.m:1195: warning: ‘NSApplication’ may not respond to ‘-orderFrontStandardInfoPanelWithOptions:’
make[4]: *** [obj/libgnustep-gui.obj/Functions.m.o] Error 1
make[3]: *** [internal-library-all_] Error 2
make[2]: *** [libgnustep-gui.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
caradhras:gnustep-gui bubble$
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

reply via email to

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