frum icon indicating copy to clipboard operation
frum copied to clipboard

add instructions for configure options

Open DanielKehoe opened this issue 4 years ago • 3 comments

The README says:

You can also specify many other options that will be listed when running ./configure -h.

Can we have an example? It's a great feature and I'd like to see the options but I couldn't figure out how to run ./configure -h.

@citizen428 ?

DanielKehoe avatar May 27 '21 06:05 DanielKehoe

I think the link below will help you 👍

https://www.ruby-lang.org/en/documentation/installation/#building-from-source

TaKO8Ki avatar May 27 '21 06:05 TaKO8Ki

I think it it necessary to list all configure options in README, but different ruby versions have different config options. So, we don't do it now.

TaKO8Ki avatar May 27 '21 06:05 TaKO8Ki

I was mulling this over for a bit and was wondering if we could add a --configure-help switch to install which would fetch Ruby, extract it and then run ./configure -h.

This would probably entail the following additional work:

  1. Ensure install will use an already downloaded tarball instead of re-fetching.
  2. Add a clean command to remove potential leftover downloads.

What do you think?

citizen428 avatar May 28 '21 02:05 citizen428