Checkinstall fails to create a Ruby 1.9.2 package

P

P. A.

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/.=
 
K

Ken Bloom

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.
 
K

Ken Bloom

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top