Error building p5-sdl_perl

Pierre Queinnec pmq at macports.org
Sun Jan 6 04:01:56 PST 2008


Ticket #13757 is a duplicate, as afb pointed out. This illustrates the
fact that most bugs in Trac reported by users are filed against the port
they originally intended to install. Sometimes the build fails while
installing prerequisites though. Ticket #13757 isn't an exception:
libsdl_image-framework fails to build, but the user said frozenbubble2
was the culprit.

As for your bug, it is clearly different. Could you file a ticket and
assign it to me?
Thanks,
-- Pierre


LeAnne Lis wrote:
> A search for the p5-sdl_perl port brings up a ticket from Dec 30, #13757:
> frozenbubble2 doesn't build on leopard.  However, it's been closed as a
> duplicate.  If it truly is a duplicate, then of what?  And, how do I fix
> this?
> 
> Here's the error I get:
> 
> --->  Fetching p5-sdl_perl
> --->  Verifying checksum(s) for p5-sdl_perl
> --->  Extracting p5-sdl_perl
> --->  Applying patches to p5-sdl_perl
> --->  Configuring p5-sdl_perl
> --->  Building p5-sdl_perl with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-sdl_perl/work/SDL_Perl-2.1.3"
> && /opt/local/bin/perl Build build " returned error 2
> Command output: Copying lib/SDL/Video.pm -> blib/lib/SDL/Video.pm
> Copying lib/SDL/Event.pm -> blib/lib/SDL/Event.pm
> Copying lib/SDL/Tutorial.pm -> blib/lib/SDL/Tutorial.pm
> Copying lib/SDL/Sound.pm -> blib/lib/SDL/Sound.pm
> Copying lib/SDL/Mixer.pm -> blib/lib/SDL/Mixer.pm
> Copying lib/SDL/OpenGL.pm -> blib/lib/SDL/OpenGL.pm
> Copying lib/SDL.pm -> blib/lib/SDL.pm
> Copying lib/SDL/Timer.pm -> blib/lib/SDL/Timer.pm
> Copying lib/SDL/Font.pm -> blib/lib/SDL/Font.pm
> Copying lib/SDL/Music.pm -> blib/lib/SDL/Music.pm
> Copying lib/SDL/OpenGL/Constants.pm -> blib/lib/SDL/OpenGL/Constants.pm
> Copying lib/SDL/Color.pm -> blib/lib/SDL/Color.pm
> Copying lib/SDL/Config.pm -> blib/lib/SDL/Config.pm
> Copying lib/SDL/Tool/Font.pm -> blib/lib/SDL/Tool/Font.pm
> Copying lib/SDL_perl.pm -> blib/lib/SDL_perl.pm
> Copying lib/SDL/Cdrom.pm -> blib/lib/SDL/Cdrom.pm
> Copying lib/SDL/Tutorial/Images.pm -> blib/lib/SDL/Tutorial/Images.pm
> Copying lib/SDL/App.pm -> blib/lib/SDL/App.pm
> Copying lib/SDL/TTFont.pm -> blib/lib/SDL/TTFont.pm
> Copying lib/SDL/Constants.pm -> blib/lib/SDL/Constants.pm
> Copying src/SDL.xs -> src/SDL_perl.xs
> src/SDL_perl.xs -> src/SDL_perl.c
> cc -I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -DXS_VERSION="2.1.3"
> -DVERSION="2.1.3" -I/Library/Frameworks/SDL_mixer.framework/Headers
> -I/Library/Frameworks/SDL_gfx.framework/Headers
> -I/Library/Frameworks/SDL.framework/Headers
> -I/Library/Frameworks/SDL_image.framework/Headers
> -I/Library/Frameworks/SDL_net.framework/Headers
> -I/Library/Frameworks/SDL_ttf.framework/Headers -I/opt/local/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET
> -DHAVE_SDL_IMAGE -DHAVE_SDL_GFX -DHAVE_SDL_MIXER -Ddarwin -DMACOSX -fPIC -c
> -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/opt/local/include -O3 -o src/SDL_perl.o src/SDL_perl.c
> src/SDL_perl.xs: In function 'XS_SDL_NetResolveIP':
> src/SDL_perl.xs:2471: warning: assignment discards qualifiers from pointer
> target type
> ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/src/SDL_perl/SDL_perl.bs')
> env MACOSX_DEPLOYMENT_TARGET=10.3 cc -L/opt/local/lib -bundle -undefined
> dynamic_lookup -o blib/arch/auto/src/SDL_perl/SDL_perl.bundle src/SDL_perl.o
> -L../../lib -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL
> -lSDL_ttf -lSDL_net -lSDL_image -lSDL_gfx -lSDL_mixer
> ld: library not found for -lSDL_ttf
> collect2: ld returned 1 exit status
> error building blib/arch/auto/src/SDL_perl/SDL_perl.bundle from
> src/SDL_perl.o at
> /opt/local/lib/perl5/vendor_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 213.
> 
> Error: The following dependencies failed to build: p5-sdl_perl
> Error: Status 1 encountered during processing.
> 




More information about the macports-users mailing list