[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-dev
Subject:    [jira] [Updated] (AVRO-894) cmake build doesn't compile on Mac OS X Lion
From:       "Douglas Creager (JIRA)" <jira () apache ! org>
Date:       2011-09-25 19:53:26
Message-ID: 339635772.10936.1316980406616.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/AVRO-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Douglas Creager updated AVRO-894:
---------------------------------

    Attachment: 0001-Don-t-override-CMAKE_OSX_ARCHITECTURES-if-set.patch

Here's a patch that changes the default value of {{CMAKE_OSX_ARCHITECTURES}} to not \
include ppc.  It also only sets the default value if the user didn't provide an \
override value.

> 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
> Attachments: 0001-Don-t-override-CMAKE_OSX_ARCHITECTURES-if-set.patch
> 
> 
> 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

        


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic