ScriptBasic
May 22, 2012, 02:08:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The ScriptBasic User, Developer and extension module guides are available at the WIKI.
 
   Home   Wiki Help Search Login Register  
Pages: [1]
  Print  
Author Topic: New install of ScriptBasic on Linux  (Read 552 times)
mesbas
Newbie
*
Posts: 13


« on: December 06, 2010, 08:46:32 AM »

I have recently installed ScriptBasic on a Linux box running Fedora release 14.
The kernel version is 2.6.35.9-64, cpu is an Intel dual core x86_64.

This was quite a project.

After creating the directory from the tar file, I performed the following tasks:

Code:
chown -R root:root scriptbasic
cd scriptbasic
./setup

dll & lib fail for both dbd & psgl because I don't have or use either of those databases.

Code:
dos2unix *
chmod +x setup.pl
./setup.pl

dll fails for all modules because we aren't running windows.

You now have to modify the "Makefile"

After the endif for the Darwin test, add a new line containing:
EXTRA_CFLAGS := -fPIC

Now run the following commands:
Code:
make clean
make all
./install

Everything seems to work fine.
My next task is to compile a C program from a converted .bas file.
Logged
support
Administrator
*****
Posts: 409


« Reply #1 on: December 06, 2010, 10:02:26 AM »

Welcome to the ScriptBasic forum. Glad to see you got SB running on your system.

./setup --unix should take care of any confusion on the script's part as to what OS it's running under. It shouldn't try to build CIO,NT or DYC extension modules under Linux. (Windows specific) The Berkely DB (BDB) and PostgreSQL (PSQL) modules were written by the author's students and had their own thoughts how the make should work. Read the notes in build directories for these extension modules if you have any interest building them.

Armando I. Rivera (AIR) has been maintaining the ScriptBasic code most recently when he finds extra time in his busy schedule. He has compiled 64 bit versions for Window (MinGW-gcc), Linux and the Mac. I'm running under 32 bit Linux (Ubuntu and CentOS) and have a Windows partition for stuff I can't run under Wine. I'm looking for a 64 bit box under the tree this year if Santa finds a good deal on one.

Keep us in the loop with your progress.




« Last Edit: December 06, 2010, 09:22:56 PM by support » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!