Re: How to install ideviceinstaller
Hi, I want compiler ideviceinstaller in maverick but when I type make , I olny obtain the next answer, Somebody have any idea?
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/harold/Descargas/libimobiledevice-1.0.1/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: se ingresa al directorio «/home/harold/Descargas/libimobiledevice-1.0.1/ideviceinstaller»
Making all in src
make[2]: se ingresa al directorio «/home/harold/Descargas/libimobiledevice-1.0.1/ideviceinstaller/src»
CC ideviceinstaller-ideviceinstaller.o
cc1: warnings being treated as errors
ideviceinstaller.c: In function ‘zip_f_get_contents’:
ideviceinstaller.c:166: error: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘long unsigned int’
make[2]: *** [ideviceinstaller-ideviceinstaller.o] Error 1
make[2]: se sale del directorio «/home/harold/Descargas/libimobiledevice-1.0.1/ideviceinstaller/src»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/harold/Descargas/libimobiledevice-1.0.1/ideviceinstaller»
make: *** [all] Error 2
What can I do?
Re: How to install ideviceinstaller
I got it to compile with this simplistic change to line 166.
vi +166 src/ideviceinstaller.c
and then add the extra cast to (long long int) as below.
fprintf(stderr, "ERROR: zip_fread %lld bytes from '%s'\n", (long long int)(uint64_t)zs.size, filename);
Re: How to install ideviceinstaller
Quote:
Originally Posted by
WeeB2
I got it to compile with this simplistic change to line 166 [...] and then add the extra cast to (long long int) as below.
this didn't do anything for me, still error
- libplist-1.8
- libimobiledevice-1.1.2
- ideviceinstaller-1.0.1
is it because libimobiledevice didn't install properly ?
Code:
$ ./configure && make && sudo make install
$ ./tools/ideviceinfo
# ... it shows iphone4 info #
$ ideviceinfo
ideviceinfo: error while loading shared libraries: libimobiledevice.so.3: cannot open shared object file: No such file or directory
the first post says to check links...
Code:
$ ls -lah /usr/local/lib/libimobiledevice.so*
lrwxrwxrwx 1 root root 25 2012-04-30 01:36 /usr/local/lib/libimobiledevice.so -> libimobiledevice.so.3.0.0
lrwxrwxrwx 1 root root 25 2012-04-30 00:51 /usr/local/lib/libimobiledevice.so.1 -> libimobiledevice.so.1.0.5
-rwxr-xr-x 1 root root 296K 2012-04-30 00:51 /usr/local/lib/libimobiledevice.so.1.0.5
lrwxrwxrwx 1 root root 25 2012-04-30 01:36 /usr/local/lib/libimobiledevice.so.3 -> libimobiledevice.so.3.0.0
-rwxr-xr-x 1 root root 642K 2012-04-30 01:36 /usr/local/lib/libimobiledevice.so.3.0.0
help please
fixing library path for [/usr/local/bin/]idevice*
and compiling ideviceinstaller
Re: How to install ideviceinstaller
I am also facing a similar problem. Any inputs or work around for the mentioned problem ??
checking for libgtk... yes
checking for libcluttergtk... no
configure: error: Package requirements (clutter-gtk-1.0 >= 1.0) were not met:
No package 'clutter-gtk-1.0' 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 libcluttergtk_CFLAGS
and libcluttergtk_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.