LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-31-2004, 03:33 PM   #1
ingerul
Member
 
Registered: Oct 2004
Location: Romania
Distribution: gentoo
Posts: 34

Rep: Reputation: 15
checkinstall problem


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:
Code:
========================= Installation results ===========================
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
 
****  Installation failed. Aborting package creation.
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?
 
Old 10-31-2004, 03:41 PM   #2
joshbaptiste
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
what errors ya get when ya do a make -n install check perms of the dirs in question /usr/local/
 
Old 10-31-2004, 03:58 PM   #3
ingerul
Member
 
Registered: Oct 2004
Location: Romania
Distribution: gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
As you can see I'm running checkinstall as root, doesn't that mean I have all the permissions on directories I'm trying to install to??

PS: I can hardly understand what you are saying, please try to use a more comprehensible language, otherwise I can't follow you advice, thx.
 
Old 10-31-2004, 06:36 PM   #4
ingerul
Member
 
Registered: Oct 2004
Location: Romania
Distribution: gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
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
 
**********************************************************************
 
Old 11-01-2004, 03:04 AM   #5
joshbaptiste
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Cool

not "checkinstall make -n install" just make -n install try that
 
Old 11-01-2004, 03:44 AM   #6
ingerul
Member
 
Registered: Oct 2004
Location: Romania
Distribution: gentoo
Posts: 34

Original Poster
Rep: Reputation: 15
ok, here is the "make -n install" output
Code:
[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'

Last edited by ingerul; 11-01-2004 at 03:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checkinstall problem kodon Slackware 4 11-11-2004 06:38 PM
Checkinstall in 5.1.1 Kroenecker Linux From Scratch 5 07-13-2004 12:37 PM
checkinstall... marsques Linux - Software 3 05-25-2004 01:56 PM
Using 'checkinstall' gonzalo76 Slackware 20 05-20-2004 07:09 PM
Checkinstall ... durden2.0 Linux - Software 1 07-02-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration