On 6 Mar, Allen Carpenter wrote:
>
> Scott Gray wrote:
>>
>> Hi,
>>
>> Has anyone noted any problems with the GNU C compile on SuSE 6.0? I've
>> experienced som problems compiling apps such as kmysql, dbmetrix etc. I've
>> checked and I do have all of the required packages installed.
>>
>> Thanks,
>> Scott Gray
>
>
> Judging by the errors the QT lib is either missing or is the incorrect
> library. Check the makefile to see that it is looking in the correct
> place for the QT lib and then confirm that the QT version you have is
> the correct one for the app.
>
>
>> ------------------------------------------------------
>>
>> compiliation of kmysql terminates as follows:
>>
>> /opt/kde/lib/libkfile.so: undefined reference to `QLabel::setPixmap(QPixmap const
>&)'
>> /opt/kde/lib/libkdecore.so: undefined reference to `QWMatrix::rotate(float)'
>> /opt/kde/lib/libkdeui.so: undefined reference to `QPixmap::fill(QWidget const *,
>int, int)'
>> /opt/kde/lib/libkdeui.so: undefined reference to `QCursor::QCursor(void)'
>> /opt/kde/lib/libkfile.so: undefined reference to `QString::find(char const *, int,
>bool) const'
>> collect2: ld returned 1 exit status
>> make[2]: *** [kmysql] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive-am] Error 2
>>
>>
>> -
>> To get out of this list, please send email to [EMAIL PROTECTED] with
>> this text in its body: unsubscribe suse-linux-e
>> Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
>> archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html
> -
> To get out of this list, please send email to [EMAIL PROTECTED] with
> this text in its body: unsubscribe suse-linux-e
> Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
> archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html
You can also point the configure script to the correct location for
kde or qt includes or libs. Type configure --help |more (my suggestion)
and you can see what switches the configure script will accept. Note
that when configure checks for the correct qlib version it will print
out what it finds usually. Its been my experience that by installing
kde from rpms and then attempting to compile/install tarballs, that you
often will need to use configure switches.
--
Michael Perry
[EMAIL PROTECTED]
-------------------
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html