

snyder@JBS_ALIENWARE:~> g++ -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
Here is output from qmake -v with PATHs set as indicated in my first message to use Qt4
jsnyder@JBS_ALIENWARE:~> qmake -v
QMake version: 2.00a
Using Qt version 4.0.1 in /home/jsnyder/Qt4/lib
Here is the output from compiling KCheckers:
jsnyder@JBS_ALIENWARE:~/Software/kcheckers-0.8> qmake -o Makefile kcheckers.pro
jsnyder@JBS_ALIENWARE:~/Software/kcheckers-0.8> make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o pdn.o pdn.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o checkers.o checkers.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o echeckers.o echeckers.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o rcheckers.o rcheckers.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o field.o field.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o toplevel.o toplevel.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o view.o view.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o info.o info.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o board.o board.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o main.o main.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o newgamedlg.o newgamedlg.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o humanplayer.o humanplayer.cc
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o computerplayer.o computerplayer.cc
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. field.h -o moc_field.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_field.o moc_field.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. toplevel.h -o moc_toplevel.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_toplevel.o moc_toplevel.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. view.h -o moc_view.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_view.o moc_view.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. info.h -o moc_info.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_info.o moc_info.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. board.h -o moc_board.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_board.o moc_board.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. newgamedlg.h -o moc_newgamedlg.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_newgamedlg.o moc_newgamedlg.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. player.h -o moc_player.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_player.o moc_player.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. humanplayer.h -o moc_humanplayer.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_humanplayer.o moc_humanplayer.cpp
/home/jsnyder/Qt4/bin/moc -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. computerplayer.h -o moc_computerplayer.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o moc_computerplayer.o moc_computerplayer.cpp
/home/jsnyder/Qt4/bin/rcc -name kcheckers kcheckers.qrc -o qrc_kcheckers.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I../../Qt4/mkspecs/linux-g++ -I. -I../../Qt4/include/QtGui -I../../Qt4/include/QtCore -I../../Qt4/include -I. -I. -o qrc_kcheckers.o qrc_kcheckers.cpp
g++ -Wl,-rpath,/home/jsnyder/Qt4/lib -o kcheckers pdn.o checkers.o echeckers.o rcheckers.o field.o toplevel.o view.o info.o board.o main.o newgamedlg.o humanplayer.o computerplayer.o moc_field.o moc_toplevel.o moc_view.o moc_info.o moc_board.o moc_newgamedlg.o moc_player.o moc_humanplayer.o moc_computerplayer.o qrc_kcheckers.o -L/home/jsnyder/Qt4/lib -L/home/jsnyder/qt-x11-opensource-src-4.0.1/lib -lQtGui_debug -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lm -lQtCore_debug -lz -ldl -lpthread
I should point out that when I compiled and installed Qt4 I got no errors and that all the tests included in the Qt4 package ran correctly.
Thanks again for your help. - Dec 27 2005
export QTDIR=~/Qt4
export PATH=~/Qt4/bin:$PATH
(Note the "~" is the tilde characters)
I then ran:
qmake -o Makefile
make
make install (as root)
The program compiled without any errors.
However, when I run KCheckers it starts up fine, but crashes when I try to make my first move. The Konsole shows the following error message:
jsnyder@JBS_ALIENWARE:~> kcheckers
Your Locale: "en_US"
Prefix path: /usr/local
Loading Qt translations failed.
Loading KCheckers translations failed.
Object::connect: No such slot myTopLevel::slot_enable_history(bool,bool,bool)
ASSERT: "item" in file itemviews/qtreewidget.cpp, line 1957
Aborted
Is there anyway to fix this problem so that I can use KCheckers-0.8? Thanks. - Dec 27 2005
1) I intially got an error about a wrong version of autoconf while doing "make". To avoid this I rebuilt configure manually by running the following:
autoheader
automake
autoconf
2) I then ran:
./configure --prefix=/opt/kde3
make
make install (as root)
Doing this the game appears to run fine and shows up under games in the KDE menu. - Jul 05 2005

Karamba & Superkaramba by Matti 1797 comments

Karamba & Superkaramba by Matti 1797 comments

Karamba & Superkaramba by Matti 1797 comments

Karamba & Superkaramba by Matti 1797 comments
qmake -o Makefile
make
make install (as root)
It seems to run OK, but I can't get kcheckers to close when I am finished with it. The only way I can get it to completely stop is to kill the process manually. What am I doing wrong? Please help as I like the new version, but if I can't get it working I must revert back to kcheckers-0.5. Thanks. - May 03 2005

Karamba & Superkaramba by Matti 1797 comments

Karamba & Superkaramba by Matti 1797 comments

Security by neptune 18 comments

Security by neptune 18 comments
jsnyder@linux:~/Software/passwordcreator> qmake -o Makefile passwordcreator.pro
jsnyder@linux:~/Software/passwordcreator> make
cd src && make -f Makefile
make[1]: Entering directory `/home/jsnyder/Software/passwordcreator/src'
make[1]: *** No rule to make target `/usr/qt/3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make[1]: Leaving directory `/home/jsnyder/Software/passwordcreator/src'
make: *** [sub-src] Error 2
It seems that the Makefile is looking in the wrong place to find qmake.conf. On SuSE the qmake.conf file is located at:
/usr/lib/qt3/mkspecs/linux-g++/qmake.conf
How can I fix this problem to be able to run "make"? I looked in the /src/Makefile and manually reset the path, but still I get this error. Thanks. - Oct 06 2004
qmake
make
make install (as root)
The ReadMe file says to do "make qmake", but that generates an error. Doing simply "qmake" in the first step worked for me. I then used checkinstall to build an rpm.
Question: How do you use the new server feature? I didn't see anything about that. - Aug 08 2004