No rule to make target error during compiling
Greets:
I'm having an issue with compiling Eqemu on an Ubuntu server and am getting an error. I'm just going to copy and paste the error at first in the hopeful attempt that someone will recognize the error right off. I'll do a walk through if no one recognizes it. Code:
[ 45%] Building CXX object world/CMakeFiles/world.dir/queryserv.cpp.o Code:
cmake . -DPERL_LIBRARY='locate -n 1 libperl.so' Any ideas? Be happy to give specifics if needed. Thanks -drmike |
Try this and then compile again.
Code:
apt-get -y install git git-core gcc g++ cpp libmysqlclient-dev libio-stringy-perl |
If you want the statement to be evaluated you need to use the back quote on the ~ key.
|
|
Currently trying again. I'll update as I go.
Quote:
gcc version is 4.8.1 Quote:
Update: Just tried it again and am getting the same error. Two things I noticed though: Getting lots of these: Code:
/usr/lib/perl/5.14/CORE/pad.h:262:8: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] Code:
cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` Code:
drmike@vps5:~/eqemu/build$ cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` Only way i can get it to find perl is with the simple single quote: Code:
cmake .. -DPERL_LIBRARY='locate -n 1 libperl.so' |
I think I've got it. trying again and am up to 70%. Found this:
http://www.eqemulator.org/forums/showthread.php?t=33652 Ran this: Code:
apt-get install gcc g++ make libio-stringy-perl libperl-dev unzip I am still concerned though about the c++11 errors though. Also was wondering why the lua parcer and the login server are not compiled as a default. I would think both of those would be important. thanks |
Those are warnings, not errors.
You can see the difference between the regular and back quotes by typing Code:
echo 'locate -n 1 libperl.so' I don't know which is correct to pass to cmake. It seems like their method of detecting perl should work if you didn't try to override it at all. |
Those warnings are a problem with perl that isn't fixed until 5.20 or 5.21 which are really too new to be packaged with existing distros atm. If you're not using clang it isn't an issue as gcc still lists them as warnings (error on clang).
Lua parser will be turned on by default soon. Login requires an extra step so atm it will remain disabled by default. |
Quote:
Quote:
Question Looking at this: https://github.com/EQEmu/Server/wiki/Linux-server-setup Step 18 is a MySQL user, correct? Assuming that but just wanted to make sure. Also looks like steps 12 and 17 are pretty much the same item: Load the databases. 17 just gives more details. Anyone mind if I do some editing on that page? thanks edit: I'm also getting a end of file error on the peqbeta_ file download from Google code. tried it in both wget directly from the server and Firefox with my local laptop. I was able to uncompress it fine locally with 7zip and upload it via sftp. Just wanted to point that out. |
All times are GMT -4. The time now is 01:45 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.