[Top][All Lists]

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

Re: [Paparazzi-devel] Launching PPRZ under Ubuntu 10.10

From: Gareth Roberts
Subject: Re: [Paparazzi-devel] Launching PPRZ under Ubuntu 10.10
Date: Wed, 24 Nov 2010 22:48:59 -0000
User-agent: Opera Mail/11.00 (MacIntel)

Hi Eric + Felix,

I spent most of last night trying to build for OS-X as well (inspired by your paparazzi.osx makefile in the github root), using Homebrew - I've got brew formula's for xml-light and ocaml-findlib - just need ocaml-pcre and ocaml-netstring (homebrew includes ocaml and lablgtk) and it'll be a simple way for anyone to use GCS on OS-X. If you'd like any help or a tester with it, let me know - I've built paparazzi for several different architectures and distributions now. I didn't realise ivy-ocaml was included in paparazzi! I always went and got it from the enac site, then altered the makefile :D D'oh! Is a working version of xml-light (as in, with a correct META file and a non-stupid makefile) included in source as well?

Not sure if this is sacrilege but on my machine, ivy-ocaml builds in a second or so but causes a headache for compiling on non-debian platforms. I was thinking last night about whether it would be possible to 'vendor' (to nick a rails phrase) more of the weirder dependencies into the source. Specifically xml-light, ivy, and ivy-ocaml. Most (if not all of us) only have those on our machines to support paparazzi anyway. That way, paparazzi wouldn't need to host the ivy packages and it would be much simpler to build on non-debian platforms (just grab ocaml + lablgtk, and the usual suspects, which all modern distros have anyway). It would only add a few kilobytes to the source. The main cost would be a slightly prolonged build time, but perhaps that isn't really an issue for most people?


On Wed, 24 Nov 2010 21:50:02 -0000, Eric Parsonage <address@hidden> wrote:

Hi Gareth

The ivy-ocaml in sw/lib/ocaml/ivy should work fine with 64 bit now. It certainly does on osx 64 bit
so it should just be a matter of
cd  sw/lib/ocaml/ivy
make clean
sudo make install


On 25/11/2010, at 8:07 AM, Felix Ruess wrote:

Hi Gareth,

Eric committed some fixes on the 19th to use the -fpic flag and some
other 64bit fixes. Not sure if that is all that is needed, I still
have an old 32bit laptop. Which dependencies are the problem?

But I'm sure Eric can shed some more light on this... thanks to his
efforts we'll probably soon have support for paparazzi on osx as well
(still some problems with some ocaml packages I think).
Maybe you could test the current code again?

Cheers, Felix

On Wed, Nov 24, 2010 at 9:41 PM, Gareth Roberts
<address@hidden> wrote:
Cheers Felix, I sent that about ten minutes after Wolfgang's original email,
but our university uses Exchange...

Also, any chance of a 64 bit build?  I've been using GCS & friends on
Maverick 64 and it works fine, the only pain is ivy-ocaml - the makefile needs altering very slightly to include the -fpic flag. I did manage to build a paparazzi-dev package for x86_64 though, and it wasn't that bad. Problem is, I can't put the changes into a github fork because paparazzi
itself is fine - it's the dependancies that are missing!

I'd be happy to test or help with the packaging - this is going to become
more and more of a problem in the future I'd imagine?
Are there any massive technical issues I'm missing?


On Wed, 24 Nov 2010 20:00:09 -0000, Felix Ruess <address@hidden>

There were some packages missing (or an older version) in the maverick
repo until yesterday. Should be fine now.

On Wed, Nov 24, 2010 at 8:54 PM, Gareth Roberts
<address@hidden> wrote:

You need to add the correct repository to your /etc/apt/sources.list
then install the paparazzi-dev package.
That package depends on all the weird and wonderful software paparazzi
to build.

P.S I've had problems with the maverick repository, although it may be
now.  The lucid repo works fine with 10.10 (maverick).

On Wed, 24 Nov 2010 17:43:11 -0000, Wolfgang Schaeper
<address@hidden> wrote:

after 18 months of successful flying I now intend to completely update
Installation of Ubuntu 10.10 as well download of the PPRZ software from
github was fine.
But when trying to launch the PPRZ software by typing "make" only some
massages came up:

ocamldep *.ml* > depend
/bin/sh: ocamldep: not found
make[1]: ocamlfind: Command not found
make[1]: ocamlfind: Command not found
make[1]: ocamlfind: Command not found
make[1]: ocamlc: Command not found
make[1]: *** [fig.cmo] Error 127
make: *** [lib] Error 2

I then installed ocaml-findlib and tried again. Some different messages

Ocamlfind: Package `xml-light' not found
Ocamlfind: Package `netstring' not found
Ocamlfind: Package `pcre' not found
File "", line 1, characters 0-1:
Error: Could not find the .cmi file for interface fig.mli.
make[1]: *** [fig.cmo] Error 2
make: *** [lib] Error 2

Has anybody encountered the same problem? Are any software packages

Help is welcome!


Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

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