Solving the qt4 FreeBSD install problem

Posted by Benjamin Close on March 4, 2009 under FreeBSD | Read the First Comment

Recently I’ve been trying to instal Trolltech’s Qt 4 toolkit on my FreeBSD 7.0 server.  FreeBSD supports qt4 via ports (qt4-gui, qt4-moc, qmake4, etc), hence I’ve been using the ports system to try and install it. However it kept failing with the error: ===> Configuring for qt4-rcc-4.4.3 /bin/cp /data/usr/ports/devel/qt4-rcc/../../devel/qt4/files/configure /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../../ /usr/bin/sed -i.bak -e ‘s|target.path.*|target.path=/usr/local/bin|g’ /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/rcc.pro [..more..]