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

I can not install GAP.jl in Mac.10.13.4 #230

Closed
AmplitudeGravity opened this issue May 2, 2019 · 8 comments
Closed

I can not install GAP.jl in Mac.10.13.4 #230

AmplitudeGravity opened this issue May 2, 2019 · 8 comments

Comments

@AmplitudeGravity
Copy link

] add https://github.com/oscar-system/GAP.jl
┌ Error: Error building GAP:
│ Cloning into 'gap'...
│ + autoconf -Wall -f
│ ./autogen.sh: line 5: autoconf: command not found
│ ERROR: LoadError: failed process: Process(./autogen.sh, ProcessExited(127)) [127]
│ Stacktrace:
│ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│ [2] pipeline_error at ./process.jl:785 [inlined]
│ [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│ [4] run(::Cmd) at ./process.jl:724
│ [5] top-level scope at /Users/gangchen/.julia/packages/GAP/8uVqF/deps/build.jl:27
│ [6] include at ./boot.jl:326 [inlined]
│ [7] include_relative(::Module, ::String) at ./loading.jl:1038
│ [8] include(::Module, ::String) at ./sysimg.jl:29
│ [9] include(::String) at ./client.jl:403
│ [10] top-level scope at none:0
│ in expression starting at /Users/gangchen/.julia/packages/GAP/8uVqF/deps/build.jl:20
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

@sebasguts
Copy link
Contributor

Hey, thanks fo using GAP.jl. It looks like your Mac is missing autotools. If you have homebrew, you can do

brew install autoconf

and the installation should succeed. Maybe @fingolfin can also say something about this?

@fingolfin
Copy link
Member

Sorry for the hassle, but that's an artifact of GAP.jl still being very much under heavy development.

Probably best to install all packages suggested by the GAP build instructions. So:

  • using Homebrew: brew install autoconf libtool gmp readline
  • using Fink: fink install autoconf2.6 libtool2 gmp5 readline7
  • using MacPorts: port install autoconf libtool gmp readline

That said, only autoconf & libtool are really required. And only because we are currently using a development version of GAP for GAP.jl. Once GAP 4.11 is out, we should switch to installing release versions of GAP, which don't require autoconf and libtool.

@AmplitudeGravity
Copy link
Author

AmplitudeGravity commented May 2, 2019 via email

@fingolfin
Copy link
Member

It seems you also need to brew install wget. Sorry for the hassle.

@sebasguts
Copy link
Contributor

We will add this to the Readme for now :)

@AmplitudeGravity
Copy link
Author

AmplitudeGravity commented May 2, 2019 via email

@fingolfin
Copy link
Member

@sebasguts you never added wget to the README, did you?

We might also want to change GAP to work with curl instead of wget (as curl is arguably available on more systems), resp. in addition. See also here: gap-system/gap#1866

@fingolfin
Copy link
Member

We are not using wget anymore.

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

3 participants