BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64

Added by Darkhunter almost 9 years ago

hello, I have a problem with $RYZOM_PATH/tools/scripts/linux/make_all
if I make it... it fails.. and yes I tried to comment nel and nelts in that file... didnt help
can somebody help me with it ? :(


Replies (22)

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

5 of the projects the the all.sln will fail....the is normal they are in the processes of being removed (obsolete i think) .

here is the build order.

1.nel/nel.sln
2.nel/tools/all.sln
3.nelns/services.sln
4.ryzom/tools/all.sln
5.ryzom/server/server.sln
6.ryzom/client/client.sln
7.tool/all.sln

Edit... i just saw you are on ubuntu. sorry.
What is the error?

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

Ok....this is how i have to get it to compile on ubuntu, the wiki is kinda a mess while ryzom core moves to cmake.

note = all as "root" user.

1.

sudo apt-get install libxml2-dev g++ build-essential libtool automake autoconf libpng12-dev \
libjpeg62-dev rrdtool libmysqlclient15-dev flex libxmu-dev libfreetype6-dev libgl1-mesa-dev \
bison libxxf86vm-dev libxrandr-dev libopenal-dev libogg-dev libvorbis-dev mercurial \
libcurl4-openssl-dev libluabind-dev

2.

sudo apt-get install bison libexpat1-dev

3.

libwww-ssl0 (not in repository) package from Karmic

4.

libwww-dev (not in repository) package from Karmic

5.

sudo apt-get install mercurial libcurl4-openssl-dev libluabind-dev libfreetype6-dev \
libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev \
cmake build-essential libpng12-dev libjpeg62-dev rrdtool libmysqlclient15-dev bison

6.

export RYHOME="/path/to/ryzom/code"

7.

mkdir $RYHOME/nel/build && cd $RYHOME/nel/build
cmake -DWITH_TESTS=OFF -DWITH_TOOLS=OFF -DWITH_SAMPLES=OFF ..
make -j3

8.

cpack -G DEB -D CPACK_PACKAGE_CONTACT=""

9.

Install the .deb in $RYHOME/nel/build

10.

Create a copy of the $RYZOM_PATH/tools/scripts/linux/make_all script, and comment out the entries for BUILD NEL and BUILD NELNS

11.

export RYZOM_PATH="/home/user/ryzom/code/ryzom"

12.

$RYZOM_PATH/tools/scripts/linux/buildmode static

13.

$RYZOM_PATH/tools/scripts/linux/make_all

14.

mkdir $RYHOME/ryzom/build && cd $RYHOME/ryzom/build
cmake -DWITH_SERVER=OFF -DWITH_TOOLS=OFF ..
make -j3

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

$RYZOM_PATH/tools/scripts/linux/make_all
  • UPDATE RYZOM MAKEFILE COMMON SUCCESS !
  • BUILD RYZOM COMMON SUCCESS !
  • UPDATE RYZOM MAKEFILE SUCCESS !


  • BUILD RYZOM FAILED
    *******************************************
    exiting...
    log from console... no errors... just this
    what is part 9:
    9.

Install the .deb in $RYHOME/nel/build ? how can I install it ?

and part 14. is installing client right ?
I need just server, because I install it on my server PC

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

Install the .deb in $RYHOME/nel/build ? how can I install it ?

click it, part 8 makes it.

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

  • UPDATE RYZOM MAKEFILE COMMON SUCCESS !
  • BUILD RYZOM COMMON SUCCESS !
  • UPDATE RYZOM MAKEFILE SUCCESS !
../update_packed_sheets.sh: řádek 32: 32405 Segmentation fault $EXE_NAME $PACK_SHEETS_FLAGS
make2: * [packed_sheets] Error 139
make2: Target `all' not remade because of errors.
make1:
[entities_game_service-all] Error 2
make1: Target `night' not remade because of errors.
make: *
* [night] Error 2

  • BUILD RYZOM FAILED
    *******************************************
    No email to send the error mail
    this

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

The whole log...www.pastebin.com

Segmentation fault is a compiler error, latest gnu compiler is resource hungry. it may take a few tries and you might have to clean out the .so and start fresh.

RE: *********************** BUILD RYZOM FAILED *********************** linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

ChrisNewman wrote:

Install the .deb in $RYHOME/nel/build ? how can I install it ?

click it, part 8 makes it.

I am having just putty - console.. do you know command for installing deb files ?
and yes sure,I will have windows client for testing :)

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

I have had those errors.

The steps above on a clean install and repository fixed it honestly.

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

ChrisNewman wrote:

I have had those errors.

The steps above on a clean install and repository fixed it honestly.

I don´t understand u.... what have I to do.. step by step.. :D

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

The wiki will give in depth on the steps...my list is just what order to do the wiki steps.

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

yes... I did all the steps.. but error is still here...

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by ChrisNewman almost 9 years ago

Did you clean it?

If you did a make with nel before you did the cmake with nel it will fail.

It links to the wrong files or something...i just know it does not work.

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

I did make it again..... it doesnt help.. can somebody help me with it ? :(

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

hey guys... why u dont help me.. I am fucking about 12 hours in that console... but can´t solve it.... :(((((((((((((((((((((((((((((((((((((((

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Krolock almost 9 years ago

Did you use BuildForLinuxCmake to build the sources? As I know make_all/build system is somehow broken.

RE: BUILD RYZOM FAILED linux ubuntu server 10.04 AMD64 - Added by Darkhunter almost 9 years ago

there is just client and I need to make server

(1-22/22)