1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
Hemmann, Volker Armin ha scritto: |
9 |
|
10 |
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote: |
11 |
|
12 |
|
13 |
Hemmann, Volker Armin ha scritto: |
14 |
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote: |
15 |
|
16 |
Hi gentooers. |
17 |
|
18 |
I have some trouble with the QTDIR variable of my system. |
19 |
When I emerge some package that requires QT 3 , the configure scripts |
20 |
ends with this error: |
21 |
|
22 |
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers |
23 |
and libraries) not found. Please check your installation! |
24 |
|
25 |
|
26 |
|
27 |
check this: |
28 |
env.d/50qtdir3 |
29 |
should have this: |
30 |
QTDIR=/usr/qt/3 |
31 |
|
32 |
Yes it has: |
33 |
elwood env.d # grep "QTDIR=/usr/qt/3" * |
34 |
50qtdir3:QTDIR=/usr/qt/3 |
35 |
50qtdir3-emul:QTDIR=/usr/qt/3 |
36 |
|
37 |
I don't understaaaand. |
38 |
|
39 |
my current patch is a |
40 |
echo "export QTDIR=/usr/qt/3" >>� ~/.bashrc |
41 |
|
42 |
|
43 |
-- gentoo-user@g.o mailing list |
44 |
|
45 |
|
46 |
|
47 |
for some reason your env.d/ files don't get sourced on login? |
48 |
|
49 |
have you checked your environment with 'export'? |
50 |
|
51 |
What happens, if you don't have a bashrc in ~/ at all? |
52 |
|
53 |
|
54 |
|
55 |
It seems like a portage enviroment issue, I don't know
|
56 |
|
57 |
this is my /root/.bashrc
|
58 |
|
59 |
# User specific aliases and functions
|
60 |
alias vi='vim'
|
61 |
alias sshf='ssh -o StrictHostKeyChecking=no '
|
62 |
alias root='ssh -o StrictHostKeyChecking=no -lroot '
|
63 |
alias ls='ls --color=auto'
|
64 |
alias ll='ls -l --color=auto'
|
65 |
alias zombie='ssh -X root@zombie'
|
66 |
alias zombieoff='zombie shutdown -h now'
|
67 |
alias jack='ssh -X root@jack'
|
68 |
alias root='ssh -o StrictHostKeyChecking=no -o ConnectTimeout=5 -l root |
69 |
'
|
70 |
alias jackcoff='jack shutdown -h now'
|
71 |
alias k1='kill -9 %1'
|
72 |
alias z24='zombie mplayer -ao esd:elwood:9876� |
73 |
mms://rntlivewm.rai.it/_rn24_live_'
|
74 |
alias r24='mplayer -cache 512 mms://rntlivewm.rai.it/_rn24_live_'
|
75 |
|
76 |
export PATH="$PATH:/mysbin/scripts"
|
77 |
|
78 |
if [ -f /etc/bashrc ]; then
|
79 |
������� . /etc/bashrc
|
80 |
fi
|
81 |
----------------------
|
82 |
|
83 |
elwood ~ # export
|
84 |
declare -x ANT_HOME="/usr/share/ant-core"
|
85 |
declare -x CLASSPATH="."
|
86 |
declare -x CONFIG_PROTECT="/usr/lib64/mozilla/defaults/pref |
87 |
/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env |
88 |
/usr/kde/3.5/shutdown /usr/share/config"
|
89 |
declare -x CONFIG_PROTECT_MASK="/etc/env.d/java/ |
90 |
/etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ |
91 |
/etc/php/apache2-php5/ext-active/ /etc/gconf /etc/terminfo |
92 |
/etc/texmf/web2c /etc/revdep-rebuild /etc/splash"
|
93 |
declare -x CVS_RSH="ssh"
|
94 |
declare -x EDITOR="/usr/bin/vim"
|
95 |
declare -x FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
|
96 |
declare -x FRACTDIR="/usr/share/xfractint"
|
97 |
declare -x GCC_PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2"
|
98 |
declare -x GCC_SPECS=""
|
99 |
declare -x GDK_USE_XFT="1"
|
100 |
declare -x GENERATION="2"
|
101 |
declare -x G_BROKEN_FILENAMES="1"
|
102 |
declare -x G_FILENAME_ENCODING="UTF-8"
|
103 |
declare -x HOME="/root"
|
104 |
declare -x |
105 |
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info"
|
106 |
declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
|
107 |
declare -x JAVA_HOME="/etc/java-config-2/current-system-vm"
|
108 |
declare -x JDK_HOME="/etc/java-config-2/current-system-vm"
|
109 |
declare -x KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
|
110 |
declare -x LADSPA_PATH="/usr/lib64/ladspa"
|
111 |
declare -x LESS="-R -M --shift 5"
|
112 |
declare -x LESSOPEN="|lesspipe.sh %s"
|
113 |
declare -x LOGNAME="root"
|
114 |
declare -x |
115 |
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*. |
116 |
doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
|
117 |
declare -x MAIL="/var/mail/root"
|
118 |
declare -x |
119 |
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/vmware/workstation/man"
|
120 |
declare -x MOZILLA_FIVE_HOME="/usr/lib64/mozilla"
|
121 |
declare -x OLDPWD
|
122 |
declare -x OPENGL_PROFILE="nvidia"
|
123 |
declare -x PAGER="/usr/bin/less"
|
124 |
declare -x |
125 |
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/panda3d/bin:/opt/vmware/workstation/bin:/usr/share/karamba/bin:/root/mysbin/scripts:/mysbin/scripts:/root/mysbin/scripts"
|
126 |
declare -x |
127 |
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig:/usr/qt/3/lib32/pkgconfig"
|
128 |
declare -x |
129 |
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8:/usr/lib/klibc"
|
130 |
declare -x PWD="/root"
|
131 |
declare -x PYTHONPATH="/usr/lib64/portage/pym"
|
132 |
declare -x QMAKESPEC="linux-g++"
|
133 |
declare -x QTDIR="/usr/qt/3"
|
134 |
declare -x SHELL="/bin/bash"
|
135 |
declare -x SHLVL="1"
|
136 |
declare -x SSH_CLIENT="193.146.196.192 43788 22"
|
137 |
declare -x SSH_CONNECTION="193.146.196.192 43788 192.168.100.82 22"
|
138 |
declare -x SSH_TTY="/dev/pts/7"
|
139 |
declare -x TERM="xterm"
|
140 |
declare -x USER="root"
|
141 |
declare -x VMHANDLE="blackdown-jdk-1.4.2"
|
142 |
declare -x |
143 |
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
|
144 |
|
145 |
-----------------------------------
|
146 |
|
147 |
|
148 |
|
149 |
-- |
150 |
gentoo-user@g.o mailing list |
151 |
|
152 |
|
153 |
|