Re: [expert] kcheckers

2003-07-30 Thread Jack Coates
On Wed, 2003-07-30 at 19:57, David E Fox wrote:
> > 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:
> 
> I first tried it and couldn't make it work. Then I remembered having to
> set QTDIR first (/usr/lib/qt3) and then it went all the way through. I
> was surprised there was no ./configure present. At any rate I'll go
> install it. "su - root" well - keep in mind that the 'su' makes a
> new environment, so you need to reset QTDIR again. It's a pretty
> simple install, only two files.
> 
> > 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
> 
> Well, urpmf /usr/include/qstringlist.h - if set up. Maybe
> you left out a development rpm. It may not live in /usr/include
> precisely. Actually, here it is part of /usr/lib/qt3/include, 
> and inside qt3-devel. 'locate qfile.h' shows it also in /usr/lib/qt3
> /include, not in /usr/include. On some systems, it would be symlinked
> to /usr/include/qt or something.

I had libqt3-devel installed which has everything it was looking for --
I probably needed to symlink the whole lot into /usr/lib.

> 
> > 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
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


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


Re: [expert] kcheckers

2003-07-30 Thread David E Fox
> finally got a chance to look at this again and found that someone put an
> RPM up -- had to install it with --nodeps, but it works.

That's neat. I already compiled it though :).

Anyway, it would be nice to have an rpm for gtkatlantic and play
some Monopoly on the net :). I've been successful at compiling but
some others need RPMs. But I haven't tried to make an rpm in a 
very long time :(. It's becoming ever more popular.

> Jack Coates

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---

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


Re: [expert] kcheckers

2003-07-30 Thread David E Fox
> 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:

I first tried it and couldn't make it work. Then I remembered having to
set QTDIR first (/usr/lib/qt3) and then it went all the way through. I
was surprised there was no ./configure present. At any rate I'll go
install it. "su - root" well - keep in mind that the 'su' makes a
new environment, so you need to reset QTDIR again. It's a pretty
simple install, only two files.

> 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

Well, urpmf /usr/include/qstringlist.h - if set up. Maybe
you left out a development rpm. It may not live in /usr/include
precisely. Actually, here it is part of /usr/lib/qt3/include, 
and inside qt3-devel. 'locate qfile.h' shows it also in /usr/lib/qt3
/include, not in /usr/include. On some systems, it would be symlinked
to /usr/include/qt or something.

> 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


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


Re: [expert] kcheckers

2003-07-30 Thread Jack Coates
On Tue, 2003-07-29 at 10:47, Jack Coates wrote:
> anyone able to get this to compile on MDK 9.1?

finally got a chance to look at this again and found that someone put an
RPM up -- had to install it with --nodeps, but it works.

[EMAIL PROTECTED] local]# rpm -qi kcheckers
Name: kcheckersRelocations: (not
relocateable)
Version : 0.4   Vendor: ALT Linux Team
Release : alt1  Build Date: Wed 15 Jan 2003
11:40:33 AM PST
Install date: Wed 30 Jul 2003 10:12:40 AM PDT  Build Host:
mash.office.altlinux.ru
Group   : Games/Boards  Source RPM:
kcheckers-0.4-alt1.src.rpm
Size: 211931   License: GPL
Packager: Sergey V Turchin <[EMAIL PROTECTED]>
URL : http://kcheckers.osdn.org.ua
Summary : Classic boardgame - checkers
Description :
Tish is classic boardgame "checkers".
This game is also known as "draughts".

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


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


[expert] kcheckers

2003-07-29 Thread Jack Coates
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 

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