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. -- View this message in context: http://www.nabble.com/Error-building-p5-sdl_perl-tp14610995p14610995.html Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Jan 3, 2008, at 23:10, 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?
The note in the ticket says it is a duplicate of #13724.
And, how do I fix this?
I do not know. Hopefully the maintainer of the port can figure it out. The ticket is assigned to him so he should be aware of it. The port is openmaintainer, so anyone else is welcome to step in and provide a solution if one is known.
Ryan Schmidt-24 wrote:
On Jan 3, 2008, at 23:10, 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?
The note in the ticket says it is a duplicate of #13724.
Ah, yes - I missed that; however, #13724 is for the libsdl_image-framework. I was having that error earlier. A hard-coded requirement for +universal was suggested in that ticket as part of the problem, so I uninstalled/reinstalled all of its dependencies with +universal. That got me past the libsdl_image-framework error. I am trying to install frozenbubble2, and I got additional errors after that with similar messages. Each time I encountered an error, I tried uninstalling the error'd item, then reinstalling the port and its dependencies with +universal, and then it worked, so I have installed everything up to this p5-sdl_perl with the +universal variant. But this one says something about a missing library just before it crashes: ld: library not found for -lSDL_ttf Does that mean it's looking for libsdl_ttf? -- View this message in context: http://www.nabble.com/Error-building-p5-sdl_perl-tp14610995p14620410.html Sent from the MacPorts - Users mailing list archive at Nabble.com.
LeAnne Lis wrote:
I am trying to install frozenbubble2, and I got additional errors after that with similar messages. Each time I encountered an error, I tried uninstalling the error'd item, then reinstalling the port and its dependencies with +universal, and then it worked, so I have installed everything up to this p5-sdl_perl with the +universal variant. But this one says something about a missing library just before it crashes: ld: library not found for -lSDL_ttf
Does that mean it's looking for libsdl_ttf?
Yeah, p5-sdl_perl is a little confused in that it depends on the "framework" variants but actually links with the "library" variants. I ended up having to install both / all of them, before it ran... (also including to move all my existing /Library/Frameworks aside) --anders
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.
Pierre Queinnec-3 wrote:
As for your bug, it is clearly different. Could you file a ticket and assign it to me?
I'm not able to enter tickets - it asks for a login and password. Unless I missed it, I don't see how one signs up to be able to put in tickets. How would I do that? -- View this message in context: http://www.nabble.com/Error-building-p5-sdl_perl-tp14610995p14655745.html Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Jan 6, 2008, at 17:47, LeAnne Lis wrote:
Pierre Queinnec wrote:
As for your bug, it is clearly different. Could you file a ticket and assign it to me?
I'm not able to enter tickets - it asks for a login and password. Unless I missed it, I don't see how one signs up to be able to put in tickets. How would I do that?
You do need to log in to file bugs, yes. I believe you would click the Register link at the top right of any of our Trac pages to create one.
Ryan Schmidt-24 wrote:
On Jan 6, 2008, at 17:47, LeAnne Lis wrote:
I'm not able to enter tickets - it asks for a login and password. Unless I missed it, I don't see how one signs up to be able to put in tickets. How would I do that?
You do need to log in to file bugs, yes. I believe you would click the Register link at the top right of any of our Trac pages to create one.
That worked, Ryan. I have now registered and entered ticket #13854. -- View this message in context: http://www.nabble.com/Error-building-p5-sdl_perl-tp14610995p14658708.html Sent from the MacPorts - Users mailing list archive at Nabble.com.
participants (4)
-
Anders F Björklund
-
LeAnne Lis
-
Pierre Queinnec
-
Ryan Schmidt