Project

General

Profile

libiconv and liburiparser fails when doing ./configure on recent builds

Added by Crazy Fin over 10 years ago

Hi

I am trying to configure and compile TVHeadend from quite recent builds (1-2 weeks back).

I see most of the time when I do ./configure I get fails for the following packages:

libiconv
liburiparser

I am on Ubuntu 12.04 LTS


Replies (6)

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Gary Brown over 10 years ago

have you tried to install said packages?

try running "sudo apt-get install libiconv* liburiparser*"

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Crazy Fin over 10 years ago

Yes I have tried that but I was unaware of the possibility to run the command with "*" as a wildcard.

So I did

"sudo apt-get install libiconv* liburiparser*" and indeed some new packages was installed. :-)

Did a new "./configure" and the fail-message for liburiparser was gone now but still the fail message for liburiconv... :-(

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Crazy Fin over 10 years ago

I see the following message:

sudo apt-get install libiconv*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libiconv-hook1' for regex 'libiconv*'
Note, selecting 'libiconv-ruby' for regex 'libiconv*'
Note, selecting 'libiconv-ruby1.8' for regex 'libiconv*'
Note, selecting 'libicon-famfamfam-silk-perl' for regex 'libiconv*'
Note, selecting 'libiconv-hook-dev' for regex 'libiconv*'
Note, selecting 'libruby' instead of 'libiconv-ruby'
Note, selecting 'libruby1.8' instead of 'libiconv-ruby1.8'
libruby is already the newest version.
libicon-famfamfam-silk-perl is already the newest version.
libiconv-hook-dev is already the newest version.
libiconv-hook1 is already the newest version.
libruby1.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

But still I get

Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc recvmmsg ... ok
checking for cc libiconv ... fail
checking for py module gzip ... ok

when I run the "./configure" command

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Gary Brown over 10 years ago

try running these 2 commands

"apt-get purge libiconv*"
"apt-get install libiconv-hook1 libiconv-hook-dev"

see if that works

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Crazy Fin over 10 years ago

Ok did the commands as you suggested:

apt-get purge libiconv*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libiconv-hook1' for regex 'libiconv*'
Note, selecting 'libiconv-ruby' for regex 'libiconv*'
Note, selecting 'libiconv-ruby1.8' for regex 'libiconv*'
Note, selecting 'libicon-famfamfam-silk-perl' for regex 'libiconv*'
Note, selecting 'libiconv-hook-dev' for regex 'libiconv*'
Note, selecting 'libruby' instead of 'libiconv-ruby'
Note, selecting 'libruby1.8' instead of 'libiconv-ruby1.8'
The following packages will be REMOVED:
libicon-famfamfam-silk-perl* libiconv-hook-dev* libiconv-hook1*
0 upgraded, 0 newly installed, 3 to remove and 9 not upgraded.
After this operation, 1 561 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 460173 files and directories currently installed.)
Removing libicon-famfamfam-silk-perl ...
Removing libiconv-hook-dev ...
Removing libiconv-hook1 ...
Purging configuration files for libiconv-hook1 ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

apt-get install libiconv-hook1 libiconv-hook-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libiconv-hook-dev libiconv-hook1
0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/121 kB of archives.
After this operation, 565 kB of additional disk space will be used.
Selecting previously unselected package libiconv-hook1.
(Reading database ... 460148 files and directories currently installed.)
Unpacking libiconv-hook1 (from .../libiconv-hook1_0.0.20021209-10_amd64.deb) ...
Selecting previously unselected package libiconv-hook-dev.
Unpacking libiconv-hook-dev (from .../libiconv-hook-dev_0.0.20021209-10_amd64.deb) ...
Setting up libiconv-hook1 (0.0.20021209-10) ...
Setting up libiconv-hook-dev (0.0.20021209-10) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

And then I do

./configure
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... ok
checking for cc -msse2 ... ok
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc recvmmsg ... ok
checking for cc libiconv ... fail

RE: libiconv and liburiparser fails when doing ./configure on recent builds - Added by Chuang Liang-Shing over 10 years ago

Just modify the 'configure' and 'Makefile' by removing the '-liconv' word.
I tried it on Ubuntu 14.04, and it works!

    (1-6/6)