Hello guys today i'm gonna show u how to compile the source in freebsd.
First of all you need and dns or a dedicated server because in hamachi server we can not use the fetch command
We will install Gmake,Makedepend,Svn(subversion),Devil,G++
1)gmake:
cd /usr/ports/devel/gmake && make install clean
2)makedepend:
cd /usr/ports/devel/makedepend && make install clean
3)svn:
cd /usr/ports/devel/subversion && make install clean
4)devil:
cd /usr/ports/graphics/devil && make install clean
5)G++:
cd /usr/ports/lang/gcc48/ && make install clean
NOTE: if you have already installed some of this step just skip the step and follow the other
Then you do this:
From libdevil/ copy all .a files into /usr/lib
From libgame/From lib copy the From libgame.a file into /usr/lib
From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib
From liblua/From lib copy the .a files into /usr/lib
From libpoly/ copy the .o files into /usr/lib
From libserverkey/ copy the .o files into /usr/lib
From libthecore/From lib copy the From libthecore.a files into /usr/lib
After copying the files into the /usr/lib do this:
go to Extern folder of the novaline and open the include folder and copy everything into /usr/include
go to Extern/Lib folder of the novaline branch and copy everything from there to /usr/lib
go to Extern folder of the novaline branch and drag the cryptopp and openssl folders into /usr/include
So we have installed everything then we have to upload the branch novaline into /usr/src
then u give this command in freebsd:
cd /usr/src/novaline/Server
cd /usr/src/novaline/Server/
gmake
To build db:
cd /usr/src/novaline/Server/db/src
gmake clean
gmake -j20
To build game:
cd /usr/src/novaline/Server/game/src
gmake clean
gmake -j20
Fixing the error:
g++ directory": No such file or directory
Solution: here