ruby on rails Error installing pauldix-feedzirra: ERROR: Failed to build gem native extension

Before
akbarbin@akbarbin-laptop:~/Documents/blog$ sudo gem install pauldix-feedzirra

Resault

Building native extensions.  This could take a while...
ERROR:  Error installing pauldix-feedzirra:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/ruby1.8
    --with-zlib-dir
    --without-zlib-dir
    --with-zlib-include
    --without-zlib-include=${zlib-dir}/include
    --with-zlib-lib
    --without-zlib-lib=${zlib-dir}/lib
    --with-iconv-dir
    --without-iconv-dir
    --with-iconv-include
    --without-iconv-include=${iconv-dir}/include
    --with-iconv-lib
    --without-iconv-lib=${iconv-dir}/lib
    --with-xml2-dir
    --without-xml2-dir
    --with-xml2-include
    --without-xml2-include=${xml2-dir}/include
    --with-xml2-lib
    --without-xml2-lib=${xml2-dir}/lib
    --with-xslt-dir
    --without-xslt-dir
    --with-xslt-include
    --without-xslt-include=${xslt-dir}/include
    --with-xslt-lib
    --without-xslt-lib=${xslt-dir}/lib


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.0 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out

After I TRY
akbarbin@akbarbin-laptop:~/Documents/blog$ sudo apt-get install libcurl3-dev


Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting libcurl4-openssl-dev instead of libcurl3-dev
The following extra packages will be installed:
  comerr-dev krb5-multidev libcomerr2 libcurl3 libcurl4-openssl-dev libgssrpc4 libidn11-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev
  libldap-2.4-2 libldap2-dev libssl-dev
Suggested packages:
  krb5-doc libcurl3-dbg krb5-user
The following NEW packages will be installed:
  comerr-dev krb5-multidev libcurl4-openssl-dev libgssrpc4 libidn11-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev libldap2-dev libssl-dev
The following packages will be upgraded:
  libcomerr2 libcurl3 libldap-2.4-2
3 upgraded, 11 newly installed, 0 to remove and 605 not upgraded.
Need to get 5,442kB of archives.
After this operation, 13.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libcomerr2 1.41.11-1ubuntu2.1 [50.7kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libldap-2.4-2 2.4.21-0ubuntu5.5 [202kB]
Get:3 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libgssrpc4 1.8.1+dfsg-2ubuntu0.9 [75.6kB]                                                    
Get:4 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libkadm5clnt-mit7 1.8.1+dfsg-2ubuntu0.9 [59.4kB]                                             
Get:5 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libkdb5-4 1.8.1+dfsg-2ubuntu0.9 [59.5kB]                                                     
Get:6 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libkadm5srv-mit7 1.8.1+dfsg-2ubuntu0.9 [72.3kB]                                              
Get:7 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main comerr-dev 2.1-1.41.11-1ubuntu2.1 [41.3kB]                                                   
Get:8 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main krb5-multidev 1.8.1+dfsg-2ubuntu0.9 [103kB]                                                  
Get:9 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libcurl3 7.19.7-1ubuntu1.1 [225kB]                                                           
Get:10 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libssl-dev 0.9.8k-7ubuntu8.6 [2,007kB]                                                      
Get:11 http://id.archive.ubuntu.com/ubuntu/ lucid/main libidn11-dev 1.15-2 [628kB]                                                                         
Get:12 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libkrb5-dev 1.8.1+dfsg-2ubuntu0.9 [36.4kB]                                                  
Get:13 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libldap2-dev 2.4.21-0ubuntu5.5 [902kB]                                                      
Get:14 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main libcurl4-openssl-dev 7.19.7-1ubuntu1.1 [981kB]                                              
Fetched 5,442kB in 1min 30s (60.2kB/s)                                                                                                                     
(Reading database ... 130637 files and directories currently installed.)
Preparing to replace libcomerr2 1.41.11-1ubuntu1 (using .../libcomerr2_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement libcomerr2 ...
Setting up libcomerr2 (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 130637 files and directories currently installed.)
Preparing to replace libldap-2.4-2 2.4.21-0ubuntu3 (using .../libldap-2.4-2_2.4.21-0ubuntu5.5_i386.deb) ...
Unpacking replacement libldap-2.4-2 ...
Selecting previously deselected package libgssrpc4.
Unpacking libgssrpc4 (from .../libgssrpc4_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Selecting previously deselected package libkadm5clnt-mit7.
Unpacking libkadm5clnt-mit7 (from .../libkadm5clnt-mit7_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Selecting previously deselected package libkdb5-4.
Unpacking libkdb5-4 (from .../libkdb5-4_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Selecting previously deselected package libkadm5srv-mit7.
Unpacking libkadm5srv-mit7 (from .../libkadm5srv-mit7_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Selecting previously deselected package comerr-dev.
Unpacking comerr-dev (from .../comerr-dev_2.1-1.41.11-1ubuntu2.1_i386.deb) ...
Selecting previously deselected package krb5-multidev.
Unpacking krb5-multidev (from .../krb5-multidev_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Preparing to replace libcurl3 7.19.7-1ubuntu1 (using .../libcurl3_7.19.7-1ubuntu1.1_i386.deb) ...
Unpacking replacement libcurl3 ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8k-7ubuntu8.6_i386.deb) ...
Selecting previously deselected package libidn11-dev.
Unpacking libidn11-dev (from .../libidn11-dev_1.15-2_i386.deb) ...
Selecting previously deselected package libkrb5-dev.
Unpacking libkrb5-dev (from .../libkrb5-dev_1.8.1+dfsg-2ubuntu0.9_i386.deb) ...
Selecting previously deselected package libldap2-dev.
Unpacking libldap2-dev (from .../libldap2-dev_2.4.21-0ubuntu5.5_i386.deb) ...
Selecting previously deselected package libcurl4-openssl-dev.
Unpacking libcurl4-openssl-dev (from .../libcurl4-openssl-dev_7.19.7-1ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 3 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for install-info ...
Setting up libldap-2.4-2 (2.4.21-0ubuntu5.5) ...

Setting up libgssrpc4 (1.8.1+dfsg-2ubuntu0.9) ...

Setting up libkadm5clnt-mit7 (1.8.1+dfsg-2ubuntu0.9) ...

Setting up libkdb5-4 (1.8.1+dfsg-2ubuntu0.9) ...

Setting up libkadm5srv-mit7 (1.8.1+dfsg-2ubuntu0.9) ...

Setting up comerr-dev (2.1-1.41.11-1ubuntu2.1) ...
Setting up krb5-multidev (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libcurl3 (7.19.7-1ubuntu1.1) ...

Setting up libssl-dev (0.9.8k-7ubuntu8.6) ...
Setting up libidn11-dev (1.15-2) ...
Setting up libkrb5-dev (1.8.1+dfsg-2ubuntu0.9) ...
Setting up libldap2-dev (2.4.21-0ubuntu5.5) ...
Setting up libcurl4-openssl-dev (7.19.7-1ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


good luck

Komentar

Postingan populer dari blog ini

EPrT English Proficiency Test Soal - soal

cara memunculkan dan menyembunyikan icon date, time, clock, volume, network, power battery, action center pada taskbar pada Windows 7

Cara Mengurus Perpanjang SIM dan Rincian Biaya di Lumajang.