PDA

View Full Version : Discussion Paparazzi Software Installation


Mecha
Jul 30, 2008, 08:45 AM
Hello all,

I started this thread to get information on the paparazzi software. How to install it and configure it from the beginning. I have read the wiki but have not been successful in understanding how to install the GCS and the require libraries.
I figure I may not be the only one having some of these problems and hopefully this will benefit many new comers to the project.

I have joined the mailing list and have been reading it for about one month. I will be asking all my newbie questions here simply not to bug down the more advance thread started by BMW330i. http://www.rcgroups.com/forums/showthread.php?t=851820 and not to clutter everybody’s email in the mailing list.

One of my goals is that after I successfully complete programming a segment or installation a software portion I will do my best to post screen shots and instructions so that all can follow in some easier way.

So far I have installed Ubuntu and download the LiveCd but the LiveCd fail to complete the installation and I had to reboot, I tried several times with same results.

Mecha
Jul 30, 2008, 08:46 AM
I have read the wiki looking for how to install the GCS, so far no luck. I read that the “Repository” have all the files needed, as I browse it I see many unfamiliar file extensions. So here is the first question.

What is the repository list? Is this the same as saying the file server? The Instructions say to add the lines to the repository list, where is this list? What application I need to open to get this lines working? I tried FireFox and that did not work. Please bare in mind I have never even seen Linux before.
I am guessing I have to open some sort of command line terminal that will lunch the installation?

File: /etc/apt/sources.list
# Uncomment just _one_ of the following lines - depending on your OS version
# deb http://paparazzi.enac.fr/debian etch main
# deb http://paparazzi.enac.fr/ubuntu gutsy main
# deb http://paparazzi.enac.fr/ubuntu hardy main

What method are you guys using to install the GCS? Is the command line the best or is there an easier method. I am used to just double clicking something and having it installed that way.

Mecha
Jul 30, 2008, 04:21 PM
Ok so I think I am moving along. First I checked which version of Ubuntu I had.
I went in About Ubuntu under the System menu and read that I had the Hardy Heron 8.04.
Then under Systems/Administration I found the Synaptic Package Manager
After entering the password the Synaptic Package Manager opened.
From here I went to Settings and clicked on Repositories.
Software Sources window opens and you will see 5 tabs, click on Third-Party Software, and Add.
In the APT line: type, "deb http://paparazzi.enac.fr/ubuntu hardy main" without the ""
Then click Add Source and Close
You are back in the Synaptic Package Manager. Now look for the paparazzi files
paparazzi-arm7, paparazzi-avr, paparazzi-bin, paparazzi-dev. These 4 packages should be in there, select all 4 of them and right click from the menu select Mark for Installation.
A new Warning window appears and just click the Mark button. At the top you will see an Apply button with a check mark on it, click and the installation begins.
After completion go to Applications and click on Other, the paparazzi will be there.

This will open the Paparazzi Center. From here you can activate the GCS, Simulator and Server.

I attached some pictures to illustrate the above steps.

Mecha
Jul 30, 2008, 04:27 PM
I also disabled the TTY function by going to Applications menu Accessories/Terminal then typing "sudo apt-get remove brltty", without "'
Follow the on-screen instructions and you are done. See the image

bmw330i
Jul 30, 2008, 05:20 PM
Hey Mecha, that's a good start. :)
This thread has reminded me to go update mine. I need to add something I was going to post there but I think I really should update mine with it. I just want to express, after all I have learned, that although people want to make the install and use of Paparazzi so easy anyone can do it...I believe now it maybe setting expectations that can't be met.
Case in point would be giving a fully working ready to fly system to extremely intelligent people who have never seen one would quickly have them puzzling over what to do with it. You simply can't avoid the fact to do about anything even flying it requires programming and re-programming to change even the slightest details.
Good luck, remember, there are many, many sources for this info out there. Truly almost anyone with reasonable intelligence and a few hundred hours of time to spend learning how to program it can get good enough to fly it.
-BMW

