Author Topic: ScriptBasic 32 Bit Linux  (Read 28009 times)

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
ScriptBasic 32 Bit Linux
« on: April 09, 2011, 12:50:22 PM »
Armando and I used the ScriptBasic source we built the 64 bit version for to build a 32 bit version for Ubuntu 10.10.

sudo gdebi scriba-v2.1.1_i386.deb  -  Install

sudo apt-get remove scriba  -  Remove


Code: [Select]
jrs@Laptop:~/SB/scriptbasic$ sudo ./mkdeb.sh
The configuration file 'deb/scriba/etc/scriba/basic.conf' was created.
dpkg-deb: building package `scriba' in `scriba.deb'.
jrs@Laptop:~/SB/scriptbasic$ cd deb
jrs@Laptop:~/SB/scriptbasic/deb$ ls -l
total 812
drwxr-xr-x 2 jrs  jrs    4096 2011-04-09 12:20 DEBIAN
-rwxr-xr-x 1 jrs  jrs    5178 2011-04-08 13:39 deblist.txt
drwxr-xr-x 6 root root   4096 2011-04-09 12:21 scriba
-rw-r--r-- 1 root root 812402 2011-04-09 12:22 scriba-v2.1.1_i386.deb
jrs@Laptop:~/SB/scriptbasic/deb$ dpkg -c scriba-v2*
drwxr-xr-x root/root         0 2011-04-09 12:21 ./
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/bin/
-rwxr-xr-x root/root    529394 2011-04-09 12:21 ./usr/bin/sbhttpd
-rwxr-xr-x root/root    507943 2011-04-09 12:21 ./usr/bin/scriba
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/share/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/share/scriba/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/share/scriba/include/
-rwxr-xr-x root/root      1748 2011-04-09 12:21 ./usr/share/scriba/include/mysql.bas
-rwxr-xr-x root/root       600 2011-04-09 12:21 ./usr/share/scriba/include/time.bas
-rwxr-xr-x root/root       962 2011-04-09 12:21 ./usr/share/scriba/include/t.bas
-rwxr-xr-x root/root       336 2011-04-09 12:21 ./usr/share/scriba/include/dyc.bas
-rwxr-xr-x root/root      8331 2011-04-09 12:21 ./usr/share/scriba/include/error.bas
-rwxr-xr-x root/root      2133 2011-04-09 12:21 ./usr/share/scriba/include/hash.bas
-rwxr-xr-x root/root      1654 2011-04-09 12:21 ./usr/share/scriba/include/xml.bas
-rwxr-xr-x root/root       604 2011-04-09 12:21 ./usr/share/scriba/include/odbc.bas
-rwxr-xr-x root/root     10296 2011-04-09 12:21 ./usr/share/scriba/include/modinst.bas
-rwxr-xr-x root/root       748 2011-04-09 12:21 ./usr/share/scriba/include/curl.bas
-rwxr-xr-x root/root      1031 2011-04-09 12:21 ./usr/share/scriba/include/zlib.bas
-rwxr-xr-x root/root      1661 2011-04-09 12:21 ./usr/share/scriba/include/cio.bas
-rwxr-xr-x root/root       246 2011-04-09 12:21 ./usr/share/scriba/include/trial.bas
-rwxr-xr-x root/root      1201 2011-04-09 12:21 ./usr/share/scriba/include/mt.bas
-rwxr-xr-x root/root      5438 2011-04-09 12:21 ./usr/share/scriba/include/cgi.bas
-rwxr-xr-x root/root      2349 2011-04-09 12:21 ./usr/share/scriba/include/gd.bas
-rwxr-xr-x root/root      6577 2011-04-09 12:21 ./usr/share/scriba/include/curses.bas
-rwxr-xr-x root/root       578 2011-04-09 12:21 ./usr/share/scriba/include/ux.bas
-rwxr-xr-x root/root       709 2011-04-09 12:21 ./usr/share/scriba/include/sdbg.bas
-rwxr-xr-x root/root       709 2011-04-09 12:21 ./usr/share/scriba/include/dbg.bas
-rwxr-xr-x root/root      2180 2011-04-09 12:21 ./usr/share/scriba/include/re.bas
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/share/scriba/source/
-rwxr-xr-x root/root      1728 2011-04-09 12:21 ./usr/share/scriba/source/heber.bas
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/local/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/local/lib/
-rwxr-xr-x root/root      8344 2011-04-09 12:21 ./usr/local/lib/zlib.a
-rwxr-xr-x root/root      1656 2011-04-09 12:21 ./usr/local/lib/ux.a
-rwxr-xr-x root/root     42566 2011-04-09 12:21 ./usr/local/lib/cgi.a
-rwxr-xr-x root/root     18744 2011-04-09 12:21 ./usr/local/lib/sdbg.a
-rwxr-xr-x root/root     21464 2011-04-09 12:21 ./usr/local/lib/gd.a
-rwxr-xr-x root/root      7166 2011-04-09 12:21 ./usr/local/lib/xml.a
-rwxr-xr-x root/root     17048 2011-04-09 12:21 ./usr/local/lib/dbg.a
-rwxr-xr-x root/root    670486 2011-04-09 12:21 ./usr/local/lib/lscriba.a
-rwxr-xr-x root/root     17784 2011-04-09 12:21 ./usr/local/lib/mysql.a
-rwxr-xr-x root/root     20694 2011-04-09 12:21 ./usr/local/lib/mt.a
-rwxr-xr-x root/root      9692 2011-04-09 12:21 ./usr/local/lib/t.a
-rwxr-xr-x root/root      5216 2011-04-09 12:21 ./usr/local/lib/trial.a
-rwxr-xr-x root/root    673194 2011-04-09 12:21 ./usr/local/lib/libscriba.a
-rwxr-xr-x root/root     42636 2011-04-09 12:21 ./usr/local/lib/curl.a
-rwxr-xr-x root/root      9320 2011-04-09 12:21 ./usr/local/lib/hash.a
-rwxr-xr-x root/root     11228 2011-04-09 12:21 ./usr/local/lib/odbc.a
-rwxr-xr-x root/root     53062 2011-04-09 12:21 ./usr/local/lib/re.a
drwxr-xr-x root/root         0 2011-04-09 12:21 ./usr/local/lib/scriba/
-rwxr-xr-x root/root     12790 2011-04-09 12:21 ./usr/local/lib/scriba/odbc.so
-rwxr-xr-x root/root      9345 2011-04-09 12:21 ./usr/local/lib/scriba/xml.so
-rwxr-xr-x root/root     14654 2011-04-09 12:21 ./usr/local/lib/scriba/curses.so
-rwxr-xr-x root/root     50207 2011-04-09 12:21 ./usr/local/lib/scriba/re.so
-rwxr-xr-x root/root     21290 2011-04-09 12:21 ./usr/local/lib/scriba/mysql.so
-rwxr-xr-x root/root     17075 2011-04-09 12:21 ./usr/local/lib/scriba/dbg.so
-rwxr-xr-x root/root     10711 2011-04-09 12:21 ./usr/local/lib/scriba/t.so
-rwxr-xr-x root/root     10284 2011-04-09 12:21 ./usr/local/lib/scriba/hash.so
-rwxr-xr-x root/root     22397 2011-04-09 12:21 ./usr/local/lib/scriba/mt.so
-rwxr-xr-x root/root     18980 2011-04-09 12:21 ./usr/local/lib/scriba/sdbg.so
-rwxr-xr-x root/root     43771 2011-04-09 12:21 ./usr/local/lib/scriba/cgi.so
-rwxr-xr-x root/root     45595 2011-04-09 12:21 ./usr/local/lib/scriba/curl.so
-rwxr-xr-x root/root     30802 2011-04-09 12:21 ./usr/local/lib/scriba/psql.so
-rwxr-xr-x root/root      6232 2011-04-09 12:21 ./usr/local/lib/scriba/trial.so
-rwxr-xr-x root/root     10001 2011-04-09 12:21 ./usr/local/lib/scriba/zlib.so
-rwxr-xr-x root/root      2320 2011-04-09 12:21 ./usr/local/lib/scriba/ux.so
-rwxr-xr-x root/root     11916 2011-04-09 12:21 ./usr/local/lib/curses.a
-rwxr-xr-x root/root     27628 2011-04-09 12:21 ./usr/local/lib/psql.a
drwxr-xr-x root/root         0 2011-04-09 12:21 ./etc/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./etc/init.d/
drwxr-xr-x root/root         0 2011-04-09 12:21 ./etc/scriba/
-rwxr-xr-x root/root      1775 2011-04-09 12:21 ./etc/scriba/basic.conf
drwxrwxrwx root/root         0 2011-04-09 12:21 ./.scriba/
drwxrwxrwx root/root         0 2011-04-09 12:21 ./.scriba/hebtemp/
drwxrwxrwx root/root         0 2011-04-09 12:21 ./.scriba/cache/
jrs@Laptop:~/SB/scriptbasic/deb$ ls -l
total 812
drwxr-xr-x 2 jrs  jrs    4096 2011-04-09 12:20 DEBIAN
-rwxr-xr-x 1 jrs  jrs    5178 2011-04-08 13:39 deblist.txt
drwxr-xr-x 6 root root   4096 2011-04-09 12:21 scriba
-rw-r--r-- 1 root root 812402 2011-04-09 12:22 scriba-v2.1.1_i386.deb
jrs@Laptop:~/SB/scriptbasic/deb$ sudo gdebi scriba-v2.1.1_i386.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Building data structures... Done


