[Qt-interest] problem in building git version

Lorenzo Bettini bettini at dsi.unifi.it
Tue Mar 9 22:35:59 CET 2010


Colin Kern wrote:
> On Tue, Mar 9, 2010 at 9:01 AM, Lorenzo Bettini <bettini at dsi.unifi.it> wrote:
>> then I experienced this problem
>>
>> /home/bettini/install/qt-git/build/bin/qmake
>> QMAKE_ABSOLUTE_SOURCE_PATH=/home/bettini/install/qt-git/qt/src/imports/widgets
>> -spec /home/bettini/install/qt-git/qt/mkspecs/linux-g++ -o Makefile
>> /home/bettini/install/qt-git/qt/src/imports/widgets/widgets.pro
>> WARNING: qimportbase.pri:25: Unable to find file for inclusion
>> ../../qt_targets.pri
>> WARNING: copy2build: Cannot access directory
>> '/usr/local/Trolltech/Qt-4.7.0/imports/Qt/widgets'
>> make[2]: Leaving directory
>> `/home/bettini/install/qt-git/build/src/imports/widgets'
>> make[2]: Entering directory
>> `/home/bettini/install/qt-git/build/src/imports/widgets'
>> cp -f /home/bettini/install/qt-git/qt/src/imports/widgets/qmldir
>> /usr/local/Trolltech/Qt-4.7.0/imports/Qt/widgets/qmldir
>> cp: cannot create regular file
>> `/usr/local/Trolltech/Qt-4.7.0/imports/Qt/widgets/qmldir': No such file
>> or directory
>> make[2]: *** [/usr/local/Trolltech/Qt-4.7.0/imports/Qt/widgets/qmldir]
>> Error 1
>> make[2]: Leaving directory
>> `/home/bettini/install/qt-git/build/src/imports/widgets'
>> make[1]: *** [sub-widgets-make_default] Error 2
>> make[1]: Leaving directory `/home/bettini/install/qt-git/build/src/imports'
>> make: *** [sub-imports-make_default-ordered] Error 2
>>
>> which seems to be due to the fact that during compiling the install
>> directory is being created and of course, since I compile it as
>> NON-root, I get permission denied errors...  now I used the -prefix into
>> my home directory and it looks like it is being compiled fine...
>>
>> but this looks like another issue/bug, isn't it?
>>
> 
> I posted this same error to the list last night and Thiago confirmed
> it's a known bug they are working on.
> 
> Colin

OK, thanks

for the moment I managed to build qt 4.7 and install it (with -prefix a 
path local to my home).  I also managed to build the git version of 
qt-creator (which was the main reason I had to use the git version of qt).

cheers
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com




More information about the Qt-interest-old mailing list