Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problem installing ruby-libxml

Reply
Thread Tools

Problem installing ruby-libxml

 
 
Francis Hwang
Guest
Posts: n/a
 
      11-26-2003
Hi, I'm trying to install ruby-libxml and not having any luck. I
should preface my post by saying that my understanding of how Unix
libraries work is pretty sad, so please feel free to point me to some
resource (web page, man page, book, etc.) that I could use to figure
this out.

Anyway, here's what happens when I try to install ruby-libxml:

$ ruby extconf.rb
checking for atan() in -lm... yes
checking for inflate() in -lz... yes
checking for iconv_open() in -liconv... no
checking for iconv_open() in -lc... no
checking for iconv_open() in -lrecode... no
extconf failure: need libiconv

But I have definitely already installed libiconv, in fact when I look
in /usr/local/lib I see:

/usr/local/lib/libiconv.2.2.0.dylib
/usr/local/lib/libiconv.2.dylib
/usr/local/lib/libiconv.dylib
/usr/local/lib/libiconv.la

Any hints as to what I should try next would be much appreciated.

Francis
 
Reply With Quote
 
 
 
 
Sam Roberts
Guest
Posts: n/a
 
      12-04-2003
I had a problem with similar symptoms a while ago trying to install a
ruby module that needed iconv. I had to replace

have_library("iconv")

in extconf.rb with
have_library("iconv", "iconv")

on Nobu's advice.

Maybe this will work for you? Also, mkmf.log gave the essential clue
as to what wasn't working. Maybe include yours if it still does not
build.

Cheers,
Sam

Quoteing , on Thu, Nov 27, 2003 at 08:52:11AM +0900:
> Hi, I'm trying to install ruby-libxml and not having any luck. I
> should preface my post by saying that my understanding of how Unix
> libraries work is pretty sad, so please feel free to point me to some
> resource (web page, man page, book, etc.) that I could use to figure
> this out.
>
> Anyway, here's what happens when I try to install ruby-libxml:
>
> $ ruby extconf.rb
> checking for atan() in -lm... yes
> checking for inflate() in -lz... yes
> checking for iconv_open() in -liconv... no
> checking for iconv_open() in -lc... no
> checking for iconv_open() in -lrecode... no
> extconf failure: need libiconv
>
> But I have definitely already installed libiconv, in fact when I look
> in /usr/local/lib I see:
>
> /usr/local/lib/libiconv.2.2.0.dylib
> /usr/local/lib/libiconv.2.dylib
> /usr/local/lib/libiconv.dylib
> /usr/local/lib/libiconv.la
>
> Any hints as to what I should try next would be much appreciated.
>
> Francis
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing wireless USB Adapter =?Utf-8?B?cmZz?= Wireless Networking 2 07-10-2005 05:58 AM
Problem installing wireless card w/ Windows =?Utf-8?B?UmFuZGFsbA==?= Wireless Networking 0 03-28-2005 09:55 PM
problem installing firefox Brian Barringer Firefox 1 02-17-2005 06:01 PM
Problem installing modules on redhat 9 - strange connection problem championsleeper Perl Misc 0 01-26-2005 12:19 PM
Problem w/ Windows 98SE installing 802.11g router Wireless Networking 3 01-21-2005 01:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57