LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-18-2005, 05:47 PM   #1
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Rep: Reputation: 0
Question checkinstall- cmnd does not exist??


Hi, I've just installed checkinstall and when i try to use it after the ./configure and make part I get the message that the command "checkinstall" does not exist, and I'm quite sure that I've installed the program, anyone can help me with this one, thank you.
 
Old 07-18-2005, 06:42 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"Hi, I've just installed checkinstall and when i try to use it after the ./configure and make part I get the message that the command "checkinstall" does not exist, and I'm quite sure that I've installed the program, anyone can help me with this one, thank you."

It may not be on your PATH. Try:
which checkinstall
to see if checkinstall is on your PATH.

On my machine checkinstall is in /usr/sbin/checkinstall which is on root's PATH but is not on user's PATH. You have to run checkinstall as root or su anyway so being only on root's PATH is OK.

--------------------------
Steve Stites
 
Old 07-19-2005, 08:40 AM   #3
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I try checkinstall either with root and user permissions, after I've made the following to a tarball:
tar zxvf package.tar.gz
cd package
./configure
make
su
password-***
checkinstall
and the shell says that the command checkinstall does not exist
I've installed the checkinstall program using a rpm, and when I search for it in the "search for files" applications it shows several files and directories with the name of "checkinstall":
checkinstall-1.5.3(directory) /usr/doc
checkinstall(directory) /usr/local/lib
checkinstallrc (singletext file) /usr/local/lib/checkinstall
checkinstall(it says it is application/x-shellscript) /usr/local/sbin
Should I run only "checkinstall" or probably "./checkinstall" after make, or mayby I should copy the "checkinstall" script from /usr/local/sbin to the folder where the package is What is the version you are using, that works, probably there is problem with this one (mine is 1.5.3). Also when I try "which checkinstall" nothing happens.. I'm very confused with this one, I'd be very gratefull if someone is ableto tell me what the problem is, thank you jailbait for your help, but I need some more assistance..

Last edited by carnophage; 07-19-2005 at 08:53 AM.
 
Old 07-19-2005, 09:12 AM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
what happens when you do /usr/local/sbin/checkinstall instead of just checkinstall.

It does have execute permissions doesn't it?
 
Old 07-19-2005, 09:20 AM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"checkinstall(it says it is application/x-shellscript) /usr/local/sbin"

checkinstall is in /usr/local/sbin. I think that your problem may be that /usr/local/sbin is not on your PATH. Try this command to see if /usr/local/sbin is on your path:
echo $PATH

If /usr/local/sbin is not on your PATH then you can solve the problem by creating a symbolic link for checkinstall:

ln -s /usr/local/sbin/checkinstall /bin/checkinstall

------------------------
Steve Stites
 
Old 07-19-2005, 09:21 AM   #6
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you, this seems to be some progress , but i get some other error:
--------------------------------------------------------------------
checkinstall 1.5.3, Copyright 2001 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]: y

Preparing package documentation...OK

Installing with "make install"...

========================= Installation results ===========================

Copying documentation directory...
/var/tmp/VbQgSRlpTBJEcAkMGIpc/installscript.sh: line 13: 7558 Segmentation fault mkdir -p "/usr/doc/libsigc++-2.0.0"

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
------------------------------------------------------------------------------------------------------

Any suggestions, later I'll try with some other package to see if I get the same error, Thanks again phil.d.g
 
Old 07-19-2005, 12:53 PM   #7
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
jailbait, I didn't saw your post before, probably we were tiping at teh same time..Thank you, now I can use the command "checkinstall" but I get the error that I mention in my previous post, if you know something about it- pls let me know, thank you again.
 
Old 07-19-2005, 05:04 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
'/var/tmp/VbQgSRlpTBJEcAkMGIpc/installscript.sh: line 13: 7558 Segmentation fault mkdir -p "/usr/doc/libsigc++-2.0.0"'

I think that this was a bug in an older version of checkinstall. I recommend that you uninstall checkinstall, download the latest version, and install that. I use version 1.6.0beta3 and I have no problems with it.

http://asic-linux.com.mx/~izto/check...l/download.php

-------------------------
Steve Stites
 
Old 07-19-2005, 06:39 PM   #9
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Well, with this version there is no such error and it seems to be better, but yet I have some problems :-( and besides, I'm getting little confused So far what I know about checkinstall is that it can create rpm packages and it replaces the "make install" command, but one thing I do not understand- does checkinstall installs the package that I compile or can it just make an rpm package without installing anything, so I'll be able to install the package using YaST(I'm a SuSE user..). and now I get this error when I try using checkinstall with "ligsigc++2" tarball file:
Code:
Building file list...OK
cat: /var/tmp/checkinstall.Xs9016/libdirs: No such file or directory
 
**************************************
**** RPM package creation selected ***
**************************************
 
Building RPM package... FAILED!
 
*** Failed to build the package
 
Do you want to see the log file?  [y]: y
and the log file says:


Code:
Building target platforms: i386
Building for target i386
Processing files: libsigc++-2.0.0-1
error: File not found by glob: /home/carnophage/programs/libsigc++-2.0.0/buildroot/usr/local/share/doc/libsigc-2.0/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html
error: File not found by glob: /home/carnophage/programs/libsigc++-2.0.0/buildroot/usr/local/share/doc/libsigc-2.0/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html
 
 
RPM build errors:
    File not found by glob: /home/carnophage/programs/libsigc++-2.0.0/buildroot/usr/local/share/doc/libsigc-2.0/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4.html
    File not found by glob: /home/carnophage/programs/libsigc++-2.0.0/buildroot/usr/local/share/doc/libsigc-2.0/docs/reference/html/structsigc_1_1type__trait_3_01T__type[N]_4-members.html
And little above it says that Installation is successful. Anyway, thank you very much for your help jailbait, I hope you will help me again

Last edited by carnophage; 07-19-2005 at 06:44 PM.
 
Old 07-19-2005, 07:21 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"Anyway, thank you very much for your help jailbait, I hope you will help me again"

Why don't you just ask one of the other guys in building 17?

---------------------------
Steve Stites
 
Old 07-20-2005, 05:16 AM   #11
carnophage
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
building17 I don't understand, does anyone can answer my questions in the previous post, thank you in advance.
 
  


Reply



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 in 5.1.1 Kroenecker Linux From Scratch 5 07-13-2004 11:37 AM
checkinstall... marsques Linux - Software 3 05-25-2004 12:56 PM
Using 'checkinstall' gonzalo76 Slackware 20 05-20-2004 06:09 PM
Checkinstall ... durden2.0 Linux - Software 1 07-02-2003 02:01 PM
What to download for Checkinstall CodeWarrior Slackware 4 06-08-2003 09:10 PM

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

All times are GMT -5. The time now is 04:05 PM.

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