[gentoo-user] QT dir:

2007-07-04 Thread Alessandro del Gallo

Hi gentooers.

I have some trouble with the QTDIR variable of my system.
When I emerge some package that requires QT 3 , the configure scripts
ends with this error:

checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (headers
and libraries) not found. Please check your installation!

so I found the rigth directory and patch the enviroment with the next
command:

export QTDIR=/usr/qt/3

With this, everything works fine, but i think that a user with less
experience than me, will be fool  this.

..pretending to qt
--
elwood ~ # emerge -pvtD qt

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-4.2.3-r1  USE=dbus doc gif glib jpeg mng
mysql nas opengl png qt3support sqlite3 zlib -accessibility -cups -debug
-examples (-firebird) -nis -odbc -pch -postgres -sqlite -xinerama
INPUT_DEVICES=-wacom 0 kB
--

my make.conf
--
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}

USE=3dnow symlink -arts audiofile X -eds sse sse2 dbus -emboss firefox
-foomaticdb -fortran gif -gnome -idn -ipv6 -lcms samba lirc mng xml imap
-fam -clamav -ldap nsplugin sqlite3 mysql -pam -static berkdb ssl sasl
dri xface gtk nptl qt3 qt4 hal kde mp3 aac gstreamer mpeg ffmpeg dv dvdr
dvd dvdnav dvdread xine dvb win32codecs jpeg speex v4l ogg vorbis a52
acc alsa mplayer oss esd cdr png musepack musicbrainz quicktime xpm vcd
-kdehiddenvisibility kdeenablefinal usb bzip2 apache2 avahi exif gphoto2
xscreensaver multilib flac mad encode sox cddb directfb xv xvid x264 mmx
opengl nas sdl tcl tk cairo -cups gpm tiff mikmod spell truetype unicode
wifi ao pulseaudio -altivec -theora -xinerama ftp aalib acpi dts
imagemagick

INPUT_DEVICES=keyboard mouse
#SYNC=rsync://lx-arnau.pic.es/gentoo-portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
VIDEO_CARDS=nvidia vesa
PORT_ENOTICE_DIR=/var/tmp/portage/enotice/
#GENTOO_MIRRORS=http://linuv.uv.es/mirror/gentoo/;
GENTOO_MIRRORS=ftp://ftp.solnet.ch/mirror/Gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
#PORTDIR_OVERLAY=/usr/local/portage
PORTDIR_OVERLAY=/usr/local/portage/myportage
   /usr/local/portage/musicbrainz-overlay
   /usr/portage/local/layman/php-experimental
#   /usr/portage/local/layman/kde
LINGUAS=it en
DVB_CARDS=tda1004x
LIRC_DEVICES=hauppauge hauppauge_dvb
ALSA_CARDS=hda-intel intel8x0 intel8x0m hdsp hdspm
# * LIRC_OPTS is deprecated from lirc-0.8.0-r1 on
#LIRC_OPTS=--with-driver=devinput
#LIRCD_OPTS=-d /dev/input/event4
#LIRC_OPTS=--with-driver=devinput
PORTDIR=/usr/portage
CAMERAS=sonydscf1
FEATURES=ccache
CCACHE_SIZE=4G
--

Thanks
Bye Bye


http://porcelinux.no-ip.info/mediawiki
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Hemmann, Volker Armin
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
 Hi gentooers.

 I have some trouble with the QTDIR variable of my system.
 When I emerge some package that requires QT 3 , the configure scripts
 ends with this error:

 checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (headers
 and libraries) not found. Please check your installation!


check this:
env.d/50qtdir3
should have this:
QTDIR=/usr/qt/3
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Alessandro del Gallo




Hemmann, Volker Armin ha scritto:

  On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
  
  
Hi gentooers.

I have some trouble with the QTDIR variable of my system.
When I emerge some package that requires QT 3 , the configure scripts
ends with this error:

checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (headers
and libraries) not found. Please check your installation!

  
  

check this:
env.d/50qtdir3
should have this:
QTDIR=/usr/qt/3
  

Yes it has:
elwood env.d # grep "QTDIR=/usr/qt/3" *

50qtdir3:QTDIR=/usr/qt/3

50qtdir3-emul:QTDIR=/usr/qt/3


I don't understnd.

my current patch is a
echo "export QTDIR=/usr/qt/3"   ~/.bashrc




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Alessandro del Gallo




Hemmann, Volker Armin ha scritto:

  On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
  
  
 Hemmann, Volker Armin ha scritto:
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:

Hi gentooers.

I have some trouble with the QTDIR variable of my system.
When I emerge some package that requires QT 3 , the configure scripts
ends with this error:

checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (headers
and libraries) not found. Please check your installation!



check this:
env.d/50qtdir3
should have this:
QTDIR=/usr/qt/3

 Yes it has:
 elwood env.d # grep "QTDIR=/usr/qt/3" *
 50qtdir3:QTDIR=/usr/qt/3
 50qtdir3-emul:QTDIR=/usr/qt/3

 I don't understnd.

 my current patch is a
 echo "export QTDIR=/usr/qt/3"   ~/.bashrc


   -- [EMAIL PROTECTED] mailing list

  
  
for some reason your env.d/ files don't get sourced on login?

have you checked your environment with 'export'? 

What happens, if you don't have a  bashrc in ~/ at all?

  

It seems like a portage enviroment issue, I don't know

