Paparazzi on Mac OSX

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Paparazzi on Mac OSX

David Conger-2
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

David Conger-2
UPDATE: Fixed the first issue... had to manually remove the certdata-1.62.txt file. 
mac-3:curl bmw330i$ sudo port clean --all curl-ca-bundle
--->  Cleaning curl-ca-bundle

Then re-install:
mac-3:~ bmw330i$ sudo port install curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.20.0.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.62.txt from http://distfiles.macports.org/curl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.20.0_1
--->  Activating curl-ca-bundle @7.20.0_1
--->  Cleaning curl-ca-bundle

Now re-running the initial port install command from step3.

-David
On Jan 12, 2011, at 10:31 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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Bernard Davison
Hi David.

Hopefully the install procedure will be quite a lot easier by this time next week. :-) fingers crossed.
You're welcome to join Eric, I and the others in helping/testing.
Are you on Skype? if so add me as a contact. rbdavison

Cheers,
Bernie.

On 13/01/2011, at 5:52 PM, David Conger wrote:

UPDATE: Fixed the first issue... had to manually remove the certdata-1.62.txt file. 
mac-3:curl bmw330i$ sudo port clean --all curl-ca-bundle
--->  Cleaning curl-ca-bundle

Then re-install:
mac-3:~ bmw330i$ sudo port install curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.20.0.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.62.txt from http://distfiles.macports.org/curl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.20.0_1
--->  Activating curl-ca-bundle @7.20.0_1
--->  Cleaning curl-ca-bundle

Now re-running the initial port install command from step3.

-David
On Jan 12, 2011, at 10:31 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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

smime.p7s (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Eric Parsonage
In reply to this post by David Conger-2
David 

great to see you noticed the osx install instructions.

Bernard and I are working on some macports to make the process automated

In fact as soon as those are finished we will have a binary installer and probably only 3 or 4 instructions in the whole process

Eric


On 13/01/2011, at 5:22 PM, David Conger wrote:

UPDATE: Fixed the first issue... had to manually remove the certdata-1.62.txt file. 
mac-3:curl bmw330i$ sudo port clean --all curl-ca-bundle
--->  Cleaning curl-ca-bundle

Then re-install:
mac-3:~ bmw330i$ sudo port install curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.20.0.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.62.txt from http://distfiles.macports.org/curl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.20.0_1
--->  Activating curl-ca-bundle @7.20.0_1
--->  Cleaning curl-ca-bundle

Now re-running the initial port install command from step3.

-David
On Jan 12, 2011, at 10:31 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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Eric Parsonage
In reply to this post by David Conger-2
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Bernard Davison
In reply to this post by Eric Parsonage
FYI: Eric and I have just brought the number of steps down to about 10. (http://paparazzi.enac.fr/wiki/InstallationMacOSX)
So it might be a little easier for you.

We haven't had a chance to see if what is built actually works yet. but it's bed time.
If it's not for you. I'm sure we'd both like to hear of your success. :-D fingers crossed.

Cheers,
Bernie.

On 13/01/2011, at 7:07 PM, Eric Parsonage wrote:

David 

great to see you noticed the osx install instructions.

Bernard and I are working on some macports to make the process automated

In fact as soon as those are finished we will have a binary installer and probably only 3 or 4 instructions in the whole process

Eric


On 13/01/2011, at 5:22 PM, David Conger wrote:

UPDATE: Fixed the first issue... had to manually remove the certdata-1.62.txt file. 
mac-3:curl bmw330i$ sudo port clean --all curl-ca-bundle
--->  Cleaning curl-ca-bundle

Then re-install:
mac-3:~ bmw330i$ sudo port install curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.20.0.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.62.txt from http://distfiles.macports.org/curl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.20.0_1
--->  Activating curl-ca-bundle @7.20.0_1
--->  Cleaning curl-ca-bundle

Now re-running the initial port install command from step3.

-David
On Jan 12, 2011, at 10:31 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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

smime.p7s (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

David Conger-2
In reply to this post by Bernard Davison
Thank you. I will cross my fingers. I found how to get port to update itself and am doing that currently...very long process. 
I'll add you in Skype. I have to be honest and say I have an account but have yet to actually call someone with it. :)
-David
On Jan 12, 2011, at 11:47 PM, Bernard Davison wrote:

Hi David.

Hopefully the install procedure will be quite a lot easier by this time next week. :-) fingers crossed.
You're welcome to join Eric, I and the others in helping/testing.
Are you on Skype? if so add me as a contact. rbdavison

Cheers,
Bernie.

On 13/01/2011, at 5:52 PM, David Conger wrote:

UPDATE: Fixed the first issue... had to manually remove the certdata-1.62.txt file. 
mac-3:curl bmw330i$ sudo port clean --all curl-ca-bundle
--->  Cleaning curl-ca-bundle

Then re-install:
mac-3:~ bmw330i$ sudo port install curl-ca-bundle
--->  Computing dependencies for curl-ca-bundle
--->  Fetching curl-ca-bundle
--->  Attempting to fetch curl-7.20.0.tar.bz2 from http://distfiles.macports.org/curl
--->  Attempting to fetch certdata-1.62.txt from http://distfiles.macports.org/curl
--->  Verifying checksum(s) for curl-ca-bundle
--->  Extracting curl-ca-bundle
--->  Applying patches to curl-ca-bundle
--->  Configuring curl-ca-bundle
--->  Building curl-ca-bundle
--->  Staging curl-ca-bundle into destroot
--->  Installing curl-ca-bundle @7.20.0_1
--->  Activating curl-ca-bundle @7.20.0_1
--->  Cleaning curl-ca-bundle

Now re-running the initial port install command from step3.

-David
On Jan 12, 2011, at 10:31 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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

David Conger-2
In reply to this post by Eric Parsonage
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
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Stephen Dwyer
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 <[hidden email]> 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
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Bernard Davison
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 <[hidden email]> 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
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

smime.p7s (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Stephen Dwyer
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
<[hidden email]> 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 <[hidden email]> 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
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Bernard Davison
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
> <[hidden email]> 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 <[hidden email]> 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
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

smime.p7s (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Stephen Dwyer
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
<[hidden email]> 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
>> <[hidden email]> 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 <[hidden email]> 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
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Bernard Davison
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
> <[hidden email]> 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
>>> <[hidden email]> 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 <[hidden email]> 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
>>>>>> [hidden email]
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> [hidden email]
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> [hidden email]
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

smime.p7s (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Stephen Dwyer
Hello,

I got it figured out. I had two macports of libpng installed: libpng
@1.2.44 and libpng @1.4.5 (active). First I did:

   sudo port uninstall libpng @1.2.44

Then I did:

   sudo port uninstall --follow-dependents libpng

This uninstalled a large number of ports. I followed this with:

   sudo port install paparazzi-tools

which installed most of what had been uninstalled previously,
including libpng. After everything was finished, I was able to
successfully compile paparazzi using a clone.

Thanks!
-Stephen Dwyer


On Wed, Jan 19, 2011 at 9:51 PM, Bernard Davison
<[hidden email]> wrote:

> 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
>> <[hidden email]> 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
>>>> <[hidden email]> 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 <[hidden email]> 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
>>>>>>> [hidden email]
>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Paparazzi-devel mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Paparazzi-devel mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> [hidden email]
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Piotr Esden-Tempski-2
I tried your solution and it works for me.

I found one more thing. My ports installation is quite old so I have tons of inactive ports lingering around. That meant that when I run 'sudo port uninstall --follow-dependents libpng' port asks me for each dependency which version I want to uninstall. To make things simpler I uninstalled all the inactive ports as I am not using those anyways and they are only eating up my disk space runing:
sudo port uninstall inactive

After that uninstalling libpng went smoothly. :)

Cheers and thanks Esden

On Jan 20, 2011, at 4:52 PM, Stephen Dwyer wrote:

> Hello,
>
> I got it figured out. I had two macports of libpng installed: libpng
> @1.2.44 and libpng @1.4.5 (active). First I did:
>
>   sudo port uninstall libpng @1.2.44
>
> Then I did:
>
>   sudo port uninstall --follow-dependents libpng
>
> This uninstalled a large number of ports. I followed this with:
>
>   sudo port install paparazzi-tools
>
> which installed most of what had been uninstalled previously,
> including libpng. After everything was finished, I was able to
> successfully compile paparazzi using a clone.
>
> Thanks!
> -Stephen Dwyer
>
>
> On Wed, Jan 19, 2011 at 9:51 PM, Bernard Davison
> <[hidden email]> wrote:
>> 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
>>> <[hidden email]> 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
>>>>> <[hidden email]> 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 <[hidden email]> 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
>>>>>>>> [hidden email]
>>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Paparazzi-devel mailing list
>>>>>>>> [hidden email]
>>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Paparazzi-devel mailing list
>>>>>>>> [hidden email]
>>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Paparazzi-devel mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> [hidden email]
>>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> [hidden email]
>>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> [hidden email]
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
--
Blog: http://www.esden.net
Projects:
http://open-bldc.org
http://paparazziuav.org
http://github.org/esden/floss-jtag
http://github.org/esden/summon-arm-toolchain


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel

PGP.sig (210 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Iman
Hello

I've got some error while making new version of paparazzi on 10.7.5 :


IMANs-MacBook-Pro:~ imanshirdareh$ cd ~/paparazzi && make && ./paparazzi------------------------------------------------------------
Building Paparazzi version v5.1_devel-681-g0495437
------------------------------------------------------------
make -C data/maps
-----------------------------------------------
DOWNLOAD: google maps version code
Could not download google maps version code
-----------------------------------------------
make[1]: *** [/Users/imanshirdareh/paparazzi/conf/maps_data/maps.google.com] Error 1
make: [update_google_version] Error 2 (ignored)
make -C sw/lib/ocaml
make[1]: Nothing to be done for `all'.
make -C sw/supervision
make[1]: Nothing to be done for `all'.
make -C sw/ground_segment/misc
make[1]: Nothing to be done for `all'.
make -C sw/logalizer
make[1]: Nothing to be done for `all'.
make -C sw/ground_segment/cockpit
make[1]: Nothing to be done for `all'.
make -C sw/ground_segment/multimon
make[1]: Nothing to be done for `all'.
make -C sw/ground_segment/tmtc
make[1]: Nothing to be done for `all'.
make -C /Users/imanshirdareh/paparazzi/sw/tools
make[1]: Nothing to be done for `all'.
make -C sw/simulator
make[1]: Nothing to be done for `all'.
make -C sw/ground_segment/joystick
make[1]: Nothing to be done for `all'.
GENERATE /Users/imanshirdareh/paparazzi/var/include/messages.h
GENERATE /Users/imanshirdareh/paparazzi/var/include/ubx_protocol.h
GENERATE /Users/imanshirdareh/paparazzi/var/include/mtk_protocol.h
GENERATE /Users/imanshirdareh/paparazzi/var/include/xsens_protocol.h
GENERATE /Users/imanshirdareh/paparazzi/var/include/dl_protocol.h
GENERATE /Users/imanshirdareh/paparazzi/var/include/abi_messages.h
make -C sw/ext
  UPDATING HEADERS
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "./scripts/irq2nvic_h", line 32, in <module>
    import yaml
ImportError: No module named yaml
make[2]: *** [generatedheaders] Error 1
make[1]: *** [libopencm3.module] Error 2
make: *** [ext] Error 2




I skipped errors and run paparazzi center successfully but it seems I have some problem with STM architecture , here is compiling LisaM airframe file result:




RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 clean_ac '
Quad_LisaM_2
rm -fr /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2

DONE 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 clean_ac'

RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 ap.compile '
-----------------------------------------------------------------------
Paparazzi version v5.1_devel-681-g0495437
-----------------------------------------------------------------------
Quad_LisaM_2
BUILD Quad_LisaM_2, TARGET ap
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/airframe.h
##################################################
 AIRFRAME MODEL: Quad_LisaM_2
##################################################
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/modules.h
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/periodic_telemetry.h
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/settings.h
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/autopilot_core.h
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/radio.h
##################################################
 RADIO MODEL: cockpitSX (easy)
##################################################
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/flight_plan.h
##################################################
 FLIGHT PLAN: Booz Test Enac
##################################################
GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/flight_plan.xml
cd sw/airborne; make TARGET=ap all
Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".

Using CC   = arm-none-eabi-gcc
GCC version:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.3 20121207 (release) [ARM/embedded-4_7-branch revision 194305]

CREATING object dir /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/firmwares/rotorcraft/main.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_arch.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_int.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_float.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_double.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_trig_int.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_orientation_conversion.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/lisa/plug_sys.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/gpio_arch.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/led_hw.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/sys_time.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/sys_time_arch.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/subsystems/settings.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/subsystems/settings_arch.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/uart.o
CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o
In file included from ../ext/libopencm3/include/libopencm3/cm3/nvic.h:115:0,
                 from arch/stm32/mcu_periph/uart_arch.c:36:
../ext/libopencm3/include/libopencm3/dispatch/nvic.h:2:39: fatal error: libopencm3/stm32/f1/nvic.h: No such file or directory
compilation terminated.
make[1]: *** [/Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o] Error 1
make: *** [ap.compile] Error 2

FAILED 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 ap.compile' with code 2
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Piotr Esden-Tempski-2
Hi,

For some reason you seem to not have installed the python yaml package. You could try to run:
$ sudo port install py27-yaml

Cheers,
Piotr

On 03 Dec 2013, at 00:12, Iman <[hidden email]> wrote:

> Hello
>
> I've got some error while making new version of paparazzi on 10.7.5 :
>
>
> IMANs-MacBook-Pro:~ imanshirdareh$ cd ~/paparazzi && make &&
> ./paparazzi------------------------------------------------------------
> Building Paparazzi version v5.1_devel-681-g0495437
> ------------------------------------------------------------
> make -C data/maps
> -----------------------------------------------
> DOWNLOAD: google maps version code
> Could not download google maps version code
> -----------------------------------------------
> make[1]: *** [/Users/imanshirdareh/paparazzi/conf/maps_data/maps.google.com]
> Error 1
> make: [update_google_version] Error 2 (ignored)
> make -C sw/lib/ocaml
> make[1]: Nothing to be done for `all'.
> make -C sw/supervision
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/misc
> make[1]: Nothing to be done for `all'.
> make -C sw/logalizer
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/cockpit
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/multimon
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/tmtc
> make[1]: Nothing to be done for `all'.
> make -C /Users/imanshirdareh/paparazzi/sw/tools
> make[1]: Nothing to be done for `all'.
> make -C sw/simulator
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/joystick
> make[1]: Nothing to be done for `all'.
> GENERATE /Users/imanshirdareh/paparazzi/var/include/messages.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/ubx_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/mtk_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/xsens_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/dl_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/abi_messages.h
> make -C sw/ext
>  UPDATING HEADERS
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> make[2]: *** [generatedheaders] Error 1
> make[1]: *** [libopencm3.module] Error 2
> make: *** [ext] Error 2
>
>
>
>
> I skipped errors and run paparazzi center successfully but it seems I have
> some problem with STM architecture , here is compiling LisaM airframe file
> result:
>
>
>
>
> RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 clean_ac '
> Quad_LisaM_2
> rm -fr /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2
>
> DONE 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 clean_ac'
>
> RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 ap.compile '
> -----------------------------------------------------------------------
> Paparazzi version v5.1_devel-681-g0495437
> -----------------------------------------------------------------------
> Quad_LisaM_2
> BUILD Quad_LisaM_2, TARGET ap
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/airframe.h
> ##################################################
> AIRFRAME MODEL: Quad_LisaM_2
> ##################################################
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/modules.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/periodic_telemetry.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/settings.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/autopilot_core.h
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/radio.h
> ##################################################
> RADIO MODEL: cockpitSX (easy)
> ##################################################
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/flight_plan.h
> ##################################################
> FLIGHT PLAN: Booz Test Enac
> ##################################################
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/flight_plan.xml
> cd sw/airborne; make TARGET=ap all
> Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
>
> Using CC   = arm-none-eabi-gcc
> GCC version:
> arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.3 20121207
> (release) [ARM/embedded-4_7-branch revision 194305]
>
> CREATING object dir /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/firmwares/rotorcraft/main.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_arch.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_int.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_float.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_double.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_trig_int.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_orientation_conversion.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/lisa/plug_sys.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/gpio_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/led_hw.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/sys_time.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/sys_time_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/subsystems/settings.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/subsystems/settings_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/uart.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o
> In file included from ../ext/libopencm3/include/libopencm3/cm3/nvic.h:115:0,
>                 from arch/stm32/mcu_periph/uart_arch.c:36:
> ../ext/libopencm3/include/libopencm3/dispatch/nvic.h:2:39: fatal error:
> libopencm3/stm32/f1/nvic.h: No such file or directory
> compilation terminated.
> make[1]: ***
> [/Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o]
> Error 1
> make: *** [ap.compile] Error 2
>
> FAILED 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 ap.compile' with code 2
>
>
>
>
> --
> View this message in context: http://lists.paparazziuav.org/Paparazzi-on-Mac-OSX-tp3564p14181.html
> Sent from the paparazzi-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Stephen Dwyer
Hello Iman,

Can you detail how you installed paparazzi tools on OS X? Did you use Macports or the binary installer? If you used the binary installer, what date was on the dmg installer? If you used the Macports method, could you please run the following commands and paste the output:

$ which python

$ port installed

$ echo $PATH

$ echo ~/.profile

Hopefully we can get this sorted out.

Thanks,
-Stephen Dwyer


On Mon, Dec 2, 2013 at 4:24 PM, Piotr Esden-Tempski <[hidden email]> wrote:
Hi,

For some reason you seem to not have installed the python yaml package. You could try to run:
$ sudo port install py27-yaml

Cheers,
Piotr

On 03 Dec 2013, at 00:12, Iman <[hidden email]> wrote:

> Hello
>
> I've got some error while making new version of paparazzi on 10.7.5 :
>
>
> IMANs-MacBook-Pro:~ imanshirdareh$ cd ~/paparazzi && make &&
> ./paparazzi------------------------------------------------------------
> Building Paparazzi version v5.1_devel-681-g0495437
> ------------------------------------------------------------
> make -C data/maps
> -----------------------------------------------
> DOWNLOAD: google maps version code
> Could not download google maps version code
> -----------------------------------------------
> make[1]: *** [/Users/imanshirdareh/paparazzi/conf/maps_data/maps.google.com]
> Error 1
> make: [update_google_version] Error 2 (ignored)
> make -C sw/lib/ocaml
> make[1]: Nothing to be done for `all'.
> make -C sw/supervision
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/misc
> make[1]: Nothing to be done for `all'.
> make -C sw/logalizer
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/cockpit
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/multimon
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/tmtc
> make[1]: Nothing to be done for `all'.
> make -C /Users/imanshirdareh/paparazzi/sw/tools
> make[1]: Nothing to be done for `all'.
> make -C sw/simulator
> make[1]: Nothing to be done for `all'.
> make -C sw/ground_segment/joystick
> make[1]: Nothing to be done for `all'.
> GENERATE /Users/imanshirdareh/paparazzi/var/include/messages.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/ubx_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/mtk_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/xsens_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/dl_protocol.h
> GENERATE /Users/imanshirdareh/paparazzi/var/include/abi_messages.h
> make -C sw/ext
>  UPDATING HEADERS
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>  File "./scripts/irq2nvic_h", line 32, in <module>
>    import yaml
> ImportError: No module named yaml
> make[2]: *** [generatedheaders] Error 1
> make[1]: *** [libopencm3.module] Error 2
> make: *** [ext] Error 2
>
>
>
>
> I skipped errors and run paparazzi center successfully but it seems I have
> some problem with STM architecture , here is compiling LisaM airframe file
> result:
>
>
>
>
> RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 clean_ac '
> Quad_LisaM_2
> rm -fr /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2
>
> DONE 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 clean_ac'
>
> RUN 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 ap.compile '
> -----------------------------------------------------------------------
> Paparazzi version v5.1_devel-681-g0495437
> -----------------------------------------------------------------------
> Quad_LisaM_2
> BUILD Quad_LisaM_2, TARGET ap
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/airframe.h
> ##################################################
> AIRFRAME MODEL: Quad_LisaM_2
> ##################################################
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/modules.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/periodic_telemetry.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/settings.h
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/autopilot_core.h
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/radio.h
> ##################################################
> RADIO MODEL: cockpitSX (easy)
> ##################################################
> GENERATE
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/generated/flight_plan.h
> ##################################################
> FLIGHT PLAN: Booz Test Enac
> ##################################################
> GENERATE /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/flight_plan.xml
> cd sw/airborne; make TARGET=ap all
> Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
>
> Using CC   = arm-none-eabi-gcc
> GCC version:
> arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.3 20121207
> (release) [ARM/embedded-4_7-branch revision 194305]
>
> CREATING object dir /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/firmwares/rotorcraft/main.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_arch.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_int.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_float.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_geodetic_double.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_trig_int.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/math/pprz_orientation_conversion.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/lisa/plug_sys.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/gpio_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/led_hw.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/sys_time.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/sys_time_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/subsystems/settings.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/subsystems/settings_arch.o
> CC /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/mcu_periph/uart.o
> CC
> /Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o
> In file included from ../ext/libopencm3/include/libopencm3/cm3/nvic.h:115:0,
>                 from arch/stm32/mcu_periph/uart_arch.c:36:
> ../ext/libopencm3/include/libopencm3/dispatch/nvic.h:2:39: fatal error:
> libopencm3/stm32/f1/nvic.h: No such file or directory
> compilation terminated.
> make[1]: ***
> [/Users/imanshirdareh/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_periph/uart_arch.o]
> Error 1
> make: *** [ap.compile] Error 2
>
> FAILED 'make -C /Users/imanshirdareh/paparazzi -f Makefile.ac
> AIRCRAFT=Quad_LisaM_2 ap.compile' with code 2
>
>
>
>
> --
> View this message in context: http://lists.paparazziuav.org/Paparazzi-on-Mac-OSX-tp3564p14181.html
> Sent from the paparazzi-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Paparazzi on Mac OSX

Iman
Hi Stephen

I used binary installer from paparazziuav.org:
paparazzi-tools-Lion_2013-11-18_21-01-05GMT


and about the commands:
which python
 /usr/bin/python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.



port installed

 port installed
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
The following ports are currently installed:
  bzip2 @1.0.6_0 (active)
  coreutils @8.21_0 (active)
  cython_select @0.1_0 (active)
  db46 @4.6.21_8 (active)
  db_select @0.1_2 (active)
  expat @2.1.0_0 (active)
  gettext @0.18.3_0 (active)
  gmp @5.0.5_0 (active)
  libedit @20121213-3.0_0 (active)
  libiconv @1.14_0 (active)
  libyaml @0.1.4_1 (active)
  ncurses @5.9_2 (active)
  openssl @1.0.1e_1 (active)
  python27 @2.7.5_1
  python_select @0.3_2 (active)
  sqlite3 @3.7.17_0 (active)
  xz @5.0.5_0 (active)
  zlib @1.2.8_0 (active)



  echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/paparazzi/bin:/opt/paparazzi/sbin:/usr/texbin



/Users/imanshirdareh/.profile
12