Hi,

Please CC: me when replying as I am not subscribed to the list.

I was compiling gearbox on my Archlinux system and I got an error [1].
This is easily fixed with putting quotes around ${Boost_PYTHON_LIBRARY} in src/hokuyo_aist/python/CMakeLists.txt [2]

Also, as you have requested feedback, you may add to the website that to build Gearbox on Archlinux, use the package build description available at: http://aur.archlinux.org/packages.php?ID=49504

[1]
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/gcc
-- Check for working C compiler: /usr/lib/ccache/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Setting project name to gearbox
-- Setting project version to 10.11.0
-- Running on Linux
-- (Overwriting install dir with command line variable GEARBOX_INSTALL=/usr)
-- Installation directory was set to /usr
-- Setting build type to 'RelWithDebInfo'
-- gcc version: gcc (GCC) 4.5.2 20110127 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Checking gcc version - ok
-- Writing config.h for gearbox
-- Looking for termio.h
-- Looking for termio.h - found
-- Looking for linux/input.h
-- Looking for linux/input.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for sys/filio.h
-- Looking for sys/filio.h - not found
-- Looking for strnlen
-- Looking for strnlen - found
-- == SRC ==
-- Not planning to build library:     basicexample because disabled by user, use ccmake to enable
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Planning to build shared library:  flexiport-1.0.0
-- Planning to build executable:      porttoport
-- Planning to build executable:      serial_example
-- Planning to build executable:      tcp_example
-- Planning to build executable:      udp_example
-- Not planning to build library:     GbxAdvancedExample because disabled by user, use ccmake to enable
-- Planning to build shared library:  GbxLockFileAcfr-1.0.0
-- Planning to build shared library:  GbxSerialAcfr-1.0.0
-- Planning to build executable:      serialechotest
-- Planning to build executable:      serialloopbacktest
-- Planning to build shared library:  GbxUtilAcfr-1.0.0
-- Planning to build shared library:  GbxGarminAcfr-1.0.0
-- Planning to build executable:      gbxgarminacfrtest
-- Planning to build shared library:  GbxNovatelUtilAcfr-1.0.0
-- Planning to build shared library:  GbxNovatelAcfr-1.0.0
-- Planning to build executable:      gbxnovatelacfrtest
-- Looking for libIceUtil - not found
-- Not planning to build library:     GbxIceUtilAcfr because libIceUtil not found
-- Not planning to build library:     GbxSickAcfr because GbxIceUtilAcfr is not being built
-- Not planning to build library:     GbxSmartBatteryAcfr because GbxIceUtilAcfr is not being built
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Planning to build shared library:  hokuyo_aist-2.0.0
-- Planning to build executable:      hokuyo_aist_getid
-- Planning to build executable:      hokuyo_aist_example
-- Found PythonLibs: /usr/lib/libpython2.7.so
-- Boost version: 1.46.0
-- Found the following Boost libraries:
--   python
CMake Error at src/hokuyo_aist/python/CMakeLists.txt:20 (GET_FILENAME_COMPONENT):
  get_filename_component unknown component /usr/lib/libboost_python.so


CMake Error at src/hokuyo_aist/python/CMakeLists.txt:22 (STRING):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.

[2]
sed -i 's/GET_FILENAME_COMPONENT (boostPythonLib ${Boost_PYTHON_LIBRARY} NAME_WE CACHE)/GET_FILENAME_COMPONENT (boostPythonLib "${Boost_PYTHON_LIBRARY}" NAME_WE CACHE)/' src/hokuyo_aist/python/CMakeLists.txt

--
Alexander Lam