cloudi install error

44 views
Skip to first unread message

chan sisowath

unread,
Jun 22, 2011, 12:50:12 PM6/22/11
to cloudi-q...@googlegroups.com
Hi

i m trying to install cloudi,
the compilation was ok
but at the install time i have and error with rebar.

i follow the instruction but something wrong in my case, but i don't know where to look:

$>./configure --with-zeromq --prefix=`pwd`/../cloudi_install
$>make && make install


cd "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/lib/cloudi-0.1.6"; \
     test ! -e etc && ln -s "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/etc/cloudi" etc || exit 0; \
     test ! -e logs && ln -s "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/var/log/cloudi" logs || exit 0)
/usr/bin/install -c -m 644 "./cloudi.conf" \
                    "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/etc/cloudi"
/usr/local/bin/escript rebar generate || exit 0
==> src (generate)
{"init terminating in do_boot","Module rebar_port_compiler potentially included by two different applications: rebar and rebar."}

Crash dump was written to: erl_crash.dump
init terminating in do_boot (Module rebar_port_compiler potentially included by two different applications: rebar and rebar.)
test ! -d "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/lib/cloudi-0.1.6/erts-5.8.4" && \
        mv -f "./rel/cloudi/erts-5.8.4" \
              "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/lib/cloudi-0.1.6" || exit 0
mv: impossible d'évaluer «./rel/cloudi/erts-5.8.4»: Aucun fichier ou dossier de ce type
/usr/bin/install -c "./rel/cloudi/bin/cloudi" \
                      "/home/regiomarineris/Arch/cloudi-0.1.6/src/../cloudi_install/lib/cloudi-0.1.6/bin/"
/usr/bin/install: impossible d'évaluer «./rel/cloudi/bin/cloudi»: Aucun fichier ou dossier de ce type
make[3]: *** [install-exec-hook] Erreur 1
make[3]: quittant le répertoire « /home/regiomarineris/Arch/cloudi-0.1.6/src »
make[2]: *** [install-exec-am] Erreur 2
make[2]: quittant le répertoire « /home/regiomarineris/Arch/cloudi-0.1.6/src »
make[1]: *** [install-am] Erreur 2
make[1]: quittant le répertoire « /home/regiomarineris/Arch/cloudi-0.1.6/src »
make: *** [install-recursive] Erreur 1


did i miss something?








Michael Truog

unread,
Jun 22, 2011, 2:55:30 PM6/22/11
to cloudi-q...@googlegroups.com, chan sisowath
On 06/22/2011 09:50 AM, chan sisowath wrote:
> but at the install time i have and error with rebar.
I have gone through the installation just to verify that everything works for my machine. I think there are two possible reasons:
1) rebar is in your path and is conflicting with the locally compiled rebar
2) the installation was interrupted and somehow has stale state, making it die the second time

The current solution for #1 would be to link to your rebar:
First check if you have rebar in your path by doing "where rebar" (assuming this is a bash UNIX shell)
If it does give a path, go to the CloudI src directory, "rm rebar" and "ln -s <path-to-rebar>", then it is best to "rm -rf ../cloudi_install; make clean && make && make install". That way your version of rebar can do the build/installation. It isn't very common to have rebar installed locally, so I didn't test that situation.

The current solution for #2 is to go to the CloudI src directory and do "rm -rf rel/cloudi", then "make install".

Tell me if this doesn't solve the problem, or if you find other issues.

Thanks,
Michael

Michael Truog

unread,
Jun 23, 2011, 3:48:41 AM6/23/11
to cloudi-q...@googlegroups.com, chan sisowath
Hi,

I got some more time to test this.  Sorry for the initial response, those are not the problem here.  There was a mistake in the build system that was cleaning a file generated by the configuration script.  I have created a new release with a fix for this problem.  The link is:
http://sourceforge.net/projects/cloudi/files/0.1.7a/cloudi-0.1.7.tar.gz/download

Thank you for reporting this issue.

Thanks,
Michael


On 06/22/2011 09:50 AM, chan sisowath wrote:
Reply all
Reply to author
Forward
0 new messages