bmw330i
Jul 30, 2008, 05:40 PM
I just noticed above about the package management. You really don't need or want to install paparazzi.bin I never use it. The dev, arm7 are all you really need. Then follow the Wiki for CVS (may have to install CVS with: sudo apt-get install cvs ). This will create: /home/<your user name>/paparazzi3
Just FYI..this is for the most part mentioned on the Wiki. It in so many words says you don't need to install both (dev and bin)
-BMW

Mecha
Jul 30, 2008, 06:21 PM
Thank you for joining BMW330i I am sure you will be a of great aid.

Is it ok if I leave the -bin and -avr package? do you foresee a problem with them?.

I have no problems removing, actually I did already and re-install too, just to play with it.

I also try installing the CVS file using the Terminal and it says I got the latest files. Did I this correctly? see the image
I browse my home directory under under Places Home Folder and did not see the paparazzi3 forlder only the paparazzi folder

bmw330i
Jul 30, 2008, 07:33 PM
No problems removing .bin .avr won't break anything

... .avr is if you're trying to use a very old Tiny with the old processor (pre ARM7). To compile programs and upload them into that autopilot you need the compiler and source for that processor model. That is what's provided in that .avr file.

The .bin is if you simply want to install just the binaries (binaries=programs and supporting files to run Paparazzi). Don't want all the sources and files a developer would need you can just install the ready to go binaries and supporting files. Load the .bin.

I shouldn't have said anything...because...It's safe to say if you're not having problems...or in another way if it isn't broken don't fix it. Leave it alone. Just if someone is installing right off fresh I'd say either install .bin or .dev but you don't NEED both. Please, see the Wiki for the info on this.

Regarding the Wiki...as I evolve with Paparazzi I see now the importance of a single source for the latest info. Then making that source open for people to edit and update. For people who are not members of RCGroups or never find this thread they are missing out. Please take the time after you get this thread finished to consider updating the Wiki with what you've learned. I am in the process of gathering what I've learned to make my own changes to the Wiki myself.

-BMW

AntonK
Jul 30, 2008, 08:30 PM
FYI, it has been advised not to install both bin and dev as they could cause a problem together(not from me from the ENAC guys)

AJ

Mecha
Jul 31, 2008, 01:17 PM
BMW my intentions are exactly that, to update the wiki with a how to install software users manual type page, with pictures and steps. Of course this will only be valid for Ubuntu 8.04 version and whatever hardware I decide to use.

I read your post http://www.rcgroups.com/forums/showpost.php?p=10249315&postcount=320 and I agree with you. I have been getting involved for about 1 month reading the wiki and I can not even get the software installed (at least 5 hours so far on software alone) you are doing a great job and without people like you and AJ helping us all this will be near impossible for the average Joe.
Thank you!

Mecha
Jul 31, 2008, 01:18 PM
Ok i have done several things since last post.

I removed the .bin and .avr using the Synaptic Package Manager, I then looked under Applications menu and the Other folder was no longer available, which is where I was lunching the Paparazzi Center from when I had the 4 package (.avr, .bin, .arm7, .dev)
I then checked the Places/Home/paparazzi folder I noticed that I do not have the paparazzi3 folder that everyone talks about.

running "sudo apt-get install cvs" in the terminal did not create the paparazzi3 folder so
I read some more in the wiki and decided to open the Terminal and run
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
this line installed the paparazzi3 folder and it seems to have updated all the CVS files. (it ran for about 30 seconds)

Now I have a paparazzi and a paparazzi3 folder and only the .dev and .arm7 packages. However I do not see where to lunch the application from.

I read that I have to run the "Make" from paparazzi3 directory and then execute the "./paparazzi" if the CVS was updated. I have double clicked "makefile and paparazzi-make", and run but nothing happens, I have also tried the Terminal and nothing happens
I am sure I am missing some syntax in the terminal or I am just in the wrong place all together.

Here is what I have in the Home folder

nuggets
Jul 31, 2008, 02:28 PM
Open the terminal, then do the following:

cd ~/paparazzi/paparazzi3
make
./paparazzi &


The first command changes the directory to the paparazzi 3 directory
adding "~" in front is short hand for "/home/yourusername"
the second command compiles the program (should give a bunch of output)
the third command starts Paparazzi Center and the "&" argument moves the process into the background so you can keep using the terminal.

