Author Topic: SB π  (Read 8814 times)

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
SB π
« on: March 15, 2019, 06:26:01 PM »
I just ordered a Raspberry Pi as a Script BASIC development device. The first job my Pi gets is being a full time Samba Windows network environment.



AIR,

If I remember correctly you already have SB compiled for the Pi? If so can you point to a link or attach a zip for me?
« Last Edit: April 07, 2019, 01:42:21 PM by John »

Offline AIR

  • BASIC Developer
  • Posts: 685
Re: SB Pi
« Reply #1 on: March 15, 2019, 09:02:57 PM »
https://www.allbasic.info/forum/index.php?topic=532.msg5924#msg5924

rudimentary appimage.

The perl build scripts work on the rpi, so you have that option as well after setting up the dev environment.

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #2 on: March 15, 2019, 09:20:08 PM »
Thanks AIR!

I'm looking forward to it arriving by Thursday next week.

My first task is to create a GPIO extension module. Do you know of a good C library that might be easy to use?

I hope the SBT extension module works as this would be a good thread model for SB.
« Last Edit: March 15, 2019, 09:41:53 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #3 on: March 15, 2019, 10:13:22 PM »
Good News!

One of our members (Gordon) and also a BASIC developer (RTB) has a C GPIO library.

WiringPi

Gordon's last post
« Last Edit: March 15, 2019, 10:25:26 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #4 on: March 17, 2019, 02:06:02 PM »
I thought I would get a head start and install the Raspberry Pi Desktop in a Virtualbox.

Quote
Debian with Raspberry Pi Desktop is the Foundation’s operating system for PC and Mac. You can create a live disc, run it in a virtual machine, or even install it on your computer.

Raspberry Pi Desktop comes pre-installed with plenty of software for education, programming and general use; including Python, Scratch, Sonic Pi, Java, and more.

I wonder li I can cross compile to ARM from this VM?


« Last Edit: March 18, 2019, 06:19:53 PM by John »

Offline AIR

  • BASIC Developer
  • Posts: 685
Re: SB Pi
« Reply #5 on: March 17, 2019, 08:50:57 PM »
This may help get you started:

The Useful RaspberryPi Cross Compile Guide

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #6 on: March 17, 2019, 09:08:01 PM »
Thanks AIR!

Quote
For this example I’m going to be using the standard pthreads library, a locally-compiled open-source wiringPi library, and the current C11 standard with our compile

This answers my questions about SBT and using Gordon's WiringPi library.  8)
« Last Edit: March 17, 2019, 09:29:50 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #7 on: March 18, 2019, 06:17:59 PM »
Raspberry Pi Desktop has a cool GPIO emulator with an array of sensors. It's programable using the Python examples included. Sounds like a great way to develop GPIO applications and not need the physical interface or sensor modules.

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #8 on: March 18, 2019, 06:34:40 PM »
AIR,

Do you think your Raspberry Pi AppImage of Script BASIC would run on my Samsung S8+ in a Connect Bot terminal session? I already have Busybox Linux utilities installed.

I have an Android SB I compiled native on a rooted Samsung Galaxy Tab 10.5. Getting libcurl to compile was a challenge.
« Last Edit: March 18, 2019, 06:39:00 PM by John »

Offline AIR

  • BASIC Developer
  • Posts: 685
Re: SB Pi
« Reply #9 on: March 18, 2019, 07:34:39 PM »
I don't think so, I think the underlying architectures are different...only one way to find out.

Also, some of the required support libraries might not be present.
« Last Edit: March 18, 2019, 07:36:18 PM by AIR »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #10 on: March 20, 2019, 12:42:46 PM »
My Pi arrived.

Update with getting it running to come shortly.

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #11 on: March 20, 2019, 02:03:22 PM »
Hi from my Pi.

Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

I'm happy with the Raspberry kit I ordered and everything went smoothly getting up and going.

Next is getting SB going on the Pi.


pi@raspberrypi:~ $ sb -v
ScriptBasic v2.1
Variation >>STANDARD<< build 1
Magic value 859037497
Node size is 24
Extension interface version is 11
Compilation: Nov 29 2018 00:44:51
pi@raspberrypi:~ $

 :)  8)
« Last Edit: March 20, 2019, 02:57:50 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #12 on: March 20, 2019, 04:05:17 PM »
AIR,

I tried myip.sb on my RPi using your AppImage and it just hung. Do I need to install libcurl to get it to work?

