Ubuntu Compile Errot
Moderator: Team Members
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Ubuntu Compile Errot
ok I had to download the zip, because SVN isnt working.. when i try and run the make command in the World folder this i myerror
root@ubuntu:/home/intodesi/eq2server/World# make
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include ../common/timer.cpp -o ../common/timer.o
make: g++: Command not found
make: *** [../common/timer.o] Error 127
root@ubuntu:/home/intodesi/eq2server/World# make
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include ../common/timer.cpp -o ../common/timer.o
make: g++: Command not found
make: *** [../common/timer.o] Error 127
The IRS, its not an agency, its a service. They do it because they love us.
-
link2009
- Retired
- Posts: 390
- Joined: Fri Aug 10, 2007 5:59 pm
- Location: POrTal
- Contact:
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Ok yeah, I finnally Figured out the g++ not installed.. but now, since ive fixed that I have run make and am getting warning after warning, and at the end an error when make try's to create eq2world.
Im linking a txt file with the last 100 or so lines of the error.
http://www.beerandblood.com/ubuntu_compile_error.txt
Im linking a txt file with the last 100 or so lines of the error.
http://www.beerandblood.com/ubuntu_compile_error.txt
The IRS, its not an agency, its a service. They do it because they love us.
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Ok after looking through everything myself carefully, i found what i beleive is the problem.
/usr/bin/ld: cannot find -llua5.1
but im not sure how to fix it, since ld isnt a directory, i cant move the lua5.1 into it.. any help would be apreciated
/usr/bin/ld: cannot find -llua5.1
but im not sure how to fix it, since ld isnt a directory, i cant move the lua5.1 into it.. any help would be apreciated
The IRS, its not an agency, its a service. They do it because they love us.
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Ok i made the changes to the makefile, changing -llua5.1 to -llua. But still no progress, it looks like it builds everything but the eq2world. Not Sure on what else to do. The WIKI hasnt been updated to show the steps for 0.5, any other suggestions?
The IRS, its not an agency, its a service. They do it because they love us.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
You are doing something wrong or you have edited the make file. Those bash errors mean your shell is trying to execute each line of the output.intodesi@ubuntu:~/eq2server/eq2emulator/Source/World$ 'Sign.cpp:58: warning: deprecated conversion from string constant to âchar*â
> 'Sign.cpp: In member function âchar* Sign::GetSignZoneName()â
-bash: syntax error near unexpected token `('
intodesi@ubuntu:~/eq2server/eq2emulator/Source/World$ :Sign.cpp:133: warning: cast from type âconst char*â to type âchar*â casts away constness
-bash: :Sign.cpp:133:: command not found
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
link2009
- Retired
- Posts: 390
- Joined: Fri Aug 10, 2007 5:59 pm
- Location: POrTal
- Contact:
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
I have done all that, and no I have not edited the makefile besides what link suggested. I have re downloaded the package a few times starting the make fresh each time, and then changing -llua5.1 to -llua, which did not work, other then that change in the makefile i haven't touch a line of code.
I am not sure what else I could be doing wrong at this point. I downloaded 0.2 and I can install that fine, it seems llua is giving me my head ache.
I am not sure what else I could be doing wrong at this point. I downloaded 0.2 and I can install that fine, it seems llua is giving me my head ache.
The IRS, its not an agency, its a service. They do it because they love us.
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Ok found the problem.. the SVN is bad, not updated or something, when i downloaded directly from sourceforge everything worked out just fine.
so
this is good
http://downloads.sourceforge.net/eq2emu ... g_mirror=0
this one is bad
https://eq2emulator.svn.sourceforge.net ... q2emulator
and let me add to that, the one i downloaded straight from sourceforge doesn't have a llua requirement while the one from the svn does, not sure what that means.
so
this is good
http://downloads.sourceforge.net/eq2emu ... g_mirror=0
this one is bad
https://eq2emulator.svn.sourceforge.net ... q2emulator
and let me add to that, the one i downloaded straight from sourceforge doesn't have a llua requirement while the one from the svn does, not sure what that means.
The IRS, its not an agency, its a service. They do it because they love us.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
It means Sourceforge was the initial release of 0.5, and since then extensive work has been done (SVN) to implement LUA for spells and scripts. Without LUA, your server will not have the latest features.
I'm sure you can get one running on 0.5 release, but I think you're missing out on some cool additions by going that route. 0.6 is coming soon, so maybe you can wait for that.
I'm sure you can get one running on 0.5 release, but I think you're missing out on some cool additions by going that route. 0.6 is coming soon, so maybe you can wait for that.
-
intodesi
- Posts: 87
- Joined: Wed Feb 06, 2008 8:17 am
- Location: Reno, NV
Yeah im sure I can wait.. just weird that 0.5 with Lua isn't working for me. I may be doing something wrong, but I am in the belief I have not, I didn't start making changes to the makefile until it was suggested to take out the 5.1 from behind lua, which didn't seem to work, so for now, im only able to run the 0.4 release.. guess i will wait and see if I can get 0.6 to work, Just frustrating I cant get 0.5 to compile..
anyways, any other thoughts and what I can do to get 0.5 going would be appreciated.. thanks
anyways, any other thoughts and what I can do to get 0.5 going would be appreciated.. thanks
The IRS, its not an agency, its a service. They do it because they love us.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
To put your mind at ease, SVN is not "bad". Being a development version, things change from release - and people intending to use SVN have to grow with the code on SVN. One of those critical changes was the implementation of using LUA scripting.
That means, LUA itself needs to be installed on your linux distribution. For instance, with Fedora, I had to run:
yum install lua-devel
Or something similar to that, then edit the makefile due to the one error in the include name (which may simply be an artifact of 100 different linux distributions all putting their crap in different locations).
Note that the emulator is generally developed for Win32... so a linux distribution is a bonus right now and not the focus of the development effort. If you have critical problems with a linux compile, and others are getting it to work, it's something you have done wrong, sorry.
However, where you find improvements to the Linux distribution (either in installation steps or makefile changes), submit them here and they can be incorporated to save anyone else the headache down the road.
That means, LUA itself needs to be installed on your linux distribution. For instance, with Fedora, I had to run:
yum install lua-devel
Or something similar to that, then edit the makefile due to the one error in the include name (which may simply be an artifact of 100 different linux distributions all putting their crap in different locations).
Note that the emulator is generally developed for Win32... so a linux distribution is a bonus right now and not the focus of the development effort. If you have critical problems with a linux compile, and others are getting it to work, it's something you have done wrong, sorry.
However, where you find improvements to the Linux distribution (either in installation steps or makefile changes), submit them here and they can be incorporated to save anyone else the headache down the road.
Who is online
Users browsing this forum: No registered users and 0 guests
