[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [seul-edu] QT toolkit
>
> On Sat, 8 Sep 2001, Dave Prentice wrote:
>
> > All,
> > I am trying to test remedial math software and downloaded a promising
> > one called kseg. However, when I try to compile it says several files
> > starting with "q" and ending with ".H" are missing. I assume these are part
> > of the QT package. Does anybody know a url where I can download the latest
> > rpm version of QT that is still compatible with Redhat 6.2?
>
> RPM-based systems usually split libraries in two packages, one, libfoo,
> needed for running applications and another libfoo-devel, needed for
> compilation and development.
>
Although, this is certainly an issue, one of the other things you may find
when compiling packages that use QT, is that your distro may place the files
in some location other than where the build files are looking for them.
For instance, on RH 7.x two version of QT are installed. They can both
be found under:
/usr/lib/qt-1.45
/usr/lib/qt-2.2.0
under each of these directories is a:
lib
include
bin
directory. In your case the package could not find the .h files.
Somehow you must make the package set the following parameter when
compiling:
-I /usr/lib/qt-2.2.0/include
This is of course assuming a RH system, with qt-2.2.0 installed. Finally,
your going to get header file messages first, after they go away its
probably going to fail in the link phase complaining about being unable
to find various .o files. To fix this make sure when compiling the
package uses the following switch:
-L /usr/lib/qt-2.2.0/lib
With all that set you should be able to compile.
Cheers...james