Hi everyone,
I'm trying to set up gnustep on a fresh install on Freebsd ppc64. I had the secret hope to finally get an objc2 developping environnement on ppc, because it fails on linux.
I've installed Freebsd10.2 because 10.3 kernel is broken for me and shuts down my computer right at the beginning of the install. Then I upgraded the ports.
After several days of struggling to get a running X environnement, and a firefox browser (which is a real pain because all has to be compiled by hand and some ports are broken on this platform) I'm trying now to compile gnustep itself.
It fails right at the beginning of libobjc2 :
===> libobjc2-1.8.1 depends on file: /usr/local/bin/cmake - found
===> Configuring for libobjc2-1.8.1
===> Performing in-source build
/bin/mkdir -p /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1
-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/clang++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/gmake" "cmTC_a9f30/fast"
gmake[4] : on entre dans le répertoire
« /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp »
/usr/local/bin/gmake -f CMakeFiles/cmTC_a9f30.dir/build.make
CMakeFiles/cmTC_a9f30.dir/build
gmake[5] : on entre dans le répertoire
« /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_a9f30.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -O2 -pipe -fno-strict-aliasing -o
CMakeFiles/cmTC_a9f30.dir/testCXXCompiler.cxx.o -c
/usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_a9f30
/usr/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_a9f30.dir/link.txt --verbose=1
/usr/bin/clang++ -O2 -pipe -fno-strict-aliasing
CMakeFiles/cmTC_a9f30.dir/testCXXCompiler.cxx.o -o cmTC_a9f30
/usr/bin/ld: cannot find -lc++
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
CMakeFiles/cmTC_a9f30.dir/build.make:97 : la recette pour la cible
« cmTC_a9f30 » a échouée
gmake[5]: *** [cmTC_a9f30] Erreur 1
gmake[5] : on quitte le répertoire
« /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp »
Makefile:126 : la recette pour la cible « cmTC_a9f30/fast » a
échouée
gmake[4]: *** [cmTC_a9f30/fast] Erreur 2
gmake[4] : on quitte le répertoire
« /usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeTmp »
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "/usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeOutput.log".
See also "/usr/ports/lang/libobjc2/work/libobjc2-5a21dd1/CMakeFiles/CMakeError.log".
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/lang/libobjc2
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/devel/gnustep-make
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gnustep-back
*** Error code 1
Stop.