How do I start hbasic?
Posts: 282
mepis 3.3.1
hbasic 0.9 shows as installed in synaptic.
Can anyone explain how to start it?
Thanks for any help.
Thanks for the quick
Posts: 282
Thanks for the quick reply.
I'm wrong! On my other machine, also with Mepis 3.3.1, the program isn't listed in syaptic so it didn't come with the install; I had changed the sources for the synaptic update so maybe it came from one of the new sources. Also I had started to download it before checking synaptic.
I any case, here's what the program is:
description
A Basic language IDE with interpreter and compiler. HBasic implements a development environment for a BASIC language similar to existing BASIC interpreters. It uses an interpreter to quickly run generated runtime code or a compiler to create standalone programs that may run without the HBasic environment. . (Converted from a rpm package by alien version 8.51.)
architecture
i386
depends
kdelibs4 (>= 4:3.3.2-4.0.2), libc6 (>= 2.3.5-1), libqt3c102-mt (>= 3:3.3.4), libstdc++5 (>= 1:3.3.4-1)
I try to run in konsole:
root@1[bill]# /usr/local/hbasic/bin/hbasic
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
KWrited - Listening on Device /dev/pts/2
Can't stat sql command file.
Error loading mysql SO lib!
Message: libmysqlclient.so: cannot open shared object file: No such file or directory
Cannot load /usr/local/hbasic/lib/pgsql_user_group.so library
/usr/local/hbasic/lib/pgsql_user_group.so: cannot open shared object file: No such file or directory
Obtained 8 stack frames
hbasic [0x80ba92a]
[0xffffe420]
hbasic(_ZN4Icon12createPixmapEv+0x16) [0x8165616]
hbasic(_ZN11CMainWindow11initMenuBarEv+0x1329) [0x80c0dd9]
hbasic(_ZN11CMainWindowC1Ev+0x12e) [0x80cbd8e]
hbasic(main+0x436) [0x80bc7c6]
/lib/tls/libc.so.6(__libc_start_main+0xd0) [0xb7e6fec0]
hbasic(_ZN6QFrame10paintEventEP11QPaintEvent+0x61) [0x80b85c1]

Looks Interesting
Posts: 5513
Bilzer, the app looks interesting. I went out to sourceforge site and looked at the description. I don't know anything else about it, but based on some of the errors and dependencies it looks like you might (why?) need mysql...
I did find a reference to hbasic here:
KDE-CVS-Digest for December 19, 2003
http://dot.kde.org/1071962268/
In it, it mentions another package, kbasic. Have you tried it?
Jon
I had overlooked requirement
Posts: 282
I had overlooked requirement for qt so I got qt-4.0.1 and compiled it but still can't get hbasic started.
Don't know about kbasic.
I installed and ran kbasic
Posts: 282
I installed and ran kbasic simple program ok.
You can run as interpreted program, but apparently must buy professional version to compile it.
Manual is good, but much of it is in german.
qt may or may not be required (I installed it to try hbasic).
I had to do:
ln -s /usr/lib/libpng12.so.0 /usr/lib/libpng.so.3
because of error in the kpackage install after converting rpm to deb.
Huh?
Posts: 5513
bilzer, I just did a scan through apt (apt-cache search hbasic) as well as going into synpatic. I don't find that package. Where did you see this info and what does the description for the package say?
One of the first places I usually start to try running an application is to open a console window and enter "man hbasic" and see if there's anything there. Also, try entering the command "whereis hbasic" or "which hbasic". If you enter either of those commands and the package/command is installed, you will be given a full pathname to the package. It will likely be something like /usr/bin/hbasic. Then, cross your fingers and enter "hbasic" at the command line. You can also try entering "hbasic -usage" or "hbasic --help" and it might give you some useful info
Jon