gfngfn / SATySFi

A statically-typed, functional typesetting system
GNU Lesser General Public License v3.0
1.16k stars 82 forks source link

autoconf is required to install SATySFi, autoconf is not preinstalled on macOS and Ubuntu #35

Closed iwasa-kosui closed 6 years ago

iwasa-kosui commented 6 years ago

Hello I love SATySFi so much. If we solve this problem, SATySFi must be much better!

Problem

I tried to install SATySFi on macOS High Sierra(10.13.2), however opam install satysfi failed with below errors.

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
[ERROR] The compilation of conf-autoconf failed at "which autoconf".

#=== ERROR while installing conf-autoconf.0.1 =================================#
# opam-version 1.2.2
# os           darwin
# command      which autoconf
# path         /Users/syrup/.opam/4.06.0/build/conf-autoconf.0.1
# compiler     4.06.0
# exit-code    1
# env-file     /Users/syrup/.opam/4.06.0/build/conf-autoconf.0.1/conf-autoconf-18608-ffb3fd.env
# stdout-file  /Users/syrup/.opam/4.06.0/build/conf-autoconf.0.1/conf-autoconf-18608-ffb3fd.out
# stderr-file  /Users/syrup/.opam/4.06.0/build/conf-autoconf.0.1/conf-autoconf-18608-ffb3fd.err

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
The following actions were aborted
  ∗  install bitv    1.3
  ∗  install satysfi ~unknown
The following actions failed
  ∗  install conf-autoconf 0.1
No changes have been performed

=-=- conf-autoconf.0.1 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
=> This package relies on external (system) dependencies that may be missing. `opam depext
   conf-autoconf.0.1' may help you find the correct installation for your system.

Solution

Just execute brew install autoconf

Proposal

Add brew install autoconf in README.md

omasanori commented 6 years ago

Note that it also applies to the Ubuntu instructions.

nekketsuuu commented 6 years ago

Or, opam depext -ui satysfi resolves this. (I didn't write this because there is no conf-zip now.)

iwasa-kosui commented 6 years ago

Please tell me do you thin which is better for beginner?

nyuichi commented 6 years ago

I encountered the same issue when I made a brew formula for satysfi [1]. (Note that this formula does not work correctly now as #34 has not yet been merged.)

[1] https://github.com/nyuichi/homebrew-satysfi

nekketsuuu commented 6 years ago

@KilledByNLP I think the brew-way is better currently. opam depext is not inclusive now.

iwasa-kosui commented 6 years ago

https://github.com/gfngfn/SATySFi/pull/36 OK, i created PR with brew and apt-get