« Return to Thread: PyRTCmix on github

Re: Building RTcmix on OSX 10.6

by Douglas Scott-2 :: Rate this Message:

| View in Thread

Hey John -- what's going on here?  Shouldn't there be a script running in src/parser/perl/RT now?

The old code did not know how to filter out the PPC flags from the build flags, but we fixed this.

Yuri, are you *sure* everything you have is up-to-date and not locally modified?

-Doug


Here:

macar:perl yuri$ make
( cd /Users/yuri/RTcmix/src/parser/perl/RT; perl Makefile.PL; make )
Writing Makefile for RT
cp RT.pm blib/lib/RT.pm
/usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap /System/Library/Perl/5.10.0/ExtUtils/typemap  RT.xs > RT.xsc && mv RT.xsc RT.c
Please specify prototyping behavior for RT.xs (see perlxs manual)
gcc-4.2 -c   -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\"  "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -g RT.c
RT.xs: In function ‘XS_RT_handle_minc_function’:
RT.xs:78: warning: cast from pointer to integer of different size
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
lipo: can't open input file: /var/folders/X5/X54SkqxXHb0HWB6izQyjU++++TI/-Tmp-//ccgBVWZl.out (No such file or directory)
make[1]: *** [RT.o] Error 2
make: *** [/Users/yuri/RTcmix/src/parser/perl/RT/blib/arch/auto/RT/RT.bundle] Error 2


On Oct 5, 2011, at 3:57 PM, Douglas Scott wrote:

The issue I isolated below is due to the build attempting to create a PowerPC version of the object code.  This means one of the Makefile sed scripts is not working properly, which is odd because we tested all that.  Hm.

Try doing a 'make clean' in src/parser/perl/ and then a fresh 'make'.  If it fails, paste the entire make output (from that sub-build only) here.

-Doug


-----Original Message-----
From: Yuri Spitsyn <yvs2b@...>
To: A discussion list for RTcmix <rtcmix-discuss@...>
Sent: Wed, Oct 5, 2011 12:18 pm
Subject: Re: [RTcmix-discuss] Building RTcmix on OSX 10.6


Thanks John, Doug...

I have tried using --with-XXbit flags

No success yet.. A little maybe - the errors are the same in both cases.
The build exerpts follow. 

I'm running XCode 4.1 which includes 10.5, 10.6 sdk (but not 10.4)

----------------------------------------------------------------------------

./configure --with-perl --with-python=/usr/local/bin/python-32 --with-32bit 

or

./configure --with-perl --with-python=/usr/local/bin/python --with-64bit 


------------------ make error -----------------
...
parse_with_perl.c: In function ‘xs_init’:
parse_with_perl.c:28: warning: passing argument 3 of ‘Perl_newXS’ from 
incompatible pointer type
llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2': 
execvp: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/X5/X54SkqxXHb0HWB6izQyjU++++TI/-Tmp-//ccGOWw8R.out
make[2]: *** [parse_with_perl.o] Error 255

_______________________________________________
RTcmix-discuss mailing list
RTcmix-discuss@...
http://music.columbia.edu/mailman/listinfo/rtcmix-discuss

_______________________________________________
RTcmix-discuss mailing list
RTcmix-discuss@...
http://music.columbia.edu/mailman/listinfo/rtcmix-discuss


_______________________________________________
RTcmix-discuss mailing list
RTcmix-discuss@...
http://music.columbia.edu/mailman/listinfo/rtcmix-discuss

 « Return to Thread: PyRTCmix on github