Gentoo Archives: gentoo-user

From: Alessandro del Gallo <delgallo@×××.es>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] QT dir:
Date: Sun, 08 Jul 2007 16:21:44
Message-Id: 46910E28.5090408@pic.es
In Reply to: Re: [gentoo-user] QT dir: by "Hemmann
1 Hemmann, Volker Armin ha scritto:
2 > On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
3 >> Hemmann, Volker Armin ha scritto:
4 >>> On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
5 >>>> Hemmann, Volker Armin ha scritto:
6 >>>>> when you su to portage and do an export, is QTDIR set too?
7 >>>> elwood ~ # su - portage
8 >>>> elwood ~ # whoami
9 >>>> root
10 >>>>
11 >>>> elwood ~ # su - portage -c "export"
12 >>>> elwood ~ #
13 >>>>
14 >>>> elwood ~ # export |grep QT
15 >>>> declare -x QTDIR="/usr/qt/3"
16 >>>>
17 >>>>
18 >>>> I can't su - portage. And in root enviroment, the QTDIR is correct, but
19 >>> su -l -s /bin/bash portage
20 >> elwood ~ # su -l -s /bin/bash portage
21 >> -su: /var/tmp/portage/.bashrc: No such file or directory
22 >> portage@elwood ~ $ export|grep QT
23 >> declare -x QTDIR="/usr/qt/3"
24 >
25 > strange. really strange.
26 >
27
28 Hello Hemmann,
29 Now I have more information about the error,
30 emerging doxygen I get this
31
32 [...]
33 >>> Compiling source in
34 /var/tmp/portage/app-doc/doxygen-1.5.2/work/doxygen-1.5.2 ...
35 * using QTDIR: '/usr/local/qt'.
36 * using QT LIBRARY_PATH: '/usr/local/qt/lib64:'.
37 * using QT LD_LIBRARY_PATH: '/usr/local/qt/lib64:'.
38 Autodetected platform linux-g++...
39 Detected Qt via the QTDIR environment variable...
40 QTDIR is set to /usr/local/qt, but library directory
41 /usr/local/qt/lib does not exist!
42
43 [...]
44
45
46 AND
47
48 elwood ~ # ll -R /usr/local/qt
49 /usr/local/qt:
50 total 4
51 drwxr-xr-x 2 root root 4096 Mar 30 20:26 bin
52
53 /usr/local/qt/bin:
54 total 0
55 lrwxrwxrwx 1 root root 14 Mar 30 20:26 qmake -> /usr/bin/qmake
56 elwood ~ #
57
58 elwood ~ # ll /usr/qt/3
59 total 52
60 drwxr-xr-x 2 root root 4096 Apr 3 03:02 bin
61 drwxr-xr-x 4 root root 4096 Apr 3 03:02 doc
62 drwxr-xr-x 3 root root 4096 Sep 2 2006 etc
63 drwxr-xr-x 3 root root 16384 Jun 28 20:34 include
64 lrwxrwxrwx 1 root root 5 Jun 28 20:34 lib -> lib64
65 drwxr-xr-x 2 root root 4096 Feb 17 19:20 lib32
66 drwxr-xr-x 3 root root 4096 Jun 28 20:34 lib64
67 drwxr-xr-x 3 root root 4096 Apr 3 03:02 mkspecs
68 drwxr-xr-x 6 root root 4096 Jun 28 20:34 plugins
69 drwxr-xr-x 3 root root 4096 Apr 3 03:02 tools
70 drwxr-xr-x 2 root root 4096 Jun 29 08:32 translations
71
72
73 may be a simlyk from /usr/qt/3 to /usr/local/qt ...
74 --
75 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] QT dir: "Hemmann