[Gambas-user] Compiling Gamabas2 (1.9.44) in SuSE 10.0

Christopher Brian Jack brian at ...1334...
Tue Oct 10 02:05:12 CEST 2006


Here's my SDL files:

cowboy at ...56...:~> find /usr/include/ -name "SDL*" 2>/dev/null
/usr/include/SDL
/usr/include/SDL/SDL_mouse.h
/usr/include/SDL/SDL_syswm.h
/usr/include/SDL/SDL_version.h
/usr/include/SDL/SDL.h
/usr/include/SDL/SDL_net.h
/usr/include/SDL/SDL_mutex.h
/usr/include/SDL/SDL_gfxPrimitives.h
/usr/include/SDL/SDL_ttf.h
/usr/include/SDL/SDL_cpuinfo.h
/usr/include/SDL/SDL_types.h
/usr/include/SDL/SDL_framerate.h
/usr/include/SDL/SDL_video.h
/usr/include/SDL/SDL_main.h
/usr/include/SDL/SDL_name.h
/usr/include/SDL/SDL_gfxPrimitives_font.h
/usr/include/SDL/SDL_rotozoom.h
/usr/include/SDL/SDL_imageFilter.h
/usr/include/SDL/SDL_endian.h
/usr/include/SDL/SDL_quit.h
/usr/include/SDL/SDL_audio.h
/usr/include/SDL/SDL_image.h
/usr/include/SDL/SDL_getenv.h
/usr/include/SDL/SDL_cdrom.h
/usr/include/SDL/SDL_events.h
/usr/include/SDL/SDL_active.h
/usr/include/SDL/SDL_byteorder.h
/usr/include/SDL/SDL_loadso.h
/usr/include/SDL/SDL_opengl.h
/usr/include/SDL/SDL_thread.h
/usr/include/SDL/SDL_joystick.h
/usr/include/SDL/SDL_keyboard.h
/usr/include/SDL/SDL_rwops.h
/usr/include/SDL/SDL_keysym.h
/usr/include/SDL/SDL_error.h
/usr/include/SDL/SDL_copying.h
/usr/include/SDL/SDL_mixer.h
/usr/include/SDL/SDL_timer.h
/usr/include/SDLmm
cowboy at ...56...:~> sdl-config --prefix
/usr
cowboy at ...56...:~>

The configure script for 1.9.44 is indicating the sdl compnent will not be
built.

On Mon, 9 Oct 2006, Benoit Minisini wrote:
> Date: Mon, 9 Oct 2006 19:24:41 +0200
> From: Benoit Minisini <gambas at ...1...>
> Reply-To: mailing list for gambas users
>     <gambas-user at lists.sourceforge.net>
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Subject: Re: [Gambas-user] Compiling Gamabas2 (1.9.44) in SuSE 10.0
>
> On Monday 09 October 2006 19:08, Christopher Brian Jack wrote:
> > I'm having extreme problems getting 1.9.44 to build under SuSE 10.0
> >
> > Seems despite having every delvopment pakage install I cannot get SDL or
> > MySQL support and just three tiers into the configure chain (I'm wondering
> > at this point what else it won't find).
> >
> > I've tried the build about 20 times.  Unless some other soul has gotten
> > the 1.9.44 dev build of gambas to compile and has a binary package I could
> > use I'm ready to give up.
> >
> > Qt/KDE2+ (3.5 preferably), MySQL, all SDL support are necessities for my
> > needs.
> >
> > About to pull out all hair,
> > Brian
> >
> > .=================================================.
> >
> > |  Christopher BRIAN Jack aka "Gau of the Veldt"  |
> >
> > +================================================='
> >
> > | oevna at ...1544...
> >
> > `=================================================-
> > Hi Spambots, my email address is sputnik at ...1334...
> > Hi Humans, my email address uses rot13 cipher
> >
>
> To know what configure looks for, you must read the configure.ac file.
>
> For SDL:
>
> --8<-----------
> GB_COMPONENT(
>   Xcursor,
>   XCURSOR,
>   [Xcursor],
>   [],
>   [GB_FIND(Xcursor.h, /usr /usr/local /usr/X11R6, include/X11/Xcursor)],
>   [GB_FIND(libXcursor.$SHLIBEXT, /usr /usr/local /usr/X11R6, lib lib/X11R6/)],
>   [-lXcursor],
>   [],
>   ["Support for colorized cursors"])
>
> GB_COMPONENT(
>   sdl,
>   SDL,
>   [SDL],
>   [src],
>   [GB_FIND(SDL_opengl.h SDL.h SDL_image.h, `sdl-config --prefix`,
> include/SDL)],
>   [GB_FIND(libSDL_image.$SHLIBEXT , /usr /usr/X11R6 /usr/local
> `sdl-config --prefix`, lib)],
>   [`sdl-config --libs` -lSDL_image -lGL -lGLU],
>   [`sdl-config --cflags`])
>
> GB_COMPONENT(
>   sdl_sound,
>   SDL_SOUND,
>   [SDL sound],
>   [sound],
>   [GB_FIND(SDL_mixer.h SDL_cdrom.h, `sdl-config --prefix`, include/SDL)],
>   [GB_FIND(libSDL_mixer.$SHLIBEXT, /usr /usr/local `sdl-config --prefix`,
> lib)],
>   [`sdl-config --libs` -lSDL_mixer],
>   [`sdl-config --cflags`])
> --8<-----------
>
> GB_FIND(F1 F2 F3, A1 A2 A3, B1 B2 B3) means that the files F1, F2 and F3 must
> be located in all combinations of (A1 A2 A3)*(B1 B2 B3) directories.
>
> So there, libXCursor.so is searched into:
> * /usr/lib
> * /usr/local/lib
> * /usr/X11R6/lib
> * /usr/lib/X11R6
> * /usr/local/lib/X11R6
> * /usr/X11R6/lib/X11R6
>
> For all SDL components, the searched files are:
> * XCursor.h
> * libXCursor.so
> * SDL_opengl.h
> * SDL.h
> * SDL_image.h
> * libSDL_image.so
> * SDL_mixer.h
> * SDL_cdrom.h
> * libSDL_mixer.so
>
> You can see to that the 'sdl-config' program is needed.
>
> For MySQL component:
>
> --8<-----------
> GB_COMPONENT(
>   mysql,
>   MYSQL,
>   [MySQL driver],
>   [src],
>   [GB_FIND(mysql.h my_config.h, /usr/local/lib /usr/local /opt /usr/lib /usr,
> include mysql*/include)],
>   [GB_FIND(libmysqlclient.$SHLIBEXT, /usr/local /opt /usr, lib mysql*/lib)],
>   [$C_LIB -lmysqlclient -lz])
> --8<-----------
>
> The files mysql.h and my_config.h are searched in a bunch of different
> directorys, as well the libmysqlclient.so library.
>
> In a few words, you must check:
>
> 1) That all these files are installed on your system. On Mandriva, I can
> search a package from a file included in it.
>
> 2) That the files are located in a directory specified by the GB_FIND() macro.
> Otherwise, tell me which directory is missing so that I add it in the macro
> call.
>
> Regards,
>
> --
> Benoit Minisini
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

.=================================================.
|  Christopher BRIAN Jack aka "Gau of the Veldt"  |
+================================================='
| oevna at ...1544...
`=================================================-
Hi Spambots, my email address is sputnik at ...1334...
Hi Humans, my email address uses rot13 cipher





More information about the User mailing list