gerion
February 5th, 2010, 09:30 AM
hey everyone, I have a problem installing qtoctave 0.8.2 on Ubuntu64 9.10, amd, with octave 3.2. I have to install from source as the package manager links qtoctave to octave 3.0.
The following error occured during the make process:
Scanning dependencies of target easy_plot
[ 43%] Building CXX object easy_plot/src/CMakeFiles/easy_plot.dir/gnuplot_connection.o
/home/christian/Desktop/qtoctave-0.8.2/easy_plot/src/gnuplot_connection.cpp: In member function ‘void GnuplotConnection::standardOutputReady()’:
/home/christian/Desktop/qtoctave-0.8.2/easy_plot/src/gnuplot_connection.cpp:143: error: ‘printf’ was not declared in this scope
make[2]: *** [easy_plot/src/CMakeFiles/easy_plot.dir/gnuplot_connection.o] Error 1
make[1]: *** [easy_plot/src/CMakeFiles/easy_plot.dir/all] Error 2
make: *** [all] Error 2
a similar problem occurred trying to install easy plot (not sure if that would fix the first problem):
[ 53%] Building CXX object src/CMakeFiles/easy_plot.dir/gnuplot_connection.o
cd /home/christian/Desktop/easy_plot/src && /usr/bin/c++ -DQT_DLL -DQT_SVG_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -O3 -DNDEBUG -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/easy_plot.dir/gnuplot_connection.o -c /home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp
/home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp: In member function ‘void GnuplotConnection::standardOutputReady()’:
/home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp:143: error: ‘printf’ was not declared in this scope
make[2]: *** [src/CMakeFiles/easy_plot.dir/gnuplot_connection.o] Error 1
make[2]: Leaving directory `/home/christian/Desktop/easy_plot'
make[1]: *** [src/CMakeFiles/easy_plot.dir/all] Error 2
make[1]: Leaving directory `/home/christian/Desktop/easy_plot'
make: *** [all] Error 2
What I found on the web is
http://osdir.com/ml/debian-bugs-closed/2009-10/msg01388.html
which didn't really help.
The deb package they refer to on http://web.zcu.cz/ftp/mirrors/debian/pool/main/q/qtoctave/ doesn't work, message:
Error: Dependency is not satisfiable: libqt4-network (>= 4:4.5.2)
although the Package manager says that version "4.5.3really4.5.2-0ubuntu1" is installed.
File are taken from http://forja.rediris.es/frs/?group_id=60
Happy for any suggestions. Thanks
The following error occured during the make process:
Scanning dependencies of target easy_plot
[ 43%] Building CXX object easy_plot/src/CMakeFiles/easy_plot.dir/gnuplot_connection.o
/home/christian/Desktop/qtoctave-0.8.2/easy_plot/src/gnuplot_connection.cpp: In member function ‘void GnuplotConnection::standardOutputReady()’:
/home/christian/Desktop/qtoctave-0.8.2/easy_plot/src/gnuplot_connection.cpp:143: error: ‘printf’ was not declared in this scope
make[2]: *** [easy_plot/src/CMakeFiles/easy_plot.dir/gnuplot_connection.o] Error 1
make[1]: *** [easy_plot/src/CMakeFiles/easy_plot.dir/all] Error 2
make: *** [all] Error 2
a similar problem occurred trying to install easy plot (not sure if that would fix the first problem):
[ 53%] Building CXX object src/CMakeFiles/easy_plot.dir/gnuplot_connection.o
cd /home/christian/Desktop/easy_plot/src && /usr/bin/c++ -DQT_DLL -DQT_SVG_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -O3 -DNDEBUG -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/easy_plot.dir/gnuplot_connection.o -c /home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp
/home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp: In member function ‘void GnuplotConnection::standardOutputReady()’:
/home/christian/Desktop/easy_plot/src/gnuplot_connection.cpp:143: error: ‘printf’ was not declared in this scope
make[2]: *** [src/CMakeFiles/easy_plot.dir/gnuplot_connection.o] Error 1
make[2]: Leaving directory `/home/christian/Desktop/easy_plot'
make[1]: *** [src/CMakeFiles/easy_plot.dir/all] Error 2
make[1]: Leaving directory `/home/christian/Desktop/easy_plot'
make: *** [all] Error 2
What I found on the web is
http://osdir.com/ml/debian-bugs-closed/2009-10/msg01388.html
which didn't really help.
The deb package they refer to on http://web.zcu.cz/ftp/mirrors/debian/pool/main/q/qtoctave/ doesn't work, message:
Error: Dependency is not satisfiable: libqt4-network (>= 4:4.5.2)
although the Package manager says that version "4.5.3really4.5.2-0ubuntu1" is installed.
File are taken from http://forja.rediris.es/frs/?group_id=60
Happy for any suggestions. Thanks