discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Installing GNUStep under X11 on OSX...newbie...can anyone help pleas


From: Andrew Sheridan
Subject: Re: Installing GNUStep under X11 on OSX...newbie...can anyone help please...
Date: Fri, 30 Dec 2005 22:34:39 +0000

Thanks for your advice.

I am very new to compiling. I just wanted to switch into the GNUstep environment and saw the darwinports as a way t do this. I have Tiger running 10.4.3.
When I added the +truedarwin to gnustep-make install, I got further along with the gnustep-base but stuck again...

--->  Building gnustep-base with target all
Error: Target com.apple.build returned: shell command ". /opt/local/GNUstep/System/Library/Makefiles/GNUstep.sh &&
        cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gnustep-base/work/gnustep-base-1.11.0 &&
        gnumake messages=yes" returned error 2
Command output: Making all in Source...
Making all in subprojects of library libgnustep-base...
Making all for subproject Additions...
gnumake[3]: Nothing to be done for `internal-subproject-all'.
Making all for subproject unix...
gnumake[3]: Nothing to be done for `internal-subproject-all'.
Making all for library libgnustep-base...
gcc-dp-4.0 NSThread.m -c \
      -MMD -MP -DGNUSTEP_INSTALL_PREFIX=/opt/local/GNUstep/System -DGNUSTEP_LOCAL_ROOT=/opt/local/GNUstep/Local -DGNUSTEP_NETWORK_ROOT=/opt/local/GNUstep/Local -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin8.3.0\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" -Wall -Wcast-align -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -DGSWARN -DGSDIAGNOSE -O2 -fno-strict-aliasing -fgnu-runtime -I../Headers/Additions -I../Headers -I./. -I. -I/opt/local/include/gcc-3.3 -I/opt/local/include/libxml2 -I/opt/local/include \
       -o shared_obj/NSThread.o
NSThread.m:230: error: static declaration of 'objc_thread_add' follows non-static declaration
/opt/local/lib/gcc40/gcc/powerpc-apple-darwin8.3.0/4.0.2/include-gnu-runtime/objc/thr.h:103: error: previous declaration of 'objc_thread_add' was here
NSThread.m:238: error: static declaration of 'objc_thread_remove' follows non-static declaration
/opt/local/lib/gcc40/gcc/powerpc-apple-darwin8.3.0/4.0.2/include-gnu-runtime/objc/thr.h:104: error: previous declaration of 'objc_thread_remove' was here
gnumake[2]: *** [shared_obj/NSThread.o] Error 1
gnumake[1]: *** [libgnustep-base.all.library.variables] Error 2
gnumake: *** [internal-all] Error 2

Error: /opt/local/bin/port: Status 1 encountered during processing.

I have not the slightest clue as what this means. I have ordered a book on GCC to try and ubnderstand all the various switches and flags. But for now I am stuck. Can you help me get to compiled binaries?

Regards 

Andrew Sheridan 
Quadrilogy | Peterborough | Cambridgeshire | PE7 8LR | UK 
Main/Fax: +44 1733 246 482 | Mobile : +44 7767 472700 | email: andrew.sheridan@mac.com 
Confidentiality Notice: This e-mail and any documents which may accompany it, contain information which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential and/or otherwise exempt from disclosure



On 28 Dec 2005, at 06:45, Yves de Champlain wrote:

You don't say what OS version you are using, nor did you include the log files. I'm guessing however that you are using the Apple gcc, not the FSF gcc. Or if you do have FSF gcc, it did not install the Objective-C library. You have to download and compile gcc from gcc.gnu.org. GNUstep can't use Apple's gcc.

(Actually, I've been able to compile, but not run, GNUstep using Apple's gcc that comes with Tiger, but that requires a few tweaks that are not included in Startup).

using darwinports will give you the compiler and the tweaks, but not the runtime.

yves


reply via email to

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