Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to create a rpm package for opendchub, because I want to install it on a system that doesn't have everything it needs to compile a program from sources. So I tried checkinstall, but I always get this error:
I figured it out that the error is generated by installwatchm, which is a component of checkinstall. When I try to run installwatch I get the following error:
Code:
[root@kenjiru opendchub-0.7.14]# installwatch make install
INFO : Using a default root directory : /var/tmp/qOhkbdiEXZNqlgbRnHZK
Making install in src
make[1]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
make[2]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
/bin/sh ../mkinstalldirs /usr/local/bin
/usr/bin/install -c opendchub /usr/local/bin/opendchub
make[2]: *** [install-binPROGRAMS] Error 139
make[2]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make: *** [install-recursive] Error 1
So it's a similar error... Any idea how can I get it working?
So, here is the otput for the "checkinstall make -n install"
Code:
[root@kenjiru opendchub-0.7.14]# checkinstall make -n install
checkinstall 1.6.0beta3, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: n
Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? r
Please write a description for the package.
End your description with an empty line or EOF.
>>
This package will be built according to these values:
1 - Summary: [ Package created with checkinstall 1.6.0beta3 ]
2 - Name: [ opendchub ]
3 - Version: [ 0.7.14 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ opendchub-0.7.14 ]
9 - Alternate source location: [ ]
10 - Provides: [ ]
11 - Requires: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make -n install...
========================= Installation results ===========================
set fnord n; amf=$2; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='src'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
Making install in src
make[1]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
make install-exec-am install-data-am
make[2]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
:
/bin/sh ../mkinstalldirs /usr/local/bin
list='opendchub'; for p in $list; do \
if test -f $p; then \
echo " /usr/bin/install -c $p /usr/local/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"; \
/usr/bin/install -c $p /usr/local/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`; \
else :; fi; \
done
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make[1]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make[1]: Entering directory `/home/radu/temp/opendchub-0.7.14'
if test ! -f config.h.in; then \
rm -f ./stamp-h.in; \
make ./stamp-h.in; \
else :; fi
if test ! -f config.h; then \
rm -f stamp-h; \
make stamp-h; \
else :; fi
make install-exec-am install-data-am
make[2]: Entering directory `/home/radu/temp/opendchub-0.7.14'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/radu/temp/opendchub-0.7.14'
make[1]: Leaving directory `/home/radu/temp/opendchub-0.7.14'
======================== Installation successful ==========================
cp: cannot stat `//var/tmp/GYiTZLXDSUGdVngpRPie/newfiles.tmp': No such file or directory
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list... FAILED!
cat: /var/tmp/GYiTZLXDSUGdVngpRPie/libdirs: No such file or directory
**************************************
**** RPM package creation selected ***
**************************************
cat: /var/tmp/GYiTZLXDSUGdVngpRPie/newfiles: No such file or directory
Building RPM package...OK
NOTE: The package will not be installed
Erasing temporary files...OK
Deleting doc-pak directory...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been saved to
/usr/src/redhat/RPMS/i386/opendchub-0.7.14-1.i386.rpm
You can install it in your system anytime using:
rpm -i opendchub-0.7.14-1.i386.rpm
**********************************************************************
[root@kenjiru opendchub-0.7.14]# make -n install
set fnord n; amf=$2; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='src'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
Making install in src
make[1]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
make install-exec-am install-data-am
make[2]: Entering directory `/home/radu/temp/opendchub-0.7.14/src'
:
/bin/sh ../mkinstalldirs /usr/local/bin
list='opendchub'; for p in $list; do \
if test -f $p; then \
echo " /usr/bin/install -c $p /usr/local/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"; \
/usr/bin/install -c $p /usr/local/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`; \
else :; fi; \
done
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make[1]: Leaving directory `/home/radu/temp/opendchub-0.7.14/src'
make[1]: Entering directory `/home/radu/temp/opendchub-0.7.14'
if test ! -f config.h.in; then \
rm -f ./stamp-h.in; \
make ./stamp-h.in; \
else :; fi
if test ! -f config.h; then \
rm -f stamp-h; \
make stamp-h; \
else :; fi
make install-exec-am install-data-am
make[2]: Entering directory `/home/radu/temp/opendchub-0.7.14'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/radu/temp/opendchub-0.7.14'
make[1]: Leaving directory `/home/radu/temp/opendchub-0.7.14'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.