Author Topic: Scriptbasic Build Linux  (Read 2963 times)

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #120 on: December 01, 2018, 12:53:59 PM »
There's nothing stopping YOU from implementing this....

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #121 on: December 01, 2018, 01:02:51 PM »
Sure there is.

Lack of skill level with bash shell scripting. I've always been envious of both Peter's shell scripting skills. On my TODO list when time permits.

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #122 on: December 01, 2018, 01:14:27 PM »
Sure there is.

Lack of skill level with bash shell scripting. I've always been envious of both Peter's shell scripting skills. On my TODO list when time permits.

I'm sorry, but that's a B.S. excuse.  You're not the only one who has to manage their time.

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #123 on: December 01, 2018, 01:23:12 PM »
I'm good where you left things. My focus right now is getting the addition extension modules in a new repo as well as sift through all the examples and build a repo for them as well. The html docs also need to be converted to markdown and pushed to the project sandbox wiki.

I'm still maintaining the Windows version and need to get it compliant with your source tree.

BETA
« Last Edit: December 01, 2018, 04:08:19 PM by John »

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #124 on: December 01, 2018, 02:10:35 PM »
The html docs also need to be converted to markdown a pushed to the project sandbox wiki.

Don't you already have the User Guide on the scriptbasic.org wiki?  It's a start....You could use MediaWiki to Markdown to convert.

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #125 on: December 01, 2018, 02:49:17 PM »
It should get the docs in better shape than they are now. The current docs make SB look aged.
« Last Edit: December 01, 2018, 03:56:27 PM by John »

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #126 on: December 01, 2018, 10:14:08 PM »
I've been wondering how to return an Associative Array from a module.

I looked at the sqlite module, and threw together a quick test:

Code: C
  1. besFUNCTION(test)
  2.   pModuleObject p;
  3.   VARIABLE x;
  4.   LEFTVALUE Lval;
  5.   unsigned long __refcount_;
  6.   char key[50], value[50];
  7.   int arraySize = 5;
  8.  
  9.   p = (pModuleObject)besMODULEPOINTER;
  10.  
  11.   x = besARGUMENT(1);
  12.  
  13.  
  14.   besLEFTVALUE(x,Lval);
  15.   besRELEASE(*Lval);
  16.   *Lval = NULL;
  17.  
  18.   *Lval = besNEWARRAY(0,arraySize);
  19.   if( *Lval == NULL )return COMMAND_ERROR_MEMORY_LOW;
  20.  
  21.  
  22.   for( int i= 0 ; i < arraySize-1 ; i++ ) {
  23.     sprintf(key,"%s%d","Hello",i);
  24.     sprintf(value,"%s #%d","World",i);
  25.     // value = "World";
  26.     ARRAYVALUE(*Lval,2*i) = besNEWSTRING(strlen(key));
  27.     if( ARRAYVALUE(*Lval,2*i) == NULL )return COMMAND_ERROR_MEMORY_LOW;
  28.     memcpy(STRINGVALUE(ARRAYVALUE(*Lval,2*i)),key, strlen(key));
  29.    
  30.     ARRAYVALUE(*Lval,2*i+1) = besNEWSTRING(strlen(value));
  31.     if( ARRAYVALUE(*Lval,2*i+1) == NULL )return COMMAND_ERROR_MEMORY_LOW;
  32.     memcpy(STRINGVALUE(ARRAYVALUE(*Lval,2*i+1)),value,strlen(value));
  33.   }
  34.  
  35.  
  36.   besALLOC_RETURN_LONG;
  37.   LONGVALUE(besRETURNVALUE) = -1;
  38. besEND

Using this:

Code: Script BASIC
  1. include blah.bas
  2.  
  3. blah::test(arr)
  4.  
  5. for x = 0 to 3
  6.   print arr{"Hello"&str(x)},"\n"
  7.  
  8. next

Resulted in this:
riveraa@nas:~/Projects/sb$ sb64/sb.sh testblah.bas
World #0
World #1
World #2
undef
riveraa@nas:~/Projects/sb$


