-
Notifications
You must be signed in to change notification settings - Fork 172
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
Pod Install Issues #61
Comments
Please have a look at the readme and on some of these closed issues: https://github.com/GEOSwift/GEOSwift/issues?utf8=%E2%9C%93&q=is%3Aissue%20%2Fbin%2Fbash%3A%20line%202%3A%20alias%3A%20autoconf%3A%20not%20found |
Actually I have also read the closed issues. Those didn't seem to help my issue. |
Cool! Could you create a sample project, and I’ll have a look at it?
Thanks!
… On 18 Oct 2017, at 11:21 pm, jketch836 ***@***.***> wrote:
Actually I have also read the closed issues. Those didn't seem to help.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I can download the GEOSwift master branch and install the podfile and it won't work. I think it might be a file path issue. Terminal acknowledges they are there in the right place (the home directory) according to stack overflow. Do you know of any issues with APFS? |
@johncrenshaw, I don't know of any issues with APFS. There shouldn't be any. if the tools are installed and accessible via terminal, I can't se why the build script cannot find them. Could you go inside the which autoconf & which automake & which libtool and then xcrun autoconf --version Please paste the line where you run the command, and the output Thanks! |
which autoconf which automake which libtool xcrun autoconf --version autoconf (GNU Autoconf) 2.69 Written by David J. MacKenzie and Akim Demaille. |
@jketch836 It looks like you are all set...unfortunately I don't think I know how to help you on this issue. |
So I found out the issue. First I tried the Cocoapods app, I tried running Install, Install (verbose), and Update (verbose). Those did not work. I still got the error that the pods did not install correctly. I then opened terminal and changed the directory to my project folder and ran the commands that you gave me above in terminal, then tried pod update. It worked. GEOSwift and the geos were installed. Apparently it needed to know where autoconf, automake and libtool was before it installed properly. I know this might not be a big issue, but you might want to add to the NOTE under Installation that the computer needs to know the path where autoconf, automake and libtool are located before GEOSwift can be installed. This issue drove me nuts. |
@jketch836 that's great! I'm glad to hear you got it working. Could you please make the suggested changes to the README file and create a pull request? Cheers! |
Finally fixed following andreacremaschi/SpatialDBKit#24 (comment) |
Hey there I am trying to install GEOSwift and I am getting this error when it is installing the geos pod:
Installing GEOSwift (2.1.0)
Installing geos (3.5.0)
[!] /bin/bash -c
set -e
type -P autoconf &>/dev/null || alias autoconf 'xcrun autoconf'
type -P autoheader &>/dev/null || alias autoheader 'xcrun autoheader'
type -P aclocal &>/dev/null || alias aclocal 'xcrun aclocal'
type -P automake &>/dev/null || alias automake 'xcrun automake'
type -P glibtool &>/dev/null || alias glibtool 'xcrun glibtool'
type -P glibtoolize &>/dev/null || alias glibtoolize 'xcrun glibtoolize'
sh autogen.sh
./configure
./tools/svn_repo_revision.sh
sed -i "" "s//* #undef HAVE_INT64_T_64 *//#define HAVE_INT64_T_64 1/" include/geos/platform.h
sed -i "" "s/#define HAVE_LONG_INT_64 1//* #undef HAVE_LONG_INT_64 *//" include/geos/platform.h
cat <> include/geos/platform.h
#undef ISNAN
#define ISNAN(x) (std::isnan(x))
EOT
patch capi/geos_c.h <<EOF
149c149
< #include <geos/export.h>
/bin/bash: line 2: alias: autoconf: not found
/bin/bash: line 2: alias: xcrun autoconf: not found
I have installed autoconf, automake, and libtool, they are in my home directory. I have installed using the coocapods app as well as in terminal. I am running it on Xcode 9.0.1 and running the latest version of cocoapods (not the beta). Any thoughts?
The text was updated successfully, but these errors were encountered: