Never mind I was missing libreadline-dev
I gues this check would be good to be added with an error to the configure script since it
creates error in compilation
Regards,
Peter
On 22 Nov 2015, at 20:06, Keresztes Péter-Zoltán <zozo(a)z0z0.tk>
wrote:
Hello,
I have got into a different issue while trying to compile the latest version of
libguestfs:
CC guestfish-edit.o
CC guestfish-events.o
CC guestfish-file-edit.o
CC guestfish-fish.o
fish.c: In function 'main':
fish.c:173:3: warning: implicit declaration of function 'time'
[-Wimplicit-function-declaration]
srandom (time (NULL));
^
fish.c:173:3: warning: nested extern declaration of 'time' [-Wnested-externs]
fish.c: At top level:
fish.c:649:14: warning: 'ps_restore' defined but not used [-Wunused-variable]
static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
^
CC guestfish-glob.o
CC guestfish-help.o
CC guestfish-hexedit.o
CC guestfish-lcd.o
CC guestfish-man.o
CC guestfish-more.o
CC guestfish-prep.o
CC guestfish-prep-disk.o
CC guestfish-prep-part.o
CC guestfish-prep-fs.o
CC guestfish-prep-lv.o
CC guestfish-prep-boot.o
CC guestfish-rc.o
CC guestfish-reopen.o
CC guestfish-setenv.o
CC guestfish-supported.o
CC guestfish-tilde.o
CC guestfish-time.o
CCLD guestfish
guestfish-progress.o: In function `progress_bar_init':
/root/libguestfs-1.30.5/fish/progress.c:123: undefined reference to `tgetent'
guestfish-progress.o: In function `progress_bar_set':
/root/libguestfs-1.30.5/fish/progress.c:282: undefined reference to `tgetnum'
guestfish-progress.o: In function `fprintf':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:97: undefined reference to `UP'
collect2: error: ld returned 1 exit status
Makefile:1855: recipe for target 'guestfish' failed
make[3]: *** [guestfish] Error 1
make[3]: Leaving directory '/root/libguestfs-1.30.5/fish'
Makefile:1753: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/root/libguestfs-1.30.5/fish'
Makefile:1923: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/libguestfs-1.30.5'
Makefile:1795: recipe for target 'all' failed
make: *** [all] Error 2
Anyone can give me a solution for this?
Regards,
Peter
> On 22 Nov 2015, at 15:29, Keresztes Péter-Zoltán <zozo(a)z0z0.tk> wrote:
>
> Thank you,
> The apt was set to look in the wheezy instead of the jessie one.
>
>> On 22 Nov 2015, at 13:30, Richard W.M. Jones <rjones(a)redhat.com> wrote:
>>
>> On Sat, Nov 21, 2015 at 05:12:19AM +0200, Keresztes Péter-Zoltán wrote:
>>> Hello,
>>>
>>> I am trying to install libguestfs on a proxmox (debian jessie with some
custom packages) and when I run make at a certain point I get this error:
>>>
>>> E: Can't find a source to download version '2.02.116-pve1' of
'lvm2:amd64'
>>> supermin: cd '/tmp/supermin3f8d1d.tmpdir/pzaggirn' &&
/usr/bin/apt-get download 'bsdmainutils' 'iproute2'
'isc-dhcp-client' 'libc-bin' 'openssh-client' 'systemd'
'vim-tiny' 'bash' 'e2fsprogs' 'kmod' 'lvm2'
'procps' 'rsync' 'tar' 'udev' 'util-linux'
'libc6' 'libmagic1' 'grub-common' 'dpkg' 'fuse'
'libgssapi-krb5-2' 'adduser' 'passwd' 'initscripts'
'sysv-rc' 'vim-common' 'base-files' 'debconf'
'libpam-modules' 'libaudit-common' 'insserv' 'startpar'
'libldap-2.4-2' 'libsemanage-common' 'perl-modules': command
failed, see earlier errors
>>
>> Maybe a missing 'deb' line in /etc/apt/sources.list? Perhaps you need
>> to run 'sudo apt-get update'?
>>
>> Rich.
>>
>> --
>> Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
>> Read my programming and virtualization blog:
http://rwmj.wordpress.com
>> virt-builder quickly builds VMs from scratch
>>
http://libguestfs.org/virt-builder.1.html
>
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libguestfs
_______________________________________________
Libguestfs mailing list
Libguestfs(a)redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs