Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] QT dir:
Date: Tue, 10 Jul 2007 15:58:35
Message-Id: 200707101750.25873.volker.armin.hemmann@tu-clausthal.de
1 On Dienstag, 10. 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 > AND
53 >
54 > elwood ~ # ll -R /usr/local/qt
55 > /usr/local/qt:
56 > total 4
57 > drwxr-xr-x 2 root root 4096 Mar 30 20:26 bin
58 >
59 > /usr/local/qt/bin:
60 > total 0
61 > lrwxrwxrwx 1 root root 14 Mar 30 20:26 qmake -> /usr/bin/qmake
62 > elwood ~ #
63 >
64 > elwood ~ # ll /usr/qt/3
65 > total 52
66 > drwxr-xr-x 2 root root 4096 Apr 3 03:02 bin
67 > drwxr-xr-x 4 root root 4096 Apr 3 03:02 doc
68 > drwxr-xr-x 3 root root 4096 Sep 2 2006 etc
69 > drwxr-xr-x 3 root root 16384 Jun 28 20:34 include
70 > lrwxrwxrwx 1 root root 5 Jun 28 20:34 lib -> lib64
71 > drwxr-xr-x 2 root root 4096 Feb 17 19:20 lib32
72 > drwxr-xr-x 3 root root 4096 Jun 28 20:34 lib64
73 > drwxr-xr-x 3 root root 4096 Apr 3 03:02 mkspecs
74 > drwxr-xr-x 6 root root 4096 Jun 28 20:34 plugins
75 > drwxr-xr-x 3 root root 4096 Apr 3 03:02 tools
76 > drwxr-xr-x 2 root root 4096 Jun 29 08:32 translations
77 >
78 >
79 > may be a simlyk from /usr/qt/3 to /usr/local/qt ...
80
81 no, certainly not. If it would be a symlink, all the stuff would be there.
82 Just remove it, ok? Or move /usr/local/qt somewhere where it can't do any
83 damage, like /tmp/bak or something like that.
84 --
85 gentoo-user@g.o mailing list