Hope this helps

bmw330i
Jul 31, 2008, 02:58 PM
Hmm...

For me CVS always created the paparazzi3 in my "home" directory. So
cd ~/paparazzi3 or cd paparazzi3
would put me in the sources directory (paparazzi3).
I believe the .bin is where the "paparazzi" directory came from.
This will all depend on "where" you ran the cvs command. That command says to do the sync and put the files in "paparazzi3" which will be created wherever you ran the command. If you ran it from /home/<your username> then you'll get /home/<your username>/paparazzi3

Type this command and post the results:
ls -l ~/ |grep paparazzi
In English that says do a long file list of my home directory. You should see "paparazzi" and "paparazzi3"
If not what is returned?

Don't forget to set the PAPARAZZI_HOME and PAPARAZZI_SRC environment values per the Wiki....I may give replies that include $PAPARAZZI_HOME and by that I mean usually /home/<your username>/paparazzi3.

Mecha
Jul 31, 2008, 04:07 PM
BMW

This is what I get when I run the command: ls -l ~/ |grep paparazzi

mechatronics@mechatronics-desktop:~$ ls -l ~/ |grep paparazzi
drwxr-xr-x 13 mechatronics mechatronics 4096 2008-07-31 13:55 paparazzi
drwxr-xr-x 10 mechatronics mechatronics 4096 2008-07-31 15:54 paparazzi3
mechatronics@mechatronics-desktop:~$

when you say that the PAPARAZZI_HOME and PAPARAZZI_SRC values

I tried to go ~/.basgrc and it says that the file does not exist

I was trying to set these lines
export PAPARAZZI_HOME=your paparazzi3 directory
export PAPARAZZI_SRC=your paparazzi3 directory

should I replace the "your paparazzi3 directory" with "/home/mechatronics/paparazzi3"



Nuggets

cd ~/paparazzi/paparazzi3
make
./paparazzi &

That worked for lunching the application

bmw330i
Jul 31, 2008, 04:39 PM
Mecha,

Something is wrong.

1. it's '.bashrc' not '.basgrc' ... the ~/ just say "my home directory path" would be the same thing to use /home/<your userid> (replace <your userid> with your login id/name). It's a shorthand. The .bashrc file is for the 'bash" (Bourne Again SHell) to setup values at the time the shell is started. At login or opening a new shell those values are set the same as if you typed them in that order at the command prompt. Since the bash shell is the default shell in Ubuntu that's where you put those values.

2. I can see from the command you have both paparazzi and paparazzi3 directory. What's the results of:
cd ~/ && find ./ -name "paparazzi*" -print
In English:
1. change to my home directory
2. if the cd command is successful then do a find command starting where I'm at and recursively into any subdirectories looking for any file (in Unix/Linux a directory is a file) with a name starting with paparazzi and anything after that as well...then print the results.


Nuggets,
why should he be going into the paparazzi/paparazzi3 directory? Shouldn't he be going into ~/paparazzi3? The directory exists. He's essentially going to be compiling and keeping the CVS repository files inside the binary distribution directory? Doesn't seem to make sense. I don't have a ~/paparazzi because I only installed .dev and .arm7 packages. I do have ~/paparazzi3 because I did the cvs to pull down the repository files.

All,
FYI, it's good to do. When you are in Synaptic Package Manager click one time on an installed package then there is a "Properties" button. In there is good info about the package. While learning your way around there is good info in there.

bmw330i
Jul 31, 2008, 04:56 PM
Mecha,

I'd suggest this.

Remove the paparazzi3 from your paparazzi directory. Then re-create it in your home directory alongside the paparazzi directory. There is no benefit I can see to having it in there.

To do this:

rm -rf ~/paparazzi/paparazzi3
cd ~/
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
cd ~/paparazzi3 && make clean ; make

The steps that would to me be easiest for someone starting with Ubuntu 8.xx would be these (in order):

