Re: QT Install problems

2002-04-09 Thread Rick Sivernell

On Tue, 9 Apr 2002 18:55:51 -0500
Kurt Wall <[EMAIL PROTECTED]> wrote:

> Scribbling feverishly on April 09, Rick Sivernell managed to emit:
> > Dennis  / Kurt or Any one else
> > 
> > 
> >   In the book call CNU C++ they talk about a tdate.h & cpp files.
> > During compile I get an error of unknown external. I take it that 
> > this gnu stuff & should it be on ew 3.1.1 /3.1 systems.
> 
> Never heard of it. You sure it isn't something you're supposed to
> create?
> 
> Kurt
> -- 
> You will stop at nothing to reach your objective, but only because your
> brakes are defective.
> ___
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Kurt

 no, it had a class def and all, well if I have the stuff, maybe I
just create it, 
   Thanks for the wake up call, night and days are running together here. 4 
course at one time tend to do that, especially toward the end.
cheers

-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-09 Thread Kurt Wall

Scribbling feverishly on April 09, Rick Sivernell managed to emit:
> Dennis  / Kurt or Any one else
> 
> 
>   In the book call CNU C++ they talk about a tdate.h & cpp files.
> During compile I get an error of unknown external. I take it that 
> this gnu stuff & should it be on ew 3.1.1 /3.1 systems.

Never heard of it. You sure it isn't something you're supposed to
create?

Kurt
-- 
You will stop at nothing to reach your objective, but only because your
brakes are defective.
___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-09 Thread Rick Sivernell

Dennis  / Kurt or Any one else


  In the book call CNU C++ they talk about a tdate.h & cpp files.
During compile I get an error of unknown external. I take it that 
this gnu stuff & should it be on ew 3.1.1 /3.1 systems.

cheers

-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-09 Thread dep

begin  Brian Witowski's  quote:

| Make ./configure went off without a hitch, as did Make.  But when I
| attempted Make Install I got No rule to make target
| ../linux-g++/qmake.conf needed by Makefile'

i'm a little surprised that it built at all. qt is generally built in 
place -- you don't install it after you've built it, because it's 
already where it's supposed to be. (the reason i'm surprised it built 
is that it in the past has thrown an error if it's not in $QTDIR as 
defined by the system configuration. this used to be easier to deal 
with than it is in some distributions now -- for instance, suse has 
some nonstandard configuration files that sometimes need to be edited 
to get the environmental variable override to take place.)
-- 
dep

http://www.linuxandmain.com -- outside the box, barely within the 
envelope, and no animated paperclip anywhere.
___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-09 Thread Roger Oberholtzer

On Tue, 09 Apr 2002 08:47:24 -0400
Tim Wunder <[EMAIL PROTECTED]> wrote:

