Re: [Fedora Robotics] ROS Fuerte

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

 



> Sorry. Uploaded the wrong package. ros-fuerte-1.8.7-1.fc17.src.rpm is
> what you want. Nuke that ros-fuerte-ros SRPM.

Thanks ...

> (Also, keep in mind that these packages are still a bit rough around the
> edges. I haven't done any testing outside of my F17 environment.)

Looks like it won't build on EL6 (SL) ...

DEBUG: CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
DEBUG:   CMake 2.8 or higher is required.  You are running version 2.6.4

I've attached a patch to get it a bit further in mock (actually, log4cxx
isn't in epel, but I have a local build of the koji package).

The build starts but then falls over with

DEBUG: /usr/bin/cmake28 -E cmake_progress_report
/builddir/build/BUILD/fuerte-ros-base/build/CMakeFiles
DEBUG: make[2]: *** No rule to make target
`/usr/lib64/lib64/libboost_date_time-mt.so.5', needed by
`lib/librostime.so'.  Stop.

Not sure why lib64/lib64 got in there ...?

Simon
--- ros.spec.orig	2012-05-30 11:51:02.129027589 +0100
+++ ros.spec	2012-05-30 11:56:42.234019124 +0100
@@ -37,10 +37,16 @@ Patch1:		ros-fuerte-destdir-fix.patch
 # Rename xmlrpcpp files (and subdir the include files) to make it clear that it is a ROS
 # specific fork
 Patch2:		ros-fuerte-xmlrpcpp-fork.patch
-BuildRequires:	cmake, python-setuptools-devel
+%if (0%{?rhel} <= 6)
+BuildRequires: cmake28
+%else
+BuildRequires: cmake
+%endif
+BuildRequires:	python-setuptools-devel
 BuildRequires:	boost-devel, gtest-devel, tinyxml-devel
 BuildRequires:	bzip2-devel, python-nose, apr-devel
 BuildRequires:	python-paramiko, PyYAML, python-empy
+BuildRequires:	log4cxx-devel
 
 %description
 ROS is an open-source, meta-operating system for your robot. It provides the
@@ -291,7 +297,12 @@ Development files for ROS std_msgs.
 Summary:	A cmake based build system
 Version:	%{catkinversion}
 BuildArch:	noarch
-Requires:	cmake, python-setuptools, python-argparse, python-empy
+%if (0%{?rhel} <= 6)
+Requires:	cmake28
+%else
+Requires:	cmake
+%endif
+Requires:	python-setuptools, python-argparse, python-empy
 Requires:	python-yaml, python-nose, gtest
 
 %description -n catkin
@@ -315,7 +326,12 @@ rm -rf rospack/tinyxml-2.5.3
 export DESTDIR=%{buildroot}
 mkdir build
 cd build
-%cmake -DSETUPTOOLS_DEB_LAYOUT=OFF ..
+%if (0%{?rhel} <= 6)
+%{cmake28} .. \
+%else
+%{cmake} .. \
+%endif
+ -DSETUPTOOLS_DEB_LAYOUT=OFF ..
 make %{?_smp_mflags}
 
 %install
_______________________________________________
robotics mailing list
robotics@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/robotics

[Index of Archives]     [Fedora Users]     [Fedora Electronics Lab]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Summer Coding]

  Powered by Linux