[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408639: qt4-doc: error when compiling qt4 demos



Giuseppe D'Angelo <dangelo@cli.di.unipi.it> writes:

> Hi. When I try to compile the qt4 demos
> (from /usr/share/doc/qt4-doc/qt4-demos.tar.gz) I get:
>
> [...]
> make[1]: Entering directory `/home/peppe/qt4-demos/demos/arthurplugin'
> make -f Makefile.Release
> make[2]: Entering directory `/home/peppe/qt4-demos/demos/arthurplugin'
> mkdir: impossibile creare la directory `/plugins': Permission denied
> make[2]: *** [/plugins/designer/libarthurplugin.so] Error 1
> make[2]: Leaving directory `/home/peppe/qt4-demos/demos/arthurplugin'
> make[1]: *** [release] Error 2
> make[1]: Leaving directory `/home/peppe/qt4-demos/demos/arthurplugin'
> make: *** [sub-arthurplugin-make_default] Error 2
>
> I don't know if that's just a typo, but this is blocking proper
> compilation of the demos. In the .pro file I see:
>
> DESTDIR     = $$QT_BUILD_TREE/plugins/designer
>
> and in Makefile.Release:
>
> $(MKDIR) /plugins/designer/
>
> Perhaps $$QT_BUILD_TREE is undefined?

What steps are you using to compile the demos?  Is QTDIR set to
/usr/share/qt4?  The following works fine for me:

cd demos
export QTDIR=/usr/share/qt4
qmake-qt4
make

-- 
Captain Logic is not steering this tugboat.



Reply to: