asperientje Posted June 11, 2009 Share Posted June 11, 2009 Hi everyone I got the svn version of today working on linux with a few fixes (and installing a few libraries on my ubuntu box). However, now the only problem i've got left is that i haven't got a linux version of net.so, 'cos there only is a windows version. Is there a way to get the linux version??? I sincerely hope so, 'cos i'd really like to run an mtasa server on my linux box so i can finally have my dedicated mtasa server. i really really really hope someone can get me that net.so file cheers --- how did i do it: i had to install the following libraries: - build-essential - autoconf - liblua50-dev liblua50 - libpcre++-dev libpcre++0 - libsqlite3-0 libsqlite3-dev - libcurl3 libcurl3-dev - libtool - libncurses5 libncurses5-dev the fixes i did in the svn to make it compiling (on request i can make a patch file too if you guys want me to) are the following: FYI: the ASE library doesn't seem to be used anymore, however the .o file isn't anywhere in the svn either... the library can be found at http://www.udpsoft.com/eye/ASEQuerySDKDemo.zip --vendor/tinyxml/Makefile.am add -fPIC to the CXXFLAGS (after -DTIXML_USE_STL) --MTA10_Server/mods/deathmatch/Makefile.am remove the ASE library needs, the library isn't used actually... remove the lines: -Wl,-export-dynamic \ logic/lib/ASEQuerySDK.o \ -L../../../libs/ \ change: -L../../../libs/lua \ -->> -Llogic/lua \ -llua -> llua50 --MTA10_Server/mods/deathmatch/logic/ASE.cpp remove the lines extern "C" { #include "ASEQuerySDK.h" } --MTA10_Server/mods/deathmatch/ remove: #include "ASEQuerySDK.h" --MTA10_Server/sdk/Makefile.am add: libplatform_a_CXXFLAGS = \ -fPIC --vendor/ehs/socket.cpp change size_t oInternetSocketAddressLength = sizeof ( oInternetSocketAddress ); to socklen_t oInternetSocketAddressLength = sizeof ( oInternetSocketAddress ); ==== the commands i ran after doing these changes: cd your/path/to/svn/root/dir/with/mtasa/source libtoolize -f aclocal -I m4/ automake --add-missing autoreconf -f ./configure make make install Link to comment
robhol Posted June 12, 2009 Share Posted June 12, 2009 If you would submit a patch, that'd be great. Net library sources are a little more restricted than the rest, ie. not very many has access to them. Your best bet is probably to get on IRC (#mta at irc.gtanet.com) and ask around there. Nice work, hope you'll see fit to help out more too. Link to comment
asperientje Posted June 12, 2009 Author Share Posted June 12, 2009 If you would submit a patch, that'd be great. Net library sources are a little more restricted than the rest, ie. not very many has access to them. Your best bet is probably to get on IRC (#mta at irc.gtanet.com) and ask around there. Nice work, hope you'll see fit to help out more too. Next question -> where do i submit my patches There seems to be quite some code that is duplicated to other directories, etc etc... these kind of cleanups are quite easy to do, so... (For example the dynamicloader class) Link to comment
robhol Posted June 12, 2009 Share Posted June 12, 2009 Our Mantis "bug tracker" (although it's obviously used for a lot more than bugs ) Go to http://bugs.mtasa.com , select Source Patches in the project list. Link to comment
darkdreamingdan Posted June 12, 2009 Share Posted June 12, 2009 ASE is meant to be removed, it was recently replaced with a custom open-source query (iirc), i'm not sure why you should be needing to download the ASE SDK anymore, that's probably a mistake Link to comment
ryden Posted June 18, 2009 Share Posted June 18, 2009 Good work there. You should join our IRC at irc.gtanet.com, channel #mta and stay tunned with the other MTA developers and community. Cheers. Link to comment
Recommended Posts