Bug #1271

Build error Linux Slackware 13.0 x86_64

Added by norik0 over 4 years ago. Updated about 4 years ago.

Status:Feedback Start date:04/04/2011
Priority:Normal Due date:
Assignee:rti % Done:

0%

Category:OS: GNU/Linux
Target version:-

Description

I've been trying to compile the game game from source, but I keep getting errors during the build.
I neglected to write down what revision, but I checked it out on April 1, 2011.

OS: Linux Slackware 13.0 x86_64

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fPIC"
CXXFLAGS="${CFLAGS}"

The cmake part runs fine, but I get some odd errors in running make (NO -j option due to odd RAM issues).
The terminal output is in the text file attached. Apparently, I'm not the only one with this problem... prozacr in this post -> http://forums.ryzom.com/showthread.php?t=35249 .

Note: I'm only trying to compile the game from source because there is no official 64-bit binary for Linux... plus maybe a little better performance. I don't suppose just anyone, like me, can submit an official binary... any idea when one can be made, or if an unofficial one would even be allowed?

error.txt - Terminal Errors (4.4 kB) Magnifier norik0, 04/04/2011 03:38 pm

cmake-out.txt (6.7 kB) Magnifier norik0, 04/18/2011 04:49 pm

make-verbose.tgz (52.2 kB) norik0, 04/18/2011 08:54 pm

make-out-try-2.txt (17.6 kB) Magnifier norik0, 04/20/2011 12:14 pm

History

#1 Updated by rti about 4 years ago

Could you please recheck if the current version (r1423) works for you?

#2 Updated by rti about 4 years ago

  • Status changed from New to Feedback
  • Assignee set to rti

#3 Updated by norik0 about 4 years ago

Yes, I can confirm that in current version (r1423), the errors still occur at the exact same time with the exact same output.

#4 Updated by rti about 4 years ago

Could you please post the output of CMake?

#5 Updated by norik0 about 4 years ago

Here's the output for CMake.

#6 Updated by rti about 4 years ago

Ok, thanks. This looks good so far. Libwww linking problems are detected...

And could you please run make again like this:

make VERBOSE=1

This way, the gcc call used to link the ryzom_client binary should be visible. I am very interested in this one as well :)

#7 Updated by norik0 about 4 years ago

I did so. Attached.

make-log-out-verbose.txt is where I routed all the terminal output of "make VERBOSE=1".
make-terminal.txt is the rest of the warnings and such that still appeared in the terminal.

#8 Updated by zeuxis about 4 years ago

I have compiled ryzom for Slackware64-current few weeks ago.
I used the following options to compile libwww and ryzom:

for libwww:
--disable-static
--enable-shared
--with-zlib
--with-expat
--with-regex
--enable-reentrant
with CFLAGS="-O2 -fPIC"

For ryzom:
-DWITH_NEL_TESTS=OFF
-DWITH_NEL_TOOLS=OFF
-DWITH_NEL_SAMPLES=OFF
-DWITH_RYZOM_SERVER=OFF
-DWITH_RYZOM_TOOLS=OFF
-DWITH_STATIC=ON
-DWITH_STATIC_DRIVERS=ON
-DWITH_DRIVER_OPENAL=ON
-DWITH_DRIVER_OPENGL=ON
with CFLAGS="-O2 -fPIC"

What options are you using ?

You can find my Slackbuild files at https://www.zeuxis.net/~zeuxis/slack64/
and see if they work also for you.

#9 Updated by norik0 about 4 years ago

I tried that setup, and it did get me farther, but still 2 errors. Would you like the verbose option?

#10 Updated by zeuxis about 4 years ago

Have you recompiled libwww with the following options ?
CFLAGS="-fPIC"
--disable-static
--enable-shared
--with-zlib
--with-expat
--with-regex
--enable-reentrant

I am not sure which one solved the problem but that ones worked for me

#11 Updated by norik0 about 4 years ago

Yes, that's the result.

#12 Updated by norik0 about 4 years ago

I have Slackware 13.0 . A friend of mine has Slackware 13.1, and had the same errors up until the new options, which allowed the game to compile correctly. As the game still doesn't compile for me, I'm guessing it might have to do with incompatibilities between the versions of Slackware (things becoming too obsolete and difficulty changing out certain programs/libs). I'm hoping it's not the case, but considering the results, I have difficulty coming up with much else.

Also available in: Atom PDF