[MacPorts] #13854: p5-sdl_perl: library not found for -lSDL_ttf

MacPorts trac at macosforge.org
Sun Jan 6 20:27:38 PST 2008


#13854: p5-sdl_perl:  library not found for -lSDL_ttf
--------------------------------------+-------------------------------------
 Reporter:  lisfolks.lists at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.6.0                                
 Keywords:                            |  
--------------------------------------+-------------------------------------
 p5-sdl_perl port brings up the following error regarding the sdl_ttf
 library being missing.  Note that the info command doesn't show the
 sdl_ttf library as a dependency.

 ...[[BR]]
 --->  Building p5-sdl_perl with target all[[BR]]
 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[[BR]]
 Command output: Copying lib/SDL/Video.pm -> blib/lib/SDL/Video.pm[[BR]]
 Copying lib/SDL/Event.pm -> blib/lib/SDL/Event.pm[[BR]]
 Copying lib/SDL/Tutorial.pm -> blib/lib/SDL/Tutorial.pm[[BR]]
 Copying lib/SDL/Sound.pm -> blib/lib/SDL/Sound.pm[[BR]]
 Copying lib/SDL/Mixer.pm -> blib/lib/SDL/Mixer.pm[[BR]]
 Copying lib/SDL/OpenGL.pm -> blib/lib/SDL/OpenGL.pm[[BR]]
 Copying lib/SDL.pm -> blib/lib/SDL.pm[[BR]]
 Copying lib/SDL/Timer.pm -> blib/lib/SDL/Timer.pm[[BR]]
 Copying lib/SDL/Font.pm -> blib/lib/SDL/Font.pm[[BR]]
 Copying lib/SDL/Music.pm -> blib/lib/SDL/Music.pm[[BR]]
 Copying lib/SDL/OpenGL/Constants.pm ->
 blib/lib/SDL/OpenGL/Constants.pm[[BR]]
 Copying lib/SDL/Color.pm -> blib/lib/SDL/Color.pm[[BR]]
 Copying lib/SDL/Config.pm -> blib/lib/SDL/Config.pm[[BR]]
 Copying lib/SDL/Tool/Font.pm -> blib/lib/SDL/Tool/Font.pm[[BR]]
 Copying lib/SDL_perl.pm -> blib/lib/SDL_perl.pm[[BR]]
 Copying lib/SDL/Cdrom.pm -> blib/lib/SDL/Cdrom.pm[[BR]]
 Copying lib/SDL/Tutorial/Images.pm ->
 blib/lib/SDL/Tutorial/Images.pm[[BR]]
 Copying lib/SDL/App.pm -> blib/lib/SDL/App.pm[[BR]]
 Copying lib/SDL/TTFont.pm -> blib/lib/SDL/TTFont.pm[[BR]]
 Copying lib/SDL/Constants.pm -> blib/lib/SDL/Constants.pm[[BR]]
 Copying src/SDL.xs -> src/SDL_perl.xs[[BR]]
 src/SDL_perl.xs -> src/SDL_perl.c[[BR]]
 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[[BR]]
 src/SDL_perl.xs: In function 'XS_SDL_NetResolveIP':[[BR]]
 src/SDL_perl.xs:2471: warning: assignment discards qualifiers from pointer
 target type[[BR]]
 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[[BR]]
 '''ld: library not found for -lSDL_ttf'''[[BR]]
 collect2: ld returned 1 exit status[[BR]]
 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.[[BR]]
 [[BR]]
 Error: Status 1 encountered during processing.[[BR]]

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13854>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list