Now, the reason that I wanted to do this is because the extension module documentation is seriously lacking.  I'm thinking of documenting how I go about putting a module together, and the particular c code I'm thinking of using would benefit from being able to provide an AA from a usage perspective.

The key is passing an SB variable to the function, which is configured as an AA by the module, which is then usable in the main script.

AIR.

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #127 on: December 01, 2018, 10:54:24 PM »
If you want to see a good example of internal SB array handling,  check out Dave's IDE/Debugger for Windows.



& Turns the expression to concatenation of strings

+ Does numeric addition of the variables

Code: Script BASIC
  1. print arr{"Hello"&str(x)},"\n"
  2.  

Very rarely do you need to use STR or VAL with SB variant variables. This works as well.

Code: Script BASIC
  1. print arr{"Hello"&x},"\n"
  2.  

Code: Script BASIC
  1. PRINT "12" / "2", "\n"
  2.  


jrs@jrs-laptop:~/sb/examples/test$ scriba strdiv.sb
6
jrs@jrs-laptop:~/sb/examples/test$



It dawned on me the HEB is very close to a PHP like environment.
« Last Edit: December 02, 2018, 04:12:47 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #128 on: December 02, 2018, 05:26:04 PM »
One of my goals for Script BASIC is to get the threaded proxy application server (sbhttpd) working with web sockets. The plan is to use SBT to create free running threads to handle the web socket tasks. They will terminate when the client bowser disconnects. In theory it should work. MT is the inter-thread communications link. Node.js alternative.

« Last Edit: December 02, 2018, 06:31:56 PM by John »

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #129 on: December 20, 2018, 01:31:23 AM »
AIR,

I'm trying to build from source SB on CentOS 7. The dependencies you listed won't work on CentOS. I was able to find the right --dev versions except for myslclient-dev. Any ideas what to use? It's preventing the iodbc module from compiling as well.

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #130 on: December 20, 2018, 01:45:20 AM »
sudo yum whatprovides libmysqlclient*

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #131 on: December 20, 2018, 01:57:35 AM »
I tried this suggestion from a search looking for a solution, I was able to install libmysql-dev but the mysqlclient doesn't seem available due to MariaDB being installed by Plesk. (guess)


[root@ip-172-30-0-53 mysql]# yum whatprovides libmysqlclient*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: sjc.edge.kernel.org
 * extras: mirror.keystealth.org
 * updates: sjc.edge.kernel.org
1:mariadb-libs-5.5.60-1.el7_5.i686 : The shared libraries required for MariaDB/MySQL clients
Repo        : base
Matched from:
Provides    : libmysqlclient.so.18
Provides    : libmysqlclient.so.18(libmysqlclient_16)
Provides    : libmysqlclient.so.18(libmysqlclient_18)



1:mariadb-libs-5.5.60-1.el7_5.x86_64 : The shared libraries required for MariaDB/MySQL clients
Repo        : base
Matched from:
Provides    : libmysqlclient.so.18(libmysqlclient_18)(64bit)
Provides    : libmysqlclient.so.18()(64bit)
Provides    : libmysqlclient.so.18(libmysqlclient_16)(64bit)



1:mariadb-libs-5.5.60-1.el7_5.x86_64 : The shared libraries required for MariaDB/MySQL clients
Repo        : @updates
Matched from:
Provides    : libmysqlclient.so.18(libmysqlclient_18)(64bit)
Provides    : libmysqlclient.so.18()(64bit)
Provides    : libmysqlclient.so.18(libmysqlclient_16)(64bit)

[root@ip-172-30-0-53 mysql]#

[root@ip-172-30-0-53 sb-dev]# ./setup --module=odbc
This is unix cwd=/var/www/vhosts/opensage.org/httpdocs/sb-dev/
executing headerer for the C files
 extracting header from interface.c
creating the module object directory
Processing jamal files creating makefile
interface.c:12:17: fatal error: sql.h: No such file or directory
 #include <sql.h>
                 ^
compilation terminated.
make: *** [/var/www/vhosts/opensage.org/httpdocs/sb-dev/bin/mod/obj/odbc/s_interface.o] Error 1
ERROR: The module did not compile

