[Stackless] Compiling on 10.5

Jeff Senn senn at maya.com
Sun Nov 25 19:04:54 CET 2007

I haven't rebuilt yet on 10.5...

I suspect the proximal problem is that setpgrp has different interfaces
depending on which includes you find.... there is some sort of legacy  
It shouldn't really matter.  If you're just trying to get it to  
compile try
defining SETPGRP_HAVE_ARG... or just hack posixmodule.c

More broadly: you may want to still build against the 10.4 sdk (so
that the resulting package still runs on Tiger...)  To do that
you need to export an environment variable MACOSX_DEPLOYMENT_TARGET=10.4
into the shell from which you are building.  [ Which is somewhat
inconvenient, because when you forget to do it, you run into obscure
linking problems... :-) ]


On Nov 25, 2007, at 12:24 PM, Arnar Birgisson wrote:

> Hey there,
> Has anyone compiled stackless on OS-X 10.5 yet?
> I'm having some trouble. The --enable-universalsdk config option
> points to the 10.4 SDK. Configure would fail with that so I changed
> configure.in to point to the 10.5 SDK. After that configure ran fine,
> but compiling fails with this:
> gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
> -fno-strict-aliasing -DSTACKLESS_FRHACK=1 -Wno-long-double
> -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
> -Wall -Wstrict-prototypes  -I. -I./Include -I./Stackless
> -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
> ./Modules/posixmodule.c: In function 'posix_setpgrp':
> ./Modules/posixmodule.c:3724: error: too few arguments to function  
> 'setpgrp'
> ./Modules/posixmodule.c: In function 'posix_setpgrp':
> ./Modules/posixmodule.c:3724: error: too few arguments to function  
> 'setpgrp'
> lipo: can't figure out the architecture type of:
> /var/folders/eH/eHK32eiCE+40Ek1xTWjr4k+++TI/-Tmp-//ccHQfPcc.out
> make: *** [Modules/posixmodule.o] Error 1
> Any pointers appreciated.
> cheers,
> Arnar
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless

More information about the Stackless mailing list