paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Launching PPRZ under Ubuntu 10.10
Date: Mon, 29 Nov 2010 21:29:21 +0100

Hi Gareth,

it would certainly be _possible_ to "vendor" some of these deps into
the source. If we do that it would probably make sense to add these as
git submodules (basically a checkout of an external repo in a subdir)
and maintain the libs in extra repos on github.

I'm not sure how much we would gain/loose by adding these as source.
But others are more qualified to answer this. Gautier, Eric, Antoine
what is your take on this?

Cheers, Felix

On Wed, Nov 24, 2010 at 11:48 PM, Gareth Roberts
<address@hidden> wrote:
> 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?
>
> Cheers!
> --G
>
>
> 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
>>
>> Eric
>>
>>
>> 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?
>>>>
>>>> Cheers!
>>>> --G
>>>>
>>>> On Wed, 24 Nov 2010 20:00:09 -0000, Felix Ruess <address@hidden>
>>>> wrote:
>>>>
>>>>> 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
>>>>>> file,
>>>>>> then install the paparazzi-dev package.
>>>>>> That package depends on all the weird and wonderful software paparazzi
>>>>>> needs
>>>>>> to build.
>>>>>> --G
>>>>>>
>>>>>> P.S I've had problems with the maverick repository, although it may be
>>>>>> fine
>>>>>> now.  The lucid repo works fine with 10.10 (maverick).
>>>>>>
>>>>>> On Wed, 24 Nov 2010 17:43:11 -0000, Wolfgang Schaeper
>>>>>> <address@hidden> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> after 18 months of successful flying I now intend to completely
>>>>>>> update
>>>>>>> my
>>>>>>> software.
>>>>>>> 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
>>>>>>> error
>>>>>>> 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
>>>>>>> OC fig.ml
>>>>>>> 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
>>>>>>> displayed:
>>>>>>>
>>>>>>> Ocamlfind: Package `xml-light' not found
>>>>>>> Ocamlfind: Package `netstring' not found
>>>>>>> Ocamlfind: Package `pcre' not found
>>>>>>> OC fig.ml
>>>>>>> File "fig.ml", 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
>>>>>>> missing?
>>>>>>>
>>>>>>> Help is welcome!
>>>>>>>
>>>>>>> Wolfgang
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Paparazzi-devel mailing list
>>>>>>> address@hidden
>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> address@hidden
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> address@hidden
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>



reply via email to

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