The package gcc-objc is installed and both versions of libobjc also (the one shipped with the OS and the new one from svn trunk). I tried to build GNUstep using clang as compiler (export CC=clang) and linking against libobjc.so.4. Is not clear to me if the use of clang is mandatory.If I use gcc + the new libobjc2 (libobjc.so.4) the build of the Base package works fine but the build of the Gui package ends with a segfault:
> Making all for service GSspell... > Creating GSspell.service/.... > Compiling file GSspell.m ... > Linking service GSspell ... > Creating GSspell.service/Resources... > Creating GSspell.service/Resources/Info-gnustep.plist... > /bin/sh: line 7: 15168 Segmentation fault ././obj/make_services --test > GSspell.service/Resources/Info-gnustep.plist > make[3]: *** [GSspell.service/Resources/Info-gnustep.plist] Error 1 > make[2]: *** [GSspell.all.service.variables] Error 2 > make[1]: *** [internal-all] Error 2 > make: *** [internal-all] Error 2 > I really can't figure out which one is the winning combination here: 1.clang + libobjc2 (libobjc.so.4) 2.gcc + ibobjc2 (libobjc.so.4) 3.gcc + libobjc1 (libobjc.so.2) Thanks, Eugen 2010/10/13 Fred Kiefer <[email protected]> > 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
