Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errors installing gearbox-10.11 using custom overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
logical_guy
Apprentice
Apprentice


Joined: 18 Sep 2007
Posts: 268

PostPosted: Wed Mar 06, 2013 7:09 pm    Post subject: errors installing gearbox-10.11 using custom overlay Reply with quote

Hi, I'm trying to install gearbox-10.11 using a custom overlay by following the instructions on this page:

http://gearbox.sourceforge.net/gbx_doc_installgentoo.html

I had some trouble, so I emailed their mailing list, but I'm also posting here in the hope that someone can help.

my modified ebuild: http://pastebin.com/EPpUijpS

build.log: http://pastebin.com/tkvCv5tL

environment file: http://pastebin.com/1iCq9Vcn

Please help on how to proceed. Thanks.

Here is what I did, and the emerge error messages:

I downloaded the gearbox-10.11.tar.gz file and extracted the gearbox.ebuild file.
I placed the file in /usr/local/portage/dev-libs/gearbox and made the path known to portage.
I then generated a digest for it using the ebuild tool.

When I tried emerging it then, couldn't download it from sourceforge - gave me a 404 error. So I had to tweak the url settings in the ebuild to fix that.
Then it gave me an error about not being able to find the work directory in /tmp for gearbox. So I had to change the S variable in the ebuild to fix it.

It then went ahead a bit more but failed again with the following messages:

Code:
ro-laptop gearbox # emerge gearbox
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/gearbox-10.11 from x-portage
 * gearbox-10.11.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                       [ ok ]
>>> Unpacking source...
>>> Unpacking gearbox-10.11.tar.gz to /var/tmp/portage/dev-libs/gearbox-10.11/work
>>> Source unpacked in /var/tmp/portage/dev-libs/gearbox-10.11/work
>>> Compiling source in /var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_LIB_BASIC=ON -DENABLE_LIB_GBXADVANCED=ON -DENABLE_LIB_GBXGARMINACFR=OFF -DENABLE_LIB_GBXSERIALACFR=OFF -DENABLE_LIB_GBXSICKACFR=OFF -DENABLE_LIB_GBXSMARTBATTERYACFR=OFF -DENABLE_LIB_GBXUTILACFR=OFF -DENABLE_LIB_HOKUYO_AIST=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build/gentoo_rules.cmake  /var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- 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
-- Linux x86_64 Target Detected
-- Installation directory was set to /usr
-- Build type set to 'Gentoo' by user.
-- gcc version: x86_64-pc-linux-gnu-gcc (Gentoo 4.6.3 p1.11, pie-0.5.2) 4.6.3
Copyright (C) 2011 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
-- Not planning to build library:     GbxSerialAcfr because disabled by user, use ccmake to enable
-- Not planning to build library:     GbxUtilAcfr because disabled by user, use ccmake to enable
-- Not planning to build library:     GbxGarminAcfr because disabled by user, use ccmake to enable
-- Not planning to build library:     GbxNovatelAcfr because GbxUtilAcfr is not being built
-- Not planning to build library:     GbxSickAcfr because disabled by user, use ccmake to enable
-- Looking for libIceUtil - not found
-- Not planning to build library:     GbxIceUtilAcfr because libIceUtil not found
-- Not planning to build library:     GbxSmartBatteryAcfr because disabled by user, use ccmake to enable
-- 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/lib64/libpython2.7.so (found version "2.7.3")
-- Boost version: 1.49.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/lib64/libboost_python-2.7-mt-1_49.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.


-- Hokuyo_aist Python bindings will be built.
-- == SUMMARY ==
-- Project name      gearbox
-- Project version   10.11.0
-- Platform              Linux-3.7.10-gentoo
-- CMake version         2.8-patch 9
-- Install dir           /usr
-- Default library type  SHARED
-- Will build 6 executables  :
--     hokuyo_aist_example;hokuyo_aist_getid;porttoport;serial_example;tcp_example;udp_example
-- Will build 2 libraries  :
--     flexiport-1.0.0;hokuyo_aist-2.0.0
-- Will NOT build 9 libraries (see above for reasons):
--     GbxAdvancedExample;GbxGarminAcfr;GbxIceUtilAcfr;GbxNovatelAcfr;GbxSerialAcfr;GbxSickAcfr;GbxSmartBatteryAcfr;GbxUtilAcfr;basicexample
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -mno-avx
C++             -march=native -O2 -pipe -mno-avx
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
 * ERROR: dev-libs/gearbox-10.11 failed (compile phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2792:  Called cmake-utils_src_compile
 *   environment, line  724:  Called _execute_optionaly 'src_compile'
 *   environment, line  232:  Called enable_cmake-utils_src_compile
 *   environment, line  976:  Called cmake-utils_src_configure
 *   environment, line  728:  Called _execute_optionaly 'src_configure'
 *   environment, line  232:  Called enable_cmake-utils_src_configure
 *   environment, line 1055:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=dev-libs/gearbox-10.11'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/gearbox-10.11'`.
 * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/dev-libs/gearbox-10.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gearbox-10.11/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build'
 * S: '/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11'

>>> Failed to emerge dev-libs/gearbox-10.11, Log file:

>>>  '/var/tmp/portage/dev-libs/gearbox-10.11/temp/build.log'

 * Messages for package dev-libs/gearbox-10.11:

 * ERROR: dev-libs/gearbox-10.11 failed (compile phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2792:  Called cmake-utils_src_compile
 *   environment, line  724:  Called _execute_optionaly 'src_compile'
 *   environment, line  232:  Called enable_cmake-utils_src_compile
 *   environment, line  976:  Called cmake-utils_src_configure
 *   environment, line  728:  Called _execute_optionaly 'src_configure'
 *   environment, line  232:  Called enable_cmake-utils_src_configure
 *   environment, line 1055:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=dev-libs/gearbox-10.11'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/gearbox-10.11'`.
 * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/dev-libs/gearbox-10.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gearbox-10.11/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11_build'
 * S: '/var/tmp/portage/dev-libs/gearbox-10.11/work/gearbox-10.11'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum