Support > General Discussions

New install of ScriptBasic on Linux

(1/1)

mesbas:
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

--- End code ---

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

--- End code ---

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

--- End code ---

Everything seems to work fine.
My next task is to compile a C program from a converted .bas file.

Support:
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.




Navigation

[0] Message Index

Go to full version