Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created August 4, 2010 21:36
Show Gist options
  • Select an option

  • Save jrabbit/508847 to your computer and use it in GitHub Desktop.

Select an option

Save jrabbit/508847 to your computer and use it in GitHub Desktop.
$ sudo perl Build bundle
[Alien::SDL] Build option used:
Already installed SDL ver=1.2.14 path=/sw
Building SDL
gcc -o "SDLPerl.app/Contents/MacOS/SDLPerl" MacOSX/main.c -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I -I -I/usr/X11R6/include -I/usr/local/include -arch i386 -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/usr/local/lib -L/usr/X11R6/lib -lSDLmain
Lemming:SDL_perl jrabbit(master)$ sudo perl Build test
* WARNING: Configuration was initially created with '/usr/bin/perl',
but we are now using '/Users/jrabbit/Projects/SDL_perl/SDLPerl.app/Contents/MacOS/SDLPerl'.
t/00-load.......................
# Failed test 'use SDL;'
# at t/00-load.t line 71.
t/00-load.......................NOK 1/51# Tried to use 'SDL'.
# Error: Can't load '/Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle' for module SDL_perl: dlopen(/Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle, 1): no suitable image found. Did find:
# /Users/jrabbit/Projects/SDL_perl/blib/arch/auto/SDL_perl/SDL_perl.bundle: mach-o, but wrong architecture at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207.
# at /Users/jrabbit/Projects/SDL_perl/blib/lib/SDL.pm line 42
# Compilation failed in require at /Users/jrabbit/Projects/SDL_perl/blib/lib/SDL.pm line 42.
# BEGIN failed--compilation aborted at /Users/jrabbit/Projects/SDL_perl/blib/lib/SDL.pm line 42.
# Compilation failed in require at (eval 15) line 2.
# BEGIN failed--compilation aborted at (eval 15) line 2.
FAILED--Further testing stopped: Test failed. BAIL OUT!.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment