Re: Build for SDL?

2010-02-21 Thread kmx
Hi Kartik, >>> [...] >>> >>> I had to add a "my"at line 50: >>> >>> my $cflags = `sdl-config --cflags`; >>> >>> and line 54 >>> >>> my $libs = `sdl-config --libs`; >>> >>> [...] >>> As for the 2 mentioned lines from inc/My/Builder/Darwin.pm I propose the following change: + use Alien::S

Re: Build for SDL?

2010-02-21 Thread Kartik Thakore
Hey ruoso! Guess what our magic typemap just came back to bite us in the ass. :) On the mac we don't have my_perl defined for us. Maybe if I put it in the header of each .XS file saying with a #ifdef MacOSX ? Any way let me know what you think. This is the last step stopping us from complete buil

weird errors for Perl packager for SDL apps

2010-02-21 Thread Kartik Thakore
Hi, I am trying to package SDL_perl games. here is how I package them: pp -l /usr/local/lib/libSDL.so -l /usr/local/lib/libSDL_gfx.so -l /usr/lib/libc.so -o shooter shooter.pl you can get these things by install Alien::SDL, http://github.com/kthakore/SDL_perl/tarball/redesign and http://gist.

Re: Mac Build with Alien::SDL

2010-02-21 Thread Kartik Thakore
oops that is the wrong one. we need this CC="gcc ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=/usr --disable-mmx \ --libdir=/usr/lib64 && make On Sun, Feb 21, 2010 at 1:15 PM, Kartik Thakore wrote: > I think I found a solution for this kmx. > > http://cblfs.cross-lfs.org/index.php/SDL_g

Re: Mac Build with Alien::SDL

2010-02-21 Thread Kartik Thakore
I think I found a solution for this kmx. http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit. CC="gcc ${BUILDN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --disable-mmx \ --libdir=/usr/lib32 && make On Sat, Feb 20, 2010 at 10:00 PM, Kartik Thakore wrote: > Hi Brian, > > I am trying to mak