basforos 0 Posted February 11, 2021 Share Posted February 11, 2021 What do I need to install in my FreeBSD virtual machine in order to compile server source? (game, db & dep) Also, does it matter which version of FreeBSD I use or latest version is always the best? Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted February 12, 2021 Share Posted February 12, 2021 i using 13.0 beta1 amd64 but you can use any version. i think you can use 12.2 RELEASE amd64 (or i386/32 bit) Link to comment Share on other sites More sharing options...
basforos 0 Posted February 12, 2021 Author Share Posted February 12, 2021 6 hours ago, Denizeri24 said: i using 13.0 beta1 amd64 but you can use any version. i think you can use 12.2 RELEASE amd64 (or i386/32 bit) Cool, is GCC the only thing I need to compile source? If so, does the version matter? Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted February 12, 2021 Share Posted February 12, 2021 (edited) 1 hour ago, basforos said: Cool, is GCC the only thing I need to compile source? If so, does the version matter? compiler : gcc or clang(llvm) and makedepend gmake some server still using gcc49 and you cant build a gcc49 server source with gcc6 or newer version, you need to upgrade your codes. if you dont have serversrc/extern folder, you need to install some packages; cryptopp (dont use 'pkg install' command, use 'make install') mysql or mariadb ( you cant use mysql8.0 or mariadb10.2 > +) devil boost https://gcc.gnu.org/gcc-9/changes.html Edited February 12, 2021 by Denizeri24 Link to comment Share on other sites More sharing options...
basforos 0 Posted February 12, 2021 Author Share Posted February 12, 2021 1 hour ago, Denizeri24 said: compiler : gcc or clang(llvm) and makedepend gmake some server still using gcc49 and you cant build a gcc49 server source with gcc6 or newer version, you need to upgrade your codes. if you dont have serversrc/extern folder, you need to install some packages; cryptopp (dont use 'pkg install' command, use 'make install') mysql or mariadb ( you cant use mysql8.0 or mariadb10.2 > +) devil boost https://gcc.gnu.org/gcc-9/changes.html That cleared lots of questions I have, thanks. Also, I do have extern folder, what am I supposed to do with it? What's its use? Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted February 13, 2021 Share Posted February 13, 2021 12 hours ago, basforos said: That cleared lots of questions I have, thanks. Also, I do have extern folder, what am I supposed to do with it? What's its use? dont delete extern folder. server source codes need extern folder because extern have some libs : devil - mysql - boost - etc.. note : if you have 32 bit freebsd and 32 bit server files, you can delete extern folder(but you need to change all makefiles) and you can install libs with 'pkg install' command.. Link to comment Share on other sites More sharing options...
basforos 0 Posted February 13, 2021 Author Share Posted February 13, 2021 (edited) 1 hour ago, Denizeri24 said: dont delete extern folder. server source codes need extern folder because extern have some libs : devil - mysql - boost - etc.. note : if you have 32 bit freebsd and 32 bit server files, you can delete extern folder(but you need to change all makefiles) and you can install libs with 'pkg install' command.. Nice, thanks for the information. I appreciate it. Also, is there any way for me to check from the files what libs I have to install etc? Edited February 13, 2021 by basforos Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now