KingPin's Forum
 
K.P.s.N. Register vbBux / KPs Mall Bugs Blogs FAQ Search Today's Posts Mark Forums Read Donate
Go Back   KingPin's Forum > KP's Network Forum > Tutorials & Stuff!
Reload this Page Linux : Compiling howto Mangos
 


Tutorials & Stuff! This is a discussion on Linux : Compiling howto Mangos in the Tutorials & Stuff!;
Description: Some basic first time only steps : Code: sudo apt-get install subversion dpkg-dev make autoconf libstdc++-dev libstdc++ g++ libc6-dev gcc ...

Reply
 
LinkBack (3) Thread Tools
Linux : Compiling howto Mangos
3 links from elsewhere to this Post. Click to view. (#1 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
Join Date: Apr 2004
Location: Brooklyn, NY
Linux : Compiling howto Mangos - January 3rd, 2007

Some basic first time only steps :

Code:
sudo apt-get install subversion dpkg-dev make autoconf libstdc++-dev libstdc++ g++ libc6-dev gcc
this will get and install subversion along with the other packages. remember you might need more packages.

Code:
cd ~
mkdir code
mkdir raw
mkdir compiled
I make separate dirs for code and compiled mangos. once I'm satisfied I move the compiled binaries then they get moved to production environment.

Steps you need to perform every time :

Code:
svn checkout https://svn.sourceforge.net/svnroot/mangos/trunk ~/raw
Retrieve the latest updates from mangos svn.

Code:
cd ~/raw
Code:
./configure --prefix=~/code/compiled --with-python --enable-cli --sysconfdir=~/code/compiled/etc --datadir=~/code/compiled/data
the above does NOT include remote admin but does include command line interface since we are using Linux which provides us with SSH and screen so we can admin the server just like we were on the console no matter where we are as long as we configure SSH also fix the paths for your user if you so desire.

Code:
make
just type that and wait for it to finish. feel free to go get some coffee.

Code:
make install
type that once make is done and wait for this to finish. finished your coffee i see o.O

Code:
cd ../compiled
go into the compiled folder and take a look at your handy work. you can move it from here to whereever you want now or package it up and share with others on the mangos site

I will be posting a tutorials soon that includes scriptdev.

 
Reply With Quote
Revenue Shared Ads
Re: Linux : Compiling howto Mangos
(#2 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
Join Date: Apr 2004
Location: Brooklyn, NY
Re: Linux : Compiling howto Mangos - January 24th, 2007

if you get errors like
Code:
error while loading shared libraries: libZThread-2.3.2.so.0: cannot open shared object file: No such file or directory
and you are too lazy to search for the answer... do the following :
Code:
ln -vs /path to mangos/lib/* /usr/local/lib
ln -vs /path to mangos/lib/* /usr/lib
ln -vs /path to mangos/lib/* /usr/bin/

Last edited by KingPin; January 24th, 2007 at 15:20..
 
Reply With Quote
Re: Linux : Compiling howto Mangos
(#3 (permalink))
Old
Dakota911's Avatar
Dakota911 is Offline
Da ''New'' Boss
Points: 2,196, Level: 13 Points: 2,196, Level: 13 Points: 2,196, Level: 13
Activity: 0% Activity: 0% Activity: 0%
Dakota911 is an unknown quantity at this point
 
 
Posts: 2,041
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2007
Location: Usa
Re: Linux : Compiling howto Mangos - January 25th, 2007

*clap*
good job
 
Reply With Quote
(#4 (permalink))
Old
remfarkas is Offline
Private
Points: 787, Level: 7 Points: 787, Level: 7 Points: 787, Level: 7
Activity: 0% Activity: 0% Activity: 0%
remfarkas is an unknown quantity at this point
 
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2007
February 14th, 2007

Thx, man that was a great help ^^ ur forum is great!

Last edited by remfarkas; February 15th, 2007 at 04:47.. Reason: new info
 
Reply With Quote
Error with SVN
(#5 (permalink))
Old
Haka is Offline
Private
Points: 760, Level: 7 Points: 760, Level: 7 Points: 760, Level: 7
Activity: 0% Activity: 0% Activity: 0%
Haka is an unknown quantity at this point
 
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2007
Error with SVN - March 1st, 2007

Hi if I use this: svn checkout https://svn.sourceforge.net/svnroot/mangos/trunk ~/raw

After this finished some file is missing...

Eg: configure, makefile.in from every folder?

Do you know why?
 
Reply With Quote
(#6 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
Join Date: Apr 2004
Location: Brooklyn, NY
March 1st, 2007

mangos is going through cleanups and compiling broken, check the revision logs at : http://wow.kpsforum.com:81/mangos_revisions.xml
 
Reply With Quote
(#7 (permalink))
Old
Haka is Offline
Private
Points: 760, Level: 7 Points: 760, Level: 7 Points: 760, Level: 7
Activity: 0% Activity: 0% Activity: 0%
Haka is an unknown quantity at this point
 
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2007
March 1st, 2007

Hmmm

AmI looser?

I run svn co .......mangos

And some file missing.... I hace not contigure, jats configure.ac

I can nit run ./configure, becouse it is not downloaded..

Any idea?
 
Reply With Quote
Revenue Shared Ads
Reply

Bookmarks

Tags
wow, mmorpg, mangos, linux, howto, framework, compiling

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Rupees Per Thread View: 1.00
Rupees Per Thread: 15.00
Rupees Per Post: 5.00
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.kpsforum.com/tutorials-stuff/8521-linux-compiling-howto-mangos.html
Posted By For Type Date
Fedora Linux :: ?esk forum :: Mangos This thread Refback June 3rd, 2008 07:51
Fedora Linux :: ?esk forum :: Mangos This thread Refback May 28th, 2008 15:20
Fedora Linux :: ?esk forum :: Mangos This thread Refback May 25th, 2008 16:06