paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Paparazzi on Mac OSX


From: Stephen Dwyer
Subject: Re: [Paparazzi-devel] Paparazzi on Mac OSX
Date: Tue, 18 Jan 2011 17:39:30 -0700

Hello,

I have been watching the various updates to this process (it is indeed
getting easier). However, I tried to use the paparazzi-tools macport
today followed by updating my paparazzi directory with a git pull, and
sadly paparazzi did not compile any longer. Running make (I ran make
clean prior to the git pull) resulted in a compilation error. After
selfupdate-ing my macports and then upgrade-ing outdated ports, I
tried again to no avail. I uninstalled the paparazzi-tools macport and
I then tried to use the paparazzi macport, and it got through most of
the way until it came time build paparazzi again. Any idea what this
may be due to?

The last lines from the make command are:

OC pc_common.ml
OC pc_aircraft.ml
OC pc_control_panel.ml
OC paparazzicenter.ml
OL paparazzicenter
ld: warning: directory '../multimon' following -L not found
ld: library not found for -lpng12
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make[1]: *** [paparazzicenter] Error 2
make: *** [center] Error 2

I have also uploaded the main.log file from when the paparazzi macport
install failed (it stops at the same place) at:
http://www.ualberta.ca/~scdwyer/docs/
if this helps at all.

Thanks in advance for any help,
-Stephen Dwyer

On Thu, Jan 13, 2011 at 9:59 PM, Bernard Davison
<address@hidden> wrote:
> Hi Stephen,
>
> I should change the instructions to say edit ~/.profile as that is better.
> I'll get to programming over the weekend. Just don't know yet if what was 
> compiled actually works.
>
> Once we have the process a little more sorted and robust we'll link the 
> MacOSX install page on the Installation page to let people know about it.
>
> Cheers,
> Bernie.
>
> On 14/01/2011, at 11:20 AM, Stephen Dwyer wrote:
>
>> Hello,
>>
>> I also discovered the wiki page describing the OSX installation. I
>> just wanted to report I was successfully able to install using both
>> the slightly older 18 step process as well as the new 10 step process.
>> The only hiccup was during the 18 step process, as I needed to get the
>> wget macport. Both have resulted in successfully running Paparazzi
>> Center, though I have yet to compile an airframe for simulation or
>> otherwise (I have only run it a couple of times prior, still learning
>> about everything). I wanted to note I modified my ~/.profile file
>> instead of the /etc/profile one, but I am not sure if this was ok.
>> Thanks for working on this!
>>
>> Thanks,
>> -Stephen
>>
>> On Thu, Jan 13, 2011 at 4:05 PM, David Conger <address@hidden> wrote:
>>> Hi Eric,
>>> Good catch. It has been a very long time since I updated. Doing it now...
>>> -David
>>> On Jan 13, 2011, at 12:09 AM, Eric Parsonage wrote:
>>>
>>> David,
>>> the xml-light library seems to be missing for you. When was the last time
>>> you updated your ports I had the maintainer do a modification to that port?
>>> and did you install the xml-light port ?
>>> Eric
>>>
>>>
>>>
>>> On 13/01/2011, at 5:01 PM, David Conger wrote:
>>>
>>> Hello,
>>> I know I'm being impatient but maybe I can help test this.
>>> I'm following the steps on this
>>> page: http://paparazzi.enac.fr/wiki/InstallationMacOSX
>>> First issue:
>>> mac-3:~ bmw330i$ sudo port install git-core
>>> Password:
>>> Sorry, try again.
>>> Password:
>>> --->  Computing dependencies for git-core
>>> --->  Verifying checksum(s) for curl-ca-bundle
>>> Error: Checksum (md5) mismatch for certdata-1.62.txt
>>> Error: Checksum (sha1) mismatch for certdata-1.62.txt
>>> Error: Checksum (rmd160) mismatch for certdata-1.62.txt
>>> Error: Target org.macports.checksum returned: Unable to verify file
>>> checksums
>>> Error: The following dependencies failed to build: curl curl-ca-bundle
>>> p5-error rsync
>>> Error: Status 1 encountered during processing.
>>> Before reporting a bug, first run the command again with the -d flag to get
>>> complete output.
>>> Second:
>>> All is good until I do the make:
>>> mac-3:paparazzi bmw330i$ make
>>> cd sw/supervision; make
>>> ocamldep -I ../lib/ocaml *.ml* > .depend
>>> grep -v invisible_char paparazzicenter.glade > /tmp/paparazzicenter.glade
>>> lablgladecc2 -hide-default -root window /tmp/paparazzicenter.glade >
>>> gtk_pc.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC gtk_pc.ml
>>> grep -v invisible_char paparazzicenter.glade > /tmp/paparazzicenter.glade
>>> lablgladecc2 -hide-default -root hbox_program /tmp/paparazzicenter.glade |
>>> grep -B 1000000 "  end" > gtk_process.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC gtk_process.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC ../lib/ocaml/extXml.mli
>>> ocamlfind: Package `xml-light' not found
>>> OC ../lib/ocaml/env.mli
>>> ocamlfind: Package `xml-light' not found
>>> OC pc_common.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC ../lib/ocaml/gtk_tools.mli
>>> ocamlfind: Package `xml-light' not found
>>> OC pc_aircraft.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC pc_control_panel.ml
>>> ocamlfind: Package `xml-light' not found
>>> OC paparazzicenter.ml
>>> make[1]: *** No rule to make target `../lib/ocaml/lib-pprz.cma', needed by
>>> `paparazzicenter'.  Stop.
>>> make: *** [center] Error 2
>>> I'm a bit of a do it once and then understand person. Steps 12, 14, 15 are
>>> confusing as pseudo variables are used that are not well explained. like "cd
>>> <GIT>/paparazzi" ... where is <GIT> defined? Now where I used git to clone
>>> to is my home so I took a guess you meant: ${HOME}/paparazzi
>>> Is there any hope of correcting the above? I've tried doing "locate
>>> xml-light"
>>> (/opt/local/var/macports/software/xml-light/2.2_0/opt/local/lib/ocaml) and
>>> adding that to DYLD_LIBRARY_PATH but it's not working. Just seem to need to
>>> know how to get ocamlfile to see the xml-light package or if it's not
>>> installed how to check.
>>> _______________________________________________
>>> 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]