That looks like a problem with your perl.
http://www.google.ca/search?sourceid=chrome&ie=UTF-8&q=undefined+symbol%3A+Perl_Gthr_key_ptr
... should help. Sorry I am a bit busy right now.

On Mon, Jan 9, 2012 at 4:57 PM, Adrien SAURAT <adrien.sau...@gmail.com>wrote:

>  Doh!
> Switching from Windows to Linux I missed a whole page :P sorry
>
> The install went fine.
> I then added /usr/lib/perl5 to my PERL5LIB but when I try the first little
> sdl perl example I get the following message :
> perl: symbol lookup error: /usr/lib/perl5/auto/SDL_perl/SDL_perl.so:
>
> I try to figure this out and should find something sooner or later but if
> you have a quick answer I'll gladly read it.
>
> Thanks for your help!
> Adrien
>
>
> Le 09/01/2012 22:15, Kartik Thakore a écrit :
>
> Ok well you would need:
>
>  sudo apt-get install build-essential xorg-dev libx11-dev libxv-dev
> libpango1.0-dev libfreetype6-dev libvorbis-dev libpng12-dev libogg-dev
>
>  As mentioned in the pdf link (page 5) I gave you :)
>
>
> On Mon, Jan 9, 2012 at 4:01 PM, Adrien SAURAT <adrien.sau...@gmail.com>wrote:
>
>>  Hi again,
>> maybe you could help, I didn't go very far yet in my programming ;)
>> I switched to Linux (using it at work too), but I can't install the SDL
>> librairies via CPAN.
>>
>> I've got an Ubuntu 11.10 with standard Perl installed,
>> sudo cpan
>> and
>> sudo YAML Module::Build
>> worked well.
>>
>> But the SDL install shows that I'm lacking a lot of librairies, but I
>> don't know how to install them, commands like "sudo cpan pangoft2" or "sudo
>> apt-get install pangoft2" don't seem to help.
>> Is there an easy to find the exact names of these librairies ? And are
>> supposed to be installed with CPAN too, or from another depot ?
>>
>> Thanks, and happy new year to you!
>> Adrien
>>
>> My console result:
>> ===================================================
>> CHECKING prereqs for:
>>     Source code build: SDL-1.2.14 & co. (RECOMMENDED)
>>     builds: SDL, SDL_(image|mixer|ttf|gfx|Pango)
>>     needs preinstalled: (freetype2|pango)-devel
>> WARNING: required lib(-dev) 'pangoft2' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'pango' not found, disabling affected option
>> (no-h)
>> WARNING: required lib(-dev) 'gobject' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'gmodule' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'glib' not found, disabling affected option
>> (no-h+no-lib)
>> WARNING: required lib(-dev) 'fontconfig' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'freetype' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'expat' not found, disabling affected option
>> (no-h+no-lib)
>> CHECKING prereqs for:
>>     Source code build: SDL-1.2.14 & co. (builds only SDL+SDL_*)
>>     builds: SDL, SDL_(image|mixer|ttf|gfx|Pango)
>>     needs preinstalled: all non-SDL libs
>> WARNING: required lib(-dev) 'z' not found, disabling affected option
>> (no-h+no-lib)
>> WARNING: required lib(-dev) 'jpeg' not found, disabling affected option
>> (no-h)
>> WARNING: required lib(-dev) 'tiff' not found, disabling affected option
>> (no-h)
>> WARNING: required lib(-dev) 'png' not found, disabling affected option
>> (no-h+no-lib)
>> WARNING: required lib(-dev) 'pangoft2' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'pango' not found, disabling affected option
>> (no-h)
>> WARNING: required lib(-dev) 'gobject' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'gmodule' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'glib' not found, disabling affected option
>> (no-h+no-lib)
>> WARNING: required lib(-dev) 'fontconfig' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'freetype' not found, disabling affected
>> option (no-h)
>> WARNING: required lib(-dev) 'expat' not found, disabling affected option
>> (no-h+no-lib)
>> CHECKING prereqs for:
>>     Source code build: SDL-1.2.14 & co. (no PANGO, but TTF)
>>     builds: SDL, SDL_(image|mixer|ttf|gfx)
>>     needs preinstalled: freetype2-devel
>> WARNING: required lib(-dev) 'freetype' not found, disabling affected
>> option (no-h)
>> ===================================================
>>
>>
>>
>> Le 14/09/2011 16:07, My a écrit :
>>
>> Where did you see this link? I can update it. In the meantime here is a
>> copy:
>>
>>  https://raw.github.com/PerlGameDev/SDL_Manual/master/dist/SDL_Manual.pdf
>>
>> Kartik Thakore
>>
>> On 2011-09-14, at 5:33 AM, Adrien SAURAT <adrien.sau...@gmail.com> wrote:
>>
>>  Hi !!
>> I'm totally new to Perl (and using it on Windows, which doesn't help...),
>> and would like to create a little game with it !
>> I was looking for the "SDL_manual.pdf" but the link seems broken.
>> http://sdlperl.ath.cx/releases/SDL_Manual.pdf
>>
>>  I didn't find a lot of ressources about Perl game programming but if
>> you know a few ones, I'd be very interested :-)
>>
>>  Thanks !
>> Adrien
>>
>>
>

Reply via email to