[ https://issues.apache.org/jira/browse/AVRO-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114344#comment-13114344 ]
Douglas Creager commented on AVRO-894: -------------------------------------- The problem is that we always set {{CMAKE_OSX_ARCHITECTURES}} to {{ppc;i386;x86_64}}, and the Lion Developer Tools don't include a ppc compiler anymore. If you try to set the variable to not include ppc, it gets overridden by our CMakeFiles.txt file. > cmake build doesn't compile on Mac OS X Lion > -------------------------------------------- > > Key: AVRO-894 > URL: https://issues.apache.org/jira/browse/AVRO-894 > Project: Avro > Issue Type: Bug > Components: c > Affects Versions: 1.5.4, 1.6.0 > Reporter: Douglas Creager > Assignee: Douglas Creager > > When building using the cmake build scripts, the C library doesn't compile on > Mac Lion: > {code} > $ make > Scanning dependencies of target avro-shared > [ 1%] Building C object src/CMakeFiles/avro-shared.dir/allocation.o > llvm-gcc-4.2: error trying to exec > '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin11-llvm-gcc-4.2': execvp: > No such file or directory > lipo: can't figure out the architecture type of: > /var/folders/jb/gsl71lzj5z73bz39p6sj2glh0000gn/T//ccHcK1F2.out > make[2]: *** [src/CMakeFiles/avro-shared.dir/allocation.o] Error 255 > make[1]: *** [src/CMakeFiles/avro-shared.dir/all] Error 2 > make: *** [all] Error 2 > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira