[Gambas-user] openSuse11 and libSDL.la

Demosthenes Koptsis demosthenesk at ...626...
Wed Dec 3 12:00:16 CET 2008


Thanks Benoit!

On 12/3/08, Demosthenes Koptsis <demosthenesk at ...626...> wrote:
> There is no SDL_mixer.la but /usr/lib/libSDL_mixer.la
>
> Ok these are the contents of it::
>
> # libSDL_mixer.la - a libtool library file
> # Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18
> 22:14:06)
> #
> # Please DO NOT delete this file!
> # It is necessary for linking the library.
>
> # The name that we can dlopen(3).
> dlname='libSDL_mixer-1.2.so.0'
>
> # Names of this library.
> library_names='libSDL_mixer-1.2.so.0.2.6 libSDL_mixer-1.2.so.0
> libSDL_mixer.so'
>
> # The name of the static archive.
> old_library='libSDL_mixer.a'
>
> # Libraries that this one depends upon.
> dependency_libs=' -L/usr/local/lib /usr/local/lib/libSDL.la -lm -ldl
> -lpthread'
>
> # Version information for libSDL_mixer.
> current=2
> age=2
> revision=6
>
> # Is this an already installed library?
> installed=yes
>
> # Should we warn about portability when linking against -modules?
> shouldnotlink=no
>
> # Files to dlopen/dlpreopen
> dlopen=''
> dlpreopen=''
>
> # Directory that this library needs to be installed in:
> libdir='/usr/lib'
>
> i chenged the path from /usr/local/lib to /usr/lib
>
> and now the problem is solved.
> i can run "make" and "make install" with no error!
>
>
> On 12/3/08, Benoit Minisini <gambas at ...1...> wrote:
>> On mercredi 3 décembre 2008, Demosthenes Koptsis wrote:
>>> I try to install gambas2-2.9.0 in openSuse11.0 and i get an error in
>>> make procedure
>>>
>>> There is a problem with location of libSDL.la file
>>>
>>> grep: /usr/local/lib/libSDL.la: No such file or directory
>>> /usr/bin/sed: can't read /usr/local/lib/libSDL.la: No such file or
>>> directory libtool: link: `/usr/local/lib/libSDL.la' is not a valid
>>> libtool
>>> archive make[4]: *** [gb.sdl.sound.la] Error 1
>>> make[4]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/gb.sdl.sound
>>>/src' make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/gb.sdl.sound
>>>' make[2]: *** [all] Error 2
>>> make[2]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/gb.sdl.sound
>>>' make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0'
>>> make: *** [all] Error 2
>>> Making install in main
>>> make[1]: Entering directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main'
>>> Making install in libltdl
>>> make[2]: Entering directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/libltdl
>>>' make[3]: Entering directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/libltdl
>>>' test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
>>> test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
>>> make[3]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/libltdl
>>>' make[2]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/libltdl
>>>' Making install in gbx
>>> make[2]: Entering directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/gbx'
>>> make[3]: Entering directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/gbx'
>>> test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
>>>   /bin/sh ../libtool   --mode=install /usr/bin/install -c 'gbx2'
>>> '/usr/local/bin/gbx2'
>>> /usr/bin/install -c gbx2 /usr/local/bin/gbx2
>>> /usr/bin/install: cannot remove `/usr/local/bin/gbx2': Permission denied
>>> make[3]: *** [install-binPROGRAMS] Error 1
>>> make[3]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/gbx'
>>> make[2]: *** [install-am] Error 2
>>> make[2]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main/gbx'
>>> make[1]: *** [install-recursive] Error 1
>>> make[1]: Leaving directory
>>> `/home/user/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.9.0/main'
>>> make: *** [install-recursive] Error 1
>>>
>>>
>>>
>>> 1) The file libSDL.la is in /usr/lib and not in /usr/local/lib.
>>>
>>> 2) i run the command ( ./configure; make; make install ) > output.txt
>>> 2>&1 as user
>>> 3) configure disables these components
>>> ************************************************************
>>>
>>> THESE COMPONENTS ARE DISABLED:
>>>
>>> - gb.corba
>>> - gb.db.firebird
>>> - gb.qte
>>>
>>> ************************************************************
>>>
>>>
>>> 4) i attach the output.txt.
>>>
>>> i dont know what other info to provide, tell me what you need to mention.
>>
>> Maybe there is a problem in the SDL_mixer.la file. Can you find this file
>> and
>> send me its contents?
>>
>> --
>> Benoit Minisini
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
> --
>
> Γεια χαρα σε όλους!!!
>
> Regards,
>
> Demosthenes Koptsis
>


-- 

Γεια χαρα σε όλους!!!

Regards,

Demosthenes Koptsis


More information about the User mailing list