当前位置: 首页 > 工具软件 > GNU M4 > 使用案例 >

linux怎样安装gnu m4 (version 1.4),按装 autoconf 出现 需要安装m4-1.4.16.tar.gz的错误

东方骏
2023-12-01

-rw-r--r--   1 root     root     1657870 May 28

2012 m4-1.4.16.tar.gz

[email protected] # gunzip m4-1.4.16.tar.gz

[email protected] # tar -xvf m4-1.4.16.tar

# cd m4-1.4.16/

# ./configure && make && make install

http://ftp.gnu.org/gnu/autoconf/

-rw-r--r--   1 root     root     1927468 May 28

2012 autoconf-2.69.tar.gz

[email protected] # gunzip autoconf-2.69.tar.gz

-rw-r--r--   1 root     root     6748160 May 28

2012 autoconf-2.69.tar

[email protected] # tar -xvf autoconf-2.69.tar

[email protected] # cd autoconf-2.69

# ./configure && make && make install

checking for a BSD-compatible install... build-aux/install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... build-aux/install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking build system type... sparc-sun-solaris2.10

checking host system type... sparc-sun-solaris2.10

configure: autobuild project... GNU Autoconf

configure: autobuild revision... 2.68

configure: autobuild hostname... suzgc

configure: autobuild timestamp... 20120528T122812Z

checking whether /bin/sh -n is known to work... no

checking for characters that cannot appear in file names... none

checking whether directories can have trailing spaces... yes

checking for expr... /usr/bin/expr

checking for GNU M4 that supports accurate traces... configure: error: no

acceptable m4 could be found in $PATH.

GNU M4 1.4.6 or later is required; 1.4.14 is recommended

make: Fatal error: No arguments to build

make: Fatal error: No arguments to build

make: Fatal error: Don‘t know how to make target `install‘

[email protected] # export PATH=/usr/src/m4-1.4.16:$PATH

checking for a BSD-compatible install... build-aux/install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... build-aux/install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking build system type... sparc-sun-solaris2.10

checking host system type... sparc-sun-solaris2.10

configure: autobuild project... GNU Autoconf

configure: autobuild revision... 2.69

configure: autobuild hostname... suzgc

configure: autobuild timestamp... 20120528T123016Z

checking whether /bin/sh -n is known to work... no

checking for characters that cannot appear in file names... none

checking whether directories can have trailing spaces... yes

checking for expr... /usr/bin/expr

checking for GNU M4 that supports accurate traces... configure: error: no

acceptable m4 could be found in $PATH.

GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.

GNU M4 1.4.15 uses a buggy replacement strstr on some systems.

Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.

[email protected] # export PATH=/usr/src/m4-1.4.16/src:$PATH

checking for a BSD-compatible install... build-aux/install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... build-aux/install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking build system type... sparc-sun-solaris2.10

checking host system type... sparc-sun-solaris2.10

configure: autobuild project... GNU Autoconf

configure: autobuild revision... 2.69

configure: autobuild hostname... suzgc

configure: autobuild timestamp... 20120528T123032Z

checking whether /bin/sh -n is known to work... no

checking for characters that cannot appear in file names... none

checking whether directories can have trailing spaces... yes

checking for expr... /usr/bin/expr

checking for GNU M4 that supports accurate traces...

/usr/src/m4-1.4.16/src/m4

checking whether /usr/src/m4-1.4.16/src/m4 accepts --gnu... yes

checking how m4 supports trace files... --debugfile

checking for perl... /usr/bin/perl

checking whether /usr/bin/perl Fcntl::flock is implemented... yes

checking for emacs... no

checking for xemacs... no

checking for emacs... no

checking where .elc files should go... ${datadir}/emacs/site-lisp

checking for grep that handles long lines and -e...

/usr/sfw/bin/ggrep

checking for egrep... /usr/sfw/bin/ggrep -E

checking for a sed that does not truncate output... /usr/bin/sed

checking whether make is case sensitive... yes

configure: creating ./config.status

config.status: creating tests/Makefile

config.status: creating tests/atlocal

config.status: creating man/Makefile

config.status: creating lib/emacs/Makefile

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating lib/Makefile

config.status: creating lib/Autom4te/Makefile

config.status: creating lib/autoscan/Makefile

config.status: creating lib/m4sugar/Makefile

config.status: creating lib/autoconf/Makefile

config.status: creating lib/autotest/Makefile

config.status: creating bin/Makefile

config.status: executing tests/atconfig commands

/u01/php-5.4.3/ext/curl

[email protected] # export PATH=/usr/src/autoconf-2.69/bin:$PATH

[email protected] # /usr/local/php/bin/phpize

Configuring for:

PHP Api Version:         20100412

Zend Module Api No:      20100525

Zend Extension Api No:   220100525

[email protected] # ./configure --with-php-config=/usr/local/php/bin/php-config

--with-curl=/usr/local/curl

..

Installing shared extensions:

/usr/local/php/lib/php/extensions/no-debug-zts-20100525/

[email protected] # cd /usr/local/php/lib/

total 266

-rw-r--r--   1 root     root       66823 May

25 16:17 php.ini-development

-rw-r--r--   1 root     root       66823 May

28 11:05 php.ini

drwxr-xr-x  15 root     root         512

May 28 20:37 php

extension_dir =

"/usr/local/php/lib/php/extensions/no-debug-zts-20100525/"

extension = curl.so

[email protected] # /usr/local/apache/bin/httpd -k start

[email protected] # /usr/local/php/bin/php -v

PHP 5.4.3 (cli) (built: May 25 2012 16:11:33)

Copyright (c) 1997-2012 The PHP Group

Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

 类似资料: