Problem with SDL::Perl
am 06.06.2011 18:26:57 von Adam Fairbrother
Hi I'm having a bit of trouble getting a SDL::Perl running on a debian Lenny setup.
I have SDL::Perl installed from CPAN.
Alien::SDL installed from cpan with the option to build all dependencies and library's.
When I was testing to get things working, my short test script would throw an error. The script and the error are below.
I have libjpeg.so.8 built in the Alien SDL directory, but my guess is that SDL isn't correctly configured to pick up that library folder. I don't want to mess up the system SDL install incase something goes wrong, and I can't install libjpeg.so.8 from packages on Lenny, as there is no package for it.
How do I have SDL recognize the library's provided by SDL::Alien, or what am I doing wrong?
Thanks,
Here is my script:
#!/usr/bin/perl
use 5.010;
use strict;
use warnings;
use SDLx::App;
use SDLx::Sprite;
my $app = SDLx::App->new(height=>1024,width=>768);
my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
$sprite->draw($app);
Here is the Error
error loading image pic.jpg: Failed loading libjpeg.so.8: libjpeg.so.8: cannot open shared object file: No such file or directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg') called at ./slideshow.pl line 14
#------------------------------------------------------
Adam Fairbrother
Help Desk Technician
afairbrother@sd73.bc.ca
School District #73
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 13.06.2011 18:41:05 von Adam Fairbrother
Hi,
It's been a week since I asked about this and No one has responded, Did I ask incorrectly or in the wrong mailing list?
Any help that could be provided would be appreciated.
Thanks,
#------------------------------------------------------
Adam Fairbrother
Help Desk Technician
afairbrother@sd73.bc.ca
School District #73
----- "Adam Fairbrother" wrote:
> Hi I'm having a bit of trouble getting a SDL::Perl running on a debian
> Lenny setup.
>
> I have SDL::Perl installed from CPAN.
> Alien::SDL installed from cpan with the option to build all
> dependencies and library's.
>
> When I was testing to get things working, my short test script would
> throw an error. The script and the error are below.
>
> I have libjpeg.so.8 built in the Alien SDL directory, but my guess is
> that SDL isn't correctly configured to pick up that library folder. I
> don't want to mess up the system SDL install incase something goes
> wrong, and I can't install libjpeg.so.8 from packages on Lenny, as
> there is no package for it.
>
> How do I have SDL recognize the library's provided by SDL::Alien, or
> what am I doing wrong?
>
> Thanks,
>
>
> Here is my script:
>
> #!/usr/bin/perl
> use 5.010;
> use strict;
> use warnings;
> use SDLx::App;
> use SDLx::Sprite;
>
> my $app = SDLx::App->new(height=>1024,width=>768);
>
> my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> $sprite->draw($app);
>
> Here is the Error
>
> error loading image pic.jpg: Failed loading libjpeg.so.8:
> libjpeg.so.8: cannot open shared object file: No such file or
> directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
> SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
> /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg') called
> at ./slideshow.pl line 14
>
>
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician
> afairbrother@sd73.bc.ca
> School District #73
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 13.06.2011 23:54:26 von Sayth Renshaw
On Tue, Jun 14, 2011 at 2:41 AM, Adam Fairbrother
wrote:
> Hi,
>
> It's been a week since I asked about this and No one has responded, =A0Di=
d I ask incorrectly or in the wrong mailing list?
>
> Any help that could be provided would be appreciated.
>
> Thanks,
>
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician
> afairbrother@sd73.bc.ca
> School District #73
>
> ----- "Adam Fairbrother" wrote:
>
>> Hi I'm having a bit of trouble getting a SDL::Perl running on a debian
>> Lenny setup.
>>
>> I have SDL::Perl installed from CPAN.
>> Alien::SDL installed from cpan with the option to build all
>> dependencies and library's.
>>
>> When I was testing to get things working, my short test script would
>> throw an error. =A0The script and the error are below.
>>
>> I have libjpeg.so.8 built in the Alien SDL directory, but my guess is
>> that SDL isn't correctly configured to pick up that library folder. =A0I
>> don't want to mess up the system SDL install incase something goes
>> wrong, and I can't install libjpeg.so.8 from packages on Lenny, as
>> there is no package for it.
>>
>> How do I have SDL recognize the library's provided by SDL::Alien, or
>> what am I doing wrong?
>>
>> Thanks,
>>
>>
>> Here is my script:
>>
>> #!/usr/bin/perl
>> use 5.010;
>> use strict;
>> use warnings;
>> use SDLx::App;
>> use SDLx::Sprite;
>>
>> my $app =3D SDLx::App->new(height=3D>1024,width=3D>768);
>>
>> my $sprite =3D SDLx::Sprite->new(image=3D>'pic.jpg');
>> $sprite->draw($app);
>>
>> Here is the Error
>>
>> error loading image pic.jpg: Failed loading libjpeg.so.8:
>> libjpeg.so.8: cannot open shared object file: No such file or
>> directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
>> =A0 =A0 =A0 =A0 SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called a=
t
>> /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
>> =A0 =A0 =A0 =A0 SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg') ca=
lled
>> at ./slideshow.pl line 14
>>
>>
>> #------------------------------------------------------
>> Adam Fairbrother
>> Help Desk Technician
>> afairbrother@sd73.bc.ca
>> School District #73
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
>> For additional commands, e-mail: beginners-help@perl.org
>> http://learn.perl.org/
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>
It seemed to me that you need to give a path to "pic".
my $sprite =3D SDLx::Sprite->new(image=3D>'C:/OMG.jpg'); for example.
Sayth
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 14.06.2011 16:53:12 von Kartik Thakore
> Hi,
H Adam,
>
> It's been a week since I asked about this and No one has responded, Did I ask incorrectly or in the wrong mailing list?
>
Apologies for that I normally don't see this mailing list. sdl-devel@perl.org is a better list for these things.
> Any help that could be provided would be appreciated.
Absolutely, it seems that your Alien::SDL install had a bit of a hiccup. Can you paste your
build text?
$ cpan
=> fforce install Alien::SDL SDL
> Thanks,
>
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician
> afairbrother@sd73.bc.ca
> School District #73
> ----- "Adam Fairbrother" wrote:
> > Hi I'm having a bit of trouble getting a SDL::Perl running on a debian
> > Lenny setup.
> >
> > I have SDL::Perl installed from CPAN.
> > Alien::SDL installed from cpan with the option to build all
> > dependencies and library's.
> >
> > When I was testing to get things working, my short test script would
> > throw an error. The script and the error are below.
> >
> > I have libjpeg.so.8 built in the Alien SDL directory, but my guess is
> > that SDL isn't correctly configured to pick up that library folder. I
> > don't want to mess up the system SDL install incase something goes
> > wrong, and I can't install libjpeg.so.8 from packages on Lenny, as
> > there is no package for it.
> >
> > How do I have SDL recognize the library's provided by SDL::Alien, or
> > what am I doing wrong?
> >
> > Thanks,
> >
> >
> > Here is my script:
> >
> > #!/usr/bin/perl
> > use 5.010;
> > use strict;
> > use warnings;
> > use SDLx::App;
> > use SDLx::Sprite;
> >
> > my $app = SDLx::App->new(height=>1024,width=>768);
> >
> > my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> > $sprite->draw($app);
> >
> >Here is the Error
> >
> > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > libjpeg.so.8: cannot open shared object file: No such file or
> > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
> > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
> > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg') called
> > at ./slideshow.pl line 14
> >
> >
> > #------------------------------------------------------
> > Adam Fairbrother
> > Help Desk Technician
> > afairbrother@sd73.bc.ca
> > School District #73
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
--
Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 14.06.2011 18:47:37 von Adam Fairbrother
My bad, I guess I glossed by the sdl-devel@perl.org list when I was looking through.
Here is a link to a file that contains the stdout from "fforce install Alien::SDL SDL" inside the cpan shell. If it's not the information you were looking for let me know and I can provide the correct info.
http://dl.dropbox.com/u/949632/build.text
#------------------------------------------------------
Adam Fairbrother
Help Desk Technician
afairbrother@sd73.bc.ca
School District #73
----- "Kartik Thakore" wrote:
> > Hi,
> H Adam,
> >
> > It's been a week since I asked about this and No one has responded,
> Did I ask incorrectly or in the wrong mailing list?
> >
> Apologies for that I normally don't see this mailing list.
> sdl-devel@perl.org is a better list for these things.
> > Any help that could be provided would be appreciated.
>
> Absolutely, it seems that your Alien::SDL install had a bit of a
> hiccup. Can you paste your
> build text?
>
> $ cpan
> => fforce install Alien::SDL SDL
>
>
> > Thanks,
> >
> > #------------------------------------------------------
> > Adam Fairbrother
> > Help Desk Technician
> > afairbrother@sd73.bc.ca
> > School District #73
>
> > ----- "Adam Fairbrother" wrote:
>
> > > Hi I'm having a bit of trouble getting a SDL::Perl running on a
> debian
> > > Lenny setup.
> > >
> > > I have SDL::Perl installed from CPAN.
> > > Alien::SDL installed from cpan with the option to build all
> > > dependencies and library's.
> > >
> > > When I was testing to get things working, my short test script
> would
> > > throw an error. The script and the error are below.
> > >
> > > I have libjpeg.so.8 built in the Alien SDL directory, but my guess
> is
> > > that SDL isn't correctly configured to pick up that library
> folder. I
> > > don't want to mess up the system SDL install incase something
> goes
> > > wrong, and I can't install libjpeg.so.8 from packages on Lenny,
> as
> > > there is no package for it.
> > >
> > > How do I have SDL recognize the library's provided by SDL::Alien,
> or
> > > what am I doing wrong?
> > >
> > > Thanks,
> > >
> > >
> > > Here is my script:
> > >
> > > #!/usr/bin/perl
> > > use 5.010;
> > > use strict;
> > > use warnings;
> > > use SDLx::App;
> > > use SDLx::Sprite;
> > >
> > > my $app = SDLx::App->new(height=>1024,width=>768);
> > >
> > > my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> > > $sprite->draw($app);
> > >
> > >Here is the Error
> > >
> > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > libjpeg.so.8: cannot open shared object file: No such file or
> > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
> > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
> > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> called
> > > at ./slideshow.pl line 14
> > >
> > >
> > > #------------------------------------------------------
> > > Adam Fairbrother
> > > Help Desk Technician
> > > afairbrother@sd73.bc.ca
> > > School District #73
> >
> > --
> > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > For additional commands, e-mail: beginners-help@perl.org
> > http://learn.perl.org/
> --
> Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 14.06.2011 22:19:12 von Kartik Thakore
Hmm that is all fine. Can I see your LD_LIBRARY_PATH?
echo $LD_LIBRARY_PATH
Are you still getting the problem btw cause the tests run fine.
On Tue, 2011-06-14 at 09:47 -0700, Adam Fairbrother wrote:
> My bad, I guess I glossed by the sdl-devel@perl.org list when I was looking through.
>
> Here is a link to a file that contains the stdout from "fforce install Alien::SDL SDL" inside the cpan shell. If it's not the information you were looking for let me know and I can provide the correct info.
>
> http://dl.dropbox.com/u/949632/build.text
>
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician
> afairbrother@sd73.bc.ca
> School District #73
>
> ----- "Kartik Thakore" wrote:
>
> > > Hi,
> > H Adam,
> > >
> > > It's been a week since I asked about this and No one has responded,
> > Did I ask incorrectly or in the wrong mailing list?
> > >
> > Apologies for that I normally don't see this mailing list.
> > sdl-devel@perl.org is a better list for these things.
> > > Any help that could be provided would be appreciated.
> >
> > Absolutely, it seems that your Alien::SDL install had a bit of a
> > hiccup. Can you paste your
> > build text?
> >
> > $ cpan
> > => fforce install Alien::SDL SDL
> >
> >
> > > Thanks,
> > >
> > > #------------------------------------------------------
> > > Adam Fairbrother
> > > Help Desk Technician
> > > afairbrother@sd73.bc.ca
> > > School District #73
> >
> > > ----- "Adam Fairbrother" wrote:
> >
> > > > Hi I'm having a bit of trouble getting a SDL::Perl running on a
> > debian
> > > > Lenny setup.
> > > >
> > > > I have SDL::Perl installed from CPAN.
> > > > Alien::SDL installed from cpan with the option to build all
> > > > dependencies and library's.
> > > >
> > > > When I was testing to get things working, my short test script
> > would
> > > > throw an error. The script and the error are below.
> > > >
> > > > I have libjpeg.so.8 built in the Alien SDL directory, but my guess
> > is
> > > > that SDL isn't correctly configured to pick up that library
> > folder. I
> > > > don't want to mess up the system SDL install incase something
> > goes
> > > > wrong, and I can't install libjpeg.so.8 from packages on Lenny,
> > as
> > > > there is no package for it.
> > > >
> > > > How do I have SDL recognize the library's provided by SDL::Alien,
> > or
> > > > what am I doing wrong?
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Here is my script:
> > > >
> > > > #!/usr/bin/perl
> > > > use 5.010;
> > > > use strict;
> > > > use warnings;
> > > > use SDLx::App;
> > > > use SDLx::Sprite;
> > > >
> > > > my $app = SDLx::App->new(height=>1024,width=>768);
> > > >
> > > > my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> > > > $sprite->draw($app);
> > > >
> > > >Here is the Error
> > > >
> > > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > > libjpeg.so.8: cannot open shared object file: No such file or
> > > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
> > > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
> > > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> > called
> > > > at ./slideshow.pl line 14
> > > >
> > > >
> > > > #------------------------------------------------------
> > > > Adam Fairbrother
> > > > Help Desk Technician
> > > > afairbrother@sd73.bc.ca
> > > > School District #73
> > >
> > > --
> > > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > > For additional commands, e-mail: beginners-help@perl.org
> > > http://learn.perl.org/
> > --
> > Kartik Thakore
--
Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 14.06.2011 22:54:27 von Adam Fairbrother
$LD_LIBRARY_PATH was unset. I set it manually to the SDL Libs folder, and the error no longer happens. My test picture dosn't show up, but I think that's an issue I can hack through myself.
Thanks you for all the help with this.
#------------------------------------------------------
Adam Fairbrother
Help Desk Technician
afairbrother@sd73.bc.ca
School District #73
----- "Kartik Thakore" wrote:
> Hmm that is all fine. Can I see your LD_LIBRARY_PATH?
>
> echo $LD_LIBRARY_PATH
>
> Are you still getting the problem btw cause the tests run fine.
>
> On Tue, 2011-06-14 at 09:47 -0700, Adam Fairbrother wrote:
> > My bad, I guess I glossed by the sdl-devel@perl.org list when I was
> looking through.
> >
> > Here is a link to a file that contains the stdout from "fforce
> install Alien::SDL SDL" inside the cpan shell. If it's not the
> information you were looking for let me know and I can provide the
> correct info.
> >
> > http://dl.dropbox.com/u/949632/build.text
> >
> > #------------------------------------------------------
> > Adam Fairbrother
> > Help Desk Technician
> > afairbrother@sd73.bc.ca
> > School District #73
> >
> > ----- "Kartik Thakore" wrote:
> >
> > > > Hi,
> > > H Adam,
> > > >
> > > > It's been a week since I asked about this and No one has
> responded,
> > > Did I ask incorrectly or in the wrong mailing list?
> > > >
> > > Apologies for that I normally don't see this mailing list.
> > > sdl-devel@perl.org is a better list for these things.
> > > > Any help that could be provided would be appreciated.
> > >
> > > Absolutely, it seems that your Alien::SDL install had a bit of a
> > > hiccup. Can you paste your
> > > build text?
> > >
> > > $ cpan
> > > => fforce install Alien::SDL SDL
> > >
> > >
> > > > Thanks,
> > > >
> > > > #------------------------------------------------------
> > > > Adam Fairbrother
> > > > Help Desk Technician
> > > > afairbrother@sd73.bc.ca
> > > > School District #73
> > >
> > > > ----- "Adam Fairbrother" wrote:
> > >
> > > > > Hi I'm having a bit of trouble getting a SDL::Perl running on
> a
> > > debian
> > > > > Lenny setup.
> > > > >
> > > > > I have SDL::Perl installed from CPAN.
> > > > > Alien::SDL installed from cpan with the option to build all
> > > > > dependencies and library's.
> > > > >
> > > > > When I was testing to get things working, my short test
> script
> > > would
> > > > > throw an error. The script and the error are below.
> > > > >
> > > > > I have libjpeg.so.8 built in the Alien SDL directory, but my
> guess
> > > is
> > > > > that SDL isn't correctly configured to pick up that library
> > > folder. I
> > > > > don't want to mess up the system SDL install incase something
> > > goes
> > > > > wrong, and I can't install libjpeg.so.8 from packages on
> Lenny,
> > > as
> > > > > there is no package for it.
> > > > >
> > > > > How do I have SDL recognize the library's provided by
> SDL::Alien,
> > > or
> > > > > what am I doing wrong?
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Here is my script:
> > > > >
> > > > > #!/usr/bin/perl
> > > > > use 5.010;
> > > > > use strict;
> > > > > use warnings;
> > > > > use SDLx::App;
> > > > > use SDLx::Sprite;
> > > > >
> > > > > my $app = SDLx::App->new(height=>1024,width=>768);
> > > > >
> > > > > my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> > > > > $sprite->draw($app);
> > > > >
> > > > >Here is the Error
> > > > >
> > > > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > > > libjpeg.so.8: cannot open shared object file: No such file or
> > > > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line
> 188
> > > > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called
> at
> > > > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> > > called
> > > > > at ./slideshow.pl line 14
> > > > >
> > > > >
> > > > > #------------------------------------------------------
> > > > > Adam Fairbrother
> > > > > Help Desk Technician
> > > > > afairbrother@sd73.bc.ca
> > > > > School District #73
> > > >
> > > > --
> > > > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > > > For additional commands, e-mail: beginners-help@perl.org
> > > > http://learn.perl.org/
> > > --
> > > Kartik Thakore
>
> --
> Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
AW: Problem with SDL::Perl
am 14.06.2011 22:56:26 von Tobias Leich
Its not looking good imo.
See, its just installing libjpeg.la, not libjpeg.so.8 ...
-----Ursprüngliche Nachricht-----
Von: Kartik Thakore [mailto:thakore.kartik@gmail.com]=20
Gesendet: Dienstag, 14. Juni 2011 22:19
An: Adam Fairbrother
Cc: beginners@perl.org; sdl-devel
Betreff: Re: Problem with SDL::Perl
Hmm that is all fine. Can I see your LD_LIBRARY_PATH?
echo $LD_LIBRARY_PATH=20
Are you still getting the problem btw cause the tests run fine.=20
On Tue, 2011-06-14 at 09:47 -0700, Adam Fairbrother wrote:
> My bad, I guess I glossed by the sdl-devel@perl.org list when I was =
looking through.
>=20
> Here is a link to a file that contains the stdout from "fforce install =
Alien::SDL SDL" inside the cpan shell. If it's not the information you =
were looking for let me know and I can provide the correct info.
>=20
> http://dl.dropbox.com/u/949632/build.text
>=20
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician =20
> afairbrother@sd73.bc.ca =20
> School District #73
>=20
> ----- "Kartik Thakore" wrote:
>=20
> > > Hi,
> > H Adam,
> > >
> > > It's been a week since I asked about this and No one has =
responded,=20
> > Did I ask incorrectly or in the wrong mailing list?
> > >
> > Apologies for that I normally don't see this mailing list.
> > sdl-devel@perl.org is a better list for these things.
> > > Any help that could be provided would be appreciated.=20
> >=20
> > Absolutely, it seems that your Alien::SDL install had a bit of a
> > hiccup. Can you paste your
> > build text?=20
> >=20
> > $ cpan=20
> > =3D> fforce install Alien::SDL SDL
> >=20
> >=20
> > > Thanks,
> > >=20
> > > #------------------------------------------------------
> > > Adam Fairbrother
> > > Help Desk Technician =20
> > > afairbrother@sd73.bc.ca =20
> > > School District #73
> >=20
> > > ----- "Adam Fairbrother" wrote:
> >=20
> > > > Hi I'm having a bit of trouble getting a SDL::Perl running on a
> > debian
> > > > Lenny setup.
> > > >=20
> > > > I have SDL::Perl installed from CPAN.
> > > > Alien::SDL installed from cpan with the option to build all
> > > > dependencies and library's.
> > > >
> > > > When I was testing to get things working, my short test script
> > would
> > > > throw an error. The script and the error are below.
> > > >=20
> > > > I have libjpeg.so.8 built in the Alien SDL directory, but my =
guess
> > is
> > > > that SDL isn't correctly configured to pick up that library
> > folder. I
> > > > don't want to mess up the system SDL install incase something
> > goes
> > > > wrong, and I can't install libjpeg.so.8 from packages on Lenny,
> > as
> > > > there is no package for it.
> > > >
> > > > How do I have SDL recognize the library's provided by =
SDL::Alien,
> > or
> > > > what am I doing wrong?=20
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Here is my script:
> > > >
> > > > #!/usr/bin/perl=20
> > > > use 5.010;
> > > > use strict;
> > > > use warnings;
> > > > use SDLx::App;
> > > > use SDLx::Sprite;
> > > >
> > > > my $app =3D SDLx::App->new(height=3D>1024,width=3D>768);
> > > >=20
> > > > my $sprite =3D SDLx::Sprite->new(image=3D>'pic.jpg');
> > > > $sprite->draw($app);
> > > >
> > > >Here is the Error
> > > >
> > > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > > libjpeg.so.8: cannot open shared object file: No such file or
> > > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
> > > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
> > > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> > called
> > > > at ./slideshow.pl line 14
> > > >=20
> > > >
> > > > #------------------------------------------------------
> > > > Adam Fairbrother
> > > > Help Desk Technician =20
> > > > afairbrother@sd73.bc.ca =20
> > > > School District #73
> > >=20
> > > --=20
> > > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > > For additional commands, e-mail: beginners-help@perl.org
> > > http://learn.perl.org/
> > --=20
> > Kartik Thakore
--=20
Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: AW: Problem with SDL::Perl
am 14.06.2011 23:07:51 von Kartik Thakore
Oh yeah you are right. Why is that happening?
On Tue, 2011-06-14 at 22:56 +0200, Tobias Leich wrote:
> Its not looking good imo.
>=20
> See, its just installing libjpeg.la, not libjpeg.so.8 ...
>=20
> -----Ursprüngliche Nachricht-----
> Von: Kartik Thakore [mailto:thakore.kartik@gmail.com]=20
> Gesendet: Dienstag, 14. Juni 2011 22:19
> An: Adam Fairbrother
> Cc: beginners@perl.org; sdl-devel
> Betreff: Re: Problem with SDL::Perl
>=20
> Hmm that is all fine. Can I see your LD_LIBRARY_PATH?
>=20
> echo $LD_LIBRARY_PATH=20
>=20
> Are you still getting the problem btw cause the tests run fine.=20
>=20
> On Tue, 2011-06-14 at 09:47 -0700, Adam Fairbrother wrote:
> > My bad, I guess I glossed by the sdl-devel@perl.org list when I was l=
ooking through.
> >=20
> > Here is a link to a file that contains the stdout from "fforce instal=
l Alien::SDL SDL" inside the cpan shell. If it's not the information you=
were looking for let me know and I can provide the correct info.
> >=20
> > http://dl.dropbox.com/u/949632/build.text
> >=20
> > #------------------------------------------------------
> > Adam Fairbrother
> > Help Desk Technician =20
> > afairbrother@sd73.bc.ca =20
> > School District #73
> >=20
> > ----- "Kartik Thakore" wrote:
> >=20
> > > > Hi,
> > > H Adam,
> > > >
> > > > It's been a week since I asked about this and No one has responde=
d,=20
> > > Did I ask incorrectly or in the wrong mailing list?
> > > >
> > > Apologies for that I normally don't see this mailing list.
> > > sdl-devel@perl.org is a better list for these things.
> > > > Any help that could be provided would be appreciated.=20
> > >=20
> > > Absolutely, it seems that your Alien::SDL install had a bit of a
> > > hiccup. Can you paste your
> > > build text?=20
> > >=20
> > > $ cpan=20
> > > =3D> fforce install Alien::SDL SDL
> > >=20
> > >=20
> > > > Thanks,
> > > >=20
> > > > #------------------------------------------------------
> > > > Adam Fairbrother
> > > > Help Desk Technician =20
> > > > afairbrother@sd73.bc.ca =20
> > > > School District #73
> > >=20
> > > > ----- "Adam Fairbrother" wrote:
> > >=20
> > > > > Hi I'm having a bit of trouble getting a SDL::Perl running on a
> > > debian
> > > > > Lenny setup.
> > > > >=20
> > > > > I have SDL::Perl installed from CPAN.
> > > > > Alien::SDL installed from cpan with the option to build all
> > > > > dependencies and library's.
> > > > >
> > > > > When I was testing to get things working, my short test script
> > > would
> > > > > throw an error. The script and the error are below.
> > > > >=20
> > > > > I have libjpeg.so.8 built in the Alien SDL directory, but my gu=
ess
> > > is
> > > > > that SDL isn't correctly configured to pick up that library
> > > folder. I
> > > > > don't want to mess up the system SDL install incase something
> > > goes
> > > > > wrong, and I can't install libjpeg.so.8 from packages on Lenny,
> > > as
> > > > > there is no package for it.
> > > > >
> > > > > How do I have SDL recognize the library's provided by SDL::Alie=
n,
> > > or
> > > > > what am I doing wrong?=20
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Here is my script:
> > > > >
> > > > > #!/usr/bin/perl=20
> > > > > use 5.010;
> > > > > use strict;
> > > > > use warnings;
> > > > > use SDLx::App;
> > > > > use SDLx::Sprite;
> > > > >
> > > > > my $app =3D SDLx::App->new(height=3D>1024,width=3D>768);
> > > > >=20
> > > > > my $sprite =3D SDLx::Sprite->new(image=3D>'pic.jpg');
> > > > > $sprite->draw($app);
> > > > >
> > > > >Here is the Error
> > > > >
> > > > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > > > libjpeg.so.8: cannot open shared object file: No such file or
> > > > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 18=
8
> > > > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called a=
t
> > > > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> > > called
> > > > > at ./slideshow.pl line 14
> > > > >=20
> > > > >
> > > > > #------------------------------------------------------
> > > > > Adam Fairbrother
> > > > > Help Desk Technician =20
> > > > > afairbrother@sd73.bc.ca =20
> > > > > School District #73
> > > >=20
> > > > --=20
> > > > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > > > For additional commands, e-mail: beginners-help@perl.org
> > > > http://learn.perl.org/
> > > --=20
> > > Kartik Thakore
>=20
--=20
Kartik Thakore
--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: Problem with SDL::Perl
am 14.06.2011 23:08:40 von Kartik Thakore
Adam what distro are you on?
On Tue, 2011-06-14 at 13:54 -0700, Adam Fairbrother wrote:
> $LD_LIBRARY_PATH was unset. I set it manually to the SDL Libs folder, and the error no longer happens. My test picture dosn't show up, but I think that's an issue I can hack through myself.
>
> Thanks you for all the help with this.
>
> #------------------------------------------------------
> Adam Fairbrother
> Help Desk Technician
> afairbrother@sd73.bc.ca
> School District #73
>
> ----- "Kartik Thakore" wrote:
>
> > Hmm that is all fine. Can I see your LD_LIBRARY_PATH?
> >
> > echo $LD_LIBRARY_PATH
> >
> > Are you still getting the problem btw cause the tests run fine.
> >
> > On Tue, 2011-06-14 at 09:47 -0700, Adam Fairbrother wrote:
> > > My bad, I guess I glossed by the sdl-devel@perl.org list when I was
> > looking through.
> > >
> > > Here is a link to a file that contains the stdout from "fforce
> > install Alien::SDL SDL" inside the cpan shell. If it's not the
> > information you were looking for let me know and I can provide the
> > correct info.
> > >
> > > http://dl.dropbox.com/u/949632/build.text
> > >
> > > #------------------------------------------------------
> > > Adam Fairbrother
> > > Help Desk Technician
> > > afairbrother@sd73.bc.ca
> > > School District #73
> > >
> > > ----- "Kartik Thakore" wrote:
> > >
> > > > > Hi,
> > > > H Adam,
> > > > >
> > > > > It's been a week since I asked about this and No one has
> > responded,
> > > > Did I ask incorrectly or in the wrong mailing list?
> > > > >
> > > > Apologies for that I normally don't see this mailing list.
> > > > sdl-devel@perl.org is a better list for these things.
> > > > > Any help that could be provided would be appreciated.
> > > >
> > > > Absolutely, it seems that your Alien::SDL install had a bit of a
> > > > hiccup. Can you paste your
> > > > build text?
> > > >
> > > > $ cpan
> > > > => fforce install Alien::SDL SDL
> > > >
> > > >
> > > > > Thanks,
> > > > >
> > > > > #------------------------------------------------------
> > > > > Adam Fairbrother
> > > > > Help Desk Technician
> > > > > afairbrother@sd73.bc.ca
> > > > > School District #73
> > > >
> > > > > ----- "Adam Fairbrother" wrote:
> > > >
> > > > > > Hi I'm having a bit of trouble getting a SDL::Perl running on
> > a
> > > > debian
> > > > > > Lenny setup.
> > > > > >
> > > > > > I have SDL::Perl installed from CPAN.
> > > > > > Alien::SDL installed from cpan with the option to build all
> > > > > > dependencies and library's.
> > > > > >
> > > > > > When I was testing to get things working, my short test
> > script
> > > > would
> > > > > > throw an error. The script and the error are below.
> > > > > >
> > > > > > I have libjpeg.so.8 built in the Alien SDL directory, but my
> > guess
> > > > is
> > > > > > that SDL isn't correctly configured to pick up that library
> > > > folder. I
> > > > > > don't want to mess up the system SDL install incase something
> > > > goes
> > > > > > wrong, and I can't install libjpeg.so.8 from packages on
> > Lenny,
> > > > as
> > > > > > there is no package for it.
> > > > > >
> > > > > > How do I have SDL recognize the library's provided by
> > SDL::Alien,
> > > > or
> > > > > > what am I doing wrong?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > >
> > > > > > Here is my script:
> > > > > >
> > > > > > #!/usr/bin/perl
> > > > > > use 5.010;
> > > > > > use strict;
> > > > > > use warnings;
> > > > > > use SDLx::App;
> > > > > > use SDLx::Sprite;
> > > > > >
> > > > > > my $app = SDLx::App->new(height=>1024,width=>768);
> > > > > >
> > > > > > my $sprite = SDLx::Sprite->new(image=>'pic.jpg');
> > > > > > $sprite->draw($app);
> > > > > >
> > > > > >Here is the Error
> > > > > >
> > > > > > error loading image pic.jpg: Failed loading libjpeg.so.8:
> > > > > > libjpeg.so.8: cannot open shared object file: No such file or
> > > > > > directory at /usr/local/lib/perl/5.10.0/SDLx/Surface.pm line
> > 188
> > > > > > SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called
> > at
> > > > > > /usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
> > > > > > SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg')
> > > > called
> > > > > > at ./slideshow.pl line 14
> > > > > >
> > > > > >
> > > > > > #------------------------------------------------------
> > > > > > Adam Fairbrother
> > > > > > Help Desk Technician
> > > > > > afairbrother@sd73.bc.ca
> > > > > > School District #73
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> > > > > For additional commands, e-mail: beginners-help@perl.org
> > > > > http://learn.perl.org/
> > > > --
> > > > Kartik Thakore
> >
> > --
> > Kartik Thakore
--
Kartik Thakore
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/