Gönderen Konu: hbasic kurulumu?  (Okunma sayısı 4976 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

« : »
hbasic kaynak kodları indirdim nasıl kurabilirim ./configure make make install diye denedim olmadı

« Yanıtla #1 : »
INSTALL dosyasını okudunuz mu ?

« Yanıtla #2 : »
HBasic sitesinden anladığım kadarıyla kurulum için ek pek çok geliştirme paketi yüklüyor (QT kütüphaneleri, vd.) ama tam olarak ne istediği belli değil. (Bu arada bütün kaynaktan kurulumlar için sisteminizde "build-essential" paketinin kurulu olması gerekiyor, ancak hbasic için bu kadarı yeterli değil.)

Eğer amacınız, Linux altında VBasic benzeri bir program geliştirme ortamı kullanmaksa, HBasic yerine, daha popüler olan ve aktif olarak geliştirilen Gambas'ı öneririm:
http://gambas.sourceforge.net/
http://tr.wikipedia.org/wiki/Gambas

Program depolarda mevcut, dolayısıyla kaynaktan kurmak zorunda değilsiniz.

« Yanıtla #3 : »
ubuntuya geçmeden önce pardus kullanıyordum onda da kuramamıştım gambas da zorlanıyorum kodlar tam tutmuyor

« Yanıtla #4 : »
Valla arkadaşlar bende kuramadım sistemim 10.04 ama olmadı

Zaten depoda yok, kendi setisinden indirdim tar.bz2 li dosyasını. Sağ tıklayıp buraya aç dedim açtı dosyaları. Komut satırından;

yönetici olarak açtığım klsörün içine girdim. ./configure dedim toparladı falan filan en son hata verdi şu şekilde;

------------------------------------------------------------------------------------------------------------------------


Kod: [Seç]
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 [s]memory[/s].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... yeschecking 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 [s]memory[/s].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... no
checking for QT 3.x libraries... /usr/lib
checking for QT 3.x includes... no
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... no/../bin/lupdate
checking for lrelease... no/../bin/lrelease
checking for libmysqlclient...
checking for "/usr/lib/libmysqlclient.a"... no
checking for "/usr/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/lib/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/libmysqlclient.a"... (cached) no
checking for "/usr/lib/libmysqlclient.so"... no
checking for "/usr/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/lib/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... (cached) no
checking for "/usr/lib/libmysqlclient.so"... (cached) no
checking for "/usr/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/lib/libmysqlclient.so"... (cached) no
checking for "/usr/local/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... (cached) no
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... no
checking /usr/include/mysql/mysql.h presence... no
checking for /usr/include/mysql/mysql.h... no
checking /usr/local/include/mysql.h usability... no
checking /usr/local/include/mysql.h presence... no
checking for /usr/local/include/mysql.h... no
checking /usr/local/mysql/include/mysql.h usability... no
checking /usr/local/mysql/include/mysql.h presence... no
checking for /usr/local/mysql/include/mysql.h... no
checking /usr/local/mysql/include/mysql/mysql.h usability... no
checking /usr/local/mysql/include/mysql/mysql.h presence... no
checking for /usr/local/mysql/include/mysql/mysql.h... no
checking /usr/local/include/mysql/mysql.h usability... no
checking /usr/local/include/mysql/mysql.h presence... no
checking for /usr/local/include/mysql/mysql.h... no
checking for /usr/local/mysql/include/mysql.h... (cached) no
Please upgrade your MySQL installation to version 4.0.0 or higher
If you do have the correct version of MySQL installed somewhere
other than /usr/local/mysql/include, please specify it as --with-mysql-include= argument
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) no
configure: error:

I can't find the QT header files.

Install the QT development package, or if you have them installed, override
this check with the --with-qt-includes argument.

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... no
checking for QT 3.x libraries... /usr/lib
checking for QT 3.x includes... no
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... no/../bin/lupdate
checking for lrelease... no/../bin/lrelease
checking for libmysqlclient...
checking for "/usr/lib/libmysqlclient.a"... no
checking for "/usr/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/lib/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/lib/mysql/libmysqlclient.a"... no
checking for "/usr/local/mysql/lib/libmysqlclient.a"... (cached) no
checking for "/usr/lib/libmysqlclient.so"... no
checking for "/usr/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/lib/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/lib/mysql/libmysqlclient.so"... no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... (cached) no
checking for "/usr/lib/libmysqlclient.so"... (cached) no
checking for "/usr/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/lib/libmysqlclient.so"... (cached) no
checking for "/usr/local/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/mysql/lib/mysql/libmysqlclient.so"... (cached) no
checking for "/usr/local/mysql/lib/libmysqlclient.so"... (cached) no
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... no
checking /usr/include/mysql/mysql.h presence... no
checking for /usr/include/mysql/mysql.h... no
checking /usr/local/include/mysql.h usability... no
checking /usr/local/include/mysql.h presence... no
checking for /usr/local/include/mysql.h... no
checking /usr/local/mysql/include/mysql.h usability... no
checking /usr/local/mysql/include/mysql.h presence... no
checking for /usr/local/mysql/include/mysql.h... no
checking /usr/local/mysql/include/mysql/mysql.h usability... no
checking /usr/local/mysql/include/mysql/mysql.h presence... no
checking for /usr/local/mysql/include/mysql/mysql.h... no
checking /usr/local/include/mysql/mysql.h usability... no
checking /usr/local/include/mysql/mysql.h presence... no
checking for /usr/local/include/mysql/mysql.h... no
checking for /usr/local/mysql/include/mysql.h... (cached) no
Please upgrade your MySQL installation to version 4.0.0 or higher
If you do have the correct version of MySQL installed somewhere
other than /usr/local/mysql/include, please specify it as --with-mysql-include= argument
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) no
configure: error:

