This problem is because Octave is searching for QtCore.pc
, QtGUI.pc
, and QtNetwork.pc
but Qt5 seems to have renamed them as Qt5Core.pc
, Qt5GUI.pc
, and Qt5Network.pc
. One solution is to create symlinks for them:
cd /opt/Qt5.2.1/5.2.1/gcc_64/lib/pkgconfig/
ln -s ./Qt5Core.pc ./QtCore.pc
ln -s ./Qt5GUI.pc ./QtGUI.pc
ln -s ./Qt5Network.pc ./QtNetwork.pc
cd octave_build_dir
export $PKG_CONFIG_PATH="/opt/Qt5.2.1/5.2.1/gcc_64/lib/pkgconfig/"
./configure # with fingers crossed
I am unsure of the why the reason of name change. I wonder if there should be some sort of mechanism in place where the unversion versions would be in the $PKG_CONFIG_PATH
, and changing your preferences would change the link to correct version.
Finally, your config.log
and config.status
would have been more useful than just the output of configure. The mentioned files will have the actual commands and output of your configure.