I have been busy with installing Cyphesis on my Ubuntu 10.10 installation. I first got a lot of errors and searched the internet and i got a lot of awsers but i cant get Cyphesis installerd and working.
Could someone help me with the step by step full installation of Cyphesis and all the needed programs.
If i try to install the package it gives me this error: cyphesis-0.5.25.package: 36: Syntax error: "(" unexpected (expecting "fi")
And if i download the tar files i get the error i need phyton while i installed phyton 2.7. And i dont know if i installed all the right addons yet.
And i dont know if i use the commands right, i am not yet that verry good at linux. I hope u could help me. When i unpack a tar file i go to the folder with the terminal and use the .configure; make; install; command i read that somewhere but it doesent work yet.
Maybe u can give me some pointers or a step by step how to install the addons and the Cyphesis server.
I dont know if its posible to make a package for me that contains all the files i need with a simpel instalation.
Becouse when the server is done i would like to install Mason on it and then build a new world.
I'm afraid the autopackage (.package) file is broken due to a problem with the tools, and the autopackage project has now been terminated.
There should be support in 0.5.25 for Python 2.7, but you will need the python-dev dpkg installed to be able to build cyphesis from source. In general when building source code you will need the -dev dpkg for each library the code uses.
A full detailed step-by-step instructions would take quite a while, and involves a lot of repetition of general principles. Almost everything cyphesis needs should be available for Ubuntu, and you can install it using apt-get. Anything provided by WorldForge that is not in Ubuntu you should be able to download and build from source from the WorldForge site.
The good news is that Cyphesis comes with Mason included, so when you run it, all of Mason is already there.
Thanks for the good advice, i installed the python dev version en and i dont see the python error any more, i installed some more needed libraries but now if i install Cyphesis i see a lot of compiling work and then a recursion error and then it stops.
Am i missing libraries or something? Could u make a list of libraries and the commands wich is needed to download them?
Then i can download them and install them. I think i installed all the needed libraries who are needed for Cyphesis.
I will try later and post the right error messages if u need those.
But now when i start cyphesis i get the next message: ERROR Could not create client listen socket on port 6767. Init failed. And i cant find anything right to fix this.
Hi alriddoch, I think it has something to do with the postgres database, i have a database with the name cyphesis and added the rules by cyloadrules but thats all i know now.
How can i get i see the contents of the table or create a user to work on it and so Cyphesis can run, i got it running once but it still gave a little error. But there was INFO running -- error something on my screen.
By now all i get when i give the command cyphesis is: ERROR Could not create client listen socket on port 6767. Init failed.
The error about port 6767 is probably because you already have cyphesis running somewhere. Check to see if you still have a package installed which may run a server in the background, or if you have the server running in another window. You can cause a server to shut down cleanly using the kill command.
Today I tried again to install cyphesis-0.5.25.tar.bz2, as a server on fedora 13. I started by installing a file with the command: # Tar-jxvf cyphesis-0.5.25.tar.bz2 But when will the do #. / Configure in getting some issues / problems which did not in found some supporting WorldForge libraries, namely; varconf-1.0, Mercator, Skstream, wfmath. And try to overcome it, and I have successfully installed these libraries. And that becomes my problem now is finding a new problem as follows: *** The pg_config script installed by psql Could not be found *** If psql was installed in PREFIX, make sure PREFIX / bin is in *** Your path, or set the environment variable to the PG_CONFIG *** Full path to pg_config. configure: error: Can not find the PostgreSQL config or config failed. Please install PostgreSQL and Ensure Than pg_config is on the PATH. See http://www.postgresql.org/ for details of how to download the software.
Though I have installed fedora 13 with packet postgresql-8.4.3-1 complete, perfectly. 1. How is the command to solve this problem ? 2. Why every finished installing a single library, there will be demand for the next library installed? So I am so difficult to install with the command #. / Make install ? and to do the command #. / configure again and again 3. Why not be directly done directly install command #. / Make install ?
As with all libraries on Fedora, you need to install the -devel version in order to compile source code that use it. Unfortunately there is no consistent naming of packages, and no single way to install them that works on all systems, so it is very difficult to create a script that installs them all automatically.
The closest we have is the hammer script, which you should be able to find details about on wiki.worldforge.org. It aims to automate these things to some extent.
Ok, I successfully to configure :-), but when I do: # make, I get an error like the following is: make all-recursive make[1]: Entering directory `/home/ferdinand/Downloads/cyphesis-0.5.25' Making all in libraries make[2]: Entering directory `/home/ferdinand/Downloads/cyphesis-0.5.25/librari' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ferdinand/Downloads/cyphesis-0.5.25/librarie Making all in physics make[2]: Entering directory `/home/ferdinand/Downloads/cyphesis-0.5.25/physics make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ferdinand/Downloads/cyphesis-0.5.25/physics' Making all in common make[2]: Entering directory `/home/ferdinand/Downloads/cyphesis-0.5.25/common' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ferdinand/Downloads/cyphesis-0.5.25/common' Making all in modules make[2]: Entering directory `/home/ferdinand/Downloads/cyphesis-0.5.25/modules g++ -DHAVE_CONFIG_H -I.. -I/usr/include/python2.6 -I/usr/local/include/AtlaC++-0.6 -I/usr/local/include/varconf-1.0 -I/usr/local/include/sigc++-2.0 -I/uslocal/lib/sigc++-2.0/include -I/usr/local/include/Mercator-0.2 -I/usr/local/clude/wfmath-0.3 -I/usr/local/include/skstream-0.3 -I/usr/local/lib/skstream.3/include -g -O2 -fno-strict-aliasing -Wall -DNDEBUG -pthread -MT TerrainCtext.o -MD -MP -MF .deps/TerrainContext.Tpo -c -o TerrainContext.o TerrainContt.cpp In file included from TerrainContext.cpp:21: ../modules/TerrainContext.h:28: error: expected class-name before â{â token make[2]: *** [TerrainContext.o] Error 1 make[2]: Leaving directory `/home/ferdinand/Downloads/cyphesis-0.5.25/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ferdinand/Downloads/cyphesis-0.5.25' make: *** [all] Error 2.
I want to ask, where do I make a mistake? - Whether at the time of configuration? (did not install the entire library either requested or not) - Do I need to edit the source code directly on file from TerrainContext.cpp
From the message it looks as the the source coide for cyphesis got corrupted on your system. The error message contains gibberish characters. Have you tried redowloading and unpacking the source?
I've tried redowloading and unpacking the source. Configuration still running well, but when done: # make, got a new error like this: cd . && /bin/sh /home/ferdinand/Downloads/cyphesis-0.5.25/missing --run automake-1.11--gnu configure.ac:13: option `color-tests' not recognized make: *** [Makefile.in] Error 1 I've tried hard to re-install automake-1.11.1-1.fc13.noarch.rpm, but have not found a solution .. Can you help with this problem?
It is a bit strange that make is trying to re-run automake, as it shouldn't need to. However the error you are getting is because your version of automake is too old. Major distributions have been distributing versions of automake which support for at least a year now, so you could upgrade, or if you want to get it working you could edit configure.ac and delete the color-tests option.