I am using GNUstep on the same sort of system (OpenSuse 11.3 64bit), but not with clang and the new libobjc2. But then I am not that sure whether you are using clang as your compiler or gcc. In the later case you have to make sure to install the package gcc-objc.
Fred Am 13.10.2010 09:27, schrieb Eugen Stoian: > Hello, > > I am trying to build étoilé on OpenSUSE 11.3 x86_64 following the steps > described in the INSTALL file. > > More precisely: > > 1.Check out, build but NOT install llvm and clang > > svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm > cd llvm/tools > svn co http://llvm.org/svn/llvm-project/cfe/trunk clang > cd .. > ./configure --enable-optimized && make -j4 > export PATH=$PATH:$PWD/Release+Asserts/bin # Here INSTALL file seems a > little bit obsolete, could not find any Debug directory > export CC=clang > cd .. > > 2.Check out GNUstep and libobjc2 > > svn co http://svn.gna.org/svn/gnustep/modules/core > svn co http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk libobjc2 > > 3.Install GNUstep Make a first time: > > cd core/make > ./configure --enable-debug-by-default --prefix=/ > make && sudo -E make install > . /share/GNUstep/Makefiles/GNUstep.sh # Here found another difference from > INSTALL file, there is no System directory in the root of the filesystem > > > 4.Build and install libobjc2 > > cd ../../libobjc2 > make debug=no && sudo -E make strip=yes install > > 5.Install GNUstep Make a second time > > cd ../../core/make > ./configure --enable-debug-by-default --prefix=/ > make && sudo -E make install > > 6.Try to install GNUstep Base > > cd core/base > ./configure --with-ffi-include=/usr/include > > > At this point GNUstep Base configure script ends with the following error: > > 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 tried to pass --enable-objc-nonfragile-abi and > --with-objc-lib-flag=-l:libobjc.so.4 options on the second > configuration/installation of GNUstep Make but the error persist. > I noticed that libobjc.so.4 is installed in the /lib directory from the root > of the file system which seems a little bit unusual > > Output of gcc --version: > > gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] >> > > Output of clang --version: > > clang version 2.9 (trunk 116297) >> Target: x86_64-unknown-linux-gnu >> Thread model: posix >> > > > Thanks, > Eugen _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
