Bug #1620
Can't compile springlobby in Gentoo since 0.135
| Status: | Closed | Start date: | 09/20/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | build and packaging | |||
| Target version: | 4.0 the lobby | |||
| Resolution: | wontfix | SpringLobby version: | 0.135-0.137 | |
| Platform: | Linux |
Description
The latest version I was able to emerge was 0.134. Since 0.135 I get the following error when trying to emerge springlobby from spring overlay:
/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -mmmx -msse -msse2 -msse3
-mtune=core2 -march=core2 -Wl,-O1 -Wl,--as-needed,
CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec
-rdynamic
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find : No such file or directory
collect2: ld returned 1 exit status
Flags:
[ebuild U ~] games-util/springlobby-0.137 [0.134] USE="sound -debug -libnotify -torrent" 0 kB [1]
History
Updated by dansan 7 months ago
The build.log shows two problems:
Package libtorrent-rasterbar was not found in the pkg-config search path. Perhaps you should add the directory containing `libtorrent-rasterbar.pc' to the PKG_CONFIG_PATH environment variable No package 'libtorrent-rasterbar' found
Check for net-libs/rb_libtorrent - I have 0.15.8 installed, it installs /usr/lib64/pkgconfig/libtorrent-rasterbar.pc
The other problem:
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a simple test program.
This is odd. Either your GCC is broken or your C(XX)FLAGS. Try lowering CFLAGS and compile again:
CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="" emerge -v games-strategy/spring
What USE-flags do you use? Please post the output of
emerge --info games-util/springlobby
Current SL version in spring-overlay is 0.139.
Updated by koshi 5 months ago
- Status changed from New to Feedback
- Target version set to 4.0 the lobby