I can't find the QT header files.

Install the QT development package, or if you have them installed, override
this check with the --with-qt-includes argument.


şeklinde configure işlemi bitiyor zaten bundan sonra make hiç çalışmıyor bile.....

Sizce nasıl  cözebilirim bu sorunu.



« Son Düzenleme: 04 Haziran 2010 - 01:55:18 Gönderen: heartsmagic »

« Yanıtla #5 : »
Alıntı

I can't find the QT header files.

Install the QT development package, or if you have them installed, override
this check with the --with-qt-includes argument.


Bu hatayı gidermeye çalıştın mı? Verilen hatayı giderip derleme işlemini tekrar etmelisin. Tüm gereklilikleri sağlayana kadar bu işlem devam etmeli.
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.

Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

« Yanıtla #6 : »
Pek emin olamasam da şu iki paketi kurup tekrar dene:
libqt3-mt-dev qt3-dev-tools
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?

Böylece yalan, dünyanın düzenine dönüştürülüyor.

« Yanıtla #7 : »
@heartsmagic dediğni paketleri yükledim kardeşim ./configure sorun vermedi fakat bu seferde make komutunda hata veriyor o da şu şekilde;


--------------------------------------------------------------------------------------------------

Kod: [Seç]
make -C runtime_lib/compiler
make[1]:`/home/tondal/Masaüstü/HBasic-2007-2a/runtime_lib/compiler' dizinine giriliyor
make -C ../../src libhbasic.a
make[2]:`/home/tondal/Masaüstü/HBasic-2007-2a/src' dizinine giriliyor
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
In file included from basic_document.cpp:68:
global_vars.h:47: warning: ‘typedef’ was ignored in this declaration
In file included from ../source_editor/source_edit_data.h:10,
                 from basic_document.cpp:75:
../source_editor/../source_editor/source_edit_widget.h:57: warning: ‘typedef’ was ignored in this declaration
In file included from propertyeditor.h:49,
                 from basic_document.cpp:78:
../gui_db_access/report_editor.h:235: error: conflicting declaration ‘QWidget* parent’
../gui_db_access/report_editor.h:235: error: ‘parent’ has a previous declaration as ‘ReportDesigner* parent’
In file included from mainwindow.h:32,
                 from basic_document.cpp:80:
hb_mainwindow.h:14: error: expected class-name before ‘{’ token
In file included from basic_document.cpp:80:
mainwindow.h:281: error: ISO C++ forbids declaration of ‘KURL’ with no type
mainwindow.h:281: error: expected ‘,’ or ‘...’ before ‘&’ token
In file included from basic_document.cpp:90:
../hbdata/hbmenutitle.h:36: error: expected class-name before ‘{’ token
In file included from basic_document.cpp:99:
basic_document.h:51: warning: ‘typedef’ was ignored in this declaration
basic_document.cpp:127: warning: deprecated conversion from string constant to ‘char*’
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:475: warning: deprecated conversion from string constant to ‘char*’
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:78: note: candidates are: static int QMessageBox::information(QWidget*, const QString&, const QString&, int, int, int)
/usr/include/qt3/qmessagebox.h:81: note:                 static int QMessageBox::information(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
basic_document.cpp:543: warning: deprecated conversion from string constant to ‘char*’
basic_document.cpp:549: warning: deprecated conversion from string constant to ‘char*’
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 incomplete 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 incomplete type ‘struct KMdiChildView’
../gui_db_access/../src/report_document.h:38: error: forward declaration of ‘struct KMdiChildView’
basic_document.cpp: In member function ‘void CBasicDocument::createGeometryProperty(HBGuiElement*, QWidget*)’:
basic_document.cpp:630: warning: deprecated conversion from string constant to ‘char*’
basic_document.cpp: In member function ‘void CBasicDocument::loadComponentsFromDs(QDataStream*, HBGuiElement*, int)’:
basic_document.cpp:768: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [basic_document.o] Hata 1
make[2]: `/home/tondal/Masaüstü/HBasic-2007-2a/src' dizininden çıkılıyor
make[1]: *** [../../src/libhbasic.a] Hata 2
make[1]: `/home/tondal/Masaüstü/HBasic-2007-2a/runtime_lib/compiler' dizininden çıkılıyor
make: *** [runtime_lib/compiler/librt_compiler.so] Hata 2
« Son Düzenleme: 09 Haziran 2010 - 02:29:46 Gönderen: heartsmagic »

« Yanıtla #8 : »
@yefelek, iç içe gidiyor bağımlılıklar. İlk hata kaydını ele alıp biraz araştırman lazım. Örneğin:
Alıntı
basic_document.cpp:56:25: error: kiconloader.h: No such file or directory
kiconloader.h kdelibs4-dev ve kdelibs5-dev ile beraber geliyormuş. Hangisi iş görür bilemem.
Hakeza kstandarddirs.h dosyası da öyle. Ancak arada başka paketler de gerekirse bilemem.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?

Böylece yalan, dünyanın düzenine dönüştürülüyor.

« Yanıtla #9 : »
Bu duruma benzer o kadar çok hata varki, bunları bulup yükleyene kadar sanırsam depoya eklerler inşallah.

Yine zaman ayırdıığın için teşekkür ederim. Zahmetler verdim kusura bakma.

« Yanıtla #10 : »
Zahmet vermedin, kaldı ki yardımcı olabilirsek seviniriz. Hataları dediğim gibi tek tek aşman lazım. Kaldı ki aslında bunlar birer hata değil. Sonuçta sen bir uygulama derlemek istiyorsun, bir nevi geliştirici gibisin. Bunun için de belli başlı bazı kütüphanelere, yan bağımlılıklara ihtiyacın var.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?

Böylece yalan, dünyanın düzenine dönüştürülüyor.