[sword-devel] bindings/objc build broken

Jeff Barnes jbarnesweb at yahoo.com
Wed Jan 23 07:31:18 MST 2013


Thanks for the quick response, Greg.

PACCPL-334LAGYA:trunk jbarne200$ which autoconf
/usr/bin/autoconf
PACCPL-334LAGYA:trunk jbarne200$ which automake
/usr/bin/automake
PACCPL-334LAGYA:trunk jbarne200$ which libtool
/usr/bin/libtool
PACCPL-334LAGYA:trunk jbarne200$ which aclocal
/usr/bin/aclocal
PACCPL-334LAGYA:trunk jbarne200$ which autoheader
/usr/bin/autoheader

I was originally missing pkg-config. I installed it (for some reason the mac flavor is installed in /opt) and created a symbolic link to it in /usr/bin. I also created a sym link to /usr/bin/glibtoolize in /usr/bin. At that point, I was able to build using trunk/autogen.sh.

Still not able to build using bindings/objc/build_sword/build_mac_sword.sh. I get the error mentioned in my original post.

It might help mac users to have an environment check script (I still don't have a full command of gnu on mac). Something like the following might be useful.

#!/bin/sh
echo "Checking build environment"
autoconf --help >/dev/null || exit $?
automake --help >/dev/null || exit $?
...
etc

Jeff


>________________________________
> From: Greg Hellings <greg.hellings at gmail.com>
>To: Jeff Barnes <jbarnesweb at yahoo.com>; SWORD Developers' Collaboration Forum <sword-devel at crosswire.org> 
>Sent: Wednesday, January 23, 2013 8:49 AM
>Subject: Re: [sword-devel] bindings/objc build broken
> 
>
>The Obj-C bindings have not been updated since Troy's major commit to deprecate methods and the like. However, the error you're seeing appears to be a result of missing some of the autofoo material that you need. Do you have any information on the state of your autotools package? That might help the Obj-C maintainer with your problem.
>
>
>--Greg
>
>
>
>On Wed, Jan 23, 2013 at 7:38 AM, Jeff Barnes <jbarnesweb at yahoo.com> wrote:
>
>Did a fresh checkout of https://crosswire.org/svn/sword/trunk. Changed to bindings/objc.
>>
>>1) The bindings/objc/README instructions are inaccurate. There is no Makefile in build_sword.
>>2) The build breaks in build_sword/build_mac_sword.sh.
>>
>>$ cd build_clucene
>>
>>$ make release-fat
>>...
>>looks like successful build for 3 platforms
>>
>>$ cd ../build_sword
>>$ ./build_mac_sword.sh -a fat -c
>>
>>...
>>
>>./configure: line 15671: syntax error near unexpected token `CLUCENE2,'
>>./configure: line 15671: `PKG_CHECK_MODULES(CLUCENE2, libclucene-core >= 2.3,,true)'
>>
>>$ pkg-config --cflags --libs libclucene-core
>>-I/usr/local/include -I/usr/local/include/CLucene/ext  -L/usr/local/lib/ -lclucene-core
>>
>>$ which pkg-config
>>/usr/bin/pkg-config
>>
>>  System Version:Mac OS X 10.6.8 (10K549)
>>...
>>  Model Name:MacBook Pro
>>  Model Identifier:MacBookPro6,2
>>  Processor Name:Intel Core i5
>> 
>>Any help appreciated.
>>
>>Jeff
>>
>>_______________________________________________
>>sword-devel mailing list: sword-devel at crosswire.org
>>http://www.crosswire.org/mailman/listinfo/sword-devel
>>Instructions to unsubscribe/change your settings at above page
>>
>
>
>



More information about the sword-devel mailing list