mysql -urootでログインして、↓このように”Tritonn Project”のバージョンが表示されればOK。 mysql -Vでは表示されないので注意。
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 2419
Server version: 5.0.51a-modified-log MySQL Community Server (GPL) (portions (c) Tritonn Project)
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
Usage: checkinstall [options] [command [command arguments]]
Options:
*Package type selection*
-t,–type= Choose packaging system
-S Build a Slackware package
-R Build a RPM package
-D Build a Debian package
*Install options*
–install= Toggle created package installation
–fstrans= Enable/disable the filesystem translation code
*Scripting options*
-y, –default Accept default answers to all questions
–pkgname= Set name
–pkgversion= Set version
-A, –arch, –pkgarch= Set architecture
–pkgrelease= Set release
–pkglicense= Set license
–pkggroup= Set software group
–pkgsource=
*Info display options*
-d<0|1|2> Set debug level
-si Run an interactive install command
–showinstall= Toggle interactive install command
-ss Run an interactive Slackware installation script
–showslack= Toggle interactive Slackware installation script
*Package tuning options*
–autodoinst= Toggle the creation of a doinst.sh script
–strip= Strip any ELF binaries found inside the package
–stripso= Strip any ELF binary libraries (.so files)
–addso= Search for any shared libs and add
them to /etc/ld.so.conf
–reset-uids= Reset perms for all files/dirs to 755 and
the owner/group for all dirs to root.root
–gzman= Compress any man pages found inside the package
–docdir= Where to put documentation files
–umask= Set the umask value
–exclude= Exclude these files/directories from the package
–include= Force the inclusion in the package of the
files/dirs listed in “listfile”
–inspect Inspect the package’s file list
–review-spec Review the spec file before creating a .rpm
–review-control Review the control file before creating a .deb
–newslack Use the new (8.1+) Slackware description format
(“–newslack” implies “-S”)
–with-tar=/path/to/tar Manually set the path to the tar binary
in this system
*Cleanup options*
–deldoc= Delete doc-pak upon termination
–deldesc= Delete description-pak upon termination
–delspec= Delete spec file upon termination
–bk Backup any overwritten files
–backup= Toggle backup
*About CheckInstall*
–help, -h Show this message
–copyright Show Copyright information
–version Show version information
RPMは-Rか。
何かのソースからパッケージを作ってみたい。
今回試すのはsquidにしてみる。
wget http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE13.tar.gz
tar zxfv squid-3.0.STABLE13.tar.gz
cd squid-3.0.STABLE13
./configure
make
make install
/usr/local/sbin/checkinstall -R