Nu-Bee
12-29-2002, 07:01 PM
You use this instead of using "make install". You will see what it does below:
[root@localhost unix]# checkinstall
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]:
Preparing package documentation...OK
Installing with "make install"...
========================= Installation results ===========================
Copying documentation directory...
Installing libtcl8.4.so to /usr/local/lib/
Installing tclsh as /usr/local/bin/tclsh8.4
Installing tclConfig.sh to /usr/local/lib/
Installing libtclstub8.4.a to /usr/local/lib/
Installing header files
Installing library files to /usr/local/lib/tcl8.4
Installing library http1.0 directory
Installing library http2.4 directory
Installing library opt0.4 directory
Installing library msgcat1.3 directory
Installing library tcltest2.2 directory
Installing library encoding directory
Installing top-level (.1) docs
Cross-linking top-level (.1) docs
Installing C API (.3) docs
Cross-linking C API (.3) docs
Installing command (.n) docs
Cross-linking command (.n) docs
======================== Installation succesful ==========================
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
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.
>> Tcl/Tk 8.4.1
>>
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ unix ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 2
Enter new name:
>> Tcl_Tk
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 3
Enter new version:
>> 8.4.1
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 10
Enter the provided features:
>> Tcl/Tk 8.4.1
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ Tcl/Tk 8.4.1 ]
Enter a number to change any of them or press ENTER to continue:
**************************************
**** RPM package creation selected ***
**************************************
Building RPM package...OK
Installing RPM package...OK
Erasing temporary files...OK
Deleting doc-pak directory...OK
Writing backup package...OK
Deleting temp dir...OK
************************************************** ********************
Done. The new package has been installed and saved to
/usr/src/RPM/RPMS/i386/Tcl_Tk-8.4.1-1.i386.rpm
You can remove it from your system anytime using:
rpm -e Tcl_Tk-8.4.1-1
************************************************** ********************
[root@localhost unix]#
Here's where you get it:
CheckInstall Homepage (http://asic-linux.com.mx/~izto/checkinstall/)
[root@localhost unix]# checkinstall
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]:
Preparing package documentation...OK
Installing with "make install"...
========================= Installation results ===========================
Copying documentation directory...
Installing libtcl8.4.so to /usr/local/lib/
Installing tclsh as /usr/local/bin/tclsh8.4
Installing tclConfig.sh to /usr/local/lib/
Installing libtclstub8.4.a to /usr/local/lib/
Installing header files
Installing library files to /usr/local/lib/tcl8.4
Installing library http1.0 directory
Installing library http2.4 directory
Installing library opt0.4 directory
Installing library msgcat1.3 directory
Installing library tcltest2.2 directory
Installing library encoding directory
Installing top-level (.1) docs
Cross-linking top-level (.1) docs
Installing C API (.3) docs
Cross-linking C API (.3) docs
Installing command (.n) docs
Cross-linking command (.n) docs
======================== Installation succesful ==========================
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
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.
>> Tcl/Tk 8.4.1
>>
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ unix ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 2
Enter new name:
>> Tcl_Tk
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ unix ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 3
Enter new version:
>> 8.4.1
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ unix ]
Enter a number to change any of them or press ENTER to continue: 10
Enter the provided features:
>> Tcl/Tk 8.4.1
This package will be built according to these values:
1 - Summary: [ Tcl/Tk 8.4.1 ]
2 - Name: [ Tcl_Tk ]
3 - Version: [ 8.4.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ unix ]
9 - Alternate source location: [ ]
10 - Provides: [ Tcl/Tk 8.4.1 ]
Enter a number to change any of them or press ENTER to continue:
**************************************
**** RPM package creation selected ***
**************************************
Building RPM package...OK
Installing RPM package...OK
Erasing temporary files...OK
Deleting doc-pak directory...OK
Writing backup package...OK
Deleting temp dir...OK
************************************************** ********************
Done. The new package has been installed and saved to
/usr/src/RPM/RPMS/i386/Tcl_Tk-8.4.1-1.i386.rpm
You can remove it from your system anytime using:
rpm -e Tcl_Tk-8.4.1-1
************************************************** ********************
[root@localhost unix]#
Here's where you get it:
CheckInstall Homepage (http://asic-linux.com.mx/~izto/checkinstall/)