> Hi Brian,
> I think the consesus is that a 'make install' is not required. That 
> being said, you need to make sure /etc/ld.sod.so.conf.conf contains 
> '/usr/lib/qt3/lib' (or whatever directories contain the qt3 libs), then 
> run ldconfig to update the libraries once qt3 is installed. 
> Alternatively, you can create the environment variable LD_LIBRARY_PATH 
> (read this, http://www.visi.com/~barr/ldpath.html) and set it to include 
> the path to the qt3 libs.

I think LD_LIBRARY_PATH is by far the best way to do this. This applies
when you compile KDE as well! That way the binaries will find their parts no matter
what /etc/ld.so.conf contains. When compiling KDE, add the KDE library
directory as well as the QT directory to LD_LIBRARY_PATH

-- 
++===+
| Roger Oberholtzer  |   E-mail:[EMAIL PROTECTED] |
| OPQ Systems AB |  WWW:  http://www.opq.se/ |
| Erik Dahlbergsgatan 41-43  |Phone: Int + 46 8   314223 |
| 115 32 Stockholm   |   Mobile: Int + 46 733 621657 |
| Sweden |  Fax: Int + 46 8   302602 |
++===+

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-09 Thread Tim Wunder

Hi Brian,
I think the consesus is that a 'make install' is not required. That 
being said, you need to make sure /etc/ld.so.conf contains 
'/usr/lib/qt3/lib' (or whatever directories contain the qt3 libs), then 
run ldconfig to update the libraries once qt3 is installed. 
Alternatively, you can create the environment variable LD_LIBRARY_PATH 
(read this, http://www.visi.com/~barr/ldpath.html) and set it to include 
the path to the qt3 libs.
HTH,
Tim

Brian Witowski wrote:
> I haven't seen all of this thread but thought I'd share some of the issues
> I've had with installing QT 3.0.3.
> 
> Make ./configure went off without a hitch, as did Make.  But when I
> attempted Make Install I got No rule to make target ../linux-g++/qmake.conf
> needed by Makefile'
> 
> After looking in linux-g++, there was NO qmake.conf.
> 
> So I started from scratch.  But first I made a copy of qmake.conf.  Then
> tried it again.  After doing a Make then Make Install I checked for
> ../linux-g++ and again the qmake.conf was gone.  So I put the copy back
> there and tried it again.  Same thing, except the error message was the only
> text in the qmake.conf file!  On a whim I did a make clean before doing a
> make (maybe not a good idea.  I was willing to try anything).  Then I put
> fresh copies of qmake.conf and qplatformdefs.h in ../linux-g++/ and then did
> a make install once again.  This time it finished without error, although it
> took hours, literally.  However when I attempted to install Kmyfirewall, it
> errored out saying that Qt >= 3.0.2 ( library qt-mt) not found.
> 
> Thats where it is now.
> 
> Brian
> 
> 
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On Behalf Of Douglas J Hunley
>>Sent: Monday, April 08, 2002 6:42 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: QT Install problems
>>
>>
>>On Tuesday 09 April 2002 07:43, Keith Antoine wrote:
>>
>>>I do not know how they make an rpm of qt but you will find that
>>
>>there is no
>>
>>>way to make install. It is supposed to be compiled to
>>
>>/xxx/xxx/kde3 with a
>>
>>>./configure --prefix=/usr/lib/kde3 and a make is all thats required so
>>>checkinstall will bomb out.
>>
>>you can run 'checkinstall make' and create an rpm that way.
>>according to the
>>docs (and the Makefile) there is a 'make install' step. damned if
>>I can get
>>to work though..
>>--
>>Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
>>Admin: Linux StepByStep - http://www.linux-sxs.org
>>  and http://jobs.linux-sxs.org
>>
>>A day without sunshine is like... night.
>>
>>
> 
> 
> ___
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
> 



___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



RE: QT Install problems

2002-04-09 Thread Brian Witowski

I haven't seen all of this thread but thought I'd share some of the issues
I've had with installing QT 3.0.3.

Make ./configure went off without a hitch, as did Make.  But when I
attempted Make Install I got No rule to make target ../linux-g++/qmake.conf
needed by Makefile'

After looking in linux-g++, there was NO qmake.conf.

So I started from scratch.  But first I made a copy of qmake.conf.  Then
tried it again.  After doing a Make then Make Install I checked for
../linux-g++ and again the qmake.conf was gone.  So I put the copy back
there and tried it again.  Same thing, except the error message was the only
text in the qmake.conf file!  On a whim I did a make clean before doing a
make (maybe not a good idea.  I was willing to try anything).  Then I put
fresh copies of qmake.conf and qplatformdefs.h in ../linux-g++/ and then did
a make install once again.  This time it finished without error, although it
took hours, literally.  However when I attempted to install Kmyfirewall, it
errored out saying that Qt >= 3.0.2 ( library qt-mt) not found.

Thats where it is now.

Brian

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Douglas J Hunley
> Sent: Monday, April 08, 2002 6:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: QT Install problems
>
>
> On Tuesday 09 April 2002 07:43, Keith Antoine wrote:
> > I do not know how they make an rpm of qt but you will find that
> there is no
> > way to make install. It is supposed to be compiled to
> /xxx/xxx/kde3 with a
> > ./configure --prefix=/usr/lib/kde3 and a make is all thats required so
> > checkinstall will bomb out.
>
> you can run 'checkinstall make' and create an rpm that way.
> according to the
> docs (and the Makefile) there is a 'make install' step. damned if
> I can get
> to work though..
> --
> Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
> Admin: Linux StepByStep - http://www.linux-sxs.org
>   and http://jobs.linux-sxs.org
>
> A day without sunshine is like... night.
>
>

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Douglas J Hunley

On Monday 08 April 2002 15:14, Tim Wunder wrote:
> 'checkinstall make'. Wouldn't that work? But, now that I think about it.

that would work.

> What's so terribly dificult about rm'ing the directory if I want to
> "unistall" it? I might just forego the checkinstall step altogether...

nothing. but this would keep all the relevant info in the rpm database..

-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

panic("Tell me what a watchpoint trap is, and I'll then 
deal with such a beast...");
2.2.16 /usr/src/linux/arch/arch/sparc/kernel/traps.c

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Douglas J Hunley

On Tuesday 09 April 2002 07:43, Keith Antoine wrote:
> I do not know how they make an rpm of qt but you will find that there is no
> way to make install. It is supposed to be compiled to /xxx/xxx/kde3 with a
> ./configure --prefix=/usr/lib/kde3 and a make is all thats required so
> checkinstall will bomb out.

you can run 'checkinstall make' and create an rpm that way. according to the 
docs (and the Makefile) there is a 'make install' step. damned if I can get 
to work though..
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

A day without sunshine is like... night.

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Keith Antoine

On Monday 08 April 2002 02:44 pm, Tim Wunder wrote:

> OK, I'm getting a similar problem with checkinstall.
> My $QTDIR="/usr/lib/qt3.0.3"
>
> QT compiles, ie "make" completes without error (I had to add $QTDIR and
> $QTDIR/qmake to my $PATH, but it compiled). When I execute
> "checkinstall", it errors out as follows:

I do not know how they make an rpm of qt but you will find that there is no 
way to make install. It is supposed to be compiled to /xxx/xxx/kde3 with a 
./configure --prefix=/usr/lib/kde3 and a make is all thats required so 
checkinstall will bomb out.

-- 
Keith Antoine (GANDALF) aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage


___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Tim Wunder

Douglas J Hunley wrote:
   > On Monday 08 April 2002 14:44, Tim Wunder wrote:
   >
   >>BTW, If I'm compiling qt3 in the directory where it will ultimately be
   >>installed, is there a reason to even perfom a 'make install'?
   >
   >
   > I unpacked the qt tarball, moved the resulting directory to
   > /usr/lib/qt-free-x11-3.0.3 (or whatever it was). then I went into
/usr/lib
   > and made a symlink (qt3) pointing to that dir. I set
QTDIR=/usr/lib/qt3, then
   > did a 'cd qt3' the ./configure, and the make. I don't think I did a 
make
   > install at all.

Yep. I'm pretty much doing the same thing. Only I wanted to use
checkinstall to update the RPM database, so I can remove qt3 by doing an
rpm -e. And checkinstall runs a 'make install' my defailt. Hmmm, I can
tell checkinstall to do something else, right? I can just execute
'checkinstall make'. Wouldn't that work? But, now that I think about it.
What's so terribly dificult about rm'ing the directory if I want to
"unistall" it? I might just forego the checkinstall step altogether...

Thanks,
Tim





___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Tim Wunder

Douglas J Hunley wrote:
> On Sunday 07 April 2002 14:11, Brian Witowski wrote:
> 
>>make[2]: Entering directory `/usr/local/qt/qmake'
>>[ -d /usr/local/qt/bin ] || mkdir -p /usr/local/qt/bin
> 
> 
> is this directory getting made?
> 
> 
>>cp -f /usr/local/qt/bin/qmake /usr/local/qt/bin
> 
> 
> this line is wrong. it's trying to copy qmake over itself. what is the value 
> of QTDIR?
> 

OK, I'm getting a similar problem with checkinstall.
My $QTDIR="/usr/lib/qt3.0.3"

QT compiles, ie "make" completes without error (I had to add $QTDIR and 
$QTDIR/qmake to my $PATH, but it compiled). When I execute 
"checkinstall", it errors out as follows:
---
A bunch of errors like this (this happens to be the last of many):
cp: `/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' and 
`/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' are the same file

followed by:
make[2]: [install] Error 1 (ignored)
make[2]: Leaving directory `/usr/lib/qt3.0.3/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/lib/qt3.0.3/src/moc'
make[2]: *** No rule to make target 
`/usr/lib/qt3.0.3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. 
Stop.
make[2]: Leaving directory `/usr/lib/qt3.0.3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/lib/qt3.0.3'
make: *** [install] Error 2

  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OKcp: `/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' and 
`/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' are the same file
make[2]: [install] Error 1 (ignored)
make[2]: Leaving directory `/usr/lib/qt3.0.3/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/lib/qt3.0.3/src/moc'
make[2]: *** No rule to make target 
`/usr/lib/qt3.0.3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. 
Stop.
make[2]: Leaving directory `/usr/lib/qt3.0.3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/lib/qt3.0.3'
make: *** [install] Error 2

  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

Bye.
---

I'm gonna start over and see what happens...

BTW, If I'm compiling qt3 in the directory where it will ultimately be 
installed, is there a reason to even perfom a 'make install'?

Regards,
Tim

PS FWIW, 'make install', as expected, creates the same error.

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-08 Thread Douglas J Hunley

On Monday 08 April 2002 14:44, Tim Wunder wrote:
> BTW, If I'm compiling qt3 in the directory where it will ultimately be
> installed, is there a reason to even perfom a 'make install'?

I unpacked the qt tarball, moved the resulting directory to 
/usr/lib/qt-free-x11-3.0.3 (or whatever it was). then I went into /usr/lib
and made a symlink (qt3) pointing to that dir. I set QTDIR=/usr/lib/qt3, then 
did a 'cd qt3' the ./configure, and the make. I don't think I did a make 
install at all.
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

"How do you feel about women's rights?"
"I like either side of them."

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: QT Install problems

2002-04-07 Thread Douglas J Hunley

On Sunday 07 April 2002 14:11, Brian Witowski wrote:
> make[2]: Entering directory `/usr/local/qt/qmake'
> [ -d /usr/local/qt/bin ] || mkdir -p /usr/local/qt/bin

is this directory getting made?

> cp -f /usr/local/qt/bin/qmake /usr/local/qt/bin

this line is wrong. it's trying to copy qmake over itself. what is the value 
of QTDIR?

-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org

When going on vacation, be sure to leave cans of dog food and a can opener 
where your dog can easily reach them.

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



QT Install problems

2002-04-07 Thread Brian Witowski

I'm trying to install QT 3.0.3 from qt-x11-free-3.0.3.tar.gz.  It compiles
fine.  Takes forever but it finishes successfully.  But when I do a 'make
install', I get this
-
[root@server qt]# make install
make[1]: Entering directory `/usr/local/qt'
cd qmake && make
make[2]: Entering directory `/usr/local/qt/qmake'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/qt/qmake'
cd qmake && make install
make[2]: Entering directory `/usr/local/qt/qmake'
[ -d /usr/local/qt/bin ] || mkdir -p /usr/local/qt/bin
cp -f /usr/local/qt/bin/qmake /usr/local/qt/bin
cp: /usr/local/qt/bin/qmake: No such file or directory
make[2]: [install] Error 1 (ignored)
[ -d /usr/local/qt ] || mkdir -p /usr/local/qt
cp -r -f /usr/local/qt/mkspecs /usr/local/qt
make[2]: Leaving directory `/usr/local/qt/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/local/qt/src/moc'
make[2]: *** No rule to make target
`/usr/local/qt/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[2]: Leaving directory `/usr/local/qt/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [install] Error 2


As near as I can tell it's looking for a qmake.conf file in ../linux-g++/.
I looked and the file isn't there.  When it was compiling I saw references
to that file and it appeared that it existed and all was fine.  I need QT to
install kfirewall.  Anybody have any ideas what's going on?

Thanks,
Brian


BEGIN:VCARD
VERSION:2.1
N:Witowski;Brian
FN:Brian Witowski
ORG:Pyramid Computer Systems
TEL;WORK;VOICE:(231) 331-6090
TEL;CELL;VOICE:(231) 409-9541
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020324T171728Z
END:VCARD