You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running a fresh make, I try to run sudo make install and get a bunch of errors trying to find erl. The erl and erlc executables in the /usr/local/ search path and can be found when running them with sudo as is.
[ngerakines@localhost jacobvorreuter-emongo]$ make
sh ebin/emongo.app.in 0.0.1
mkdir -p ebin/
(cd src;make)
make[1]: Entering directory `/home/ngerakines/code/jacobvorreuter-emongo/src'
erlc -W -I ../include -pa ../ebin +debug_info -o ../ebin emongo_app.erl
erlc -W -I ../include -pa ../ebin +debug_info -o ../ebin emongo_bson.erl
erlc -W -I ../include -pa ../ebin +debug_info -o ../ebin emongo_conn.erl
erlc -W -I ../include -pa ../ebin +debug_info -o ../ebin emongo.erl
erlc -W -I ../include -pa ../ebin +debug_info -o ../ebin emongo_packet.erl
make[1]: Leaving directory `/home/ngerakines/code/jacobvorreuter-emongo/src'
erl -pa ebin -noshell -run emongo_app build_rel -s init stop
[ngerakines@localhost jacobvorreuter-emongo]$ ls
ebin emongo.boot emongo.rel emongo.script include Makefile priv README.markdown src support t
[ngerakines@localhost jacobvorreuter-emongo]$ sudo make install
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
for i in ebin/*.beam include/*.hrl ebin/*.app; do install $i /`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`/emongo-0.0.1/$i ; done
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
/bin/sh: erl: command not found
cp *.boot /`erl -eval 'io:format("~s~n", [code:root_dir()])' -s init stop -noshell`/bin/
/bin/sh: erl: command not found
There's nothing funky or special about my Erlang install. It was installed from source with the standard ./configure && make && sudo make install/.
The text was updated successfully, but these errors were encountered:
It's worth mentioning that the result of sudo make install installed it into the root directory.
[ngerakines@localhost jacobvorreuter-emongo]$ ls /
bin boot data dev emongo-0.0.1 etc home lib lib64 lost+found media mnt opt proc root sbin selinux srv sys tmp usr var
After running a fresh
make
, I try to runsudo make install
and get a bunch of errors trying to find erl. The erl and erlc executables in the /usr/local/ search path and can be found when running them with sudo as is.There's nothing funky or special about my Erlang install. It was installed from source with the standard
./configure && make && sudo make install
/.The text was updated successfully, but these errors were encountered: