Infact, there is only one installation and setting ROS_BOOST_ROOT to /usr/ removes the error. Dont know why the *rosboost-cfg* picks */usr/local* by default ! On Mon, Nov 8, 2010 at 3:46 PM, Josh Faust wrote: > Sounds like there's an alternate installation of boost in /usr/local, that > doesn't include regex. > > On Mon, Nov 8, 2010 at 12:44 PM, Eohan George wrote: > >> Boost has its lib in /usr/lib and include files in /usr/include , which I >> think is the standard location >> Also since when I run >> *rosboost-cfg --root* , it shows */usr/local* , >> >> would I have to set ROS_BOOST_ROOT in that case ? >> >> Eohan >> >> On Mon, Nov 8, 2010 at 3:02 PM, Josh Faust wrote: >> >>> Where is boost installed? If it's in a non-standard location, have you >>> set up your CPATH/LIBRARY_PATH/LD_LIBRARY_PATH? >>> >>> Josh >>> >>> On Mon, Nov 8, 2010 at 11:59 AM, Eohan George wrote: >>> >>>> Hi, >>>> I am not able to obtain the link flags and cflags for boost required for >>>> using 'making' one of my packages. >>>> Running >>>> *rosboost-cfg --libs regex* gives this error >>>> Traceback (most recent call last): >>>> File "/opt/ros/cturtle/ros/bin/rosboost-cfg", line 35, in >>>> rosboost_cfg.main() >>>> File >>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", >>>> line 359, in main >>>> output = lflags(ver, options.lflags.split(',')) >>>> File >>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", >>>> line 276, in lflags >>>> print >> s, lib_flags(ver, lib), >>>> File >>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", >>>> line 265, in lib_flags >>>> lib = find_lib(ver, name) >>>> File >>>> "/opt/ros/cturtle/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", >>>> line 235, in find_lib >>>> raise BoostError('Could not locate library [%s]'%(name)) >>>> rosboost_cfg.rosboost_cfg.BoostError: 'Could not locate library [regex]' >>>> >>>> I am assuming that one of the environment variables are missing, but not >>>> sure which one. >>>> >>>> Eohan >>>> >>>> _______________________________________________ >>>> ros-users mailing list >>>> ros-users@code.ros.org >>>> https://code.ros.org/mailman/listinfo/ros-users >>>> >>>> >>> >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >>> >>> >> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> >> > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >