IoLanguage / io

Io programming language. Inspired by Self, Smalltalk and LISP.
http://iolanguage.org
Other
2.67k stars 299 forks source link

sudo make install fails on CenOS in the Install Eerie part #442

Closed halloleo closed 3 years ago

halloleo commented 4 years ago

I am trying to install the current version of Io. For this I have clone the repo and the build succeeds. However on sudo make install I get the following error output:

------------Installing Eerie------------
-> Install Eerie
 - Fetching Eerie
 ! Last command exited with the following error:
 ! 
 ! Cloning into '/root/.eerie/env/_base/addons/Eerie'...
fatal: unable to access 'https://github.com/IoLanguage/eerie.git/': SSL connect error

I am behind a proxy, so I figure that the Makefile tries to access the Internet and fails. I have configured things that normal git clone https://... commands work in my shell. So, can I run the cloning command manually before I run sudo make install?

Also: I am very concerned that the script wants to clone into /root/.eerie/. I run sudo make install as a normal user with a home directory like /home/me, so /root/ as home can't be right. Can I set my home directory somehow as an option to the install process?

ales-tsurko commented 4 years ago

To compile without Eerie run cmake with -DWITHOUT_EERIE=1 flag.

To install into /home, just install without sudo (i.e. io setup.io from Eerie's root).

UPD I had just woken up when I wrote this. Now with a fresh head I see that you get the error when Eerie tries to install a dependency. One of the reasons may be in sudo. But it still looks strange. Sorry, but it seems like this is your system's issue. I hadn't this problem on ubuntu and manjaro. This also works in CI (Ubuntu) on my fork.

halloleo commented 3 years ago

Thank you @ales-tsurko. Will try to install GitHub's Io first without Eerie, and then install Eerie in a 2nd step.

halloleo commented 3 years ago

I was successful installing Io without Eerie. So far so good - but then when installing Eerie things went wrong: see "Syntax error near this location" on line 84 character 2432 on errie doc straight after install · Issue #35 · IoLanguage/eerie. I guess I can close this issue here though.