[ 
https://issues.apache.org/jira/browse/THRIFT-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837007#comment-13837007
 ] 

greg sligh commented on THRIFT-2229:
------------------------------------

Applied patches and set the CXXFLAGS env variable, but then ran into 
maven.ant.tasks error:

thrift-0.9.1/lib/java/build.xml:291: artifact:pom doesn't support the "groupId" 
attribute

Was running ant 1.9.2 so had to revert to 1.8.4 per following: 

http://stackoverflow.com/questions/17479669/thrift-install-error

Then got the following error after rerunning configure: 

/Users/Greg/software/thrift-0.9.1/lib/java/build.xml:330: 
org.apache.maven.artifact.InvalidArtifactRTException: For artifact 
{null:libthrift:0.9.1:pom}: The groupId cannot be empty.
        at 
org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:129)

To resolve, had to add  following line to the thrift-0.9.1/lib/java/build.xml 
file at line 25 since this doesn't appear to be generated or defined anywhere:
        <property name="thrift.groupid" value="org.apache.thrift"/>

After that, make successful.

> thrift failed to build on OSX 10.9 GM
> -------------------------------------
>
>                 Key: THRIFT-2229
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2229
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9.1
>         Environment: Mac OSX 10.9 GM
>            Reporter: Guilherme Defreitas
>            Assignee: Roger Meier
>         Attachments: THRIFT-2229.patch, cpp-tutorial.patch, thrifty.patch
>
>
> Gist with compilation errors: https://gist.github.com/guidefreitas/7012084



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to