Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Support

Pages: 1 ... 15 16 [17] 18 19 ... 59
241
General Discussions / Re: sbhttpd fault
« on: April 30, 2014, 10:02:41 PM »
Quote
Where do libSDL.so and libSDL_gfx.so go?

On my system, /usr/lib.

gfx.so goes in the SB modules directory and gfx.inc goes in the SB include directory.


242
General Discussions / Re: sbhttpd fault
« on: April 30, 2014, 08:09:23 PM »
Sitting on the edge of my chair with fingers crossed.  ;)

243
General Discussions / Re: sbhttpd fault
« on: April 30, 2014, 08:33:48 AM »
Curious. Did you ever get the GFX (SDL_gfx) extension module working on your box?

244
General Discussions / Re: sbhttpd fault
« on: April 29, 2014, 12:24:46 PM »
Quote
I wonder if gd needs supporting libraries to work?

Wonder no further as the Script BASIC GD extension module is an interface to the libpng.so, libgd.so and libz.so libraries.

245
General Discussions / Re: sbhttpd fault
« on: April 28, 2014, 10:21:37 AM »
I just apt-get update/upgrade my Debian 64 bit 7.1 system. As it was going through the upgrade part I noticed about 12 of these warning messages being displayed.

Setting up initscripts (2.88dsf-41+deb7u1) ...
insserv: warning: script 'sbhttpd' missing LSB tags and overrides
insserv: warning: script 'sbhttpd' missing LSB tags and overrides

Known Bug

Attached is Script BASIC 2.2 Debian 7.5 64 bit. (Build 3) Let me know if this works better for you.

246
General Discussions / Re: sbhttpd fault
« on: April 28, 2014, 10:04:59 AM »
What do the sbhttpd logs say the problem is?

247
General Discussions / Re: sbhttpd fault
« on: April 28, 2014, 08:28:04 AM »
Are/were you using sbhttpd as a proxy server behind Apache or using sbhttpd directly?

sbhttpd should be started with sudo (root) privileges as it is a OS service.

 

248
General Discussions / Re: sbhttpd fault
« on: April 27, 2014, 06:26:07 PM »
Is scriba having any problems? I assume you did a reboot after the upgrade and there were no changes to proxy SBHTTPD in the httpd.conf file?

I can't remember what version of Debian 64 I compiled SB 2.2 for. I'm having doubts that this is a Script BASIC SBHTTPD issue when it worked fine before. Is the GD module or MySQL having issues?




249
What's New / Re: ScriptBasic LiveDev
« on: April 17, 2014, 11:24:12 PM »
I have all the Script BASIC extension modules installed on CompileOnline. The only ones that aren't installed is the MySQL and ODBC ext. module as the site owner is afraid of excessive use. The SQLite3, cURL, GD, T, RE, HASH modules seem to work fine. If you need to upload data files to a CompileOnline Script Basic session, use the curl extension module. Once the session exits (after downloading the project) all files are deleted that were created by the session. I don't know if there are any disk size limitations per session or not. The other nice feature is you can download your complete project in a zip.

 

250
General Discussions / Re: sb buoy plot
« on: April 13, 2014, 11:15:52 AM »
Ron,

I installed libSDL 1.2 and libSDL_gfx (dev) on my EC2 instance and tried to compile the Script BASIC GFX extension module. I get this BS error that means nothing to me and seems to be a bug with Debian's kernel.

Debian SDL repository

Code: [Select]
admin@ip-10-188-36-190:~/sb22/source/extensions/gfx$ make -B
gcc -w -fPIC -static -m64 -c -I/usr/include/SDL -o ../../bin/mod/obj/gfx/s_interface.o interface.c
interface.c: In function ‘gfx_SDL_framerateDelay’:
interface.c:2240:15: error: void value not ignored as it ought to be
make: *** [../../bin/mod/obj/gfx/s_interface.o] Error 1
admin@ip-10-188-36-190:~/sb22/source/extensions/gfx$

I would try to install SDL and SDL_gfx from the above link and see if the current Ubuntu Script BASIC extension module will work.
The problem may be that I have no X-server running on this instance and therefore unable to detect a GUI device driver.



251
General Discussions / Re: sb buoy plot
« on: April 12, 2014, 11:42:12 PM »
I'll see if I can compile the GFX module on EC2 tomorrow. (getting late here) You will have to test it if I can get it built.  :)

252
General Discussions / Re: sb buoy plot
« on: April 12, 2014, 10:59:44 PM »
GD is a cool module and can be used on the web as you have demonstrated.

It looks like Debian is using a earlier version of GLIB. This is why I stick with main stream distributions like Ubuntu. I thought that was the direction you were going. The source to the GFX module is on C BASIC Bitbucket site if you want to try and compile it yourself for Debian. I have a Amazon EC2 instance I built what you have. I have no way to test GUI related modules. (ssh connection only)

253
General Discussions / Re: sb buoy plot
« on: April 12, 2014, 10:32:07 PM »
I sent you everything you needed in the last zip to make the Script BASIC GFX extension module work. What is it saying you're missing?


254
General Discussions / Re: sb buoy plot
« on: April 12, 2014, 08:37:35 PM »
Here is a Script BASIC GFX example for you to test your system with.

Script BASIC GFX - Ubuntu 12.04 LTS 64 bit



Code: [Select]
' Lorenz Curtian

IMPORT gfx.inc

scrn = gfx::Window(600, 800, "ScriptBasic GFX - Lorenz Curtian")
ts = gfx::Time()
FOR t = 0 TO 7000 STEP 0.006
  x = SIN(0.99 * t) - 0.7 * COS(3.01 * t)
  y = COS(1.01 * t) + 0.1 * SIN(15.03 * t)
  x = x * 200 + 400
  y = y * 200 + 300
  gfx::pixelRGBA scrn, FIX(y), FIX(x), 250, 250, 250, 255
NEXT
te = gfx::Time()
gfx::stringColor scrn, 20, 20, "Time: " & FORMAT("%.4f",(te-ts)/1000) & " Seconds." & CHR(0), 0xffffffff
gfx::Update
WHILE gfx::KeyName(1) <> "+escape"
WEND
gfx::Close

255
General Discussions / Re: sb buoy plot
« on: April 10, 2014, 09:40:47 AM »
My guess is the version of SDL 1.2 in the RPM is not compatible with Debian.

I have attached my Ubuntu 64 bit version of the GFX extension module, libSDL_gfx.so and libSDL.so for you to try.


Pages: 1 ... 15 16 [17] 18 19 ... 59