[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Paparazzi on Mac OSX
From: |
Bernard Davison |
Subject: |
Re: [Paparazzi-devel] Paparazzi on Mac OSX |
Date: |
Thu, 20 Jan 2011 15:51:13 +1100 |
If you're on skype add me and we'll work it out. rbdavison.
regarding the libpng error...
You're not the only one to get this Piotr also had it and I saw it once.
What you could try is
sudo port install libpng
This will install the macports version of the library.
What I think is happening is that you have a version in /usr/lib that is being
picked up and the compiler is having problems with it for some reason...
If this fixes it then we can add it as a dependency of the paparazzi-tools port.
Thanks,
Bernie.
On 20/01/2011, at 7:09 AM, Stephen Dwyer wrote:
> Hello,
>
> I followed your steps (twice), making sure to update the
> paparazzi-portability-support folder, and paparazzi, and it still
> gives me exactly the same compilation error as I mentioned in my
> previous email, unfortunately. This occurred using either the
> paparazzi port or the git clone method. If you have any thoughts, that
> would be great.... :)
>
> As far as the simulation things, I may be able to try to help... I
> don't have much experience in this area yet, but it doesn't hurt to
> try to learn. I was considering trying to install FlightGear as well,
> and if I can contribute then that would be great, but I can't promise
> anything. I was poking around on the FlightGear wiki and found a few
> things about installing on OSX, but I will need to investigate
> further.
>
> Thanks!
> -Stephen Dwyer
>
> On Tue, Jan 18, 2011 at 7:50 PM, Bernard Davison
> <address@hidden> wrote:
>> Hi Stephen,
>>
>> It turned out that we didn't get things right with some of the earlier ports.
>> We think they are correct now however.
>>
>> What I'd recommend to do is
>> sudo port uninstall --follow-dependents libusb-compat arm-none-eabi-binutils
>> ivy-c jsbsim
>> That should uninstall the following ports:
>> arm-none-eabi-binutils
>> arm-none-eabi-gcc-linaro
>> arm-none-eabi-gdb
>> libcmsis
>> libopenstm32
>> libstm32
>> libstm32usb
>> openocd
>> ivy-c
>> ivy-ocaml
>> jsbsim
>> libftdi
>> libusb-compat
>> paparazzi
>> paparazzi-tools
>>
>> just check that they are all uninstalled by doing
>> port installed | egrep
>> "arm-none-eabi-binutils|arm-none-eabi-gcc-linaro|arm-none-eabi-gdb|libcmsis|libopenstm32|libstm32|libstm32usb|openocd|ivy-c|ivy-ocaml|jsbsim|libftdi|libusb-compat|paparazzi|paparazzi-tools"
>>
>> is anything is still listed uninstall it.
>>
>> Then you can do
>> post install paparazzi-tools
>> Then you can use your own clone of paparazzi.
>> or
>> port install paparazzi
>>
>> If you want to help our with getting the simulator working for the BOOZ and
>> Lisa boards they you can also do
>> port install jsbsim
>> then get in tough with Eric to see where he's up to. I don't think he has
>> time to complete it all by himself.
>> We haven't looked at a port of FlightGear yet and that will be a while off.
>>
>> Let me know if you find any problem and I'll fix them and/or the
>> documentation.
>>
>> Thanks,
>> Bernie.
>>
>> On 19/01/2011, at 11:39 AM, Stephen Dwyer wrote:
>>
>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
smime.p7s
Description: S/MIME cryptographic signature
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, (continued)
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Eric Parsonage, 2011/01/13
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, David Conger, 2011/01/13
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Stephen Dwyer, 2011/01/13
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Bernard Davison, 2011/01/14
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Stephen Dwyer, 2011/01/18
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Bernard Davison, 2011/01/18
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Stephen Dwyer, 2011/01/19
- Re: [Paparazzi-devel] Paparazzi on Mac OSX,
Bernard Davison <=
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Stephen Dwyer, 2011/01/20
- Re: [Paparazzi-devel] Paparazzi on Mac OSX, Piotr Esden-Tempski, 2011/01/21