paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Macports install of paparazzi failing


From: Chris Robson
Subject: Re: [Paparazzi-devel] Macports install of paparazzi failing
Date: Fri, 29 Jun 2012 07:37:34 +0100

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.

On 28/06/2012, at 6:42 AM, Chris Robson <address@hidden> wrote:

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:
  1. check that /opt/local/bin is the first entry in your PATH, easy to check by giving the following command
  2. env
  3. Then give the following command to make sure your ports are up-to-date
  4. sudo port selfupdate && sudo port upgrade outdated
    ..great, 

    you now can run the installation steps starting from step 3 below.
  1. Edit the file
    /opt/local/etc/macports/sources.conf
    and above the
    rsync://...
    line add
    rsync://rsync.paparazziuav.org/macports/ports/
    It 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
  2. Now update the available ports with the command:
    sudo port selfupdate
  3. 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
  4. ...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 

  1. sudo port -f uninstall installed
  2. sudo port clean --all uninstalled
  3. sudo port selfupdate
  4. sudo port install paparazzi-tools
    or
    sudo 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


reply via email to

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