paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] missing ocamldep, ocamlfind in Mavericks installer?


From: onefastdaddy
Subject: [Paparazzi-devel] missing ocamldep, ocamlfind in Mavericks installer?
Date: Thu, 6 Feb 2014 00:17:23 -0800 (PST)

Hello,
I just watched the video by Piotr that made this look so easy. 
I followed the steps exactly but didn't get the same results. After I get
this when I do the make command: 
------------------------------------------------------------
Building Paparazzi version v4.0.3_stable-2-gdeebbe3
------------------------------------------------------------
cd data/maps; make PAPARAZZI_SRC=/Users/dad/paparazzi
PAPARAZZI_HOME=/Users/dad/paparazzi
DOWNLOAD: google maps version code
usage: grep [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
        [-e pattern] [-f file] [--binary-files=value] [--color=when]
        [--context[=num]] [--directories=action] [--label] [--line-buffered]
        [--null] [pattern] [file ...]
cat src/paparazzi | sed s#OCAMLRUN## | sed s#OCAML## > paparazzi
chmod a+x paparazzi
cat src/launchsitl | sed s#OCAMLRUN## | sed s#OCAML## >
sw/simulator/launchsitl
chmod a+x sw/simulator/launchsitl
cd sw/lib/ocaml; make PAPARAZZI_SRC=/Users/dad/paparazzi
PAPARAZZI_HOME=/Users/dad/paparazzi
ocamldep *.ml* > .depend
/bin/sh: ocamldep: command not found
make[1]: ocamlfind: Command not found
make[1]: ocamlfind: Command not found
make[1]: ocamlfind: Command not found
OC fig.ml
make[1]: ocamlc: No such file or directory
make[1]: *** [fig.cmo] Error 1
make: *** [lib] Error 2

Also, just so it isn't a surprise. The first time you run make it demands
you use sudo to accept the EULA for the XTools...which will kick off make as
root (bad). Probably a better way to get the EULA accepted. 

There were no errors during the binary installer. I then remembered the
/opt/paparazzi/bin dir and thought what if that was not in the PATH...that
would be a problem. So I added it with: PATH=/opt/paparazzi/bin:${PATH} and
that got make to work. 

I assume that the script I downloaded, made executable and put in the
/opt/paparazzi/bin path should have done that. I did close and re-open the
terminal (BTW). Odd. When make completes I'll take a look at that script to
see if I can see why it failed to set the path. Hmm... seems .profile was
modified by the script. But I don't believe .profile is called. I think
.bash_profile is called on the bash login. At least that is my experience.
I'll move those things into .bash_profile where I know they will be
loaded...yep, that did it. 

I have never found .profile to load automatically with Mac OSX. Is it just
me? 

-David



--
View this message in context: 
http://lists.paparazziuav.org/missing-ocamldep-ocamlfind-in-Mavericks-installer-tp14525.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]