cd ~/
sudo su
echo "deb http://paparazzi.enac.fr/ubuntu hardy main" >>/etc/apt/sources.list
exit
sudo apt-get update
sudo apt-get install paparazzi-dev paparazzi-arm7
sudo apt-get remove brltty
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
myhome=`pwd`
echo "PAPARAZZI_HOME=${myhome}" >>~/.bashrc
echo "PAPARAZZI_SRC=${myhome}" >>~/.bashrc
echo "PATH=$PATH:.:${myhome}/paparazzi3" >>~/.bashrc
cd ~/paparazzi3 && make

To run paparazzi:
cd ~/paparazzi3/paparazzi
or
exit
open a new terminal...
paparazzi
Copy and paste would be encouraged for all the above to avoid typos.
-BMW

Mecha
Jul 31, 2008, 09:04 PM
I do not think I ever had the paparazzi3 inside paparazzi folder. Anyways I deleted the paparazzi folder usingrm -rf ~/paparazzi. Does it matters if I delete or execute a file by directly clicking on it, rather than going through the Terminal?

after this I ran again the CVS update
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
cd ~/paparazzi3 && make clean ; make

then when I ran this it did not look like it did anything see picture

myhome=`pwd`
echo "PAPARAZZI_HOME=${myhome}" >>~/.bashrc
echo "PAPARAZZI_SRC=${myhome}" >>~/.bashrc
echo "PATH=$PATH:.:${myhome}/paparazzi3" >>~/.bashrc

I tried to check like the wiki says by runningenv | grep PAPARAZZI in the Home and in the paparazzi3 nether display a thing

I am now able run the Paparazzi Central, ether by the terminal or by double clicking on paparazzi file in the paparazzi3 folder. I do not have a nice shortcut with the penguin logo like before when I had the .bin directory. But this seems to be running

bmw330i
Jul 31, 2008, 10:09 PM
Mecha,

things in your .bashrc only take effect (or are run) when you login or create a new shell. Did you close that terminal then create a new one before checking the values were set? Just adding them to the file doesn't make them happen. However, when you open a new shell EVERYTHING in that file is executed. Each time.

You're learning a lot. That's awesome.
-BMW

Mecha
Aug 01, 2008, 07:41 PM
Ok, so far I have installed the Paparazzi Center using the Synaptic Package Manager and the Terminal. I am able run the Paparazzi Center every time. I do not know if it is correctly installed. What I mean is that I am not sure If the PAPARAZZI_HOME and PAPARAZZI_SRC are installed or configured.

I read what you said but I am not sure about the what is the "shell". I have ran the code in the terminal exactly in the order you mentioned but I never see anything happen after I run
myhome=`pwd`
echo "[CODE]PAPARAZZI_HOME=${myhome}" >>~/.bashrc
echo "PAPARAZZI_SRC=${myhome}" >>~/.bashrc
echo "PATH=$PATH:.:${myhome}/paparazzi3" >>~/.bashrc

I closed the terminal and then ran another one and typed "env | grep PAPARAZZI" I have repeated the steps several times doing different combinations but I do not see those lines doing anything. I sure do not get what the wiki says.

I feel pretty dumb as I am sure this is not complicated at all.

What does the myhome=`pwd` do? and why the echo and not export like the wiki suggest?

Mecha
Aug 04, 2008, 02:57 AM
Here is my rough draft for the First installment of the Software Installation. I will like to get all of your feedback to make it better and finally I will upload it to the wiki which will include some screen shots.

After this I will start coding the Airframe, Flight plan, Radio and Telemetry files, and create a similar guide for each.

Mecha
Aug 04, 2008, 03:00 AM
This guide is intended for the complete newbie, he or she who does not have any experience with Unix/Linux but will like to get started in using Paparazzi. If you have experience with Linux or Paparazzi you may find this guide some what trivial and may want to read the wiki http://paparazzi.enac.fr/wiki/index.php/Installation for more advance setup options.

I will be using Ubuntu 8.04 which can be downloaded here: http://www.ubuntu.com/testing/hardy/beta

Once you have installed and configured Ubuntu 8.xx make sure that your internet connectivity is active and you can browse the net. This is important as you will be downloading the Paparazzi software. It is important to read the wiki and become familiarized with it. You may also what to read the RCGroups.com threads on the Paparazzi autopilots and software installation.

