robisonsantos / evm

Erlang Version Manager
116 stars 27 forks source link

Problem with extra options on command line #34

Closed SebCav closed 4 years ago

SebCav commented 4 years ago

Hi, to build on my Arch linux system I need to use this command line (fixes some issue with openssl):

evm install OTP_17.3 --with-docs --with-ssl=/home/user/.openssl-1.0 --without-termcap

If I use the lastest evm, it does not wait for y/n confirmation before starting the build, and I see in the shell output that crypto and other things are being disabled because no usable OpenSSL version has been found (as if the command line was not being correctly passed to configure).

If I checkout evm from commitId b42df43797f067502906f4995fba0ffc02016f80, it works as it used to: it shows a nice y/n prompt after configure step, and it does not complain about OpenSSL

Did you change command line options somehow?

robisonsantos commented 4 years ago

Thanks for reporting it. I will take a look. It was not supposed to have changed.

On Thu, Jan 23, 2020 at 8:52 AM SebCav notifications@github.com wrote:

Hi, to build on my Arch linux system I need to use this command line (fixes some issue with openssl):

evm install OTP_17.3 --with-docs --with-ssl=/home/user/.openssl-1.0 --without-termcap

If I use the lastest evm, it does not wait for y/n confirmation before starting the build, and I see in the shell output that crypto and other things are being disabled because no usable OpenSSL version has been found (as if the command line was not being correctly passed to configure).

If I checkout evm from commitId b42df43 https://github.com/robisonsantos/evm/commit/b42df43797f067502906f4995fba0ffc02016f80, it works as it used to: it shows a nice y/n prompt after configure step, and it does not complain about OpenSSL

Did you change command line options somehow?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robisonsantos/evm/issues/34?email_source=notifications&email_token=AAA66LJ7EMP67HPNVOPFT2TQ7HDN7A5CNFSM4KKZUOGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IIJU7HQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA66LNVQVZXJOXQGGA5VCDQ7HDN7ANCNFSM4KKZUOGA .

-- Robison W R Santos

robisonsantos commented 4 years ago

I was able to repro and found the issue. The problem is on this command ./otp_build setup which was added as part of the installation process for the new zip files. The command will execute autoconf, configure and boot which includes building the code. What we want there, instead, is to just generate the 'configure' file, which means, only execute ./otp_build autoconf

The fix is coming next.

robisonsantos commented 4 years ago

Tested with this:

evm install 17.3 --with-docs --without-termcap

...
*********************************************************************
**********************  APPLICATIONS DISABLED  **********************
*********************************************************************

crypto         : No usable OpenSSL found
ssh            : No usable OpenSSL found
ssl            : No usable OpenSSL found

*********************************************************************
*********************************************************************
**********************  APPLICATIONS INFORMATION  *******************
*********************************************************************

wx             : Can not link the wx driver, wx will NOT be useable

*********************************************************************

Continue with installation?(y/n)