public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Re: Qt environment variable
       [not found] ` <cosia5$vf1$1@sea.gmane.org>
@ 2004-12-04 21:22   ` J. Patrick Campbell
  2004-12-04 22:15     ` [gentoo-user] " Gabriel M. Beddingfield
  0 siblings, 1 reply; 3+ messages in thread
From: J. Patrick Campbell @ 2004-12-04 21:22 UTC (permalink / raw
  To: gentoo-user


On Sat, December 4, 2004 9:41 am, Gabriel M. Beddingfield said:
> J. Patrick Campbell wrote:
>
>> i'm trying to setup an app which requires Qt. I have Qt installed but
>> it's
>> not in my environment variables or something ... is missing.
>> :
>> To build Link-n-Log you must have the QT development libraries
>> installed and you must have the environment variable QTDIR set to
>> point to your QT directory.  On my machine thats /usr/lib/qt3.
>>
>> How do i set this up correctly?
>
> Did you set up QT with emerge, or compiling from source?  For me,
> QTDIR="/usr/qt/3".  (I installed QT with emerge.)

i emerged Qt
>
> And the app you're setting up -- are you compiling from source or using
> emerge?  Which app is it?
>
> IF FROM SOURCE, try:
>
> $ ./configure --with-qt-dir=/usr/lib/qt3

there is no configure. i hve to run qmake.
To build Link-n-Log you must have the QT development libraries
installed and you must have the environment variable QTDIR set to
point to your QT directory.  On my machine thats /usr/lib/qt3.

Once this environment variable has been set, to build execute:

qmake Link-n-Log.pro
make

>
> IF EMERGE, try:
>
> # EXTRA_ECONF="--with-qt-dir=/usr/lib/qt3" emerge foo
>
> If all else fails, what do you get when you run:
>
> # emerge search foo

this package is not in portage unfortunately.

thanks,

~P

>
> --
>                      G a b r i e l   M .   B e d d i n g f i e l d
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
http://patrickcampbell.us


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Re: Qt environment variable
  2004-12-04 21:22   ` [gentoo-user] Re: Qt environment variable J. Patrick Campbell
@ 2004-12-04 22:15     ` Gabriel M. Beddingfield
  2004-12-04 22:21       ` J. Patrick Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel M. Beddingfield @ 2004-12-04 22:15 UTC (permalink / raw
  To: gentoo-user

J. Patrick Campbell wrote:

>> Did you set up QT with emerge, or compiling from source?  For me,
>> QTDIR="/usr/qt/3".  (I installed QT with emerge.)
> 
> i emerged Qt

I think it's odd that QTDIR isn't already defined for you.  Sounds like
something else is afoot.  (e.g. etc-update wiped out some of your config
files.)

Here's what it looks like on my system:

# grep -ir QTDIR /etc/*
/etc/csh.env:setenv QTDIR '/usr/qt/3'
/etc/env.d/50qtdir3:QTDIR=/usr/qt/3
/etc/profile.env:export QTDIR='/usr/qt/3'
# 

Note that profile.env is automatically updated by the data in env.d. 
Probably csh.env, too.  See man env-update.

Do you have the file /etc/env.d/50qtdir3 ??  Anything like it
in /etc/env.d ??  If so, what's its name and what's its contents?

> Once this environment variable has been set, to build execute:
> 
> qmake Link-n-Log.pro
> make

Try this:

# QTDIR=/usr/lib/qt3
# echo $QTDIR
/usr/lib/qt3
# qmake Link-n-Log.pro
...messages
# make
...messages
#

If that works out ok, then do this to make the QTDIR variable stick:

# echo "QTDIR=/usr/lib/qt3" >> /etc/env.d/50qtdir3


-- 
                     G a b r i e l   M .   B e d d i n g f i e l d


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: Re: Qt environment variable
  2004-12-04 22:15     ` [gentoo-user] " Gabriel M. Beddingfield
@ 2004-12-04 22:21       ` J. Patrick Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: J. Patrick Campbell @ 2004-12-04 22:21 UTC (permalink / raw
  To: gentoo-user


On Sat, December 4, 2004 5:15 pm, Gabriel M. Beddingfield said:
> J. Patrick Campbell wrote:
>
>>> Did you set up QT with emerge, or compiling from source?  For me,
>>> QTDIR="/usr/qt/3".  (I installed QT with emerge.)
>>
>> i emerged Qt
>
> I think it's odd that QTDIR isn't already defined for you.  Sounds like
> something else is afoot.  (e.g. etc-update wiped out some of your config
> files.)
>
> Here's what it looks like on my system:
>
> # grep -ir QTDIR /etc/*
> /etc/csh.env:setenv QTDIR '/usr/qt/3'
> /etc/env.d/50qtdir3:QTDIR=/usr/qt/3
> /etc/profile.env:export QTDIR='/usr/qt/3'
> #
>
> Note that profile.env is automatically updated by the data in env.d.
> Probably csh.env, too.  See man env-update.
>
> Do you have the file /etc/env.d/50qtdir3 ??  Anything like it
> in /etc/env.d ??  If so, what's its name and what's its contents?
>
>> Once this environment variable has been set, to build execute:
>>
>> qmake Link-n-Log.pro
>> make
>
> Try this:
>
> # QTDIR=/usr/lib/qt3
> # echo $QTDIR
> /usr/lib/qt3
> # qmake Link-n-Log.pro
> ...messages
> # make
> ...messages
> #
>
> If that works out ok, then do this to make the QTDIR variable stick:
>
> # echo "QTDIR=/usr/lib/qt3" >> /etc/env.d/50qtdir3
>
thanks. did not work. i'm just gonna rebuild Qt and see if that helps.

~P


-- 
http://patrickcampbell.us


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-04 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <36264.192.168.1.113.1102163348.squirrel@192.168.1.113>
     [not found] ` <cosia5$vf1$1@sea.gmane.org>
2004-12-04 21:22   ` [gentoo-user] Re: Qt environment variable J. Patrick Campbell
2004-12-04 22:15     ` [gentoo-user] " Gabriel M. Beddingfield
2004-12-04 22:21       ` J. Patrick Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox