Help with installing Cyphesis Step by Step please, Ubuntu 10.10
  • KrijnKrijn February 2011
    Hello everybody,

    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.

    I hope someone can help me.
    THnx in advance.
  • jamesljamesl February 2011
    What are the errors that you are getting? Are you building from source or using the binaries?
  • KrijnKrijn February 2011
    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.

    Thank u.
  • alriddochalriddoch February 2011
    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.

    Al
  • KrijnKrijn February 2011
    Hi alriddoch,

    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.

    Thnx.
    Krijn
  • KrijnKrijn February 2011
    Hi alriddoch,

    Like i promiced here is the error:
    Making install in tools
    make[1]: Entering directory `/root/Downloads/cyphesis-0.5.25/tools'
    g++ -g -O2 -fno-strict-aliasing -Wall -DNDEBUG -pthread -o cycmd cycmd.o Flusher.o OperationMonitor.o WorldDumper.o WorldLoader.o MultiLineListFormatter.o AdminClient.o Interactive.o ../common/operations.o ../common/client_socket.o ../common/globals.o ../common/system_prefix.o ../common/binreloc.o ../common/log.o ../common/const.o ../common/AtlasStreamClient.o ../common/ClientTask.o ../common/AtlasFileLoader.o ../common/system_uid.o ../common/id.o -L/usr/local/lib -lskstream-0.3 -L/usr/local/lib -lgcrypt -lgpg-error -L/usr/local/lib -lAtlasObjects-0.6 -lAtlasNet-0.6 -lAtlasCodecs-0.6 -lAtlasMessage-0.6 -lAtlas-0.6 -lvarconf-1.0 -lsigc-2.0
    Interactive.o: In function `Interactive::updatePrompt()':
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:479: undefined reference to `rl_set_prompt'
    Interactive.o: In function `Interactive::select(bool)':
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:460: undefined reference to `rl_callback_read_char'
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:455: undefined reference to `rl_forced_update_display'
    Interactive.o: In function `Interactive::loop()':
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:412: undefined reference to `rl_callback_handler_install'
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:413: undefined reference to `rl_completion_entry_function'
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:419: undefined reference to `rl_callback_handler_remove'
    Interactive.o: In function `Interactive::runCommand(char*)':
    /root/Downloads/cyphesis-0.5.25/tools/Interactive.cpp:379: undefined reference to `add_history'
    collect2: ld returned 1 exit status
    make[1]: *** [cycmd] Error 1
    make[1]: Leaving directory `/root/Downloads/cyphesis-0.5.25/tools'
    make: *** [install-recursive] Error 1

    I got this twice.
    Do u know what to do?
    Thnx
  • KrijnKrijn February 2011
    I am sorry i fixed it, it was a readline error.

    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.

    Sorry that i am babeling so much.
  • KrijnKrijn February 2011
    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.

    I hope u can help me.
    Thnx
  • alriddochalriddoch February 2011
    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.

    Al
  • ferdinandferdinand April 2011
    Hi Alriddoch

    "Install cyphesis-0.5.25.tar.bz2 on Fedora 13"

    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 ?

    Thank you very much.


    Greeting

    Ferdinand Prince

  • alriddochalriddoch April 2011
    Ferdinand,

    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.

    Al
  • ferdinandferdinand April 2011
    Hi Alriddoch,

    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

    Thank you very much.

    Greeting,


    Ferdinand prince
  • alriddochalriddoch April 2011
    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?
  • ferdinandferdinand April 2011
    Hi Alriddoch,

    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?

    Thank you very much.
    Greeting,

    Ferdinand Prince
  • alriddochalriddoch April 2011
    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.
  • ciberbobciberbob December 2011
    hi, i am trying to compile cyphesis-0.5.26 and ./configure stops at
    Py_Initialize in -lpython2.7... no
    Py_Initialize in -lpython2.7...(cashed) no

    How can i overcome this?
    I am using Ubuntu 11.10
  • dean_bouvierdean_bouvier December 2011
    Do you have python-dev installed?

    at terminal type: dpkg -l python-dev

    You should see a report that says "ii python-dev .... "
    The ii mean installed, if you see "un python-dev ...."

    Type: sudo apt-get install python-dev

    I think that might be the problem
    Hope that helps.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID Sign In with Google

Sign In Apply for Membership

Categories