Freebsd installation
Can anyone please give me a hand to compile my server in Freebsd?
When I run make I get the following error: make -C EMuShareMem c++ -O2 -fno-strict-aliasing -pipe -c MMFMutex.cpp In file included from MMFMutex.cpp:1: MMFMutex.h:19: error: redefinition of `union semun' /usr/include/sys/sem.h:43: error: previous definition of `union semun' *** Error code 1 Stop in /usr/eqemu/EQEmu-0.7.0-1025/EMuShareMem. *** Error code 1 Stop in /usr/eqemu/EQEmu-0.7.0-1025. Thanks in advance |
Yeah, you wont find much support. freebsd is Unix, and alot of things are not identical (where things are placed when you install your freebsd system) as it is in Linux. You would have to change certain paths and etc then recompile to actually get it to work with freebsd. AFAIK, FatherNitWit is the only person here I know that runs Eqemu under Unix. I guess you could try PM'ing him. You might be better off using Linux, since theres a forum for it.
Best wishes. |
My suggestion is to try to edit your makefiles to be as relative as possible. Beyond that, I'm just not that familiar with FreeBSD, although I have been successful compiling eqemu under Solaris (although I choose Linux today, for me, it's simply the best choice).
|
you'll want to install gmake from ports, and use it instead of make. There are other issues after that however. I've been able to compile libemu and world so far, but I'm having problems with world. zone doesn't compile yet, I'm getting perl reference errors. I imagine most these issues have to deal with recompiling mysql and perl(and anything else I'm not aware of) with linuxthreads, as fnw has said.
|
I'm able to get everything compiled, but there are still a few issues I haven't worked out yet. The perl reference error was a because of a problem with the makefile. I found a few things in the makefile, that don't seem to be quite right.
|
anybody know what this error means:
Code:
[Error] LoadEMuShareMemDLL::Load() failed to attach Items.GetItem |
I tried installing on FreeBSD, got through the errors in the OP only to find out I had to change how threading is handled. 1 hours later I had it installed and running on a fresh ubuntu install.
Wish I could be more helpful but I did find a walkthough somewhere to get it working on bsd, think it was in the wiki somewhere in one of those articles collecting cob-webs and old jive. But even after you get it working, you're still running unix and you'll have a harder time getting support than if you ran linux. |
Quote:
I'd really recommend get used to this with a Linux server so you know how it'll work then try porting it over to BSD. I'm sure it's not impossible to run on the BSD platform it's just going to take a lot of custom work and a few libs that you may/maynot have. Knowing how it worked before hand would provide you with a large degree of insight. |
Well and you have to customize your BSD so much that it really should only be running your eqemu server. I guess I don't understand why, if it's your only service you care about, you don't run it on Linux like it was built for. Then your threads are running the way that programs expect and you don't paint yourself into a corner.
Still, more power to you if you want to run it on BSD, I just don't understand the practicality of it. |
A lot of people really love BSD ( I personally don't) but if you're looking to setup a server and you've already got a BSD box online for say webhosting it'd be easy to add that to the mix.
|
I don't want to dampen anyones BSD spirits. I hope you are all successful using BSD, meet a hot BSD woman, and have little BSD babies.
Quote:
I guess I'm beating a dead horse, sorry guys. I just want to understand why people would do BSD + eqemu. |
Some months ago I contacted FNW about BSD compile. AFAIK you can not compile the source at it heavily relies on LINUX architecture and Linux MySQL stuff. There might have been a way around this, but so far, I was unable to do this. Heck, if I could get it working I had 16 spare Opteron BSD Servers ready to handle an EverQuest Server.
-Chris. |
All times are GMT -4. The time now is 04:23 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.