discuss-gnustep
[Top][All Lists]
Advanced

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

GNUstep install on FreeBSD9.1


From: Steven LeMaire
Subject: GNUstep install on FreeBSD9.1
Date: Mon, 1 Apr 2013 20:28:09 -0400

Hi Everyone,

I've started to play around with FreeBSD and everything is going well on that 
side.
I installed v9.0, which I upgraded to v9.1 using the (I guess) standard upgrade 
process. Very nice and easy.

Now I'm trying to get GNUstep installed using the ports method. I altered 
/etc/make.conf in order to use clang as the compiler:

/etc/make.conf
--------------------
GNUSTEP_WITH_CLANG=yes
WITH_GNUSTEP_DEVEL=yes
GNUSTEP_WITH_LIBOBJC2=yes
CC=clang
CXX=clang++

Unfortunately, running "make install clean" in /usr/ports/devel/gnustep fails 
with this:

configure: exit 1
(end of "config.log")
*** [do-configure] Error code 1

Stop in /usr/ports/lang/gnustep-base.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/gnustep.

Scrolling up in the output, the first problem encountered is this:
....
Checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries!  Please check your Objective-C compiler installation.
If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for more help.
configure: error: The Objective-C compiler does not work or is not installed 
properly.

I'm not sure how to fix this in clang (I assume clang needs updating ?)

clang -v tells me this:

# clang -v
FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
Target: i386-unknown-freebsd9.0
Thread model: posix

Strange that clang reports freebsd9.0, but it's actually 9.1

# uname -a
FreeBSD maple 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 
UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Any help would be appreciated !

Many thanks
Steven




reply via email to

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