-
Notifications
You must be signed in to change notification settings - Fork 9
Ubuntu Install
Alex Afanasyev edited this page Jul 11, 2013
·
2 revisions
installing this on ubuntu...
tips: make sure you have python 2.7, not 3.
apt-get install libboost1.48-all-dev doxygen libprotobuf-dev
then the following commands work well:
./waf configure
./waf
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:PKG_CONFIG_PATH
then, back up to parent directory
sudo apt-get install qt4-qmake libqt4-dev libboost-random1.48-dev
./waf configure
however - after trying both 1.46 and 1.48, i get the same error with either...
nano@nano-VirtualBox:~/ChronoChat$ ./waf configureSetting top to : /home/nano/ChronoChat
Setting out to : /home/nano/ChronoChat/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking allowed flags for c++ compiler :
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'libsync' : yes
Checking for 'protobuf' : yes
Checking for program protoc : /usr/bin/protoc
Checking for program qmake-qt4 : /usr/bin/qmake-qt4
Checking for program qmake4 : not found
Checking for program qmake : /usr/bin/qmake
Checking for program uic-qt3 : not found
Checking for program uic3 : /usr/bin/uic3
Checking for program uic-qt4 : /usr/bin/uic-qt4
Checking for uic version : version 4.8.1
Checking for program moc-qt4 : /usr/bin/moc-qt4
Checking for program rcc : /usr/bin/rcc
Checking for program lrelease-qt4 : /usr/bin/lrelease-qt4
Checking for program lupdate-qt4 : /usr/bin/lupdate-qt4
Found the Qt4 libraries in : /usr/lib/i386-linux-gnu
Checking for pkg-config version >= '0.1' : yes
Checking for 'QtCore_debug' : not found
Checking for 'QtGui_debug' : not found
Checking for 'QtUiTools_debug' : not found
Checking for 'QtNetwork_debug' : not found
Checking for 'QtOpenGL_debug' : not found
Checking for 'QtSql_debug' : not found
Checking for 'QtSvg_debug' : not found
Checking for 'QtTest_debug' : not found
Checking for 'QtXml_debug' : not found
Checking for 'QtXmlPatterns_debug' : not found
Checking for 'QtWebKit_debug' : not found
Checking for 'Qt3Support_debug' : not found
Checking for 'QtHelp_debug' : not found
Checking for 'QtScript_debug' : not found
Checking for 'QtDeclarative_debug' : not found
Checking for 'QtDesigner_debug' : not found
Checking for 'QtCore' : yes
Checking for 'QtGui' : yes
Checking for 'QtUiTools' : yes
Checking for 'QtNetwork' : yes
Checking for 'QtOpenGL' : yes
Checking for 'QtSql' : yes
Checking for 'QtSvg' : yes
Checking for 'QtTest' : yes
Checking for 'QtXml' : yes
Checking for 'QtXmlPatterns' : yes
Checking for 'QtWebKit' : yes
Checking for 'Qt3Support' : yes
Checking for 'QtHelp' : yes
Checking for 'QtScript' : yes
Checking for 'QtDeclarative' : yes
Checking for 'QtDesigner' : yes
Checking boost includes : 1_48
Checking boost libs : ok
Checking for boost linkage : Could not link against boost libraries using supplied options
The configuration failed
(complete log in /home/nano/ChronoChat/build/config.log)
trace of end of log:
Found boost lib libboost_random-mt.a
ok
----------------------------------------
Checking for boost linkage
==>
#include <boost/system/error_code.hpp>
int main() { boost::system::error_code c; }
<==
[1/2] [32mqxx: build/.conf_check_968fbcee789046a8c143bb4a6e302895/test.cpp -> build/.conf_check_968fbcee789046a8c143bb4a6e302895/testbuild/test.cpp.1.o
[0m
from /home/nano/ChronoChat: Test does not build: Traceback (most recent call last):
File "/home/nano/ChronoChat/.waf-1.7.11-ead76ce5682aeedc3f0cf095a369f9cf/waflib/Tools/c_config.py", line
459, in run_c_code
bld.compile()
File "/home/nano/ChronoChat/.waf-1.7.11-ead76ce5682aeedc3f0cf095a369f9cf/waflib/Build.py", line 188, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
Traceback (most recent call last):
File "/home/nano/ChronoChat/.waf-1.7.11-ead76ce5682aeedc3f0cf095a369f9cf/waflib/Task.py", line 103, in process
ret=self.run()
File "<string>", line 12, in f
TypeError: 'NoneType' object is not iterable
from /home/nano/ChronoChat: The configuration failed