Debian 5 build problem

Added by SpynalTom over 8 years ago

I am getting this output when I try to build the source. Is this fatal or just a clean-up issue? Any help would be appreciated.

onyx:/usr/local/ryzom/code# make_all
*********************** BUILD INIT NEL SUCCESS !

*********************** BUILD NEL SUCCESS !

*********************** BUILD NEL INSTALL SUCCESS !

*********************** BUILD INIT NELNS SUCCESS !

*********************** BUILD NELNS SUCCESS !

*********************** BUILD NELNS INSTALL SUCCESS !

rm: cannot remove `/usr/local/ryzom/code/ryzom/server/src/*/*.packed_sheets': No such file or directory
***************************************************
***************************************************
*********************** UPDATE RYZOM MAKEFILE COMMON FAILED
***************************************************
***************************************************
exiting...

Thanks.


Replies (4)

RE: Debian 5 build problem - Added by thorbjorn over 8 years ago

Until it is fixed up, you probably should only build Ryzom with the 'code' directory in your $HOME for now. It has this hardcoded in some places.

RE: Debian 5 build problem - Added by SpynalTom over 8 years ago

Yea I found them. Thanks for the guidance.

onyx:/usr/local/ryzom# grep -R "\$\HOME" /usr/local/ryzom/*
/usr/local/ryzom/code/nelns/configure:for instance \`--prefix=\$HOME'.
/usr/local/ryzom/code/nelns/autom4te.cache/output.1:for instance \`--prefix=\$HOME'.
/usr/local/ryzom/code/nelns/autom4te.cache/output.0:for instance \`--prefix=\$HOME'.
/usr/local/ryzom/code/ryzom/tools/scripts/linux/utilities:SSH_AGENT_FILE="$HOME/ssh_agent_file"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/utilities:LOG_INFO="$HOME/log/${BASENAME}_info.log"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/utilities:LOG_ERROR="$HOME/log/${BASENAME}_error.log"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/build:# not set, use $HOME/cvs as a default value
/usr/local/ryzom/code/ryzom/tools/scripts/linux/build:DEBUG_FILE="$HOME/.mode_debug"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/build:STATIC_FILE="$HOME/.mode_static"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/build:DYNAMIC_FILE="$HOME/.mode_dynamic"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/build:SILENT_FILE="$HOME/.mode_silent"
/usr/local/ryzom/code/ryzom/tools/scripts/linux/buildmode:DEBUG_FILE=$HOME/.mode_debug
/usr/local/ryzom/code/ryzom/tools/scripts/linux/buildmode:#RELEASE_FILE=$HOME/.mode_release
/usr/local/ryzom/code/ryzom/tools/scripts/linux/buildmode:STATIC_FILE=$HOME/.mode_static
/usr/local/ryzom/code/ryzom/tools/scripts/linux/buildmode:DYNAMIC_FILE=$HOME/.mode_dynamic
/usr/local/ryzom/code/ryzom/tools/scripts/linux/buildmode:SILENT_FILE=$HOME/.mode_silent
/usr/local/ryzom/code/tool/build/build:# not set, use $HOME/cvs as a default value
/usr/local/ryzom/code/tool/build/build:SRC_DIR="$HOME/cvs"
/usr/local/ryzom/code/tool/build/build:BUILD_DEBUG="$HOME/build/debug"
/usr/local/ryzom/code/tool/build/build:BUILD_RELEASE="$HOME/build/release"
/usr/local/ryzom/code/tool/build/build:INSTALL_DEBUG="$HOME/install/debug"
/usr/local/ryzom/code/tool/build/build:INSTALL_RELEASE="$HOME/install/release"
/usr/local/ryzom/code/tool/build/build:DEBUG_FILE="$HOME/.mode_debug"
/usr/local/ryzom/code/tool/build/build:STATIC_FILE="$HOME/.mode_static"
/usr/local/ryzom/code/tool/build/build:DYNAMIC_FILE="$HOME/.mode_dynamic"
/usr/local/ryzom/code/tool/build/build:SILENT_FILE="$HOME/.mode_silent"
/usr/local/ryzom/code/nel/configure:for instance \`--prefix=\$HOME'.
/usr/local/ryzom/code/nel/Makefile:BIN_DIR=$HOME/static/script/linux
/usr/local/ryzom/code/nel/autom4te.cache/output.1:for instance \`--prefix=\$HOME'.
/usr/local/ryzom/code/nel/autom4te.cache/output.0:for instance \`--prefix=\$HOME'.

RE: Debian 5 build problem - Added by mitharus over 8 years ago

It seems they missed a few files on the Linux Build instructions.

Edit the file code/ryzom/Variables.mk -- Set correct values for: RYZOM_PATH ; PACK_SHEET_FLAGS ; NEL_INCLUDE

Then edit the file code/ryzom/common/src/game_share/Makefile -- Fix the two -I$(HOME) lines (around line 14 or so) to look like:

  -I$(NEL_INCLUDE) \
  -I$(RYZOM_PATH)/common/src \

That will get the 'make update' to run under code/ryzom/common from the 'make_all' script.

RE: Debian 5 build problem - Added by grego over 8 years ago

Yeah agree about the code directory. I just threw a symlink in to make sure it pointed to the right place.

(1-4/4)