QT ./configure idiocy
declan.moriarty at ntlworld.ie
Wed Aug 28 10:29:50 PDT 2002
Was it James Drabb who wrote on Tuesday 27 August 2002 19:11:
> > I'm trying to compile qt_3.0.5. I'm falling flat on my face :-(
> > It (THE INSTALL) Says:
> > 2. Set some environment variables in the file .profile (or .login,
> > depending on your shell) in your home directory. Create the
> > file if it is not there already.
> > [delicate snip to avoid repetition]
> > In .profile (if your shell is bash, ksh, zsh or sh), add the
> > following lines:
> > QTDIR=/usr/local/qt
> > PATH=$QTDIR/bin:$PATH
> > MANPATH=$QTDIR/doc/man:$MANPATH
> > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> > export QTDIR PATH MANPATH LD_LIBRARY_PATH
> > this last line fails because it says '/usr/local/qt' : not a valid
> > identifier.
> > I suspect a typo. Theirs or mine? The shell is bash. The
> > configure throws me
> > out 'cos it checks for $QTDIR, and politely tells me to go
> > away and set this
> > up.
> > Spot the obvious, anyone?
> > --
> > Regards,
> > Declan Moriarty
> > Applied Researches - Ireland's Foremost Electronic Hardware Genius
> > A Slightly Serious(TM) Company
> > Experience is like a comb,
> > that Life gives you - AFTER all your hair has fallen out!
> > --
> It looks good from here : )
> Try this format instead:
> export QTDIR=/usr/local/qt
> export PATH=$QTDIR/bin:$PATH
> export MANPATH=$QTDIR/doc/man:$MANPATH
> export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> Maybe this way you will see what line bash doesn't like. Are you sure
> file is in unix format?
Yeah, I tried this and it all worked. WHY?? Never mind :-o.
Boy, QT sure is slow to cook!!
Applied Researches - Ireland's Foremost Electronic Hardware Genius
A Slightly Serious(TM) Company
Experience is like a comb,
that Life gives you - AFTER all your hair has fallen out!
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support