PDA

View Full Version : QT 4.5 + .config problem with Basic XLib?



qoo
5th August 2009, 10:58
hello,

installing X11 and after

cd /tmp
gunzip qt-x11-opensource-src-4.5.2.tar.gz # uncompress the archive
tar xvf qt-x11-opensource-src-4.5.2.tar # unpack it

and

cd /tmp/qt-x11-opensource-src-4.5.2
./configure

I'll get

Basic XLib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /tmp/qt-x11-opensource-src-4.5.2 /mkspecs/linux-g++.

and

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

-> .config stops and can't make the build.

:confused: Haven't got those msg before... :confused:
So, what I'm doing wrong? :eek:

-cheers
qoo

jpn
5th August 2009, 11:27
Try: sudo apt-get install libxext-dev

qoo
5th August 2009, 11:36
tried that...didn't help...


same result:

desktop:/tmp/qt-x11-opensource-src-4.5.2$ sudo apt-get install libx11-dev libxext-dev libxtst-dev
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

jpn
5th August 2009, 11:43
Close the application (a package manager?) that has locked the package database.

qoo
5th August 2009, 11:52
There we go... yet another new thing we've learned :p