make: ./libtool: Command not found

03

1.Problem-solving process

Error after i “make”

[root@localhost jpeg-6b]# make
./libtool –mode=compile gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: Command not found
make: *** [jcapimin.lo] Error 127

Introduction to GNU Libtool

GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface.

To use libtool, add the new generic library building commands to your Makefile, Makefile.in, or Makefile.am. See the documentation for details.

The latest stable version is 2.6.6A

Solve:Install the latest stable version

#wget:http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
#./configure
#make
#make install

and install jpeg again,but the Error still there.

#cd jpeg
#cp /usr/share/libtool/config.sub .
#cp /usr/share/libtool/config.guess .

[root@localhost libtool]# ls -ll
total 312
-rwxr-xr-x 1 root root 42037 Jan 7 2007 config.guess
-rwxr-xr-x 1 root root 30253 Jan 7 2007 config.sub
-rwxr-xr-x 1 root root 10970 Jan 7 2007 install-sh
drwxr-xr-x 2 root root 4096 Mar 1 11:54 libltdl
-rw-r–r– 1 root root 198422 Jan 7 2007 ltmain.sh
[root@localhost libtool]# pwd
/usr/share/libtool
[root@localhost libtool]#

[root@localhost libtool-2.2.6]# rpm -qa|grep libtool
libtool-1.5.22-6.1
[root@localhost libtool-2.2.6]#

Uninstall libtool-1.5.22-6.1

[root@localhost libtool-2.2.6]# rpm -e libtool-1.5.22-6.1
[root@localhost libtool-2.2.6]# rpm -qa|grep libtool
[root@localhost libtool-2.2.6]#

Install libtool again ,then install jpeg Succeed

#cd libtool
#./configure –prefix=/usr/local/libtool
#make
#make install
#cp /usr/local/libtool/share/libtool/config/config.sub Content jpeg source
#cp /usr/local/libtool/share/libtool/config/config.guess Content jpeg source

2.Experimental

.step1

#rm -r config.guess config.sub form jpeg source content
#cp /usr/local/libtool/share/libtool/config/config.sub /usr/share/libtool/config.sub
#cp /usr/local/libtool/share/libtool/config/config.guess /usr/share/libtool/config.guess
then install jpeg

NMAP

02

nmap

NMAP is so funny after./configure

1

Some of Pick about Linux

28

应该是在1999年g++就已经合并到gcc了

G++ is no longer a separate distribution. Version 2 of G++ is an integral
part of GCC. You should get the gcc-2.n.tar.gz sources (where n is the
highest numbered archive) in the gcc/ directory.C++ users will almost certainly need to retrieve the libstdc++-2.n.tar.gz
distribution as well, since that’s where all the standard C++ stream classes
(and header files like iostream.h) live.

简单的说是个提供文本的颜色窗体

The Ncurses (new curses) library is a free software emulation of curses in System V Release 4.0, and more. It uses Terminfo format, supports pads and color and multiple highlights and forms characters and function-key mapping, and has all the other SYSV-curses enhancements over BSD Curses.
The ncurses code was developed under GNU/Linux. It has been in use for some time with OpenBSD as the system curses library, and on FreeBSD and NetBSD as an external package. It should port easily to any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
The distribution includes the library and support utilities, including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo. Full manual pages are provided for the library and tools.

MySQL ./configure –help

28

[root@localhost mysql-6.0.9-alpha]# ./configure –help
`configure’ configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]… [VAR=VALUE]…

To assign environment variables (e.g., CC, CFLAGS…), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

下面是环境变量参数

Configuration:
-h, –help              display this help and exit
–help=short        display options specific to this package
–help=recursive    display the short help of all the included packages
-V, –version           display version information and exit
-q, –quiet, –silent   do not print `checking…’ messages  //不显示效验信息
–cache-file=FILE   cache test results in FILE [disabled]
-C, –config-cache      alias for `–cache-file=config.cache’
-n, –no-create         do not create output files
–srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories://安装地址
–prefix=PREFIX         install architecture-independent files in PREFIX
[/usr/local]
–exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
[PREFIX]  //安装地址加入前缀?

Install QQ for Linux tar.gz

28

qqforlinux.jpg

[root@localhost opt]# wget http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.tar.gz
–15:12:38–  http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.tar.gz
Resolving dl_dir.qq.com… 122.227.42.130, 122.227.42.131, 61.164.120.162, …
Connecting to dl_dir.qq.com|122.227.42.130|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 5029235 (4.8M) [application/octet-stream]
Saving to: `linuxqq_v1.0.2-beta1_i386.tar.gz’

100%[=======================================>] 5,029,235    158K/s   in 26s

15:13:04 (191 KB/s) – `linuxqq_v1.0.2-beta1_i386.tar.gz’ saved [5029235/5029235]