Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] QT dir:
Date: Mon, 09 Jul 2007 16:01:28
Message-Id: 200707091752.39951.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] QT dir: by Alessandro del Gallo
1 On Sonntag, 8. Juli 2007, Alessandro del Gallo wrote:
2 > Hemmann, Volker Armin ha scritto:
3 > > On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
4 > >> Hemmann, Volker Armin ha scritto:
5 > >>> On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
6 > >>>> Hemmann, Volker Armin ha scritto:
7 > >>>>> when you su to portage and do an export, is QTDIR set too?
8 > >>>>
9 > >>>> elwood ~ # su - portage
10 > >>>> elwood ~ # whoami
11 > >>>> root
12 > >>>>
13 > >>>> elwood ~ # su - portage -c "export"
14 > >>>> elwood ~ #
15 > >>>>
16 > >>>> elwood ~ # export |grep QT
17 > >>>> declare -x QTDIR="/usr/qt/3"
18 > >>>>
19 > >>>>
20 > >>>> I can't su - portage. And in root enviroment, the QTDIR is correct,
21 > >>>> but
22 > >>>
23 > >>> su -l -s /bin/bash portage
24 > >>
25 > >> elwood ~ # su -l -s /bin/bash portage
26 > >> -su: /var/tmp/portage/.bashrc: No such file or directory
27 > >> portage@elwood ~ $ export|grep QT
28 > >> declare -x QTDIR="/usr/qt/3"
29 > >
30 > > strange. really strange.
31 >
32 > Hello Hemmann,
33 > Now I have more information about the error,
34 > emerging doxygen I get this
35 >
36 > [...]
37 >
38 > >>> Compiling source in
39 >
40 > /var/tmp/portage/app-doc/doxygen-1.5.2/work/doxygen-1.5.2 ...
41 > * using QTDIR: '/usr/local/qt'.
42 > * using QT LIBRARY_PATH: '/usr/local/qt/lib64:'.
43 > * using QT LD_LIBRARY_PATH: '/usr/local/qt/lib64:'.
44 > Autodetected platform linux-g++...
45 > Detected Qt via the QTDIR environment variable...
46 > QTDIR is set to /usr/local/qt, but library directory
47 > /usr/local/qt/lib does not exist!
48 >
49 > [...]
50 >
51 >
52 >
53 > may be a simlyk from /usr/qt/3 to /usr/local/qt ...
54
55 /usr/local/qt should not exist in the first place - I would (re)move it to a
56 backup dir and retry.
57 --
58 gentoo-user@g.o mailing list