Sorry I read the error wrong... a symbol in it is not found... what version of the ivy-ocaml port is installed?
run port list installed | grep ivy
Cheers, Bernie.
PS sorry I have to go to work now so can't look at this again till the evening. :-(
On 28/06/2012, at 8:32 AM, Chris Robson wrote: Hi Bernie,
The library is present:
mmmacbook:paparazzi chrisrobson$ sudo find /opt/local -name dllivy-ocaml.so Password: /opt/local/lib/ocaml/dllivy-ocaml.so mmmacbook:paparazzi chrisrobson$
Thanks again Chris On 27 Jun 2012, at 23:02, Bernard Davison wrote: Hi Chris,
That's the same error from the log file attached at the start of this thread.
With some other libraries we've found that macports didn't correctly update the paths correctly.
Is the library present? Run the command sudo find /opt/local -name dllivy-ocaml.so
If its present the I'd say we just need to add the path that it's in to the appropriate file. Let me know what you find and I'll send you more details then I'm I front of a real computer.
Cheers, Bernie. Sent from my iPad mini.
Hi again, I did reply to you Bernie about getting it working, but I've come up against another hurdle.
Steps I have taken: installed paparazzi tools with macports
downloaded the source code from github
tried the make command, which results in this:
OC gen_aircraft.ml File "gen_aircraft.ml", line 1, characters 0-1: Error: Error on dynamically loaded library: /opt/local/lib/ocaml/dllivy-ocaml.so: dlopen(/opt/local/lib/ocaml/dllivy-ocaml.so, 138): Symbol not found: _IvyBindMsg Referenced from: /opt/local/lib/ocaml/dllivy-ocaml.so Expected in: flat namespace in /opt/local/lib/ocaml/dllivy-ocaml.so make[1]: *** [gen_aircraft.out] Error 2 make: *** [tools] Error 2 mmmacbook:paparazzi chrisrobson$
Any help is greatly appreciated Chris
On 27 Jun 2012, at 08:39, Bernard Davison wrote: Have you tried the binary install? Or do you need to use MacPorts for some other reason?
You only need to install paparazzi-tools. I'd ignore the paparazzi port since it hasn't been looked at for quite a while. I'll take a look now (and probably remove it)
Cheers, Bernie. On 27/06/2012, at 4:46 PM, Chris Robson wrote: Hi everyone,
I tried installing paparazzi on my mac via macports. Every time I get the same error, I have attached the main.log file. I followed these steps: <main.log>The tools that are required to work with paparazzi on a Mac are installed from MacPorts. All of the commands are given by terminal commands, please open your terminal first. In case you already have MacPorts installed, it is advised to run the following steps before proceeding: - check that /opt/local/bin is the first entry in your PATH, easy to check by giving the following command
- Then give the following command to make sure your ports are up-to-date
sudo port selfupdate && sudo port upgrade outdated ..great,
you now can run the installation steps starting from step 3 below.
- Edit the file
/opt/local/etc/macports/sources.conf and above theline addIt is important that this line comes before the path to the standard ports as some of the Paparazzi ports are intended to replace the standard versions. The file is write protected so it will be necessary to be root in order to edit it. The simplest way is to open a terminal window and use nano thus:sudo nano /opt/local/etc/macports/sources.conf - Now update the available ports with the command:
- If you do not have your own copy of the paparazzi source then you now need to install paparazzi:
sudo port install paparazzi OR if you do already have your own copy of the paparazzi source and you want to keep in then the tools required by paparazzi can be installed with the command sudo port install paparazzi-tools - ...Then go and have lunch, get a coffee, get some sleep. This will probably take a long time.
When this didn't work I tried
sudo port -f uninstall installed sudo port clean --all uninstalled sudo port install paparazzi-tools orsudo port install paparazzi
I still get the same error. I have OSX 10.6.8, Xcode 3.2.6.
Any help with this would be greatly appreciated.
Chris _______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
|