Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aclocal: command not found + cocoapods #42

Closed
livebird opened this issue Jul 19, 2019 · 3 comments
Closed

aclocal: command not found + cocoapods #42

livebird opened this issue Jul 19, 2019 · 3 comments

Comments

@livebird
Copy link

Even if I have install all the required commands (automake, autoconf, etc), getting this error while building.

#######
Running aclocal

Something went wrong, giving up!

./autogen.sh: line 29: aclocal: command not found

#######

I checked in the terminal and able to run "aclocal" from there.

I am working on macOS Mojave. Using this repository with CocoaPods.

@bosborn
Copy link
Contributor

bosborn commented Jul 19, 2019

Can you try and provide the output when running the following?

$ brew install autoconf
$ brew install automake
$ brew install libtool
$ gem install cocoapods
$ git clone https://github.com/[name]/geopackage-ios.git
$ cd geopackage-ios/
$ pod repo update
$ pod install
$ open geopackage-ios.xcworkspace

Example on macOS Mojave Version 10.14.5:

$ brew install autoconf
Warning: autoconf 2.69 is already installed and up-to-date
To reinstall 2.69, run `brew reinstall autoconf`
$ brew install automake
Warning: automake 1.16.1_1 is already installed and up-to-date
To reinstall 1.16.1_1, run `brew reinstall automake`
$ brew install libtool
Warning: libtool 2.4.6_1 is already installed and up-to-date
To reinstall 2.4.6_1, run `brew reinstall libtool`
$ gem install cocoapods
Successfully installed cocoapods-1.7.4
Parsing documentation for cocoapods-1.7.4
Done installing documentation for cocoapods after 1 seconds
1 gem installed
$ git clone https://github.com/ngageoint/geopackage-ios.git
Cloning into 'geopackage-ios'...
remote: Enumerating objects: 765, done.
remote: Counting objects: 100% (765/765), done.
remote: Compressing objects: 100% (384/384), done.
remote: Total 10188 (delta 586), reused 501 (delta 371), pack-reused 9423
Receiving objects: 100% (10188/10188), 89.47 MiB | 21.33 MiB/s, done.
Resolving deltas: 100% (7706/7706), done.
$ cd geopackage-ios/
$ pod repo update
Updating spec repo `master`
$ pod install
Analyzing dependencies
Downloading dependencies
Installing proj4-ios (4.9.3)
Installing sf-ios (2.0.2)
Installing sf-proj-ios (2.0.2)
Installing sf-wkb-ios (2.0.2)
Installing tiff-ios (1.1.2)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `geopackage-ios.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 5 total pods installed.
$ open geopackage-ios.xcworkspace

@livebird
Copy link
Author

livebird commented Jul 20, 2019

Here is the output when I run "pod install"

Analyzing dependencies
Downloading dependencies
Installing proj4-ios (4.9.3)
[!] /bin/bash -c
set -e
./autogen.sh
./configure

Running aclocal

Something went wrong, giving up!

./autogen.sh: line 29: aclocal: command not found

##############

I have "aclocal" installed. I double checked it.

@bosborn
Copy link
Contributor

bosborn commented Jul 22, 2019

This seems specific to your local environment based upon OSGeo/PROJ#1557.

What about the output from the commands I suggested before "pod install"? Most importantly the brew install of automake and libtool.

$ brew install autoconf
$ brew install automake
$ brew install libtool
$ gem install cocoapods
$ git clone https://github.com/[name]/geopackage-ios.git
$ cd geopackage-ios/
$ pod repo update
$ pod install
$ open geopackage-ios.xcworkspace

@bosborn bosborn closed this as completed Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants