Code (text): kingpin@BONSAITREE:~/pogeymon-online$ make compiling utilities. qmake -makefile -o src/PokemonInfo/Makefile src/PokemonInfo/PokemonInfo.pro make -C src/PokemonInfo make[1]: Entering directory `/home/kingpin/pogeymon-online/src/PokemonInfo' rm -f libpokemonlib.so.1.0.0 libpokemonlib.so libpokemonlib.so.1 libpokemonlib.so.1.0 g++ -Wl,-O1 -shared -Wl,-soname,libpokemonlib.so.1 -o libpokemonlib.so.1.0.0 pokemonstructs.o pokemoninfo.o networkstructs.o movesetchecker.o battlestructs.o teamsaver.o moc_teamsaver.o -L/usr/lib -L../../bin -lutilities -lzip -lQtXml -lQtGui -lQtCore -lpthread /usr/bin/ld: cannot find -lutilities collect2: ld returned 1 exit status make[1]: *** [../../bin/libpokemonlib.so.1.0.0] Error 1 make[1]: Leaving directory `/home/kingpin/pogeymon-online/src/PokemonInfo' make: *** [src/PokemonInfo/PokemonInfo.pro] Error 2 kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ sudo git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online sudo: cannot get working directory [sudo] password for kingpin: fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ sudo git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online sudo: cannot get working directory fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online fatal: could not create work tree dir 'pogeymon-online'.: No such file or directory kingpin@BONSAITREE:~/pogeymon-online$ ^C kingpin@BONSAITREE:~/pogeymon-online$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online (read-only) bash: syntax error near unexpected token `(' kingpin@BONSAITREE:~/pogeymon-online$ cd ~ kingpin@BONSAITREE:~$ git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online Initialized empty Git repository in /home/kingpin/pogeymon-online/.git/ remote: Counting objects: 21157, done. remote: Compressing objects: 100% (6203/6203), done. remote: Total 21157 (delta 16446), reused 19135 (delta 14815) Receiving objects: 100% (21157/21157), 86.46 MiB | 794 KiB/s, done. Resolving deltas: 100% (16446/16446), done. kingpin@BONSAITREE:~$ cd pogeymon-online/ kingpin@BONSAITREE:~/pogeymon-online$ make compiling utilities. qmake -makefile -o src/PokemonInfo/Makefile src/PokemonInfo/PokemonInfo.pro make -C src/PokemonInfo make[1]: Entering directory `/home/kingpin/pogeymon-online/src/PokemonInfo' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o pokemonstructs.o pokemonstructs.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o pokemoninfo.o pokemoninfo.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o networkstructs.o networkstructs.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o movesetchecker.o movesetchecker.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o battlestructs.o battlestructs.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o teamsaver.o teamsaver.cpp /usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. teamsaver.h -o moc_teamsaver.cpp g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o moc_teamsaver.o moc_teamsaver.cpp rm -f libpokemonlib.so.1.0.0 libpokemonlib.so libpokemonlib.so.1 libpokemonlib.so.1.0 g++ -Wl,-O1 -shared -Wl,-soname,libpokemonlib.so.1 -o libpokemonlib.so.1.0.0 pokemonstructs.o pokemoninfo.o networkstructs.o movesetchecker.o battlestructs.o teamsaver.o moc_teamsaver.o -L/usr/lib -L../../bin -lutilities -lzip -lQtXml -lQtGui -lQtCore -lpthread /usr/bin/ld: cannot find -lutilities collect2: ld returned 1 exit status make[1]: *** [../../bin/libpokemonlib.so.1.0.0] Error 1 make[1]: Leaving directory `/home/kingpin/pogeymon-online/src/PokemonInfo' make: *** [src/PokemonInfo/PokemonInfo.pro] Error 2 End result is the same. I'm using that for my download command. Is that incorrect? Code (text): git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online
Refer to this thread to do the manual fix then: http://pokemon-online.eu/forums/showthread.php?5807-Bug-in-Makefile-(compiling-on-GNU-Linux) You can also update the source with "git pull" when you are inside git tree.
Code (text): kingpin@BONSAITREE:~/pogeymon-online$ git pull origin master From git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online * branch master -> FETCH_HEAD Already up-to-date. And here is a link to my makefile. It does not appear to have a space at the beginning of line 24. Any other ideas? EDIT: If it helps, I am on Ubuntu 10.10 x86_64.
It seems exists other problem in the makefile. When I updated the source I neither could compile the app, so I removed the spaces in the beginning of the lines 25 and 26 and after I added, at the beginning, one space to each named line by myself. It was successful. Sorry, for not reporting this earlier, but I was very very fun playing :P Now I will update again the source and I will see if this problem still is there, or any other error or problem for reporting.
These are instructions on installing the 32 bit version of Ubuntu 10.10 through the terminal. I've found that there are some packages missing from the guide in the initial post, and the .tar.gz file that's referenced to only works on 64 bit versions. 1. Open up a terminal. 2. Install the packages required for installation by typing: Code (text): sudo apt-get install libphonon4 libphonon-dev libqtgui4 libqtcore4 libqt4-xml libqt4-network libzip1 libqt4-script libqt4-sql-sqlite qt4-dev-tools qt4-qmake g++ git-core gitosis This will take up quite a bit of space, but you can remove them once you've compiled the game. 3. Once you've installed everything, go to the folder where you want to install the game and type Code (text): git clone git://pogeymon-online.git.sourceforge.net/gitroot/pogeymon-online/pogeymon-online This will take the online repository and install it in the folder "pogeymon-online". 4. Go to the folder and type the following commands: Code (text): touch Makefile make If you did this right, a bunch of text will be scrolling across your screen. This could take a few minutes. 5. You can now start Pokemon Online by running the start-client script in the /bin/ folder. To run a server, run start-server.
I'm installing Pokemon Online Server in a Debian 6.0. And when I launch start-server I get this information from terminal. This Debian don't have any interface, it's only console mode. Code (text): root@GAMESERVER:/GAMESERVERS/Pokemon-online/bin# ./start-server ----------------------- New Server, starting logs ----------------------- Server is running in windowed mode Server: cannot connect to X server root@GAMESERVER:/GAMESERVERS/Pokemon-online/bin# I've got installed all libs that listed in this post. Is imposible to launch in Daemon mode?
PO doesn't have daemon mode, but you can run it in screen/tmux. Just use ./start-server --headless inside screen and you get it running without GUI.
And the last thing. I'm trying to configure the Server to connect to a MySQL DB that is in the same machine. Y have this config file Code (text): [General] server_port=5080 sql_driver=0 sql_db_name=Pokemon sql_db_port=3306 sql_db_user=Pokemon sql_db_pass=password**** sql_db_host=192.168.0.10 I reboot the all the Debian server and after I go to see if there are tables in the DB that I created before, but nothing is writed, no tables created... etc.. How can I export the DB Estructure, or what I'm doing wrong. Thanks EDIT: Autosolved, I changed the driver from 0 to 2.
I am currently trying to use the PlayDeb repository for this game. The download is taking a while, but if it works i will come back with results and instructions. EDIT: Apparently this client works! here is what I did: I went to Ubuntu Software Center > Edit > Software Sources... (or System > Administration > Software Sources... in other Distros) and added this repository: Code (text): deb http://archive.getdeb.net/ubuntu utopic-getdeb games in your Third-Party Software/Other Software section. Then you put this string: Code (text): wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add - in your terminal. (It's a key to open the repository.) Then of course you update your software sources and install the game! Here, for you: Code (text): sudo apt-get update && sudo apt-get install pokemon-online-client See if it works for you!