After reading that without a 64 bit system, the only native way to install pokemon online is to compile it from source. Never having compiled a program from source i followed this guide: Compiling and installing software from source in linux This went without problems until i had to use the ./configure command, but when i tried it, it said the command does not exist, having googled about ./configure i learned that it was infact not a command but a script, and if in the right directory you should just use . configure or whatever the scriptname is. At first i thought i should use ~/Pokemon-online/bin . start-client, but it made the terminal crash ( close ) without doing anything My question is, does anybody know how to compile pokemon online from source under linux? if so, could you write a step by step guide? Edit: my OS is Ubuntu 10.10
Does that help: http://pokemon-online.eu/forums/sho...okemon-Online-(completely-step-by-step)-linux ?
Not exactly, i already tried using the information in the sticky before making this thread This went alright, until step 9, basicly, i downloaded the Pokemon-online.tar.gz from here, correct me if thats the wrong one ( although now that im writing this, its kind of sounding like that, but i couln't find any other linux version anywhere ) I extracted the Pokemon-Online.tar.gz file, it made a folder, with a read me, bin folder and a license file, from there, inside bin, i tried running the Pokemon-online file but it didnt do anything, neither did start-client, although start-client managed to make my terminal close when i tried to open it through that.
oh well. I just saw you already downloaded the source. Just use the "make" command in the git repository (how to download the source from git: http://pokemon-online.eu/forums/showthread.php?2666-How-to-run-from-the-source-on-Windows) then use ./start-client You'll probably need to download several packages, like libphonon4-dev and libqt4-dev. Also to download git it's git-core.
I've successfully compiled PO from source in Ubuntu 10.10. The only thing you need to do is download the source code, install some packages (I haven't got the exact list, but I think I ran make and I started downloading the packages it requested), and just run "make" on a terminal. Then just double-clic "start-client" (bin folder) and execute it on a terminal if it doesn't work so we can see what the problem is. If it helps, here is a version that I've just compiled. There was an error during server compilation, but client works fine. (The error was: ) Code (text): Compiling the server cd src/Server/ && qmake && make make[1]: se ingresa al directorio «/home/.../PO/src/Server» g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -o battle.o battle.cpp battle.cpp:1575: error: prototype for ‘bool BattleSituation::testAccuracy(int, int, int, bool)’ does not match any in class ‘BattleSituation’ battle.h:206: error: candidate is: bool BattleSituation::testAccuracy(int, int, bool) make[1]: *** [battle.o] Error 1 make[1]: se sale del directorio «/home/.../PO/src/Server» make: *** [all] Error 2
It's easier by far to run it through wine, although I can understand why people might want a source installation. Still, in case someone despairs, remember that Wine runs PO without issues.
Compile release branch to be sure it compiles. Also, using WINE is in no way easier. At least for me in Debian it's like running 1 script and I have a new PO from release in separate directory. Can't be easier than that.