Support > General Discussions

Script Basic on Mac OS X

(1/2) > >>

tiger:
Hello.  Has anybody been able to get Script Basic to compile on Mac OS X?  I've downloaded the source code for version 2.1 and have tried to run "setup.pl."  However, one of the messages I get is scriba executable failed.  What do I have to do to get Script Basic to compile and work on Mac OS X?
Thanks.

Support:
It would be great if you could post a link to a redirected compile run output. (stdout/stderr)

This will give us a better idea what might be going wrong.


John

tiger:

--- Quote from: "support" ---It would be great if you could post a link to a redirected compile run output. (stdout/stderr)

This will give us a better idea what might be going wrong.


John
--- End quote ---


A link to the output can be found here.

verhas:
First of all I can see something strange that has nothing to do with the setup.pl I wrote:



>>> /usr/bin/CD: line 4: builtin: CD: not a shell builtin



what is this, and where did it come from?



>>>

In file included from httpd.c:227:

httpd.h:112: error: syntax error before ‘port_t’

<<<



probably darwin has slightly different header files that other Unices. The other error messages following this one may come from this one. Event hought his only affects httpd.c which is not needed for the command line version of ScriptBasic. Even thought the generated make file does not finish because it can not generate the sbhttpd executable lacking httpd.o.



Check how to define the type port_t and define it with some OS specific conditional compilation directive before its use.



Peter

tiger:
I got the scriba executable compiled by adding the --unix option.
perl setup.pl --unix
perl setup.pl --install --unix
./install.sh
I haven't tested it that much yet though.

Navigation

[0] Message Index

[#] Next page

Go to full version