[Hbasic-userinfo] Compile problem and I need your help please.
Status: Beta
Brought to you by:
mengels
|
From: Phil T. <mai...@ta...> - 2007-05-18 01:41:20
|
I am having a problem with compiling hbasic on debian. I have all the
required programs installed on the machine but this is the error I am
getting.
shell:~/HBasic-2007-2a# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for GNU make... make
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking for DSO_HANDLE required... NO_DSO_HANDLE
checking for compiler usage... INCLUDE_COMPILER
checking for X... libraries , headers
checking for QT 3.x libraries... /usr/lib
checking for QT 3.x includes... /usr/include/qt3
checking if KDE user interface should be used... no
checking for KDE 3.x libraries... /usr/lib
checking for lrelease - lupdate... checking for kspreadcalc library...
checking for dlerror in -ldl... yes
checking for backtrace in -lexecinfo... no
checking for QT 3.x libraries... (cached) /usr/lib
checking for sqlite library... /usr/lib/libsqlite3.so.0
checking for lupdate... /usr/bin/lupdate
checking for lrelease... /usr/bin/lrelease
checking for libmysqlclient...
checking for "/usr/lib/libmysqlclient.a"... yes
checking for mysql_real_connect in -lmysqlclient... yes
checking for "/usr/lib/libmysqlclient.so"... yes
checking for mysql.h...
checking /usr/include/mysql.h usability... no
checking /usr/include/mysql.h presence... no
checking for /usr/include/mysql.h... no
checking /usr/include/mysql/mysql.h usability... yes
checking /usr/include/mysql/mysql.h presence... yes
checking for /usr/include/mysql/mysql.h... yes
checking "if MySQL Version /usr/include/mysql is >= 4.0.0"... yes
checking for MySQL-CC support...
checking for libpq-fe.h... (cached) no
checking for perl support... no
checking for qtc library... no
checking for QT 3.x includes... (cached) /usr/include/qt3
checking for moc... /usr/bin/moc
configure: creating ./config.status
config.status: creating Makefile.global
config.status: creating Makefile
config.status: creating src/defines.h
config.status: creating erp/src/defines.h
config.status: creating erp/src/database/Makefile
config.status: creating erp/src/hbcron/defs.h
config.status: creating install_dir/used_packages.info
shell:~/HBasic-2007-2a#
shell:~/HBasic-2007-2a# make
make -C runtime_lib/compiler
make[1]: Entering directory `/root/HBasic-2007-2a/runtime_lib/compiler'
make -C ../../src libhbasic.a
make[2]: Entering directory `/root/HBasic-2007-2a/src'
gcc -g -O2 -g -c -I/usr/include/qt3 -Ino -I../source_editor -I ../include
-I../src -I../runtime_lib -I../runtime_lib/interpreter -I../gui_db_access
-o basic_document.o basic_document.cpp
basic_document.cpp:56:25: error: kiconloader.h: No such file or directory
basic_document.cpp:57:27: error: kstandarddirs.h: No such file or directory
basic_document.cpp:58:26: error: kapplication.h: No such file or directory
basic_document.cpp:59:21: error: kaction.h: No such file or directory
basic_document.cpp:60:21: error: klocale.h: No such file or directory
basic_document.cpp:61:25: error: kfiledialog.h: No such file or directory
basic_document.cpp:62:21: error: ktrader.h: No such file or directory
basic_document.cpp:63:25: error: kmessagebox.h: No such file or directory
basic_document.cpp:64:26: error: kcmdlineargs.h: No such file or directory
In file included from mainwindow.h:32,
from basic_document.cpp:80:
hb_mainwindow.h:7:25: error: kmdimainfrm.h: No such file or directory
In file included from basic_document.cpp:82:
../dialogs/select_kpart.h:12:31: error: kparts/mainwindow.h: No such file
or directory
In file included from basic_document.cpp:90:
../hbdata/hbmenutitle.h:16:22: error: kmenubar.h: No such file or directory
hb_mainwindow.h:14: error: expected class-name before { token
mainwindow.h:281: error: expected , or ... before & token
mainwindow.h:281: error: ISO C++ forbids declaration of KURL with no type
../hbdata/hbmenutitle.h:36: error: expected class-name before { token
basic_document.cpp: In destructor virtual
CBasicDocument::~CBasicDocument():
basic_document.cpp:153: error: class HBMainWindow has no member named
closeWindow
basic_document.cpp: In member function HBGuiElement*
CBasicDocument::createNewComp(QWidget*, short int, short int, short int,
HBGuiElement*):
basic_document.cpp:493: error: no matching function for call to
QMessageBox::information(HBMainWindow*&, const char [27], const char
[42])
/usr/include/qt3/qmessagebox.h:77: note: candidates are: static int
QMessageBox::information(QWidget*, const QString&, const QString&, int,
int, int)
/usr/include/qt3/qmessagebox.h:84: note: static int
QMessageBox::information(QWidget*, const QString&, const QString&, const
QString&, const QString&, const QString&, int, int)
basic_document.cpp: In member function void
CBasicDocument::getSourceWindowSize():
basic_document.cpp:573: error: KMdiChildFrm was not declared in this scope
basic_document.cpp:573: error: win_frame was not declared in this scope
basic_document.cpp:577: error: invalid use of undefined type struct
KMdiChildView
../gui_db_access/../src/report_document.h:38: error: forward declaration
of struct KMdiChildView
basic_document.cpp:585: error: invalid use of undefined type struct
KMdiChildView
../gui_db_access/../src/report_document.h:38: error: forward declaration
of struct KMdiChildView
make[2]: *** [basic_document.o] Error 1
make[2]: Leaving directory `/root/HBasic-2007-2a/src'
make[1]: *** [../../src/libhbasic.a] Error 2
make[1]: Leaving directory `/root/HBasic-2007-2a/runtime_lib/compiler'
make: *** [runtime_lib/compiler/librt_compiler.so] Error 2
shell:~/HBasic-2007-2a#
How can I fix this problem please?
Phillip Taylor
-----------------------------------------
T1, Dedicated Servers, Web Hosting and shell Accounts!.
"The best and the cheapest provider!"
http://www.taylorassociate.com/
|