Ask Your Question
0

Python core libraries problem in archlinux

asked 2012-04-24 09:00:29 -0600

Erwin Lopez gravatar image

updated 2014-01-28 17:12:04 -0600

ngrennan gravatar image

Greetings

While instaling the core libraries for ROS and following the page instructions http://ros.org/wiki/fuerte/Installation/Arch, I have some comments (if this is not the best place to put this, I appreciate if someone can lead me to the right place)

  1. In the prerequisites part, there is no pcl package, this doesn't exist in arch official repos, only in aur, so this command should be removed.

  2. The packages mantainer removed the swig-wx package that uses ROS specific implementation, and there are some issues compiling FLANN (Archlinux only related issue but is better to put it out in the open).

  3. When making the core libraries, the cmake command gives error about not finding python-empy even when it's installed. This can be fixed if you force cmake to use python2 instead of python3 (or simply python in Archlinux), which I did making a simblik link to an auxiliar folder and putting it in the PATH.

    ln -s /usr/bin/python2 /usr/local/bin/alt/python

    export PATH=/usr/local/bin/alt:$PATH

This python error is because the syntax used in the command, which python3 doesn't support. Being that python3 isn't supported in ROS in general, the best solution would be to use python2 in all the process and make the user aware of this even at this stage.

Only reporting about fuerte experience so far.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-04-24 09:25:30 -0600

Lorenz gravatar image

updated 2012-04-24 09:26:04 -0600

I think the current Arch install instructions are everything but perfect. For electric, I started wrapping all core stacks into AUR packages that should just work out of the box without any further system modifications. It's still not ready for an official release and I also want to prepare packages for Fuerte. Currently, everything can be found on github.

They way I fix the python3 vs python2 issue is by patching all python files to explicitly use python2, not python.

edit flag offensive delete link more
1

answered 2012-04-26 04:29:46 -0600

pallegro gravatar image

fyi, the hdf5-fortran-cxx package already in aur builds the c++ bindings. I used it in building electric before.

edit flag offensive delete link more
0

answered 2012-04-24 09:50:55 -0600

Erwin Lopez gravatar image

Thanks for the answer. I tried using ros-on-arch package but had the same result.

I keep getting problems with pcl-ros swig-wx (the second because doesn't exist in aur, so I will do it manually and generate a PKGBUILD to share), pcl with thew FLANN library unable to compile in my archx86_64 machine. I will review this problem in PCL discussion list.

If you need any help testing or anything let me know, I'm happy to help.

edit flag offensive delete link more

Comments

My packages are not yet on AUR yet but I managed to build PCL, see the pcl_ros subdirectory in my git repository. The only problem is that I had to patch hdf5 to build c++ bindings and I didn't put my patched PKGBUILD online yet. But I will do so soon :)

Lorenz gravatar imageLorenz ( 2012-04-24 10:11:12 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-04-24 09:00:29 -0600

Seen: 677 times

Last updated: Apr 26 '12