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