Thursday, May 24, 2007

Installing FreeBSD (part 2)

OK ... pkg_add finished his job, now I just did a pkg_add -r xfce, and I am able to have a running window manager !

Next task is to get a working qt4, so it looks like there is no such thing in the precompiled library. So I downloaded the port archive (a big tarball that you can get from http://www.freebsd.org/ports/installing.html).


pkg_add -r wget
cd /usr/
wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
gunzip < ports.tar.gz | tar xf -


Now on to compile Qt ! (that might take some time on my old Pentium-3 666 MHz).

cd /usr/ports/x11-toolkits/qt4-gui/
make install clean


... wait some time ...
And it does not work !
Seems like I have to upgrade my Xorg, to match the one used by the port manager to build qt4. So I downloaded the sources from Trolltech and worked with it ...


[root@ubuntu.corp.adobe.com qt4-gui]# make
===> qt4-gui-4.2.3_2 depends on executable in : moc-qt4 - found
===> qt4-gui-4.2.3_2 depends on executable in : qmake-qt4 - found
===> qt4-gui-4.2.3_2 depends on executable in : rcc - found
===> qt4-gui-4.2.3_2 depends on executable in : uic-qt4 - found
===> qt4-gui-4.2.3_2 depends on file: /usr/local/libdata/xorg/libraries - not found
===> Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.

0 Comments:

Post a Comment

<< Home