ScriptBasic Embeddable Interpreter
Do you want to install the software package? [y/N]:y
Selecting previously deselected package scriba.
(Reading database ... 447312 files and directories currently installed.)
Unpacking scriba (from scriba-v2.1.1_i386.deb) ...
Setting up scriba (2.1.1) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot

jrs@Laptop:~/SB/scriptbasic/deb$

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
ScriptBasic 32 Bit Linux
« Reply #1 on: April 09, 2011, 07:47:10 PM »
Armando suggested a utility that converts .deb files to .rpm files. (alien)

If someone can give this a try on their Red Hat, CentOS or Fedoria 32 bit distribution and let us know how it worked out, that would be helpful. If it works, I'll do the same for the 64 bit .deb file.


Another option to allow users to install ScriptBasic.

sudo tar xzvpf -C / scriba-v2.1.1_i386.tgz

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Re: ScriptBasic 32 Bit Linux
« Reply #2 on: August 10, 2011, 08:44:13 PM »
CIO is a Windows only console extension module.

GD - Make sure you have the GD library installed that the SB GD extension module dynamically links to.

The dbg module is actually a preprocessor rather then an extension module. I would need to see the compile log to know what your issue might be.

The sdbg module is an ALPHA remote debugger that I have been able to get working for the most part. Not ready for prime time yet.

Make sure your basic.conf is pointing to the correct directory for the INCLUDE and MODULE configuration lines. (don't forget to regen the conf file with the -k scriba option)


Ran

  • Guest
Re: ScriptBasic 32 Bit Linux
« Reply #3 on: December 31, 2013, 02:01:11 AM »
Did try this today but does not work in 12.04.
But keep up the good work.
I admire this work on this language.
After SDL Opengl ????
Greetings and admiration,
Fred

Ran

  • Guest
Re: ScriptBasic 32 Bit Linux
« Reply #4 on: December 31, 2013, 02:15:55 AM »
When I run the scriba deb then I have the remark:
Not compatible : libmysqlclient16
???
Thanks,
Fred

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Re: ScriptBasic 32 Bit Linux
« Reply #5 on: December 31, 2013, 10:18:55 AM »
Hi Fred,

Quote
When I run the scriba deb ...

There is no ScriptBasic 2.2 .deb available. The above SB 2.1 (.deb / .rpm) versions is using 2006 based code (Peter's last release) and is no longer supported.

Can you give me more details about trying the SDL extension module and your problems with MySQL? (after installing the current Ubuntu or Debian SB 2.2 version)

John
« Last Edit: December 31, 2013, 01:43:58 PM by support »