hello Eric, I download the m4-1.4.12.16-307f from the site you gave, and ./configure, make, make check these three steps can be executed successfully, but there still is an error for command "make install". Can you help me? Thanks again.
Best regards, Yan joy[zhang]: make install make install-recursive Making install in . Making install in examples Making install in lib make install-recursive test no != no || /bin/bash /home/zhang/ProgramFiles/m4-1.4.12.16-307f/build-aux/install-sh -d /usr/local/lib if test -f /usr/local/lib/charset.alias; then \ sed -f ref-add.sed /usr/local/lib/charset.alias > /usr/local/lib/charset.tmp ; \ ../build-aux/install-sh -c -m 644 /usr/local/lib/charset.tmp /usr/local/lib/charset.alias ; \ rm -f /usr/local/lib/charset.tmp ; \ else \ if test no = no; then \ sed -f ref-add.sed charset.alias > /usr/local/lib/charset.tmp ; \ ../build-aux/install-sh -c -m 644 /usr/local/lib/charset.tmp /usr/local/lib/charset.alias ; \ rm -f /usr/local/lib/charset.tmp ; \ fi ; \ fi bash: line 6: /usr/local/lib/charset.tmp: Permission denied *** Error code 1 make: Fatal error: Command failed for target `install-exec-local' Current working directory /home/zhang/ProgramFiles/m4-1.4.12.16-307f/lib *** Error code 1 The following command caused the error: make install-exec-am install-data-am make: Fatal error: Command failed for target `install-am' Current working directory /home/zhang/ProgramFiles/m4-1.4.12.16-307f/lib *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list=''; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' Current working directory /home/zhang/ProgramFiles/m4-1.4.12.16-307f/lib *** Error code 1 make: Fatal error: Command failed for target `install' Current working directory /home/zhang/ProgramFiles/m4-1.4.12.16-307f/lib *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='. examples lib src doc checks tests'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' Current working directory /home/zhang/ProgramFiles/m4-1.4.12.16-307f *** Error code 1 make: Fatal error: Command failed for target `install' On Wed, Jan 21, 2009 at 9:15 PM, Eric Blake <e...@byu.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to zhang yan on 1/21/2009 12:57 PM: > > hello, > > Hello, and thanks for the report. > > > strtod.c: In function `rpl_strtod': > > strtod.c:155: error: incompatible types in assignment > > strtod.c:170: error: incompatible types in assignment > > strtod.c:257: error: wrong type argument to unary minus > > > > would you please tell me why there is a fatal error? how can I run this > > command successfully? > > Upgrade to m4 1.4.12, or even try out our latest snapshot in preparation > for m4 1.4.13; this particular bug was probably fixed in the meantime. > http://lists.gnu.org/archive/html/bug-m4/2009-01/msg00008.html > > - -- > Don't work too hard, make some time for fun as well! > > Eric Blake e...@byu.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Cygwin) > Comment: Public key at > home.comcast.net/~ericblake/eblake.gpg<http://home.comcast.net/%7Eericblake/eblake.gpg> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkl3gksACgkQ84KuGfSFAYA9CwCgmESUZTEp8pazY+BEyLan3NlQ > S7QAnjss6XJmqaXCJ78EUQeEmbH/A8as > =x4Dt > -----END PGP SIGNATURE----- > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ University of Vienna Institute for Scientific Computing Nordbergstraße 15/C/311 A-1090 Vienna Austria tel.: +43-1-4277-39430 fax.: +43-1-4277-9394 Mobile:+43-650 273 5819 E-mail: zh...@par.univie.ac.at ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~