Problem when i build ocelot
Hello all!
I have a problem when i'm trying to build Ocelot. First I have modified config.cpp Then I have ran this command : Code:
./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ --with-ev-lib=/usr/lib/x86_64-linux-gnu/ Code:
g++ -DPACKAGE_NAME=\"ocelot\" -DPACKAGE_TARNAME=\"ocelot\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"ocelot\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBTCMALLOC=1 -I. -I/usr/include -I/usr/include/mysql -I/usr/include/mysql++ -std=c++11 -march=native -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fomit-frame-pointer -fno-ident -Wall -Wfatal-errors -pthread -I/usr/local/include -g -O2 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.cpp I dont know what to do, I have previously built ocelot on another server, and all went fine, but on this server that won't. Thanks in advance, and sorry for my poor english |
you cant use x64 settings because you dont have a CPU with x64 arhitecture.
That means you have x86 CPU that is a damn single core and a i386 OS.. because i can't believe you've installed x64 OS on a i386 machine. |
Nope it's a 64bits cpu, look at the lscpu cmd :
Code:
root@localhost:~# lscpu |
and the OS arhitecture ?
|
My OS is Ubuntu 14.04 LTS 64bits.
"uname -a" returns : Code:
Linux localhost 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Code:
processor : 0 Solution found : It need to modify -march flag in the Makefile, from "native" to "x86-64" |
ocelot
hello After the ocelot launching such a thing ir debug.log the file and then automatically restarts
Error message: Began worker :: do_reap_peers () Completed worker :: do_reap_peers () Began worker :: do_reap_peers () Completed worker :: do_reap_peers () I can not figure out what could be the problem? |
do it again...
|
Ocelot configure for a 86bit CPU
Quote:
Configure Code:
./configure --with-mysql-lib=/usr/lib/i386-linux-gnu Code:
make Code:
sudo make install |
I'm not sure if you told us what OS your server is, the reason I ask is.. Did you check if you got any errors when installing lib's, this in most cases what causes most of the errors.
Also you need to make sure that you are using a newer OS because in a lot of cases the older Linux distros will not have some of the pre installed lib's. But this can easily be avoided if you follow the instructions given on GitHub. |
All times are GMT +2. The time now is 07:40. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.