Hi folks,
i tried to install GCCG under Ubuntu. I followed the instructions on sourceforge.net but maybe i messed something up.
I installed sdl, sdl-ttf, sdl-mixer, sdl-net and sdl imgage with apt in the terminal and checked with synaptic as well. It seems to be installed. Then I followed the instructions but when I try to start ./Metw it doesnt work. Any thoughts?
Problems with installation on Ubuntu
I forgot to mention that i used gccg under Ubuntu with my old computer. So the mistake must be somewhere in the installation process.
[url=http://gccg.sourceforge.net/]Come to GCCG or die a lonely death.[/url]
Ok thanks to my mate domse we made it run again. There is a bug in the script which I never could have found out on my own. Im posting here in case that anyone else has ever the same problem. Maybe there is someone who can fix that in the download file?
Change the script as following:
- change
#!/bin/sh --login
to
#!/bin/bash --login
- put the new server
--server gccg.councilofelrond.org
at the right spot.
Here is the corrected script of the Metw file.
#!/bin/bash --login
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./lib"
DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:./lib"
export LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
CCG_PATH=`which $0`
CCG_PATH=`dirname $CCG_PATH`
cd $CCG_PATH
if [ ! -f ./scripts/client.functions ]; then
echo "You must install 'client' package."
exit 1
fi
if [ "$1" = "--text" ]; then
if [ ! -x ./ccg_text_client ]; then
echo "You must install package containing program binaries for text version, for example 'linux-text-i386'."
exit 1
fi
shift
./ccg_text_client $* metw.xml
else
if [ ! -x ./ccg_client ]; then
echo "You must install package containing program binaries, for example 'linux-i386'."
exit 1
fi
./ccg_client $* --server gccg.councilofelrond.org metw.xml
fi
Change the script as following:
- change
#!/bin/sh --login
to
#!/bin/bash --login
- put the new server
--server gccg.councilofelrond.org
at the right spot.
Here is the corrected script of the Metw file.
#!/bin/bash --login
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./lib"
DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:./lib"
export LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
CCG_PATH=`which $0`
CCG_PATH=`dirname $CCG_PATH`
cd $CCG_PATH
if [ ! -f ./scripts/client.functions ]; then
echo "You must install 'client' package."
exit 1
fi
if [ "$1" = "--text" ]; then
if [ ! -x ./ccg_text_client ]; then
echo "You must install package containing program binaries for text version, for example 'linux-text-i386'."
exit 1
fi
shift
./ccg_text_client $* metw.xml
else
if [ ! -x ./ccg_client ]; then
echo "You must install package containing program binaries, for example 'linux-i386'."
exit 1
fi
./ccg_client $* --server gccg.councilofelrond.org metw.xml
fi
[url=http://gccg.sourceforge.net/]Come to GCCG or die a lonely death.[/url]