[root@ip-172-30-0-53 sb-dev]# ./setup --module=mysql
This is unix cwd=/var/www/vhosts/opensage.org/httpdocs/sb-dev/
executing headerer for the C files
 extracting header from interface.c
creating the module object directory
Processing jamal files creating makefile
ld: cannot find -lmysqlclient
make: *** [/var/www/vhosts/opensage.org/httpdocs/sb-dev/bin/mod/dll/mysql.so] Error 1
ERROR: SO was not created for some reason.
[root@ip-172-30-0-53 sb-dev]#


« Last Edit: December 20, 2018, 02:03:14 AM by John »

Offline AIR

  • BASIC Developer
  • Posts: 516
Re: Scriptbasic Build Linux
« Reply #132 on: December 20, 2018, 02:01:36 AM »
MariaDB is a drop-in replacement for MySQL.  So remove MySQL and go with MariaDB.  I had to do that on my RasPI.

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #133 on: December 20, 2018, 02:11:04 AM »
I'm not sure that would be a good idea with Plesk references everywhere.

Code: [Select]
[root@ip-172-30-0-53 sb-dev]# yum remove mysql mysql-server
Loaded plugins: fastestmirror
No Match for argument: mysql-server
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.60-1.el7_5 will be erased
--> Processing Dependency: mariadb(x86-64) = 1:5.5.60-1.el7_5 for package: 1:mariadb-server-5.5.60-1.el7_5.x86_64
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.60-1.el7_5 will be erased
--> Processing Dependency: mariadb-server >= 5.0.60 for package: plesk-mysql-server-17.8.11-cos7.build1708180301.19.x86_64
--> Processing Dependency: mariadb-server >= 5.0.60 for package: plesk-mysql-server-17.8.11-cos7.build1708180301.19.x86_64
--> Running transaction check
---> Package plesk-mysql-server.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: plesk-core-17.8.11-cos7.build1708180301.19.x86_64
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-turba-4.2.21-cos7.build1708180425.15.noarch
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-kronolith-4.2.23-cos7.build1708180425.15.noarch
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-phpmyadmin-4.8.4-cos7.build1708181212.18.noarch
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: plesk-config-troubleshooter-17.8.11-cos7.build1708181025.16.x86_64
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-mnemo-4.2.14-cos7.build1708180425.15.noarch
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: pp17.8.11-bootstrapper-17.8.11-cos7.build1708180920.15.x86_64
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-horde-5.2.17-cos7.build1708180425.15.noarch
--> Processing Dependency: plesk-mysql-server >= 17.8.11 for package: psa-imp-6.2.21.1-cos7.build1708180425.15.noarch
--> Running transaction check
---> Package plesk-config-troubleshooter.x86_64 0:17.8.11-cos7.build1708181025.16 will be erased
---> Package plesk-core.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
--> Processing Dependency: plesk-core >= 17.8.11 for package: plesk-repair-kit-17.8.11-cos7.build1708180516.08.noarch
--> Processing Dependency: plesk-core >= 17.8.11 for package: plesk-l10n-17.8.11-cos7.build1708181025.13.noarch
--> Processing Dependency: plesk-core >= 17.8.11 for package: psa-updates-17.8.11-cos7.build1708180326.12.noarch
--> Processing Dependency: plesk-core >= 17.8.11 for package: plesk-management-node-17.8.11-cos7.build1708180301.19.x86_64
---> Package pp17.8.11-bootstrapper.x86_64 0:17.8.11-cos7.build1708180920.15 will be erased
--> Processing Dependency: pp17.8.11-bootstrapper for package: plesk-base-17.8.11-cos7.build1708180301.19.x86_64
---> Package psa-horde.noarch 0:5.2.17-cos7.build1708180425.15 will be erased
--> Processing Dependency: psa-horde >= 5.1.6 for package: psa-ingo-3.2.16-cos7.build1708180425.15.noarch
--> Processing Dependency: psa-horde >= 5.1.4 for package: psa-passwd-5.0.7-cos7.build1708180425.15.noarch
---> Package psa-imp.noarch 0:6.2.21.1-cos7.build1708180425.15 will be erased
---> Package psa-kronolith.noarch 0:4.2.23-cos7.build1708180425.15 will be erased
---> Package psa-mnemo.noarch 0:4.2.14-cos7.build1708180425.15 will be erased
---> Package psa-phpmyadmin.noarch 0:4.8.4-cos7.build1708181212.18 will be erased
---> Package psa-turba.noarch 0:4.2.21-cos7.build1708180425.15 will be erased
--> Running transaction check
---> Package plesk-base.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-mail-driver-common-17.8.11-cos7.build1708181205.20.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-roundcube-1.3.6-cos7.build1708180427.13.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-service-node-utilities-17.8.11-cos7.build1708180515.21.x86_64
--> Processing Dependency: plesk-base >= 17.8.7 for package: psa-logrotate-3.8.2-cos7.build1708171004.18.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-dovecot-2.3.0.1-centos7.18031217.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-libxml-proxy-2.9.7-centos7.18021314.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-web-hosting-17.8.11-cos7.build1708180301.19.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-locale-base-en-US-17.8.11-cos7.build1708181211.16.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-mail-pc-driver-17.8.11-cos7.build1708180927.11.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-phpfpm-configurator-1.0.0-cos7.build1708180212.17.x86_64
--> Processing Dependency: plesk-base >= 17.8.6 for package: plesk-wp-upgrade-1.0-71.17091819.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-php5-configurator-1.7.0-cos7.build1708180212.17.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-ext-rest-api-1.0.0-32.18030120.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-dovecot-imap-driver-17.8.11-cos7.build1708180920.18.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-completion-17.8.11-cos7.build1708180322.11.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: plesk-ext-catalog-1.1.0-148.18030120.noarch
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-proftpd-1.3.6-cos7.build1708180220.17.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-pylibplesk-17.8.11-cos7.build1708180301.19.x86_64
--> Processing Dependency: plesk-base >= 17.8.11 for package: psa-vhost-17.8.11-cos7.build1708180425.13.noarch
---> Package plesk-l10n.noarch 0:17.8.11-cos7.build1708181025.13 will be erased
---> Package plesk-management-node.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
---> Package plesk-repair-kit.noarch 0:17.8.11-cos7.build1708180516.08 will be erased
---> Package psa-ingo.noarch 0:3.2.16-cos7.build1708180425.15 will be erased
---> Package psa-passwd.noarch 0:5.0.7-cos7.build1708180425.15 will be erased
---> Package psa-updates.noarch 0:17.8.11-cos7.build1708180326.12 will be erased
--> Running transaction check
---> Package plesk-completion.noarch 0:17.8.11-cos7.build1708180322.11 will be erased
---> Package plesk-dovecot.x86_64 0:2.3.0.1-centos7.18031217 will be erased
--> Processing Dependency: plesk-dovecot-abi-2.3.abiv0 for package: plesk-dovecot-pigeonhole-0.5.0.1-centos7.18031217.x86_64
---> Package plesk-dovecot-imap-driver.x86_64 0:17.8.11-cos7.build1708180920.18 will be erased
---> Package plesk-ext-catalog.noarch 0:1.1.0-148.18030120 will be erased
---> Package plesk-ext-rest-api.noarch 0:1.0.0-32.18030120 will be erased
---> Package plesk-mail-pc-driver.x86_64 0:17.8.11-cos7.build1708180927.11 will be erased
---> Package plesk-roundcube.noarch 0:1.3.6-cos7.build1708180427.13 will be erased
---> Package plesk-service-node-utilities.x86_64 0:17.8.11-cos7.build1708180515.21 will be erased
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: perl(Error) for package: perl-Git-1.8.3.1-20.el7.noarch
--> Processing Dependency: perl(Error) for package: perl-Git-1.8.3.1-20.el7.noarch
---> Package plesk-web-hosting.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
---> Package plesk-wp-upgrade.noarch 0:1.0-71.17091819 will be erased
---> Package psa-libxml-proxy.x86_64 0:2.9.7-centos7.18021314 will be erased
---> Package psa-locale-base-en-US.noarch 0:17.8.11-cos7.build1708181211.16 will be erased
---> Package psa-logrotate.x86_64 0:3.8.2-cos7.build1708171004.18 will be erased
---> Package psa-mail-driver-common.x86_64 0:17.8.11-cos7.build1708181205.20 will be erased
---> Package psa-php5-configurator.x86_64 0:1.7.0-cos7.build1708180212.17 will be erased
---> Package psa-phpfpm-configurator.x86_64 0:1.0.0-cos7.build1708180212.17 will be erased
---> Package psa-proftpd.x86_64 0:1.3.6-cos7.build1708180220.17 will be erased
---> Package psa-pylibplesk.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
--> Processing Dependency: psa-pylibplesk for package: psa-libpam-plesk-17.8.11-cos7.build1708180301.19.x86_64
---> Package psa-vhost.noarch 0:17.8.11-cos7.build1708180425.13 will be erased
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-20.el7 will be erased
--> Processing Dependency: git for package: gettext-devel-0.19.8.1-2.el7.x86_64
---> Package perl-Git.noarch 0:1.8.3.1-20.el7 will be erased
---> Package plesk-dovecot-pigeonhole.x86_64 0:0.5.0.1-centos7.18031217 will be erased
---> Package psa-libpam-plesk.x86_64 0:17.8.11-cos7.build1708180301.19 will be erased
--> Running transaction check
---> Package gettext-devel.x86_64 0:0.19.8.1-2.el7 will be erased
--> Processing Dependency: gettext-devel for package: intltool-0.50.2-7.el7.noarch
--> Running transaction check
---> Package intltool.noarch 0:0.50.2-7.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                                 Arch                              Version                                                     Repository                                      Size
============================================================================================================================================================================================================
Removing:
 mariadb                                                 x86_64                            1:5.5.60-1.el7_5                                            @updates                                        49 M