Even this simple program hangs.  :-\

Code: Script BASIC
  1. PRINT "It works!\n"
  2.  

pi@raspberrypi:~ $ sb -D
dll ".so"
module "/tmp/.mount_sb6wlVhb/module/"
include "/tmp/.mount_sb6wlVhb/include/"
maxstep 0
maxlocalstep 0
maxlevel 29666
maxmem 0
pi@raspberrypi:~ $

FYI: I put the sb AppImage in my /user/bin directory for global use.
« Last Edit: March 20, 2019, 04:52:00 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #13 on: March 20, 2019, 06:36:27 PM »
I was able to rebuild Script BASIC from source and it looks like everything compiled without error.

Code: Text
  1. pi@raspberrypi:~ $ sudo apt install libcurl4-gnutls-dev
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Suggested packages:
  6.   libcurl4-doc libcurl3-dbg libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
  7. The following NEW packages will be installed:
  8.   libcurl4-gnutls-dev
  9. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  10. Need to get 326 kB of archives.
  11. After this operation, 998 kB of additional disk space will be used.
  12. Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian stretch/main armhf libcurl4-gnutls-dev armhf 7.52.1-5+deb9u9 [326 kB]
  13. Fetched 326 kB in 1s (199 kB/s)              
  14. Selecting previously unselected package libcurl4-gnutls-dev:armhf.
  15. (Reading database ... 80861 files and directories currently installed.)
  16. Preparing to unpack .../libcurl4-gnutls-dev_7.52.1-5+deb9u9_armhf.deb ...
  17. Unpacking libcurl4-gnutls-dev:armhf (7.52.1-5+deb9u9) ...
  18. Processing triggers for man-db (2.7.6.1-2) ...
  19. Setting up libcurl4-gnutls-dev:armhf (7.52.1-5+deb9u9) ...
  20. pi@raspberrypi:~ $ sudo apt install libiodbc2-dev
  21. Reading package lists... Done
  22. Building dependency tree      
  23. Reading state information... Done
  24. The following additional packages will be installed:
  25.   libiodbc2
  26. Suggested packages:
  27.   iodbc
  28. The following NEW packages will be installed:
  29.   libiodbc2 libiodbc2-dev
  30. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  31. Need to get 185 kB of archives.
  32. After this operation, 618 kB of additional disk space will be used.
  33. Do you want to continue? [Y/n] Y
  34. Get:1 http://raspbian-us.ngc292.space/raspbian stretch/main armhf libiodbc2 armhf 3.52.9-2 [129 kB]
  35. Get:2 http://raspbian.mirror.constant.com/raspbian stretch/main armhf libiodbc2-dev armhf 3.52.9-2 [56.4 kB]
  36. Fetched 185 kB in 2s (66.4 kB/s)                                            
  37. Selecting previously unselected package libiodbc2:armhf.
  38. (Reading database ... 80886 files and directories currently installed.)
  39. Preparing to unpack .../libiodbc2_3.52.9-2_armhf.deb ...
  40. Unpacking libiodbc2:armhf (3.52.9-2) ...
  41. Selecting previously unselected package libiodbc2-dev.
  42. Preparing to unpack .../libiodbc2-dev_3.52.9-2_armhf.deb ...
  43. Unpacking libiodbc2-dev (3.52.9-2) ...
  44. Setting up libiodbc2:armhf (3.52.9-2) ...
  45. Processing triggers for man-db (2.7.6.1-2) ...
  46. Setting up libiodbc2-dev (3.52.9-2) ...
  47. pi@raspberrypi:~ $ sudo apt install libmariadbclient-dev-compat
  48. Reading package lists... Done
  49. Building dependency tree      
  50. Reading state information... Done
  51. The following additional packages will be installed:
  52.   libmariadbclient-dev libmariadbclient18 mysql-common
  53. The following NEW packages will be installed:
  54.   libmariadbclient-dev libmariadbclient-dev-compat libmariadbclient18 mysql-common
  55. 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  56. Need to get 2,321 kB of archives.
  57. After this operation, 13.3 MB of additional disk space will be used.
  58. Do you want to continue? [Y/n] Y
  59. Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian stretch/main armhf mysql-common all 5.8+1.0.2 [5,608 B]
  60. Get:2 http://mirror.us.leaseweb.net/raspbian/raspbian stretch/main armhf libmariadbclient18 armhf 10.1.37-0+deb9u1 [714 kB]
  61. Get:3 http://mirror.us.leaseweb.net/raspbian/raspbian stretch/main armhf libmariadbclient-dev armhf 10.1.37-0+deb9u1 [1,574 kB]
  62. Get:4 http://mirror.us.leaseweb.net/raspbian/raspbian stretch/main armhf libmariadbclient-dev-compat armhf 10.1.37-0+deb9u1 [27.1 kB]
  63. Fetched 2,321 kB in 2s (775 kB/s)                      
  64. Selecting previously unselected package mysql-common.
  65. (Reading database ... 80926 files and directories currently installed.)
  66. Preparing to unpack .../mysql-common_5.8+1.0.2_all.deb ...
  67. Unpacking mysql-common (5.8+1.0.2) ...
  68. Selecting previously unselected package libmariadbclient18:armhf.
  69. Preparing to unpack .../libmariadbclient18_10.1.37-0+deb9u1_armhf.deb ...
  70. Unpacking libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
  71. Selecting previously unselected package libmariadbclient-dev.
  72. Preparing to unpack .../libmariadbclient-dev_10.1.37-0+deb9u1_armhf.deb ...
  73. Unpacking libmariadbclient-dev (10.1.37-0+deb9u1) ...
  74. Selecting previously unselected package libmariadbclient-dev-compat:armhf.
  75. Preparing to unpack .../libmariadbclient-dev-compat_10.1.37-0+deb9u1_armhf.deb ...
  76. Unpacking libmariadbclient-dev-compat:armhf (10.1.37-0+deb9u1) ...
  77. Setting up mysql-common (5.8+1.0.2) ...
  78. update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  79. Setting up libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
  80. Processing triggers for libc-bin (2.24-11+deb9u4) ...
  81. Processing triggers for man-db (2.7.6.1-2) ...
  82. Setting up libmariadbclient-dev (10.1.37-0+deb9u1) ...
  83. Setting up libmariadbclient-dev-compat:armhf (10.1.37-0+deb9u1) ...
  84. pi@raspberrypi:~ $ sudo apt install libncurses5-dev
  85. Reading package lists... Done
  86. Building dependency tree      
  87. Reading state information... Done
  88. The following additional packages will be installed:
  89.   libtinfo-dev
  90. Suggested packages:
  91.   ncurses-doc
  92. The following NEW packages will be installed:
  93.   libncurses5-dev libtinfo-dev
  94. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  95. Need to get 311 kB of archives.
  96. After this operation, 1,469 kB of additional disk space will be used.
  97. Do you want to continue? [Y/n] Y
  98. Get:1 http://raspbian.mirror.constant.com/raspbian stretch/main armhf libtinfo-dev armhf 6.0+20161126-1+deb9u2 [65.6 kB]
  99. Get:2 http://mirror.us.leaseweb.net/raspbian/raspbian stretch/main armhf libncurses5-dev armhf 6.0+20161126-1+deb9u2 [245 kB]
  100. Fetched 311 kB in 1s (184 kB/s)                                    
  101. Selecting previously unselected package libtinfo-dev:armhf.
  102. (Reading database ... 81299 files and directories currently installed.)
  103. Preparing to unpack .../libtinfo-dev_6.0+20161126-1+deb9u2_armhf.deb ...
  104. Unpacking libtinfo-dev:armhf (6.0+20161126-1+deb9u2) ...
  105. Selecting previously unselected package libncurses5-dev:armhf.
  106. Preparing to unpack .../libncurses5-dev_6.0+20161126-1+deb9u2_armhf.deb ...
  107. Unpacking libncurses5-dev:armhf (6.0+20161126-1+deb9u2) ...
  108. Setting up libtinfo-dev:armhf (6.0+20161126-1+deb9u2) ...
  109. Setting up libncurses5-dev:armhf (6.0+20161126-1+deb9u2) ...
  110. Processing triggers for man-db (2.7.6.1-2) ...
  111. pi@raspberrypi:~ $ sudo apt install libsqlite3-dev
  112. Reading package lists... Done
  113. Building dependency tree      
  114. Reading state information... Done
  115. Suggested packages:
  116.   sqlite3-doc
  117. The following NEW packages will be installed:
  118.   libsqlite3-dev
  119. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  120. Need to get 613 kB of archives.
  121. After this operation, 1,702 kB of additional disk space will be used.
  122. Get:1 http://mirror.umd.edu/raspbian/raspbian stretch/main armhf libsqlite3-dev armhf 3.16.2-5+deb9u1 [613 kB]
  123. Fetched 613 kB in 1s (374 kB/s)        
  124. Selecting previously unselected package libsqlite3-dev:armhf.
  125. (Reading database ... 81348 files and directories currently installed.)
  126. Preparing to unpack .../libsqlite3-dev_3.16.2-5+deb9u1_armhf.deb ...
  127. Unpacking libsqlite3-dev:armhf (3.16.2-5+deb9u1) ...
  128. Setting up libsqlite3-dev:armhf (3.16.2-5+deb9u1) ...
  129. pi@raspberrypi:~ $ sudo apt install libssl-dev
  130. Reading package lists... Done
  131. Building dependency tree      
  132. Reading state information... Done
  133. The following additional packages will be installed:
  134.   libssl-doc
  135. The following NEW packages will be installed:
  136.   libssl-dev libssl-doc
  137. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  138. Need to get 2,858 kB of archives.
  139. After this operation, 9,857 kB of additional disk space will be used.
  140. Do you want to continue? [Y/n] Y
  141. Get:1 http://raspbian.mirror.constant.com/raspbian stretch/main armhf libssl-dev armhf 1.1.0j-1~deb9u1 [1,383 kB]
  142. Get:2 http://raspbian.mirror.constant.com/raspbian stretch/main armhf libssl-doc all 1.1.0j-1~deb9u1 [1,476 kB]
  143. Fetched 2,858 kB in 25s (110 kB/s)                                                                                                                                                                                              
  144. Selecting previously unselected package libssl-dev:armhf.
  145. (Reading database ... 81359 files and directories currently installed.)
  146. Preparing to unpack .../libssl-dev_1.1.0j-1~deb9u1_armhf.deb ...
  147. Unpacking libssl-dev:armhf (1.1.0j-1~deb9u1) ...
  148. Selecting previously unselected package libssl-doc.
  149. Preparing to unpack .../libssl-doc_1.1.0j-1~deb9u1_all.deb ...
  150. Unpacking libssl-doc (1.1.0j-1~deb9u1) ...
  151. Setting up libssl-dev:armhf (1.1.0j-1~deb9u1) ...
  152. Processing triggers for man-db (2.7.6.1-2) ...
  153. Setting up libssl-doc (1.1.0j-1~deb9u1) ...
  154. pi@raspberrypi:~ $ sudo apt install zlib1g-dev
  155. Reading package lists... Done
  156. Building dependency tree      
  157. Reading state information... Done
  158. zlib1g-dev is already the newest version (1:1.2.8.dfsg-5).
  159. zlib1g-dev set to manually installed.
  160. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  161. pi@raspberrypi:~ $
  162.  
  163. pi@raspberrypi:~/sb-dev-master $ ./setup
  164. This is unix cwd=/home/pi/sb-dev-master/
  165. creating configure.jim
  166. creating subdirectories for compilation output files
  167. compiling Makefile using the Jamal preprocessor
  168. running syntaxer.pl to generate the syntax defintion C language tables from syntax.def
  169. running generrh.pl to generate the error messages from errors.def
  170. running lmt_make.pl for all lmt*.def files
  171. scanning all subdirectories to find all C source files
  172. there are 3447 files in the source tree
  173. there are 123 C source files in the source tree
  174. configuring module sqlite
  175. ar: creating /home/pi/sb-dev-master/bin/mod/lib/sqlite.a
  176. This is unix cwd=/home/pi/sb-dev-master/
  177. executing headerer for the C files
  178.  extracting header from interface.c
  179. creating the module object directory
  180. Creating typical makefile.jam for the module
  181. file: interface.c
  182. determining dependency from extensions/sqlite/interface.c
  183. Processing jamal files creating makefile
  184. Module was compiled fine
  185. configuring module curses
  186. ar: creating /home/pi/sb-dev-master/bin/mod/lib/curses.a
  187. This is unix cwd=/home/pi/sb-dev-master/
  188. executing headerer for the C files
  189.  extracting header from interface.c
  190. creating the module object directory
  191. Creating typical makefile.jam for the module
  192. file: interface.c
  193. determining dependency from extensions/curses/interface.c
  194. Processing jamal files creating makefile
  195. Module was compiled fine
  196. configuring module zlib
  197. ar: creating /home/pi/sb-dev-master/bin/mod/lib/zlib.a
  198. This is unix cwd=/home/pi/sb-dev-master/
  199. executing headerer for the C files
  200.  extracting header from interface.c
  201. creating the module object directory
  202. Creating typical makefile.jam for the module
  203. file: interface.c
  204. determining dependency from extensions/zlib/interface.c
  205. Processing jamal files creating makefile
  206. Module was compiled fine
  207. configuring module slre
  208. ar: creating /home/pi/sb-dev-master/bin/mod/lib/slre.a
  209. This is unix cwd=/home/pi/sb-dev-master/
  210. executing headerer for the C files
  211.  extracting header from slre.c
  212.  extracting header from interface.c
  213. creating the module object directory
  214. Creating typical makefile.jam for the module
  215. file: slre.c
  216. file: interface.c
  217. determining dependency from extensions/slre/slre.c
  218. determining dependency from extensions/slre/interface.c
  219. Processing jamal files creating makefile
  220. Module was compiled fine
  221. configuring module dyc
  222. This is unix cwd=/home/pi/sb-dev-master/
  223. The module dyc is not for unix.
  224. executing headerer for the C files
  225.  extracting header from interface.c
  226. creating the module object directory
  227. Creating typical makefile.jam for the module
  228. file: interface.c
  229. determining dependency from extensions/dyc/interface.c
  230. Processing jamal files creating makefile
  231. configuring module ux
  232. ar: creating /home/pi/sb-dev-master/bin/mod/lib/ux.a
  233. This is unix cwd=/home/pi/sb-dev-master/
  234. executing headerer for the C files
  235.  extracting header from interface.c
  236. creating the module object directory
  237. Creating typical makefile.jam for the module
  238. file: interface.c
  239. determining dependency from extensions/ux/interface.c
  240. Processing jamal files creating makefile
  241. Module was compiled fine
  242. configuring module hash
  243. ar: creating /home/pi/sb-dev-master/bin/mod/lib/hash.a
  244. This is unix cwd=/home/pi/sb-dev-master/
  245. executing headerer for the C files
  246.  extracting header from interface.c
  247. creating the module object directory
  248. Creating typical makefile.jam for the module
  249. file: interface.c
  250. determining dependency from extensions/hash/interface.c
  251. Processing jamal files creating makefile
  252. Module was compiled fine
  253. configuring module nt
  254. This is unix cwd=/home/pi/sb-dev-master/
  255. The module nt is not for unix.
  256. executing headerer for the C files
  257.  extracting header from interface.c
  258. creating the module object directory
  259. Creating typical makefile.jam for the module
  260. file: interface.c
  261. determining dependency from extensions/nt/interface.c
  262. Processing jamal files creating makefile
  263. configuring module mxml
  264. ar: creating /home/pi/sb-dev-master/bin/mod/lib/mxml.a
  265. This is unix cwd=/home/pi/sb-dev-master/
  266. executing headerer for the C files
  267.  extracting header from mxml-entity.c
  268.  extracting header from mxml-file.c
  269.  extracting header from mxml-set.c
  270.  extracting header from mxml-node.c
  271.  extracting header from interface.c
  272.  extracting header from mxml-attr.c
  273.  extracting header from mxml-get.c
  274.  extracting header from mxml-string.c
  275.  extracting header from mxml-search.c
  276.  extracting header from mxml-index.c
  277.  extracting header from mxml-private.c
  278. creating the module object directory
  279. Creating typical makefile.jam for the module
  280. file: mxml-entity.c
  281. file: mxml-file.c
  282. file: mxml-set.c
  283. file: mxml-node.c
  284. file: interface.c
  285. file: mxml-attr.c
  286. file: mxml-get.c
  287. file: mxml-string.c
  288. file: mxml-search.c
  289. file: mxml-index.c
  290. file: mxml-private.c
  291. determining dependency from extensions/mxml/mxml-entity.c
  292. determining dependency from extensions/mxml/mxml-file.c
  293. determining dependency from extensions/mxml/mxml-set.c
  294. determining dependency from extensions/mxml/mxml-node.c
  295. determining dependency from extensions/mxml/interface.c
  296. determining dependency from extensions/mxml/mxml-attr.c
  297. determining dependency from extensions/mxml/mxml-get.c
  298. determining dependency from extensions/mxml/mxml-string.c
  299. determining dependency from extensions/mxml/mxml-search.c
  300. determining dependency from extensions/mxml/mxml-index.c
  301. determining dependency from extensions/mxml/mxml-private.c
  302. Processing jamal files creating makefile
  303. Module was compiled fine
  304. configuring module cio
  305. This is unix cwd=/home/pi/sb-dev-master/
  306. The module cio is not for unix.
  307. executing headerer for the C files
  308.  extracting header from interface.c
  309. creating the module object directory
  310. Creating typical makefile.jam for the module
  311. file: interface.c
  312. determining dependency from extensions/cio/interface.c
  313. Processing jamal files creating makefile
  314. configuring module mt
  315. ar: creating /home/pi/sb-dev-master/bin/mod/lib/mt.a
  316. This is unix cwd=/home/pi/sb-dev-master/
  317. executing headerer for the C files
  318.  extracting header from interface.c
  319. creating the module object directory
  320. Creating typical makefile.jam for the module
  321. file: interface.c
  322. determining dependency from extensions/mt/interface.c
  323. Processing jamal files creating makefile
  324. Module was compiled fine
  325. configuring module sdbg
  326. ar: creating /home/pi/sb-dev-master/bin/mod/lib/sdbg.a
  327. This is unix cwd=/home/pi/sb-dev-master/
  328. executing headerer for the C files
  329.  extracting header from interface.c
  330.  extracting header from sdbg_con.c
  331. creating the module object directory
  332. Creating typical makefile.jam for the module
  333. file: interface.c
  334. file: sdbg_con.c
  335. determining dependency from extensions/sdbg/interface.c
  336. determining dependency from extensions/sdbg/sdbg_con.c
  337. Processing jamal files creating makefile
  338. Module was compiled fine
  339. configuring module t
  340. ar: creating /home/pi/sb-dev-master/bin/mod/lib/t.a
  341. This is unix cwd=/home/pi/sb-dev-master/
  342. executing headerer for the C files
  343.  extracting header from interface.c
  344. creating the module object directory
  345. Creating typical makefile.jam for the module
  346. file: interface.c
  347. determining dependency from extensions/t/interface.c
  348. Processing jamal files creating makefile
  349. Module was compiled fine
  350. configuring module trial
  351. ar: creating /home/pi/sb-dev-master/bin/mod/lib/trial.a
  352. This is unix cwd=/home/pi/sb-dev-master/
  353. executing headerer for the C files
  354.  extracting header from interface.c
  355. creating the module object directory
  356. Creating typical makefile.jam for the module
  357. file: interface.c
  358. determining dependency from extensions/trial/interface.c
  359. Processing jamal files creating makefile
  360. Module was compiled fine
  361. configuring module dbg
  362. ar: creating /home/pi/sb-dev-master/bin/mod/lib/dbg.a
  363. This is unix cwd=/home/pi/sb-dev-master/
  364. executing headerer for the C files
  365.  extracting header from interface.c
  366.  extracting header from dbg_con.c
  367. creating the module object directory
  368. Creating typical makefile.jam for the module
  369. file: interface.c
  370. file: dbg_con.c
  371. determining dependency from extensions/dbg/interface.c
  372. determining dependency from extensions/dbg/dbg_con.c
  373. Processing jamal files creating makefile
  374. Module was compiled fine
  375. configuring module json
  376. ar: creating /home/pi/sb-dev-master/bin/mod/lib/json.a
  377. This is unix cwd=/home/pi/sb-dev-master/
  378. executing headerer for the C files
  379.  extracting header from interface.c
  380.  extracting header from parson.c
  381. creating the module object directory
  382. Creating typical makefile.jam for the module
  383. file: interface.c
  384. file: parson.c
  385. determining dependency from extensions/json/interface.c
  386. determining dependency from extensions/json/parson.c
  387. Processing jamal files creating makefile
  388. Module was compiled fine
  389. configuring module curl
  390. ar: creating /home/pi/sb-dev-master/bin/mod/lib/curl.a
  391. This is unix cwd=/home/pi/sb-dev-master/
  392. executing headerer for the C files
  393.  extracting header from interface.c
  394. creating the module object directory
  395. Creating typical makefile.jam for the module
  396. file: interface.c
  397. determining dependency from extensions/curl/interface.c
  398. Processing jamal files creating makefile
  399. Module was compiled fine
  400. configuring module mysql
  401. ar: creating /home/pi/sb-dev-master/bin/mod/lib/mysql.a
  402. This is unix cwd=/home/pi/sb-dev-master/
  403. executing headerer for the C files
  404.  extracting header from interface.c
  405. creating the module object directory
  406. Creating typical makefile.jam for the module
  407. file: interface.c
  408. determining dependency from extensions/mysql/interface.c
  409. Processing jamal files creating makefile
  410. Module was compiled fine
  411. configuring module ftpd
  412. This is unix cwd=/home/pi/sb-dev-master/
  413. The module ftpd is not for unix.
  414. executing headerer for the C files
  415.  extracting header from interface.c
  416. creating the module object directory
  417. Creating typical makefile.jam for the module
  418. file: interface.c
  419. determining dependency from extensions/ftpd/interface.c
  420. Processing jamal files creating makefile
  421. configuring module cgi
  422. ar: creating /home/pi/sb-dev-master/bin/mod/lib/cgi.a
  423. This is unix cwd=/home/pi/sb-dev-master/
  424. executing headerer for the C files
  425.  extracting header from cgi.c
  426.  extracting header from interface.c
  427. creating the module object directory
  428. Creating typical makefile.jam for the module
  429. file: cgi.c
  430. file: interface.c
  431. determining dependency from extensions/cgi/cgi.c
  432. determining dependency from extensions/cgi/interface.c
  433. Processing jamal files creating makefile
  434. Module was compiled fine
  435. configuring module odbc
  436. ar: creating /home/pi/sb-dev-master/bin/mod/lib/odbc.a
  437. This is unix cwd=/home/pi/sb-dev-master/
  438. executing headerer for the C files
  439.  extracting header from interface.c
  440. creating the module object directory
  441. Processing jamal files creating makefile
  442. Module was compiled fine
  443. making compile command file(s)
  444. starting compilation
  445. ar: creating /home/pi/sb-dev-master/bin/lib/lscriba.a
  446. ScriptBasic v2.1
  447. Variation >>STANDARD<< build 1
  448. Magic value 859036464
  449. Node size is 24
  450. Extension interface version is 11
  451. Compilation: Mar 20 2019 18:33:21
  452. mkdir: cannot create directory ‘/home/pi/sb-dev-master/bin/var/httpd’: File exists
  453. ar: creating /home/pi/sb-dev-master/bin/lib/libscriba.a
  454. scriba executable OK  
  455. sbhttpd executable OK  
  456. libscriba library OK  
  457. MODULE sqlite:   dll OK   lib OK   bas OK  
  458. MODULE curses:   dll OK   lib OK   bas OK  
  459. MODULE zlib:     dll OK   lib OK   bas OK  
  460. MODULE slre:     dll OK   lib OK   bas OK  
  461. MODULE ux:       dll OK   lib OK   bas OK  
  462. MODULE hash:     dll OK   lib OK   bas OK  
  463. MODULE mxml:     dll OK   lib OK   bas OK  
  464. MODULE mt:       dll OK   lib OK   bas OK  
  465. MODULE sdbg:     dll OK   lib OK   bas OK  
  466. MODULE t:        dll OK   lib OK   bas OK  
  467. MODULE trial:    dll OK   lib OK   bas OK  
  468. MODULE dbg:      dll OK   lib OK   bas OK  
  469. MODULE json:     dll OK   lib OK   bas OK  
  470. MODULE curl:     dll OK   lib OK   bas OK  
  471. MODULE mysql:    dll OK   lib OK   bas OK  
  472. MODULE cgi:      dll OK   lib OK   bas OK  
  473. MODULE odbc:     dll OK   lib OK   bas OK  
  474. pi@raspberrypi:~/sb-dev-master $
  475.  

Offline John

  • Forum Support / SB Dev
  • Posts: 2752
    • ScriptBasic Open Source Project
Re: SB Pi
« Reply #14 on: March 20, 2019, 08:46:42 PM »
AIR,

I just install my build as a system install and I have the same problem with scriba hanging as well.


scriba has no problem converting its text version of basic.conf to a binary format which -D displays. Just can't run scripts.  :-\

I once left scriba in its hang condition and it eventually it hug the OS as well. (memory being consumed?)

I just tested with task manage running and as soon as I run my simple test script the CPU and Memory rapidly became consumed. I remember when we were getting SB to run on Android there was a fix (can't remember his name) to the source for ARM. This sounds familiar.

What Raspberry Pi version do you have?


« Last Edit: March 20, 2019, 09:14:49 PM by John »