Checkinstall fails to create a Ruby 1.9.2 package

Discussion in 'Ruby' started by P. A., Apr 8, 2011.

  1. P. A.

    P. A. Guest

    Hi.

    Checkinstall fails to create a Ruby 1.9.2 package. It returns the
    following error:

    ~~~
    # checkinstall --type=3Ddebian --install=3Dno --pakdir=3D/home/<username>=


    <...>

    /miniruby -I./lib -I. -I.ext/common ./tool/rbinstall.rb --make=3D"make"=

    --dest-dir=3D"" --extout=3D".ext" --mflags=3D"" --make-flags=3D""
    --data-mode=3D0644 --prog-mode=3D0755 --installed-list .installed.list
    --install=3Dall --rdoc-output=3D".ext/rdoc"
    installing binary commands: /usr/local/bin
    /home/<username>/ruby/lib/fileutils.rb:854:in `utime': No such file or
    directory - /usr/local/bin/ruby (Errno::ENOENT)
    from /home/<username>/ruby/lib/fileutils.rb:854:in `block in
    install'
    from /home/<username>/ruby/lib/fileutils.rb:1423:in `block in
    fu_each_src_dest'
    from /home/<username>/ruby/lib/fileutils.rb:1437:in
    `fu_each_src_dest0'
    from /home/<username>/ruby/lib/fileutils.rb:1421:in
    `fu_each_src_dest'
    from /home/<username>/ruby/lib/fileutils.rb:850:in `install'
    from ./tool/rbinstall.rb:156:in `install'
    from ./tool/rbinstall.rb:317:in `block in <main>'
    from ./tool/rbinstall.rb:583:in `call'
    from ./tool/rbinstall.rb:583:in `block (2 levels) in <main>'
    from ./tool/rbinstall.rb:580:in `each'
    from ./tool/rbinstall.rb:580:in `block in <main>'
    from ./tool/rbinstall.rb:576:in `each'
    from ./tool/rbinstall.rb:576:in `<main>'
    make: *** [do-install-all] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1

    **** =D0=A3=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B0 =D0=BD=D0=B5=
    =D1=83=D0=B4=D0=B0=D1=87=D0=BD=D0=B0. =D0=9E=D1=82=D0=BC=D0=B5=D0=BD=D1=8F=
    =D0=B5=D1=82=D1=81=D1=8F =D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=
    =D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B0.

    =D0=9E=D1=87=D0=B8=D1=89=D0=B0=D0=B5=D1=82=D1=81=D1=8F...OK

    =D0=A3=D0=B4=D0=B0=D1=87=D0=B8.
    ~~~

    What can be the cause of the error? How can I tackle it?

    Thanks.

    Debian GNU/Linux 6.0.1;
    Checkinstall 1.6.2.

    -- =

    Posted via http://www.ruby-forum.com/.=
    P. A., Apr 8, 2011
    #1
    1. Advertising

  2. P. A.

    Ken Bloom Guest

    On Fri, 08 Apr 2011 21:37:50 +0900, P. A. wrote:

    > Hi.
    >
    > Checkinstall fails to create a Ruby 1.9.2 package


    >
    > What can be the cause of the error? How can I tackle it?
    >
    > Thanks.
    >
    > Debian GNU/Linux 6.0.1;
    > Checkinstall 1.6.2.


    Just install Debian's ruby1.9.1 package, which is really ruby 1.9.2.

    --
    Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
    Department of Computer Science. Illinois Institute of Technology.
    http://www.iit.edu/~kbloom1/
    Ken Bloom, Apr 8, 2011
    #2
    1. Advertising

  3. P. A.

    P. A. Guest

    P. A., Apr 8, 2011
    #3
  4. Iñaki Baz Castillo, Apr 8, 2011
    #4
  5. P. A.

    P. A. Guest

    P. A., Apr 8, 2011
    #5
  6. P. A.

    Ken Bloom Guest

    On Sat, 09 Apr 2011 01:22:20 +0900, P. A. wrote:

    > The patch level is different. It's critical for some applications.


    Well, then do the update the right way, namely

    apt-get source ruby1.9.1
    download the new version into a tarball (let's call it ruby1.9.2pXXX)
    cd ruby1.9.1-1.9.2.180
    uupdate ../ruby1.9.2pXXX.tar.gz
    cd to the new directory
    dpkg-buildpackage -rfakeroot



    --
    Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
    Department of Computer Science. Illinois Institute of Technology.
    http://www.iit.edu/~kbloom1/
    Ken Bloom, Apr 8, 2011
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Saunders
    Replies:
    1
    Views:
    659
    John Saunders
    Nov 18, 2003
  2. =?Utf-8?B?UWluZ2Rvbmc=?=
    Replies:
    1
    Views:
    329
    Scott Allen
    Mar 18, 2005
  3. James Byrne

    Ruby 1.8.7, checkinstall and gem

    James Byrne, Nov 1, 2010, in forum: Ruby
    Replies:
    2
    Views:
    179
    James Byrne
    Nov 1, 2010
  4. Replies:
    2
    Views:
    282
    Grant Wagner
    Dec 23, 2004
  5. dayo
    Replies:
    11
    Views:
    330
    Ilya Zakharevich
    Dec 16, 2005
Loading...

Share This Page