LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2015, 06:30 PM   #1
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Rep: Reputation: Disabled
libirecovery won't install


I'm trying to get idevicerestore installed but I'm running into a slew of problems. libirecovery is required for idevicerestore so i downloaded it from here https://github.com/Chronic-Dev/libirecovery. I was able to get it configured, but when I do 'make' it gives me the following

make all-recursive
make[1]: Entering directory `/home/dan/Downloads/libirecovery-master'
Making all in src
make[2]: Entering directory `/home/dan/Downloads/libirecovery-master/src'
CC libirecovery_la-libirecovery.lo
CCLD libirecovery.la
make[2]: Leaving directory `/home/dan/Downloads/libirecovery-master/src'
Making all in include
make[2]: Entering directory `/home/dan/Downloads/libirecovery-master/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dan/Downloads/libirecovery-master/include'
Making all in tools
make[2]: Entering directory `/home/dan/Downloads/libirecovery-master/tools'
CC irecovery-irecovery.o
irecovery.c:26:31: fatal error: readline/readline.h: No such file or directory
#include <readline/readline.h>
^
compilation terminated.
make[2]: *** [irecovery-irecovery.o] Error 1
make[2]: Leaving directory `/home/dan/Downloads/libirecovery-master/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dan/Downloads/libirecovery-master'
make: *** [all] Error 2

I don't know where to go from here. I've searched the error and I come up with nothing.
Thank you for the help.
 
Old 07-21-2015, 06:57 PM   #2
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
Ok, I was able to fix that problem by following the directions here http://ubuntuforums.org/showthread.php?t=1874860
 
Old 07-21-2015, 07:15 PM   #3
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
Now I'm getting this error

checking for libplist... no
configure: error: Package requirements (libplist >= 1.11) were not met:

Requested 'libplist >= 1.11' but version of libplist is 1.10

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
 
Old 07-21-2015, 07:51 PM   #4
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
Ok I downloaded libplist from github and got it installed and now I'm getting this

configure: error: Package requirements (libcurl >= 7.0) were not met:

No package 'libcurl' found

and I can't find anywhere to download libcurl 7
 
Old 07-21-2015, 08:00 PM   #5
weinerwad3000
Member
 
Registered: Aug 2013
Posts: 62

Original Poster
Rep: Reputation: Disabled
Ok I installed libcurl4-openssl-dev and it worked. I finally got idevicerestore configured. Now when I go to make I get this

~/Downloads/idevicerestore-master $ make
make all-recursive
make[1]: Entering directory `/home/dan/Downloads/idevicerestore-master'
Making all in src
make[2]: Entering directory `/home/dan/Downloads/idevicerestore-master/src'
CC idevicerestore-idevicerestore.o
CC idevicerestore-common.o
CC idevicerestore-tss.o
CC idevicerestore-fls.o
CC idevicerestore-mbn.o
CC idevicerestore-img3.o
CC idevicerestore-img4.o
CC idevicerestore-ipsw.o
CC idevicerestore-normal.o
CC idevicerestore-dfu.o
dfu.c: In function dfu_get_cpid:
dfu.c:243:48: warning: initialization makes pointer from integer without a cast [enabled by default]
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:248:21: error: dereferencing pointer to incomplete type
*cpid = device_info->cpid;
^
dfu.c: In function dfu_get_ecid:
dfu.c:260:48: warning: initialization makes pointer from integer without a cast [enabled by default]
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:265:21: error: dereferencing pointer to incomplete type
*ecid = device_info->ecid;
^
dfu.c: In function dfu_is_image4_supported:
dfu.c:278:48: warning: initialization makes pointer from integer without a cast [enabled by default]
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:283:21: error: dereferencing pointer to incomplete type
return (device_info->ibfl & IBOOT_FLAG_IMAGE4_AWARE);
^
dfu.c: In function dfu_get_ap_nonce:
dfu.c:293:48: warning: initialization makes pointer from integer without a cast [enabled by default]
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:298:17: error: dereferencing pointer to incomplete type
if (device_info->ap_nonce && device_info->ap_nonce_size > 0) {
^
dfu.c:298:42: error: dereferencing pointer to incomplete type
if (device_info->ap_nonce && device_info->ap_nonce_size > 0) {
^
dfu.c:299:46: error: dereferencing pointer to incomplete type
*nonce = (unsigned char*)malloc(device_info->ap_nonce_size);
^
dfu.c:303:28: error: dereferencing pointer to incomplete type
*nonce_size = device_info->ap_nonce_size;
^
dfu.c:304:29: error: dereferencing pointer to incomplete type
memcpy(*nonce, device_info->ap_nonce, *nonce_size);
^
dfu.c: In function dfu_get_sep_nonce:
dfu.c:317:48: warning: initialization makes pointer from integer without a cast [enabled by default]
const struct irecv_device_info *device_info = irecv_get_device_info(client->dfu->client);
^
dfu.c:322:17: error: dereferencing pointer to incomplete type
if (device_info->sep_nonce && device_info->sep_nonce_size > 0) {
^
dfu.c:322:43: error: dereferencing pointer to incomplete type
if (device_info->sep_nonce && device_info->sep_nonce_size > 0) {
^
dfu.c:323:46: error: dereferencing pointer to incomplete type
*nonce = (unsigned char*)malloc(device_info->sep_nonce_size);
^
dfu.c:327:28: error: dereferencing pointer to incomplete type
*nonce_size = device_info->sep_nonce_size;
^
dfu.c:328:29: error: dereferencing pointer to incomplete type
memcpy(*nonce, device_info->sep_nonce, *nonce_size);
^
make[2]: *** [idevicerestore-dfu.o] Error 1
make[2]: Leaving directory `/home/dan/Downloads/idevicerestore-master/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dan/Downloads/idevicerestore-master'
make: *** [all] Error 2

not sure what all that means
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot loader won't install in Mandriva 2008 after Windows install eikeland Mandriva 12 05-29-2008 09:30 PM
After Installation Slackware Won't Boot & Lilo won't install nikiiliev Slackware - Installation 6 03-04-2006 12:24 AM
RPM - Won't Install, Won't Uninstall qizhang Mandriva 2 11-18-2005 12:02 AM
Games won't install /FarCry won't work either Dark Carnival Linux - Games 0 03-09-2005 01:11 PM
SuSE problems; Mouse doesn't work, Wine won't install, WM won't install... Konig Linux - Distributions 1 01-21-2004 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration