View Single Post
  #3  
Old 07-11-2014, 01:16 PM
drmike
Fire Beetle
 
Join Date: Jul 2014
Posts: 4
Default

Currently trying again. I'll update as I go.

Quote:
Originally Posted by provocating View Post
Try this and then compile again.

Code:
apt-get -y install git git-core gcc g++ cpp libmysqlclient-dev libio-stringy-perl
git-core and libio-stringy-perl were missing and are now installed.

gcc version is 4.8.1

Quote:
Originally Posted by lerxst2112 View Post
If you want the statement to be evaluated you need to use the back quote on the ~ key.
Sorry, that's what I call the fancy single quote. I do mostly php coding with open source stuff and that's what it's called there. I had thought it was a typo since many CMSes convert the simple single and double quotes to the fancy ones when text is displayed. Seemed to fail outright when I tried that previously.

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]
        "Pad 0x%"UVxf"[0x%"UVxf"] restore_local\n", \
        ^
Also when I run this with the fancy single quote:
Code:
cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so`
It reports back that it can;t find perl.

Code:
drmike@vps5:~/eqemu/build$ cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so`
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find PerlLibs (missing: PERL_LIBRARY) (found version "5.14.2")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindPerlLibs.cmake:242 (find_package_handle_standard_args)
  CMakeLists.txt:281 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

Only way i can get it to find perl is with the simple single quote:

Code:
cmake .. -DPERL_LIBRARY='locate -n 1 libperl.so'
Reply With Quote