Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems Installing SDL

1 view
Skip to first unread message

pmesa1

unread,
Jun 3, 2017, 7:00:03 PM6/3/17
to sdl-...@perl.org
Hello, 

I need SDL for a project that I am working on however I am unable to install it because when I run Build.pl I receive an error "Undefined subroutine &My::Builder::Darwin::rel2abs called at inc/My/Builder/Darwin.pm line 115.". The same thing happens when I install using cpan or manually. I don’t know where to go from here so any help would be appreciated. Thank you. 

Best, 

Paul 

pmesa1

unread,
Jun 5, 2017, 6:00:02 PM6/5/17
to Kartik Thakore, breno, sdl-...@perl.org
Hello Everyone, 

Thank you so much, the installation finally worked. I really appreciate all of the help!

Best, 

Paul
On Jun 5, 2017, at 8:14 AM, Kartik Thakore <thakore...@gmail.com> wrote:

Thanks Breno!


Pmesa1. Although the irc channel is quite I can help you out on there later in the evening. I am on PDT to


On Jun 5, 2017, at 7:15 AM, breno <oaini...@gmail.com> wrote:

Hello!

After downloading/unpacking the SDL dist, try adding the following line to the top of inc/My/Builder/Darwin.pm:

use File::Spec::Functions qw(rel2abs);

and let us know how the build goes.

If it still fails, please let us know the output of:

* perl -V  (note capital V)
* set | grep -e SDL -e PERL
* perl -MData::Dumper -MAlien::SDL -E 'say Dumper(Alien::SDL->config(q(libs))); say Dumper(Alien::SDL->config(q(ld_shlib_map)))'

Thanks!

Kartik Thakore

unread,
Jun 6, 2017, 3:15:03 AM6/6/17
to Tobias Leich, breno, pmesa1, sdl-...@perl.org
Hiiii Tobias! And Garu! 

Sent from my iPhone

On Jun 5, 2017, at 7:36 AM, Tobias Leich <tobias...@gmail.com> wrote:

Hi, I pushed a fix: https://github.com/PerlGameDev/SDL/commit/8bbe63d0b9b0e565bdfce3d8f4ed945c5d950ee5

I also replied to this mailing list thread already, but perhaps it did not get through...


Am 05.06.2017 um 16:15 schrieb breno:
Hello!

After downloading/unpacking the SDL dist, try adding the following line to the top of inc/My/Builder/Darwin.pm:

use File::Spec::Functions qw(rel2abs);

and let us know how the build goes.

If it still fails, please let us know the output of:

* perl -V  (note capital V)
* set | grep -e SDL -e PERL
* perl -MData::Dumper -MAlien::SDL -E 'say Dumper(Alien::SDL->config(q(libs))); say Dumper(Alien::SDL->config(q(ld_shlib_map)))'

Thanks!

On Sat, Jun 3, 2017 at 7:52 PM pmesa1 <paul...@gmail.com> wrote:
0 new messages