andreacremaschi / SpatialDBKit

An Objective-C lightweight spatial RDBMS (based on SQLite/SpatiaLite)
Other
73 stars 67 forks source link

Stuck on 'glibtool: not found' while pod install #8

Closed docallsama closed 10 years ago

docallsama commented 10 years ago

I'm trying to install the SpatialDBKit through the cocapod

at first it mention that I have to install the autoconf,so I brew install automake

but now it tells me I did't have the glibtool,and it can't install by brew

so what should i do now? Thanks for any help

andreacremaschi commented 10 years ago

glibtool is part of xcrun toolchain, so try this before pod install:

alias autoconf 'xcrun autoconf'
alias autoheader 'xcrun autoheader'
alias aclocal 'xcrun aclocal'
alias automake 'xcrun automake'
alias glibtool 'xcrun glibtool'
alias glibtoolize 'xcrun glibtoolize'

(Memo: This should become part of SpatialDBKit.podspec as it is for geos.podspec)

docallsama commented 10 years ago

Thanks for the quick response.

I finally figure out what's wrong......

After get the Xcode5, I forgot install the command line tools

everything works fine now

Thanks again

andreacremaschi commented 10 years ago

ok, I'm glad you fixed it. I reopen because I want to keep track of this: the podspec should check if cli tools are installed, if not it should use the xcode toolchain ciao

andreacremaschi commented 10 years ago

autotools have been removed from xcode since 4.3, see: https://github.com/andreacremaschi/SpatialDBKit/issues/9

closing