[ros-users] rosmake ignoring ROS_BINDEPS_PATH ?

Mike Vande Weghe vandeweg at cmu.edu
Mon Aug 9 19:26:49 UTC 2010


Is anyone else having trouble with their value for ROS_BINDEPS_PATH 
being ignored?  I'm seeing two problems:

   1) rosdep looks for log4cxx in /opt/ros instead of looking to see if 
ROS_BINDEPS_PATH is set (incidentally, it also ignores ROS_BOOST_ROOT)

   2) "rosmake rosconsole" isn't including the ROS_BINDEPS_PATH among 
the list of include directories, so log4cxx isn't found.

Thanks,

   Mike


===========================================================================
[ rosmake ] Generating Install Script using rosdep then executing. This 
may take a minute, you will be prompted for permissions. . .
executing this script:
  set -o errexit
#No Packages to install
if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
   mkdir -p ~/ros/ros-deps
   cd ~/ros/ros-deps
   wget --tries=10 
http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
   tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
   cd apache-log4cxx-0.10.0
   ./configure --prefix=/opt/ros
   make
   sudo make install
fi

if [ ! -f /opt/ros/lib/libboost_date_time-gcc42-mt*-1_37.a ] ; then
   mkdir -p ~/ros/ros-deps
   cd ~/ros/ros-deps
   wget --tries=10 http://pr.willowgarage.com/downloads/boost_1_37_0.tar.gz
   tar xzf boost_1_37_0.tar.gz
   cd boost_1_37_0
   ./configure --prefix=/opt/ros
   make
   sudo make install
fi


===========================================================================
% roscd rosconsole
% cd build
% echo $ROS_BINDEPS_PATH
/pr/tools/log4cxx
% VERBOSE=1 make
/usr/bin/c++   -DBOOST_CB_DISABLE_DEBUG -Drosconsole_EXPORTS -O2 -g 
-fPIC -I/pr/ros/ros/core/rosconsole/include 
-I/pr/ros/ros/core/roslib/include -I/pr/tools/boost/include/boost-1_37 
-I/pr/ros/ros/core/roslib/msg_gen/cpp/include 
-I/pr/ros/ros/tools/rospack -I/pr/ros/ros/tools/rospack/include 
-I/pr/ros/ros/3rdparty/gtest/gtest/include 
-I/pr/ros/ros/core/rosconsole/include/rosconsole 
-DROS_PACKAGE_NAME='"rosconsole"' -W -Wall -Wno-unused-parameter 
-fno-strict-aliasing -pthread -o 
CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o -c 
/pr/ros/ros/core/rosconsole/src/rosconsole/rosconsole.cpp

In file included from 
/pr/ros/ros/core/rosconsole/src/rosconsole/rosconsole.cpp:32:
/pr/ros/ros/core/rosconsole/include/ros/console.h:41:28: error: 
log4cxx/logger.h: No such file or directory


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
ros-users mailing list
ros-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users



More information about the ros-users mailing list