Sari la conținut
Te plictisesti? te asteptam pe platforma noastra de jocuri online!
Robot

[HOWTO]Compile the Source code on FreeBSD (noob-proof)

Postări Recomandate

Description:
Today's New Year's eve, and I felt that I should help the people who can't compile the gamecore/db on FreeBSD, because of the library mess that's usually going on - most people compile DevIL, mysqlclient etc from the ports collection, as this takes a lot of time, hardware resources, and even knowledge for some.
 
Given this situation, I've decided to compile from the official sources of all the required libraries, and tidy a bit up the all lib-includes files, by putting them all into the Extern folder (link below). This allows to brush away some stuff from the Server folder:
 
(Yay, it's so clean and shiny  :wub: )
MhSYd.png
 
I've also changed the makefiles according to the needs (link also below).
 
This pre-done stuff should easy the process of compilation a lot for others, not to mention that it should work on all branches (I'm gonna test this next year lol  :rolleyes: )
 
Usage:

  • Decompress your Server folder from your favourite branch, and upload it to a FreeBSD machine, which has gmake, makedepend and python installed. Nothing more is needed (except for gcc/g++ ofc).
  • Upload the

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    archive into the same folder where you put the Server folder, and extract it.
  • Patch the Makefiles in the Server folder with the ones from

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    .
  • Compile using gmake / gmake all / gmake game / gmake db from within the Server folder.

Video (da n00b prooph part):
 
Note: my English pronounciation isn't that great; I'll be adding subtitles asap.

 

Downloads:

Extern.tgz: 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Makefiles.zip: 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Happy New Year!  :lol:

Partajează acest post


Link spre post
Distribuie pe alte site-uri
-

Creează un cont sau autentifică-te pentru a adăuga comentariu

Trebuie să fi un membru pentru a putea lăsa un comentariu.

Creează un cont

Înregistrează-te pentru un nou cont în comunitatea nostră. Este simplu!

Înregistrează un nou cont

Autentificare

Ai deja un cont? Autentifică-te aici.

Autentifică-te acum

×