this is my /root/.bashrc

# User specific aliases and functions
alias vi='vim'
alias sshf='ssh -o StrictHostKeyChecking=no '
alias root='ssh -o StrictHostKeyChecking=no -lroot '
alias ls='ls --color=auto'
alias ll='ls -l --color=auto'
alias zombie='ssh -X [EMAIL PROTECTED]'
alias zombieoff='zombie shutdown -h now'
alias jack='ssh -X [EMAIL PROTECTED]'
alias root='ssh -o StrictHostKeyChecking=no -o ConnectTimeout=5 -l root
'
alias jackcoff='jack shutdown -h now'
alias k1='kill -9 %1'
alias z24='zombie mplayer -ao esd:elwood:9876 
mms://rntlivewm.rai.it/_rn24_live_'
alias r24='mplayer -cache 512 mms://rntlivewm.rai.it/_rn24_live_'

export PATH="$PATH:/mysbin/scripts"

if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi
--

elwood ~ # export
declare -x ANT_HOME="/usr/share/ant-core"
declare -x CLASSPATH="."
declare -x CONFIG_PROTECT="/usr/lib64/mozilla/defaults/pref
/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env
/usr/kde/3.5/shutdown /usr/share/config"
declare -x CONFIG_PROTECT_MASK="/etc/env.d/java/
/etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/gconf /etc/terminfo
/etc/texmf/web2c /etc/revdep-rebuild /etc/splash"
declare -x CVS_RSH="ssh"
declare -x EDITOR="/usr/bin/vim"
declare -x FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
declare -x FRACTDIR="/usr/share/xfractint"
declare -x GCC_PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2"
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GENERATION="2"
declare -x G_BROKEN_FILENAMES="1"
declare -x G_FILENAME_ENCODING="UTF-8"
declare -x HOME="/root"
declare -x
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"
declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
declare -x JAVA_HOME="/etc/java-config-2/current-system-vm"
declare -x JDK_HOME="/etc/java-config-2/current-system-vm"
declare -x KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
declare -x LADSPA_PATH="/usr/lib64/ladspa"
declare -x LESS="-R -M --shift 5"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x
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:*.
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:"
declare -x MAIL="/var/mail/root"
declare -x
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"
declare -x MOZILLA_FIVE_HOME="/usr/lib64/mozilla"
declare -x OLDPWD
declare -x OPENGL_PROFILE="nvidia"
declare -x PAGER="/usr/bin/less"
declare -x

Re: [gentoo-user] QT dir:

2007-07-04 Thread Hemmann, Volker Armin
Please don't send html-mail.

when you su to portage and do an export, is QTDIR set too?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Alessandro del Gallo

Hemmann, Volker Armin ha scritto:



when you su to portage and do an export, is QTDIR set too?


elwood ~ # su - portage
elwood ~ # whoami
root

elwood ~ # su - portage -c export
elwood ~ #

elwood ~ # export |grep QT
declare -x QTDIR=/usr/qt/3


I can't su - portage. And in root enviroment, the QTDIR is correct, but 
emerge always fails with qt3 programs. (if I don't set it manually)


Is there a wiki that explains step by step how to check portage?
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Hemmann, Volker Armin
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
 Hemmann, Volker Armin ha scritto:
  when you su to portage and do an export, is QTDIR set too?

 elwood ~ # su - portage
 elwood ~ # whoami
 root

 elwood ~ # su - portage -c export
 elwood ~ #

 elwood ~ # export |grep QT
 declare -x QTDIR=/usr/qt/3


 I can't su - portage. And in root enviroment, the QTDIR is correct, but

su -l -s /bin/bash portage


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Alessandro del Gallo

Hemmann, Volker Armin ha scritto:

On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:

Hemmann, Volker Armin ha scritto:

when you su to portage and do an export, is QTDIR set too?

elwood ~ # su - portage
elwood ~ # whoami
root

elwood ~ # su - portage -c export
elwood ~ #

elwood ~ # export |grep QT
declare -x QTDIR=/usr/qt/3


I can't su - portage. And in root enviroment, the QTDIR is correct, but


su -l -s /bin/bash portage




elwood ~ # su -l -s /bin/bash portage
-su: /var/tmp/portage/.bashrc: No such file or directory
[EMAIL PROTECTED] ~ $ export|grep QT
declare -x QTDIR=/usr/qt/3
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] QT dir:

2007-07-04 Thread Hemmann, Volker Armin
On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
 Hemmann, Volker Armin ha scritto:
  On Mittwoch, 4. Juli 2007, Alessandro del Gallo wrote:
  Hemmann, Volker Armin ha scritto:
  when you su to portage and do an export, is QTDIR set too?
 
  elwood ~ # su - portage
  elwood ~ # whoami
  root
 
  elwood ~ # su - portage -c export
  elwood ~ #
 
  elwood ~ # export |grep QT
  declare -x QTDIR=/usr/qt/3
 
 
  I can't su - portage. And in root enviroment, the QTDIR is correct, but
 
  su -l -s /bin/bash portage

 elwood ~ # su -l -s /bin/bash portage
 -su: /var/tmp/portage/.bashrc: No such file or directory
 [EMAIL PROTECTED] ~ $ export|grep QT
 declare -x QTDIR=/usr/qt/3

strange. really strange.

-- 
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong 
-- 
[EMAIL PROTECTED] mailing list