http://www.rcgroups.com/forums/showthread.php?t=901474
http://www.rcgroups.com/forums/showthread.php?t=851820

The Paparazzi software is composed of packages that bundle all the configuration files need. Before I go into configuration or even downloading the software you need to be familiar with how to do it. I will try to compare Ubuntu with the windows equivalent as it may be easier to understand that way.

First in Ubuntu you run and configure your programs using the Terminal or the Synaptic Package Manager. The Terminal is a command line application much similar to the CMD in windows. The Terminal is found by going to Applications menu Accessories/Terminal. Once the Terminal is opened you will see yourname@yourname-desktop:~$
This means that you are running the command line in your desktop folder inside your Home folder. If you go to the menu Paces/Home folder/desktop and open it you will see the files on your desktop. This is equivalent as going to your C:\documents and settings\yourusername.

To change a directory in the Terminal is much similar to that of MS-DOS with the Call Directory command “cd”. So if you want to go to the Pictures folder you will type “cd pictures” which will take you to yourname@yourname-pictures:~$.
(please note that the quotes “” are not part of the syntax)
If you do not happen to be in your Home folder directory you can use the command “~/” which is a shortcut to go to your Home directory. So for example, you could write “cd ~/pictures” and this will take you to your Pictures folder inside your Home folder regardless where you where in the Terminal. So, for us newbie’s it is a good idea to always use the tilde and slash to ensure we are in the correct folder.

The “make” command is used to execute a list of commands associated with a target, so if you want to run and execute recently installed files say in the paparazzi3 (you do not have this folder yet) directory you will have to execute the make command, this is also done whenever you update files in that directory like the CVS files.

The Synaptic Package Manager is something like the Add and Remove programs in Windows. This can be found by going to Systems/Administration menu. Here we will be installing the Paparazzi modules needed to run the Paparazzi Center, which include all the configuration files such as the Airframe, Radio, Telemetry, Flight Plan and the CGS interface.

So on with the installation.

1. Open the Synaptic Package Manager
2. Go to Settings/Repositories
3. Click on Third-Party Software tab and click Add
4. APT line (type): deb http://paparazzi.enac.fr/ubuntu hardy main
5. Click on Add Source, and check that the link is added and checked
6. Close the Sources Software window
7. Click on the Reload buttom

Now you see the programs list. Search for Paparazzi. You will see 4 files containing paparazzi (paparazzi-arm7, paparazzi-avr, paparazzi-bin, paparazzi-dev) If you are using the Tiny 2.11 You will only need 2 of these, the paparazzi-arm7 and the paparazzi-dev. Note that it is not advise to install the .dev and .bin together, and the .avr is an older package used in previous versions.

8. Select the paparazzi-arm7 and paparazzi-dev by clicking on them
9. Right click one of them and select Mark for Installation
10. Click on the Apply button

(Note: By right clicking on any of the paparazzi packages we can go to its properties and read what the package contains.)

The packages will be installed. Now we can close the Synaptic Package Manager and open the Terminal. We are getting ready to uninstall the TTY in Ubuntu and install the CVS updates, as well as create the Paparazzi3 folder in the Home Folder menu. Also we will rung the “make” and finally run the Paparazzi Central.

Run all the commands in the same Terminal window, Type one and hit enter, and then type the next one so on until you finish the list.

1. sudo apt-get remove brltty
2. cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
3. myhome=`pwd`
4. echo "PAPARAZZI_HOME=${myhome}" >>~/.bashrc
5. echo "PAPARAZZI_SRC=${myhome}" >>~/.bashrc
6. echo "PATH=$PATH:.:${myhome}/paparazzi3" >>~/.bashrc
7. cd ~/paparazzi3 && make

Now you have installed all the components necessary to run the Paparazzi Central
There are two ways you can run it. First, by going to the paparazzi3 folder Place/Home floder/paparazzi3 and double clicking on the “paparazzi” file and select the Run button on the dialog box. The second, by using the Terminal and typing “cd ~/paparazzi3/paparazzi” Note that if you close the Terminal you will terminate the application.

Every so often the CVS files will need to be updated, for this, open the Terminal and type

1. cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/paparazzi co paparazzi3
2. cd ~/paparazzi3 && make

PB4
Aug 04, 2008, 07:56 AM
hello, guys, I've got a really stupid question to ask, unfortunatelly I haven't found the answer in all the wiki/posts abound paparazzi (hope is not there otherwise I'll look really dumb) but what software is used to develop Paparazzi? I mean is there an IDE that I have to install for GCS and the onborad program or do I just use the text editor?
I can see the wiki says the .dev package will include all the tools to 'compile' the code, that doesn't mean tools to develop/edit it..
I'm new to free softwares and have only been a Windows/Visual studio kind of guy until now..
hope someone can kindly point me the right way

Mecha
Aug 04, 2008, 08:21 PM
Any suggestions on the newbie user's guide?

joekadet
Aug 04, 2008, 09:12 PM
The little "smiles" in the ... -d:pserver........ command line sequence makes it hard for a newbe to cut and paste. Just my 2 cents.
Great start, I used it and had no trouble getting linux and paparazzi installed and running.

Thanks

oops
I see where they come from now. Maybe an explanation is in order.

bmw330i
Aug 05, 2008, 12:34 AM
The little "smiles" in the ... -d:pserver........ command line sequence makes it hard for a newbe to cut and paste. Just my 2 cents.
Great start, I used it and had no trouble getting linux and paparazzi installed and running.

Thanks

oops
I see where they come from now. Maybe an explanation is in order.\

Smiles show up because you didn't enclose those character inside "code" tags. See the # character (icons) above where you enter the text (not the quick reply) of your post? Hover the pointer over each and read the help text that pops up. When you want something literally as you type it enclose it in "code" tags.

bmw330i
Aug 05, 2008, 01:03 AM
Ok, so far I have installed the Paparazzi Center using the Synaptic Package Manager and the Terminal. I am able run the Paparazzi Center every time. I do not know if it is correctly installed. What I mean is that I am not sure If the PAPARAZZI_HOME and PAPARAZZI_SRC are installed or configured.

I read what you said but I am not sure about the what is the "shell".
Please use google and type "unix shell" or "linux shell" ...

I have ran the code in the terminal exactly in the order you mentioned but I never see anything happen after I run
myhome=`pwd`
echo "[CODE]PAPARAZZI_HOME=${myhome}" >>~/.bashrc
echo "PAPARAZZI_SRC=${myhome}" >>~/.bashrc
echo "PATH=$PATH:.:${myhome}/paparazzi3" >>~/.bashrc

I closed the terminal and then ran another one and typed "env | grep PAPARAZZI" I have repeated the steps several times doing different combinations but I do not see those lines doing anything. I sure do not get what the wiki says.

I feel pretty dumb as I am sure this is not complicated at all.
It's a completely normal feeling when you don't know. It is complicated. Don't give up. All the info exists...I once helped write interview questions for consultants...guess what we ( a panel of consultants) thought was a KEY absolutely had to have skill for a good consultant???? The ability to go to the Internet and Google or Yahoo or ? search for an answer instead of puzzling over it too long. Really. I do it all day long. Why does this or that happen? What is this or that? What is Linux? What is an ARM7 CPU? ... honest. There are billions of answers out there to these questions waiting to be found :)

What does the myhome=`pwd` do? and why the echo and not export like the wiki suggest?
It sets a shell variable to the path of your current working directory. Then that value can be used by simply using $myhome. Dollar sign means "variable". When you set the variable in shell you leave off the $. When you reference the variable you add the $.

I can say with certainty something as complicated as an Unmanned Aerial Vehicle needs to be treated with great respect. No different that RC aircraft. This is a good start. I hope to see lots of info though in the step-by-step so people can educated themselves not blindly follow the steps and then go fly.

Some suggestions:
1. add lots of URL to the sources of the information. I like to tell someone do this and that step them include the URL to the Wiki so they can follow the Wiki steps not my steps. I give the overview they have to read the specifics. Same with commands and explanations. Give a high level then dig into the step by step and embed lots of tags/URL to a web page so they can read up. Example: "type this shell (http://en.wikipedia.org/wiki/Unix_shell) command to ... " so, you see I use the word "shell" but link you to where you can get more info if you need it. You will have to learn a bit about the little icons above. What I did was used the "Insert Hyperlink" one. :)

