bug-gnustep
[Top][All Lists]
Advanced

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

Re: Compile error for GNUstep on x86_64 SUSE


From: Adam Fedor
Subject: Re: Compile error for GNUstep on x86_64 SUSE
Date: Mon, 19 Oct 2009 08:11:18 -0600


On Oct 19, 2009, at 3:29 AM, Simon Walker wrote:

Hi

I received this compile error for GNUstep on SUSE x86_64, from the
GNUstep-startup-0.23.0 package. The error is in 04-base.log, and it
claims that I should try and recompile with the -fPIC flag.

How would I go about that? Which script do I need to edit to add to
CFLAGS? I have tried running gnustep-build's configure script with
CFLAGS+=-fPIC but I get the error:

GNUstep always compiles with -fPIC, so that is not the problem. The problem is one of the system libraries on your computer (libbfd) which was not compiled with fPIC. You can either fix that problem, or use -- disable-bfd to build without bfd. With the startup package, you can do this:

./InstallGNUstep --config-options=--disable-bfd


gnustep-base-1.19.1> ./configure --prefix=$HOME/build
--with-config-file=$HOME/etc/GNUstep.conf
./configure: line 1401: gnustep-config: command not found
configure: error: You must have the gnustep-make package installed and
set up the GNUSTEP_MAKEFILES environment variable to contain the path to
the makefiles directory before configuring!

You need to make sure the path to the GNUstep files is in your PATH first. The easy way to do this is:

. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

(if that is where GNUstep is installed, which it should be if you are using startup).




reply via email to

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