Find the answer to your Linux question:
Results 1 to 3 of 3
hello i have been researching how to get my 2nd gen ipod touch to work with my sabayon linux computer. i can to understand i need to download/ install libplist ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27

    libusbmuxd issues


    hello i have been researching how to get my 2nd gen ipod touch to work with my sabayon linux computer. i can to understand i need to download/ install libplist usbmuxd libimobiledevice and ifuse. i got libplist to install no problems there.
    its when i installed usbmuxd i went though the process and here it is

    Code:
    ladyrokabye usbmuxd-1.0.2 # cmake -i
    Would you like to see advanced options? [No]:yes
    Please wait while cmake processes CMakeLists.txt files....
    
    
    * REMINDER
    * Remember to add a user named 'usbmux' with USB access permissions
    * for the udev hotplugging feature to work out of the box.
    
    
    
    Variable Name: CMAKE_AR
    Description: Path to a program.
    Current Value: /usr/bin/ar
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_BUILD_TYPE
    Description: Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_COLOR_MAKEFILE
    Description: Enable/Disable color output during build.
    Current Value: ON
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_COMPILER
    Description: CXX compiler.
    Current Value: /usr/bin/c++
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_FLAGS
    Description: Flags used by the compiler during all build types.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_FLAGS_DEBUG
    Description: Flags used by the compiler during debug builds.
    Current Value: -g
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_FLAGS_MINSIZEREL
    Description: Flags used by the compiler during release minsize builds.
    Current Value: -Os -DNDEBUG
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_FLAGS_RELEASE
    Description: Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).
    Current Value: -O3 -DNDEBUG
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_CXX_FLAGS_RELWITHDEBINFO
    Description: Flags used by the compiler during Release with Debug Info builds.
    Current Value: -O2 -g
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_COMPILER
    Description: C compiler.
    Current Value: /usr/bin/gcc
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_FLAGS
    Description: Flags used by the compiler during all build types.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_FLAGS_DEBUG
    Description: Flags used by the compiler during debug builds.
    Current Value: -g
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_FLAGS_MINSIZEREL
    Description: Flags used by the compiler during release minsize builds.
    Current Value: -Os -DNDEBUG
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_FLAGS_RELEASE
    Description: Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).
    Current Value: -O3 -DNDEBUG
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_C_FLAGS_RELWITHDEBINFO
    Description: Flags used by the compiler during Release with Debug Info builds.
    Current Value: -O2 -g
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_EXE_LINKER_FLAGS
    Description: Flags used by the linker.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_EXE_LINKER_FLAGS_DEBUG
    Description: Flags used by the linker during debug builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
    Description: Flags used by the linker during release minsize builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_EXE_LINKER_FLAGS_RELEASE
    Description: Flags used by the linker during release builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
    Description: Flags used by the linker during Release with Debug Info builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_INSTALL_PREFIX
    Description: Install path prefix, prepended onto install directories.
    Current Value: /usr/local
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_LINKER
    Description: Path to a program.
    Current Value: /usr/bin/ld
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MAKE_PROGRAM
    Description: Path to a program.
    Current Value: /usr/bin/gmake
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MODULE_LINKER_FLAGS
    Description: Flags used by the linker during the creation of modules.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MODULE_LINKER_FLAGS_DEBUG
    Description: Flags used by the linker during debug builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
    Description: Flags used by the linker during release minsize builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MODULE_LINKER_FLAGS_RELEASE
    Description: Flags used by the linker during release builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
    Description: Flags used by the linker during Release with Debug Info builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_NM
    Description: Path to a program.
    Current Value: /usr/bin/nm
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_OBJCOPY
    Description: Path to a program.
    Current Value: /usr/bin/objcopy
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_OBJDUMP
    Description: Path to a program.
    Current Value: /usr/bin/objdump
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_RANLIB
    Description: Path to a program.
    Current Value: /usr/bin/ranlib
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SHARED_LINKER_FLAGS
    Description: Flags used by the linker during the creation of dll's.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SHARED_LINKER_FLAGS_DEBUG
    Description: Flags used by the linker during debug builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
    Description: Flags used by the linker during release minsize builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SHARED_LINKER_FLAGS_RELEASE
    Description: Flags used by the linker during release builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
    Description: Flags used by the linker during Release with Debug Info builds.
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_SKIP_RPATH
    Description: If set, runtime paths are not added when using shared libraries.
    Current Value: NO
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_STRIP
    Description: Path to a program.
    Current Value: /usr/bin/strip
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_USE_RELATIVE_PATHS
    Description: If true, cmake will use relative paths in makefiles and projects.
    Current Value: OFF
    New Value (Enter to keep current value):
    
    Variable Name: CMAKE_VERBOSE_MAKEFILE
    Description: If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo.
    Current Value: FALSE
    New Value (Enter to keep current value):
    
    Variable Name: LIB_SUFFIX
    Description: Define suffix of library directory name (32/64)
    Current Value:
    New Value (Enter to keep current value):
    
    Variable Name: PKG_CONFIG_EXECUTABLE
    Description: pkg-config executable
    Current Value: /usr/bin/pkg-config
    New Value (Enter to keep current value):
    
    Variable Name: PTHREAD
    Description: Path to a library.
    Current Value: /usr/lib/libpthread.so
    New Value (Enter to keep current value):
    
    Variable Name: USB_INCLUDE_DIR
    Description: Path to a file.
    Current Value: /usr/include/libusb-1.0
    New Value (Enter to keep current value):
    
    Variable Name: USB_LIBRARY
    Description: Path to a library.
    Current Value: /usr/lib/libusb-1.0.so
    New Value (Enter to keep current value):
    
    Please wait while cmake processes CMakeLists.txt files....
    
    
    * REMINDER
    * Remember to add a user named 'usbmux' with USB access permissions
    * for the udev hotplugging feature to work out of the box.
    
    
    
    CMake complete, run make to build project.
    
    ladyrokabye usbmuxd-1.0.2 # make
    [ 30%] Built target libusbmuxd
    [ 90%] Built target usbmuxd
    [100%] Built target iproxy
    
    ladyrokabye usbmuxd-1.0.2 # make install
    [ 30%] Built target libusbmuxd
    [ 90%] Built target usbmuxd
    [100%] Built target iproxy
    Install the project...
    -- Install configuration: ""
    -- Up-to-date: /usr/local/lib/pkgconfig/libusbmuxd.pc
    -- Up-to-date: /usr/local/lib/libusbmuxd.so.1.0.0
    -- Up-to-date: /usr/local/lib/libusbmuxd.so.1
    -- Up-to-date: /usr/local/lib/libusbmuxd.so
    -- Up-to-date: /usr/local/include/usbmuxd.h
    -- Up-to-date: /usr/local/include/usbmuxd-proto.h
    -- Up-to-date: /usr/local/sbin/usbmuxd
    -- Up-to-date: /usr/local/bin/iproxy
    -- Up-to-date: /lib/udev/rules.d/85-usbmuxd.rules
    no i wasnt sure what the majority of the stuff was so i left the current value as the current value and didnt change anything. i first figured it was installed correctly so i continued to install libimobiledevice which gives me this now matter what path i choose for PKG_CONFIG_PATH

    Code:
    checking for libusbmuxd... configure: error: Package requirements (libusbmuxd >= 0.1.4) were not met:
    
    No package 'libusbmuxd' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables libusbmuxd_CFLAGS
    and libusbmuxd_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    so now im wondering weather or not i really installed usbmuxd correctly or is there sumthing im missing.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    It is clear that you need the libusbmuxd version 0.1.4 or later to build this. I have located a number of RPM packages for this version for Mandriva, though they might work on Sabayon as well (don't know for sure). However, you will also need a compatible version of libusb as well, which you should be able to get with your standard package manager. The version of libusbmuxd that I have seen for general package managers, such as Ubuntu, is 1.0.0, which may meet the requirements, so if it is available with the Sabayon package manager, you are ready to rock.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1
    Hi Bloodyscript,

    I think you actually have installed it correctly.

    Check to see where your 'pkgconfig' directory containing your metadata resides. As the error suggests, the PKG_CONFIG_PATH is probably set to look in /usr/local/lib/, whereas in compiling libusbmuxd, it's probably been copied elsewhere - possibly /usr/local/lib64/

    In this case, the fix would be to simply move the libusbmuxd files from /usr/local/lib64/ to /usr/local/lib/

    Cheers,

    Ilya

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •