Patch for compiling EQEmu with gcc 4.1
After looking a bit closer into the matter and getting enlightened by two collegues it turned out to be much more trivial then I thought it was.
Here is a patch against 0.7.0-857. It also includes some changes to the Makefiles I discussed in the Linux Guide. Code:
--- EQEmu-0.7.0-857/Makefile 2006-10-07 07:22:52.000000000 +0000 |
This would so kick ass if I do not have to re-install yet another Linux just to get an old gcc to work. :) Thank you, eq4me. I'll host the file for you if you PM it to me.
Looks clean at first glance, though (copy/paste into a notepad doc). No extra spaces, which I think is what you're talking about. |
Quote:
You could do the changes manually if the patch does not apply and diff again. The commandline would be Code:
diff -N -u1 -r <orig-src-dir> <modified-src-dir> >EQEmu-gcc-4.1.patch |
Ok I'll check that out when I get home. I need to learn this Diff stuff anyway.
|
I am having the worst luck with this. Replacing the lines manually worked perfectly. I can compile and run my world on Linux no problem. Even made a few tweaks to make sure I was really getting it done right.
However, I cannot get this patch above to apply no matter what I do. Even taking just one simple thing (Makefile) and trying to patch gives me an error, thinking it's already been patched and wanting to -R it... but the file still has the extra MAKEs in it, so it's not already patched. And, I was able to do the diff to re-make the patch the other night perfectly - following your diff example above (except on my Fedora, it says -u1 is obsolete and to use -u 1). Now, tonight, out of nowhere, I cannot even Diff anymore. Now it says my second dir is an extra operand lol... I give up. Need sleep. I'll try again tomorrow. |
Stupid edit button. I knew as soon as I cried and whined like a noob, I'd fix it. I finally got the Diff to work again (upper-case U, not lower case u :) oops).
Here's a link to the diff file for anyone interested in what eq4me did above. I tested it on a virgin 070-857 tar and got no errors so I think it's formatted right. http://members.cox.net/raahvinmt/fil...57-gcc41.patch (btw, it's tomorrow...) |
I was making an attempt to get the installation done under Suse 10.0. gcc 4.1. I had to modify each make file in one place from <errmsg.h> to "errmsg.h". It was not finding the header.
Once I got it to find the mysql*.h files and the libmysqlclient file, I got down to cleanipc error. I figgure I was stuck, too new gcc and mysql and installed Suse 9.1 to roll back a bit. It made just fine with no links to mysql or changes to the make files ( EQEmu-0.7.0-940 ) but it halted in the same place - cleanipc. I mention it in hopes it helps someone else. I also ask for help on what to do next. I saw a message to do g++ cleanipc.cpp -o cleanipc, which I did. Truthfully, what to do with all the peices in what fashion next is too scattered to find. 'Secially on 24k dial-up. EQ4ME's wiki shows to copy the exe over to the server folder, what else do you do? Do I go for the data bases? Copy the files from the EQ game installation over ( to where ) is there a better file structure set up and server launch sequence please? Thanks Kumado |
All times are GMT -4. The time now is 07:37 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.