help new to linux compileing
im new to Linux this is my first time.
im running fedora 9 and im using a walk though on the wiki. i did the make clean and make and this is my output.. im seeing errors is there a problem with my setup something i need to do? or am i doing something wrong or what? this is everything i typed and the output. with the source on the download section the newest one. Code:
[root@server1 ~]# cd /home/spider661/eqemu/source/9232008/EMuShareMem |
Any reason why you used Fedora instead of Debian? The Debian Wiki is more complete and up-to-date than the Fedora one and can be done fairly easily even by noobies to Linux :)
http://www.eqemulator.net/wiki/wikka...ianLinuxServer If your Fedora isn't compiling properly, then you are probably missing some needed library files or something. I dunno exactly. I imagine the Linux gurus can probably help get you running on Fedora if that is what you decide to stick with. I personally run my server on Debian and I have no complaints about it at all. It is much better than Windows for sure lol. |
I searched Google for that Perl error and the two hits I find say you need to install the perl-ExtUtils-Embed package. (Don't ask me how to do that on Fedora, I use Gentoo).
|
well i would have used Debian but i did not know about it and was told fedora one of the best so i set it up took me days to get it working right and now im all set up ith the web server and all working finally so dont want to start over..
but anyways back to my problem. i installed that perl thing and removed that error now i have new errors so what you guys think? Code:
[root@server1 ~]# yum install perl-ExtUtils-Embed |
Those errors are probably because you are using gcc 4.3 (gcc --version), which breaks a lot of things. http://gcc.gnu.org/gcc-4.3/porting_to.html
I personally use gcc 4.1.2 and everything compiles fine. If you have the option to downgrade to an older version of gcc on Fedora, I would do that. |
Quote:
Eventually, you learn the 'why' of it all and it gets a lot easier. One thing that really helped me a lot was the ability to Google my problems, and get instant solutions. I figure if I got that error, there must be more people in the world with the same error and there was (usually thousands to choose from). I have Mandriva, but the errors I got were the same all the other distros got. Like that GCC one, for example. |
I use Fedora and it works beautifully. But I also use Core 8, not 9. My guess is that Derision is correct and your gcc is breaking the compile. Either that or you don't have the development stuff installed. My guess is the former though. You could always remove the gcc packages and install the older stuff from 8. I'd tell you how to do that, but I leave that as an exercise for the student... ;)
|
woot i got it working.. i think... if it dont says any errors that means it worked right? i did not see anything that said successful either way..
anyways.. going to try it out now.. think i uninstalled half my system removing the files and there dependency's to be able to install the older gcc plus its dependency's but if it works i guess it was worth it :P |
Yeah, that's fun huh. As long as you have the executable's in their various directories then it worked. The linking process is the last part in each of the compile processes, provided you used the supplied make file, which I'm sure you did.
|
Ya, if it finished without any errors listed at the end, then it was successful. Gratz and welcome to the real server world! :P
I think you will be pleased with it over windows. Were you able to get your tools working remotely from a separate windows PC for customizing? I explained a little about how to do that in the Debian Install Wiki if you need help with it. I imagine most of it should apply to Fedora as well. |
yep thats all basic networking so ya there all working cross server. sence im on a static ip for the server makes it alot easyer
|
There is a bit more than networking involved for most tools like GeorgeS and even Navicat if you want to be able to use them over the LAN. You probably need to adjust some settings for MySQL if it works the same as it does on Debian.
If you don't use either of those tools, then I guess it doesn't matter :P |
nope i use them tools no problems on my windows system connected over the ip.. thats the great thing about a static ip not on my local network its just the same as if you had a gm connecting to you database that did not live in the house.. but ya i understand what your saying and yes there working fine.
im getting an error on the startup script i use the one from debline and its telling me a bunch of output then says +/persist_world shmat failed! invalid argument then i get no windows or anything like that nothing like a windows server on there i got a few windows 2 for zones and 1 for server. anyways.. am i doing something wrong? i use ./stop and it says it successfully removed alot of stuff and does not say no zones running or anything like that |
ok well i messed up crap when i was reverting to the older gcc so ya i guess ill try the install you mentioned and use that walk though.. hope it works with the web server as well like this one did.. thanks guys ill post again if i have more problems.
|
Try this:
http://www.eqemulator.net/wiki/wikka...r#PutSharedmem And check this too: http://www.eqemulator.net/forums/sho...ighlight=shmat Or just search the forums for shmat :P |
well sense i had to reinstall i downloaded debian and well i guess its to old for this computer or something.. could not find my sata cd drive so put in an old ide it found that.. then it could not find my network card.. so i said forget it.. guess ill try fedora 8 rather then 9
|
Quote:
http://gcc.gnu.org/gcc-4.3/porting_to.html Quote:
So, in short, just add an #include <cstdlib> at the beginning of common/dbcore.cpp, common/EQPacket.cpp, and any other files that give those kinds of errors and you should be good. Imo, I think it might be a good idea to get this ultimately updated into the source, as well as resolve any other incompatibilities between 4.1 & 4.3. Hope this helps. |
Quote:
The biggest advantage to linux right now is that there are so many different flavors out there. Take the time to find one that gives you what you want and that you are comfortable with. |
This is good stuff, thanks for clearing this topic out for me, I've searched, but never got this far.
My newest distro will not let me uninstall the latest GCC, as it says it's used for other compiles and would break too much. I've gotten away with installing multiple versions of GCC or for the user only. This is much better and should solve a lot. Quote:
|
Now they clobber me!
I wonder if anyone might know what or why the cause for this. I tried other versions of gcc with the same results, and this only happens on on of my pcs, and even will sometimes go through with the compile.
Quote:
Here's two ways to use other versions of gcc (have to install them first); Code:
#cd /usr/bin Code:
export CC=/usr/bin/gcc-3.4 |
[QUOTE=Angelox;158252]I wonder if anyone might know what or why the cause for this. I tried other versions of gcc with the same results, and this only happens on on of my pcs, and even will sometimes go through with the compile.
[CODE] ../common/crc32.cpp: In static member function |
Quote:
|
Quote:
Quote:
Code:
__asm __volatile ( |
atoi
for some strange reason my database is throwing wobblies about the atoi not being declared in the scope. Am i doing something wrong or is it a programing error?
|
That's just the newer version GCC you are using. I just tried something on this newer OS I have, since it gave me an assortment of errors, which most point to same two references (after Googling) -
In every error you see, for example you get an error in 'EQPacket.cpp' open the file up and add these two lines(might be better to add to *.h files) ; Code:
#include <cstdlib> I had to do this to around 20 files, so it takes a while. Then finally I got a big 'zone.o' error , which I fixed by adding -fpermissive to WFLAGS in makefiles for zone. After that it all compiled. |
All times are GMT -4. The time now is 08:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.