Libimobiledevice

YDL running on the Sony Playstation 3

Moderator: billb

Libimobiledevice

Postby larrythechim » 21 Jul 2010, 19:58

For some time now there has been software floating around to help Linux users sync their music to their iPhones and iPod touches. It seems that libimobiledevice is the most stable and popular of these. I have been struggling with installing this program. When I try rpms I get the error
Code: Select all
rpmlibs[filedigests]

or something along those lines. I have met all dependencies except for libusb( and everything that depends on it). When I try installing via rpm I get the same error and when I compile from a tarball source I get this:
Code: Select all
[Beastly_Larry@larrythechim libusb-1.0.3]$ make
make  all-recursive
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
Making all in libusb
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c -o libusb_1_0_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c  -fPIC -DPIC -o .libs/libusb_1_0_la-core.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c -o libusb_1_0_la-core.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-core.Tpo .deps/libusb_1_0_la-core.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c -o libusb_1_0_la-descriptor.lo `test -f 'descriptor.c' || echo './'`descriptor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c  -fPIC -DPIC -o .libs/libusb_1_0_la-descriptor.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c -o libusb_1_0_la-descriptor.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-descriptor.Tpo .deps/libusb_1_0_la-descriptor.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c -o libusb_1_0_la-io.lo `test -f 'io.c' || echo './'`io.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c  -fPIC -DPIC -o .libs/libusb_1_0_la-io.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c -o libusb_1_0_la-io.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-io.Tpo .deps/libusb_1_0_la-io.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c -o libusb_1_0_la-sync.lo `test -f 'sync.c' || echo './'`sync.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c  -fPIC -DPIC -o .libs/libusb_1_0_la-sync.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c -o libusb_1_0_la-sync.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-sync.Tpo .deps/libusb_1_0_la-sync.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c -o libusb_1_0_la-linux_usbfs.lo `test -f 'os/linux_usbfs.c' || echo './'`os/linux_usbfs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c  -fPIC -DPIC -o .libs/libusb_1_0_la-linux_usbfs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c -o libusb_1_0_la-linux_usbfs.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-linux_usbfs.Tpo .deps/libusb_1_0_la-linux_usbfs.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2   -o libusb-1.0.la -rpath /usr/local/lib libusb_1_0_la-core.lo libusb_1_0_la-descriptor.lo libusb_1_0_la-io.lo libusb_1_0_la-sync.lo libusb_1_0_la-linux_usbfs.lo  -lrt 
libtool: link: gcc -shared  .libs/libusb_1_0_la-core.o .libs/libusb_1_0_la-descriptor.o .libs/libusb_1_0_la-io.o .libs/libusb_1_0_la-sync.o .libs/libusb_1_0_la-linux_usbfs.o   -lrt  -pthread   -pthread -Wl,-soname -Wl,libusb-1.0.so.0 -o .libs/libusb-1.0.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so.0" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so")
libtool: link: ar cru .libs/libusb-1.0.a  libusb_1_0_la-core.o libusb_1_0_la-descriptor.o libusb_1_0_la-io.o libusb_1_0_la-sync.o libusb_1_0_la-linux_usbfs.o
libtool: link: ranlib .libs/libusb-1.0.a
libtool: link: ( cd ".libs" && rm -f "libusb-1.0.la" && ln -s "../libusb-1.0.la" "libusb-1.0.la" )
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
Making all in doc
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'

I really don't know what is wrong and I hope someone will come by and give a suggestion and since so many own these devices please post your problems that you encounter with using or getting libimobiledevice.
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 21 Jul 2010, 20:20

larrythechim wrote:when I compile from a tarball source I get this:
Code: Select all
[Beastly_Larry@larrythechim libusb-1.0.3]$ make
make  all-recursive
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
Making all in libusb
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c -o libusb_1_0_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c  -fPIC -DPIC -o .libs/libusb_1_0_la-core.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c -o libusb_1_0_la-core.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-core.Tpo .deps/libusb_1_0_la-core.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c -o libusb_1_0_la-descriptor.lo `test -f 'descriptor.c' || echo './'`descriptor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c  -fPIC -DPIC -o .libs/libusb_1_0_la-descriptor.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c -o libusb_1_0_la-descriptor.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-descriptor.Tpo .deps/libusb_1_0_la-descriptor.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c -o libusb_1_0_la-io.lo `test -f 'io.c' || echo './'`io.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c  -fPIC -DPIC -o .libs/libusb_1_0_la-io.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c -o libusb_1_0_la-io.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-io.Tpo .deps/libusb_1_0_la-io.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c -o libusb_1_0_la-sync.lo `test -f 'sync.c' || echo './'`sync.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c  -fPIC -DPIC -o .libs/libusb_1_0_la-sync.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c -o libusb_1_0_la-sync.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-sync.Tpo .deps/libusb_1_0_la-sync.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c -o libusb_1_0_la-linux_usbfs.lo `test -f 'os/linux_usbfs.c' || echo './'`os/linux_usbfs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c  -fPIC -DPIC -o .libs/libusb_1_0_la-linux_usbfs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c -o libusb_1_0_la-linux_usbfs.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-linux_usbfs.Tpo .deps/libusb_1_0_la-linux_usbfs.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2   -o libusb-1.0.la -rpath /usr/local/lib libusb_1_0_la-core.lo libusb_1_0_la-descriptor.lo libusb_1_0_la-io.lo libusb_1_0_la-sync.lo libusb_1_0_la-linux_usbfs.lo  -lrt
libtool: link: gcc -shared  .libs/libusb_1_0_la-core.o .libs/libusb_1_0_la-descriptor.o .libs/libusb_1_0_la-io.o .libs/libusb_1_0_la-sync.o .libs/libusb_1_0_la-linux_usbfs.o   -lrt  -pthread   -pthread -Wl,-soname -Wl,libusb-1.0.so.0 -o .libs/libusb-1.0.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so.0" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so")
libtool: link: ar cru .libs/libusb-1.0.a  libusb_1_0_la-core.o libusb_1_0_la-descriptor.o libusb_1_0_la-io.o libusb_1_0_la-sync.o libusb_1_0_la-linux_usbfs.o
libtool: link: ranlib .libs/libusb-1.0.a
libtool: link: ( cd ".libs" && rm -f "libusb-1.0.la" && ln -s "../libusb-1.0.la" "libusb-1.0.la" )
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
Making all in doc
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'


I see no sign of errors in your build, based on the output you posted. Have you tried installing it?

Generally, you would do this by switching to root user and issuing a "make install" command. i.e.

su
cd /home/Beastly_Larry/ffff/libusb-1.0.3
make install


Also - you don't list it above, but you did a ./configure before doing the make, right? I haven't downloaded the tar ball to check, but most Linux source code these days need it.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Libimobiledevice

Postby larrythechim » 21 Jul 2010, 22:05

Sorry I guess the box didn't show all of the terminal. Here it is:
Code: Select all
[Beastly_Larry@larrythechim libusb-1.0.3]$ make
make  all-recursive
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
Making all in libusb
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c -o libusb_1_0_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c  -fPIC -DPIC -o .libs/libusb_1_0_la-core.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c -o libusb_1_0_la-core.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-core.Tpo .deps/libusb_1_0_la-core.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c -o libusb_1_0_la-descriptor.lo `test -f 'descriptor.c' || echo './'`descriptor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c  -fPIC -DPIC -o .libs/libusb_1_0_la-descriptor.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-descriptor.lo -MD -MP -MF .deps/libusb_1_0_la-descriptor.Tpo -c descriptor.c -o libusb_1_0_la-descriptor.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-descriptor.Tpo .deps/libusb_1_0_la-descriptor.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c -o libusb_1_0_la-io.lo `test -f 'io.c' || echo './'`io.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c  -fPIC -DPIC -o .libs/libusb_1_0_la-io.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-io.lo -MD -MP -MF .deps/libusb_1_0_la-io.Tpo -c io.c -o libusb_1_0_la-io.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-io.Tpo .deps/libusb_1_0_la-io.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c -o libusb_1_0_la-sync.lo `test -f 'sync.c' || echo './'`sync.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c  -fPIC -DPIC -o .libs/libusb_1_0_la-sync.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-sync.lo -MD -MP -MF .deps/libusb_1_0_la-sync.Tpo -c sync.c -o libusb_1_0_la-sync.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-sync.Tpo .deps/libusb_1_0_la-sync.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c -o libusb_1_0_la-linux_usbfs.lo `test -f 'os/linux_usbfs.c' || echo './'`os/linux_usbfs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c  -fPIC -DPIC -o .libs/libusb_1_0_la-linux_usbfs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2 -MT libusb_1_0_la-linux_usbfs.lo -MD -MP -MF .deps/libusb_1_0_la-linux_usbfs.Tpo -c os/linux_usbfs.c -o libusb_1_0_la-linux_usbfs.o >/dev/null 2>&1
mv -f .deps/libusb_1_0_la-linux_usbfs.Tpo .deps/libusb_1_0_la-linux_usbfs.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -g -O2   -o libusb-1.0.la -rpath /usr/local/lib libusb_1_0_la-core.lo libusb_1_0_la-descriptor.lo libusb_1_0_la-io.lo libusb_1_0_la-sync.lo libusb_1_0_la-linux_usbfs.lo  -lrt 
libtool: link: gcc -shared  .libs/libusb_1_0_la-core.o .libs/libusb_1_0_la-descriptor.o .libs/libusb_1_0_la-io.o .libs/libusb_1_0_la-sync.o .libs/libusb_1_0_la-linux_usbfs.o   -lrt  -pthread   -pthread -Wl,-soname -Wl,libusb-1.0.so.0 -o .libs/libusb-1.0.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so.0" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libusb-1.0.so" && ln -s "libusb-1.0.so.0.0.0" "libusb-1.0.so")
libtool: link: ar cru .libs/libusb-1.0.a  libusb_1_0_la-core.o libusb_1_0_la-descriptor.o libusb_1_0_la-io.o libusb_1_0_la-sync.o libusb_1_0_la-linux_usbfs.o
libtool: link: ranlib .libs/libusb-1.0.a
libtool: link: ( cd ".libs" && rm -f "libusb-1.0.la" && ln -s "../libusb-1.0.la" "libusb-1.0.la" )
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/libusb'
Making all in doc
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3/doc'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.3'

This is all after I do ./configure. Do use a different tarball or is it an error dealing with the system?
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 22 Jul 2010, 05:17

larrythechim wrote:This is all after I do ./configure. Do use a different tarball or is it an error dealing with the system?


Neither. This is the output I'd expect after a successful make. If your build had failed, you would have the text "Error" or "Warning" in there.

So - you still need to install it. See my post above for how to do this.

Generally, the steps for using tarbar code are as follows:

./configure
make
su
make install


From what I can tell, you've done the first two of the steps.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Libimobiledevice

Postby larrythechim » 22 Jul 2010, 17:21

When I went to install usbmuxd, a package that depends on libusb, it tells me to mkdir build, cd build, then I encounter errors when I go to the next step (cmake ..) I get something along these lines:
Code: Select all
[Beastly_Larry@Larrythechim build]$  cmake ..
-- configuring usbmuxd v1.0.4
-- will build usbmuxd: yes
--  package 'libusb-1.0>=1.0.3'
USB_include_dir=USB_include_dir-notfound
USB_library=/usr/local/lib/libusb-1.0.so
cmake error at modules/libfindmacros.cmake:74 (message):
   Required library USB not found

   Install the library (dev version) and try again. If the library is
   installed use cmake to set the missing variables manually.
Call stack (most recent call first):
   Modules/findusb.cmake:31 (libfind_process
   Daemon/cmakelists.txt:1 (find_package)


--  Configuring incomplete, errors occurred!

You said that the make for libusb was successful and when I did make install I got the same lines that I got for make. Judging by the error do I need to install a developer version of libusb? I'm just guessing but if I did have to it would be called libusb-dev(or devel), please correct me if I'm wrong.
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby billb » 22 Jul 2010, 17:28

Code: Select all
yum install libusb-devel
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Libimobiledevice

Postby larrythechim » 22 Jul 2010, 18:13

Is there a way to download this from a computer? Currently my ps3's wifi and Ethernet isn't working in both OSes so I may have to send it in :cry: . Is there a website for yum to download a rpm/tarball or whatever it may be?
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 22 Jul 2010, 20:22

larrythechim wrote:Is there a way to download this from a computer? Currently my ps3's wifi and Ethernet isn't working in both OSes so I may have to send it in :cry: . Is there a website for yum to download a rpm/tarball or whatever it may be?


YUM basically uses a library of RPMs. If you're running YDL 6.2, the YUM installer looks here:

http://ydl.oregonstate.edu/yum/6.2/base/RPMS/
http://ydl.oregonstate.edu/yum/6.2/extras/RPMS/
http://ydl.oregonstate.edu/yum/6.2/updates/RPMS/

You should be able to manually copy the RPMs from these directories to install what you need.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Libimobiledevice

Postby larrythechim » 23 Jul 2010, 00:00

I went to http://ydl.oregonstate.edu/yum/6.2/base/RPMS/ and installed libusb and the devel package. They both installed perfectly after becoming root and using rpm -ivh. I then went to install usbmuxd with the hope of a success to occur. Nope. Same error from before. I went on to do some extra research and apparently different versions of libusb can coexist together like libusb-0.1.12 and libusb-1.0.8. I am now guessing I need to find a libusb-1.x.x package and install it. I have my hands on a tarball, but it's the same tarball from earlier posts that I had problems with make. On google I can't find any for YDL. There's packages for other distros and even rpms for red hat Linux and fedora. If memory serves me right I CAN'T install these because they are compiled on different systems. If I am correct could alien help at all? I could do something like this:
Code: Select all
alien -r libusb-1.x.x.otherstuff.deb

I know that alien is experimental stuff... but if it gets the job done. I will try this right away and say what happens. I'm hoping that somehow it will work. Just in case it won't work what are any other suggestions.
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 23 Jul 2010, 00:50

larrythechim wrote:I went to http://ydl.oregonstate.edu/yum/6.2/base/RPMS/ and installed libusb and the devel package. They both installed perfectly after becoming root and using rpm -ivh. I then went to install usbmuxd with the hope of a success to occur. Nope. Same error from before. I went on to do some extra research and apparently different versions of libusb can coexist together like libusb-0.1.12 and libusb-1.0.8. I am now guessing I need to find a libusb-1.x.x package and install it. I have my hands on a tarball, but it's the same tarball from earlier posts that I had problems with make. On google I can't find any for YDL. There's packages for other distros and even rpms for red hat Linux and fedora. If memory serves me right I CAN'T install these because they are compiled on different systems. If I am correct could alien help at all? I could do something like this:
Code: Select all
alien -r libusb-1.x.x.otherstuff.deb

I know that alien is experimental stuff... but if it gets the job done. I will try this right away and say what happens. I'm hoping that somehow it will work. Just in case it won't work what are any other suggestions.


I'd stay away from alien unless you are really, really, really stuck. It should be a last resort - and it might wreck your system. It might not - it's hard to tell with Alien.

Instead, It might help to see the output of your make install of libusb-1.0.3. I can tell from that if it worked or not.

Cheers,
Paul

P.S. NOTE: Red Hat Linux RPMS will probably work - YDL is based from it via CentOS - but it would have to be PowerPC specific. Red Hat Linux x86 - aka Intel versions - won't work on a PowerPC system like the PS3.
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Libimobiledevice

Postby larrythechim » 23 Jul 2010, 01:51

Here is the make install after a this:
Code: Select all
make clean
make
su

I did this to get rid of the files from a previous make and make install so that it would be just as if I was just done with the make from earlier.
Code: Select all
[root@larrythechim libusb-1.0.6]# make install
Making install in libusb
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.0.0 /usr/local/lib/libusb-1.0.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.0.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.0.0 libusb-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.0.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.0.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/Beastly_Larry/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/libusb-1.0" || /bin/mkdir -p "/usr/local/include/libusb-1.0"
 /usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
Making install in doc
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6'


I myself can't see what is wrong with this. When I get done with this it seems as if I didn't really install it at all because it isn't recognized in the slightest bit by other packages that depend on it.
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 23 Jul 2010, 03:24

larrythechim wrote:Here is the make install after a this:
Code: Select all
make clean
make
su

I did this to get rid of the files from a previous make and make install so that it would be just as if I was just done with the make from earlier.
Code: Select all
[root@larrythechim libusb-1.0.6]# make install
Making install in libusb
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.0.0 /usr/local/lib/libusb-1.0.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.0.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.0.0 libusb-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.0.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.0.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/Beastly_Larry/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/libusb-1.0" || /bin/mkdir -p "/usr/local/include/libusb-1.0"
 /usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/libusb'
Making install in doc
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6/doc'
make[1]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[2]: Entering directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6'
make[1]: Leaving directory `/home/Beastly_Larry/ffff/libusb-1.0.6'


I myself can't see what is wrong with this. When I get done with this it seems as if I didn't really install it at all because it isn't recognized in the slightest bit by other packages that depend on it.


You can verify that this has installed by looking in the following directory:
/usr/local/lib

Inside that directory, you should see files like

libusb-1.0.so.0.0.0
libusb-1.0.a
libusb-1.0.la


If those files are there, it means it's installed.

So - what might be happening is that the system doesn't know to look in the /usr/local directory for libraries during builds. If you look at step 2.1 here:
HOWTO: Compiling, step by step.

you will see that you have to add /usr/local/lib and /usr/local/include to the ld.so.conf - that's the dynamic linker configuration. By default, a YDL system only has this:
Code: Select all
[ppietro@localhost ~]$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf


If you haven't done step 2 in that build setup procedure, I think you need to do that. :)

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Libimobiledevice

Postby larrythechim » 23 Jul 2010, 04:11

I added those lines sometime ago when I was messing with fluxbox. I looked in the directory you suggested and all three of those files were present. If these are present then why doesn't anything recognize their existance? I even checked when they were last modified and the files said today so it was done correctly today. These packages are acting so weird. I wonder if I could tell usbmuxd where these files are.
I wonder if this will work :lol: :
Code: Select all
yell && scream
facepalm
give-up && cry


I have yet to try those commands. :lol:
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby larrythechim » 30 Jul 2010, 19:57

So I've gotten some work done on this package. I have found a rpm package for libusb-1.0.3 and usbmuxd. I thought that installing these would solve the problem, but I ran into a roadblock. I get an error saying that rpmlib(filedigests) isn't at 4.6.0 or greater and also rpmlib(payloadisXZ) isn't at 5.2-1 or greater. I'm guessing that the package RPM itself is not at a proper version. Do I need to upgrade RPM to 5.2-1. I'm guessing that it needs to be able to support XZ payloads. What version do I need, because I can only find 4.4.2's RPM on the YellowDog repo website.
160gb ps3 fw ? > upgraded hdd to 1tb > updated fw to 2.76
playstation network > larrythechamp
User avatar
larrythechim
ydl beginner
ydl beginner
 
Posts: 40
Joined: 23 Jun 2009, 20:51

Re: Libimobiledevice

Postby ppietro » 30 Jul 2010, 21:24

larrythechim wrote:So I've gotten some work done on this package. I have found a rpm package for libusb-1.0.3 and usbmuxd. I thought that installing these would solve the problem, but I ran into a roadblock. I get an error saying that rpmlib(filedigests) isn't at 4.6.0 or greater and also rpmlib(payloadisXZ) isn't at 5.2-1 or greater. I'm guessing that the package RPM itself is not at a proper version. Do I need to upgrade RPM to 5.2-1. I'm guessing that it needs to be able to support XZ payloads. What version do I need, because I can only find 4.4.2's RPM on the YellowDog repo website.


Be careful about updating core libraries like RPM. If RPM 5.2 doesn't work on YDL because of other library dependencies, you won't be able to install, upgrade or uninstall software.

Instead, you should probably be concentrating on building the necessary libraries for your mobile device from scratch.

I'm still not convinced that there aren't errors in your build configuration. Can you print out your /etc/ld.so.conf file and post it here, please?

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Next

Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 60 guests

cron