anyone able to get this to compile on MDK 9.1?

[EMAIL PROTECTED] kcheckers]$ rpm -qa | grep qt 
libqt3-common-3.1.1-13.1mdk
libqt3-devel-3.1.1-13.1mdk
libqt3-3.1.1-13.1mdk

I had to edit the Makefile and specify the location of $(QTDIR), then
specify that qmake lives in $(QTDIR)/bin before make qmake would
succeed. After doing that, make fails:

[EMAIL PROTECTED] kcheckers]$ make
g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro  -DQT_NO_DEBUG -I/usr/lib/qt3//mkspecs/default -I.
-I/include -o pdn.o pdn.cpp
pdn.cpp:2:19: qfile.h: No such file or directory
In file included from pdn.cpp:5:
pdn.h:5:25: qstringlist.h: No such file or directory
In file included from pdn.cpp:5:
pdn.h:31: parse error before `&' token
pdn.h:32: parse error before `&' token
...
the rest is snipped.

[EMAIL PROTECTED] kcheckers]$ locate qfile.h
/usr/lib/qt3/include/qfile.h
/usr/share/doc/qt-3.1.1/doc/html/qfile.html

[EMAIL PROTECTED] kcheckers]$ head pdn.cpp 

#include <qfile.h>

So path is still not being set correctly. I've tried adding path to the
.h and .cpp files, but without success.

I noticed that a binary is included, but it fails to run because
Mandrake doesn't use the same naming convention as the developer's
distro and it can't find libqt.so.3. I did ln -s
/usr/lib/qt3/lib/libqt-mt.so.3.1.1 /usr/lib/qt3/lib/libqt.so.3 and
ldconfig, but the error is then:
[EMAIL PROTECTED] kcheckers]$ ./kcheckers
./kcheckers: relocation error: ./kcheckers: undefined symbol:
__ti7QWidget


I sent a mail to the developer, but his mail admin bounced it for some
reason, and since that reason is in Cyrillic...

thanks,
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to