Removing for dependencies:
 gettext-devel                                           x86_64                            0.19.8.1-2.el7                                              @base                                          1.4 M
 git                                                     x86_64                            1.8.3.1-20.el7                                              @updates                                        22 M
 intltool                                                noarch                            0.50.2-7.el7                                                @base                                          166 k
 mariadb-server                                          x86_64                            1:5.5.60-1.el7_5                                            @updates                                        58 M
 perl-Git                                                noarch                            1.8.3.1-20.el7                                              @updates                                        57 k
 plesk-base                                              x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                             19 k
 plesk-completion                                        noarch                            17.8.11-cos7.build1708180322.11                             @PLESK_17_8_11-dist                            2.1 M
 plesk-config-troubleshooter                             x86_64                            17.8.11-cos7.build1708181025.16                             @PLESK_17_8_11-dist                            1.4 M
 plesk-core                                              x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                            101 M
 plesk-dovecot                                           x86_64                            2.3.0.1-centos7.18031217                                    @PLESK_17_8_11-dist                            3.7 M
 plesk-dovecot-imap-driver                               x86_64                            17.8.11-cos7.build1708180920.18                             @PLESK_17_8_11-dist                            381 k
 plesk-dovecot-pigeonhole                                x86_64                            0.5.0.1-centos7.18031217                                    @PLESK_17_8_11-dist                            2.3 M
 plesk-ext-catalog                                       noarch                            1.1.0-148.18030120                                          @PLESK_17_8_11-dist                            1.0 M
 plesk-ext-rest-api                                      noarch                            1.0.0-32.18030120                                           @PLESK_17_8_11-dist                            2.1 M
 plesk-l10n                                              noarch                            17.8.11-cos7.build1708181025.13                             @PLESK_17_8_11-dist                             58 M
 plesk-mail-pc-driver                                    x86_64                            17.8.11-cos7.build1708180927.11                             @PLESK_17_8_11-dist                            6.5 M
 plesk-management-node                                   x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                            0.0 
 plesk-mysql-server                                      x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                            0.0 
 plesk-repair-kit                                        noarch                            17.8.11-cos7.build1708180516.08                             @PLESK_17_8_11-dist                            9.1 M
 plesk-roundcube                                         noarch                            1.3.6-cos7.build1708180427.13                               @PLESK_17_8_11-dist                             22 M
 plesk-service-node-utilities                            x86_64                            17.8.11-cos7.build1708180515.21                             @PLESK_17_8_11-dist                             13 M
 plesk-web-hosting                                       x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                            173 k
 plesk-wp-upgrade                                        noarch                            1.0-71.17091819                                             @PLESK_17_8_11-dist                             11 M
 pp17.8.11-bootstrapper                                  x86_64                            17.8.11-cos7.build1708180920.15                             @PLESK_17_8_11-dist                            654 k
 psa-horde                                               noarch                            5.2.17-cos7.build1708180425.15                              @PLESK_17_8_11-dist                             68 M
 psa-imp                                                 noarch                            6.2.21.1-cos7.build1708180425.15                            @PLESK_17_8_11-dist                             18 M
 psa-ingo                                                noarch                            3.2.16-cos7.build1708180425.15                              @PLESK_17_8_11-dist                            4.5 M
 psa-kronolith                                           noarch                            4.2.23-cos7.build1708180425.15                              @PLESK_17_8_11-dist                            9.0 M
 psa-libpam-plesk                                        x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                            738 k
 psa-libxml-proxy                                        x86_64                            2.9.7-centos7.18021314                                      @PLESK_17_8_11-dist                            2.0 M
 psa-locale-base-en-US                                   noarch                            17.8.11-cos7.build1708181211.16                             @PLESK_17_8_11-dist                            1.8 M
 psa-logrotate                                           x86_64                            3.8.2-cos7.build1708171004.18                               @PLESK_17_8_11-dist                            101 k
 psa-mail-driver-common                                  x86_64                            17.8.11-cos7.build1708181205.20                             @PLESK_17_8_11-dist                            2.6 M
 psa-mnemo                                               noarch                            4.2.14-cos7.build1708180425.15                              @PLESK_17_8_11-dist                            3.3 M
 psa-passwd                                              noarch                            5.0.7-cos7.build1708180425.15                               @PLESK_17_8_11-dist                            2.9 M
 psa-php5-configurator                                   x86_64                            1.7.0-cos7.build1708180212.17                               @PLESK_17_8_11-dist                             61 k
 psa-phpfpm-configurator                                 x86_64                            1.0.0-cos7.build1708180212.17                               @PLESK_17_8_11-dist                            138 
 psa-phpmyadmin                                          noarch                            4.8.4-cos7.build1708181212.18                               @PLESK_17_8_11-dist                             32 M
 psa-proftpd                                             x86_64                            1.3.6-cos7.build1708180220.17                               @PLESK_17_8_11-dist                            7.9 M
 psa-pylibplesk                                          x86_64                            17.8.11-cos7.build1708180301.19                             @PLESK_17_8_11-dist                             90 k
 psa-turba                                               noarch                            4.2.21-cos7.build1708180425.15                              @PLESK_17_8_11-dist                            6.2 M
 psa-updates                                             noarch                            17.8.11-cos7.build1708180326.12                             @PLESK_17_8_11-dist                            0.0 
 psa-vhost                                               noarch                            17.8.11-cos7.build1708180425.13                             @PLESK_17_8_11-dist                            298 k

Transaction Summary
============================================================================================================================================================================================================
Remove  1 Package (+43 Dependent packages)

Installed size: 525 M
Is this ok [y/N]: N
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2018-12-20.02-08.uPGZqe.yumtx
[root@ip-172-30-0-53 sb-dev]#

Offline John

  • Forum Support / SB Dev
  • Posts: 2390
    • ScriptBasic Open Source Project
Re: Scriptbasic Build Linux
« Reply #134 on: December 20, 2018, 02:44:10 AM »
This is trying to get MySQL woriking with an older CentOS set I built.


[root@ip-172-30-0-53 test]# scriba -d testmysql.sb
Searching installed module header file 'mysql.bas' ...
Checking installed module header file location '/var/www/vhosts/opensage.org/httpdocs/sb/include/mysql.bas' Result=OK
Including file '/var/www/vhosts/opensage.org/httpdocs/sb/include/mysql.bas'
dlopen failed.
dlerror message=libmysqlclient.so.16: cannot open shared object file: No such file or directory
(0): error &H10:The requested module can not be loaded.
[root@ip-172-30-0-53 test]#