Author Topic: gd.sdl (solved)  (Read 2278 times)

laz

  • Newbie
  • *
  • Posts: 3
gd.sdl (solved)
« on: May 04, 2007, 12:28:46 PM »
Hi. I have had OpenSuse 10.2 installed for about 2 weeks now. I'm still learning how to use it. I have been searching for a good BASIC language for linux about two days now. I have decided Gambas is the best choice from the options I have seen so far. I decided to download it and see what it can do. After downloading it and reading the readme files I discovered it has to be compiled. Being the adventurous type combined with the fact I know the ins-&-outs of windows. I decided to give it a shot to see if I could learn something. After all, I have been programming for windows for a number of years now. I did read the part where the program needed some libs to function correctly. I wasn't sure how to check to see if those where installed or not so I decided to just go for it and see if it gave any kind of error that would alert me to missing files. I followed the instructions in the help file and done ./configure, make and su -c "make install" and it seemed everything was working as it should.
   After the lengthy process, and my wife's description of the "matrix" that was going up the screen I started the program up. To my delight it seemed to work perfectly. I decided to look at and run some of the examples that came with Gambas to verify it was working correctly and check out the code. After running a couple of examples, I tried to run the DeepSpace example. When I opened it I got a window that said, "Some components are missing: gb.sdl". My first guess is one of the things it needed was missing. I do see a reference to "SDL_mixer development packages". I'm suspicious this gb.sdl file may be part of the mixer packages however, I'm not 100% sure. Further, I'm not sure how to correct the problem, or if other problems may arise later down the road; such as networking issues.

My question is two fold:
Is the gd.sdl part of the mixer packages?
How do I correct the problem?

Thanks for any input and advice,
~laz


 
« Last Edit: May 05, 2007, 09:13:50 PM by laz »

Linux Basic

gd.sdl (solved)
« on: May 04, 2007, 12:28:46 PM »

laz

  • Newbie
  • *
  • Posts: 3
Re: gd.sdl
« Reply #1 on: May 05, 2007, 07:45:50 PM »
Well, I'm still at odds with this. I have learned that the Suse version of Gambas is not usable. I have however tried to install all the Gambas sdl stuff using Yast. Even doing that the gb.sdl.list file can not be found when doing "make install". I can't seem to find the answer to this problem anywhere. I can't even find the file for download. I really like what I have seen of Gambas so far. I would really like to try it out, however I feel that it is important that it be properly setup and fully functional before I start to write any code with it.

ANY help would be greatly appreciated!
Thanks
~laz

laz

  • Newbie
  • *
  • Posts: 3
Re: gd.sdl (solved)
« Reply #2 on: May 05, 2007, 09:30:52 PM »
I just found the solution to this problem. The whole problem arose from me being new to linux. I did not know how to check to see if the packages where installed or not. However, in OpenSuse 10.2 you can use Yast2 to check for the packages. Another thing I had done wrong was install the gambas2 package from Suse. This package apparently does not work correctly.

Here is the correct way to install gambas on suse 10.2:

First open Yast2 and do a search on the following:

gambas2
-------------
remove anything that has gambas2 in the name.

X11 development
------------------------
make sure the x11 develpment stuff is checked

qt 3 (make sure it has the space)
----
make sure the qt 3 develpment stuff is checked

kde
-----
make sure anything that has to do with development is checked

postregSQL
-----------------
check anything that has to do with development

mysql
--------
again check anything that has to do with development
Also check to install mysql.

curl
-----
check anything that has to do with develpment

sdl
----
and once again check anything that has to do with deveopment

after you have done all that click the accept button.
This will ensure that all of the packages are installed on your computer.

Next make sure you can write to the /tmp directory.

Now you are ready to do the ./configure make and su -c "make install"

By doing all of this I have managed to setup gambas on my OpenSuse 10.2 distro.

I have put this here for other folks that are having trouble getting it installed on OpenSuse 10.2. Maybe perhaps someday I will not be so ignorant about linux.

This has already been an excellent exercise to learn about the file system and dependencies of packages for manual installs. Now on to learning how to use Gambas!

If I have overlooked something here please let me know!
Thanks
~laz