2. Make it step-by-step but not something you just blindly follow and you're all done go fly. There must be some level of competency to this before you fly.

Mecha
Sep 02, 2008, 01:32 PM
Hi all,

I have been absent for some time since the summer term was over. Now I will continue with this thread.

I notice that a few things have changed since my last posted instructions so i will update.

If when you run
cd ~/paparazzi3 && make
you get the following error:
File "xmlCom.mli", line 27, characters 27-43:
Unbound type constructor Nethtml.document
make[1]: *** [xmlCom.cmi] Error 2
make: *** [lib] Error 2

you need to update your libocamlnet-ocaml-dev package this is discussed in the mailing list. you need to do the following steps from Pascal's email
you need to install this package in order to compile:
sudo apt-get install libocamlnet-ocaml-dev
or simply upgrade your paparazzi-dev package:
sudo apt-get update
sudo apt-get install paparazzi-dev

Mick Molloy
Sep 05, 2008, 09:06 PM
Nice Job I have just be having the same problems you did, I think you covered it here...

When using the live CD did it hang at the pcmcia setup... mine did but from the link below try "On some laptops, you have to enter "knoppix nopcmcia", otherwise it hangs."

http://paparazzi.enac.fr/wiki/index.php/Using_the_Boot_CD

martinpi
Sep 11, 2008, 07:00 PM
:) Mecha, you are doing a great job! :)

Probably you find all the traps other users may overlook. Feeling dumb is very normal when you work with software.

BMW my intentions are exactly that, to update the wiki with a how to install software users manual type page, with pictures and steps. ...


Let me I suggest that you start putting your howto into the Wiki even when it is not finished. You can mention that it is work in progress.
Well, I am not really experienced with the Wiki, I recently wrote my first article.

samir140
Sep 17, 2008, 10:14 AM
Hi Guys,
Whenever I use this command "apt-get install paparazzi-dev"
I get the following error:

The following packages have unmet dependencies:
paparazzi-dev: Depends: libxml-light-ocaml-dev but it is not installable
Depends: liblablgtk2-ocaml-dev but it is not going to be installed
Depends: liblablgtk2-gnome-ocaml-dev but it is not installable
Depends: libcamlimages-ocaml-dev but it is not going to be installed
Depends: libocamlnet-ocaml-dev but it is not going to be installed

Anybody knows why?

microtaint
Sep 25, 2008, 11:20 PM
Hi Guys,
Whenever I use this command "apt-get install paparazzi-dev"
I get the following error:

The following packages have unmet dependencies:
paparazzi-dev: Depends: libxml-light-ocaml-dev but it is not installable
Depends: liblablgtk2-ocaml-dev but it is not going to be installed
Depends: liblablgtk2-gnome-ocaml-dev but it is not installable
Depends: libcamlimages-ocaml-dev but it is not going to be installed
Depends: libocamlnet-ocaml-dev but it is not going to be installed

Anybody knows why?


Answer this question and you solved the problem of the day for me... i'm using debian install. but i think it means you have to go find those files and install them or something because they are dependent on them???

lol

someone??

microtaint
Sep 26, 2008, 12:10 AM
because we (meaning i had this problem) need to install the dependencies of this software.

bmw330i
Sep 26, 2008, 09:42 PM
Answer this question and you solved the problem of the day for me... i'm using debian install. but i think it means you have to go find those files and install them or something because they are dependent on them???

lol

someone??

Well, I am relatively sure this means you might not be using the right repository. They list several on the Wiki and you are to uncomment the "correct" one. Try using one at a time and using that command. Actually start with the last one. I think it's hardy?
http://paparazzi.enac.fr/wiki/index.php/Installation

You could also try using apt-get remove and remove all then just install the dev and arm7 and see if you have the same issues. (don't install bin).

See if that helps.
-BMW

danidanko
Sep 28, 2008, 04:36 AM
what a great thread. no problem on installation using your guide

d.

microtaint
Oct 04, 2008, 02:00 PM
install worked great.