Re: emacs-22.0.99 configure problem
Jan Djärv <[EMAIL PROTECTED]> writes: > Does it work if you do > > % /bin/sh configure It has same problem. % /bin/sh configure as_func_failure succeeded. as_func_failure succeeded. No shell found that supports shell functions. Please tell [EMAIL PROTECTED] about your system, including any error possibly output before this message checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for AIX... ^Z zsh: suspended /bin/sh configure % ps PID TT STAT TIME COMMAND 61924 p0 Ss 0:00.13 -zsh (zsh) 72936 p0 T 0:00.11 /usr/local/bin/zsh configure 73340 p0 R+ 0:00.00 ps I figure out that setting SHELL environment variable to /bin/sh works. % SHELL=/bin/sh ./configure If login shell is zsh, login(1) is automatically set SHELL to /usr/local/bin/zsh. So zsh user who does not install bash (see below) may have same problem. > % bash configure > > if you have bash? I've installed bash. /bin/sh configure uses bash somehow. kageroh% /bin/sh configure checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 checking for gcc... gcc checking for C compiler default output file name... a.out [...] checking for install-info... (cached) /usr/bin/install-info checking for gzip... /usr/bin/gzip checking for -znocombreloc... ^Z zsh: suspended /bin/sh configure kageroh% ps PID TT STAT TIME COMMAND 61924 p0 Ss 0:00.15 -zsh (zsh) 85481 p0 T 0:00.16 /usr/local/bin/bash configure 85976 p0 T 0:00.00 /usr/local/bin/bash configure 85977 p0 R+ 0:00.00 ps % echo $SHELL /usr/local/bin/zsh -- Hiroshi Fujishima ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
emacs-22.0.99 configure problem
I run ./configure with FreeBSD 6.2 machine. It outputs following error: % ./configure as_func_failure succeeded. as_func_failure succeeded. No shell found that supports shell functions. Please tell [EMAIL PROTECTED] about your system, including any error possibly output before this message checking build system type... i386-unknown-freebsd6.2 checking host system type... i386-unknown-freebsd6.2 It seems that ./configure use /usr/local/bin/zsh... % ps PID TT STAT TIME COMMAND 26328 p0 Ss 0:00.06 -zsh (zsh) 42802 p0 T 0:00.15 /usr/local/bin/zsh ./configure 43323 p0 T 0:00.00 /usr/local/bin/zsh ./configure 43324 p0 T 0:00.00 gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/lo 43328 p0 R+ 0:00.00 ps -- Hiroshi Fujishima ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
descibe-mode problem
Hi, In the group buffer of Gnus with gnus-topic-mode enabled, M-x describe-mode cause the error as below. Debugger entered--Lisp error: (wrong-type-argument symbolp (lambda (&rest junk) (interactive) (gnus-topic-mode nil t))) fboundp((lambda (&rest junk) (interactive) (gnus-topic-mode nil t))) describe-mode() call-interactively(describe-mode) I report this problem to semi-gnus-ja mailing-list. Yamaoka-san who is one of Gnus developer said it seem to be Emacs's problem: Though add-minor-mode()'s 5th argument in the definition of gnus-topic-mode() is lambda expression, describe-mode() check it by fboundp. He also said this problem is occurl Gnus v5.11 though. -- Hiroshi Fujishima ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
describe-mode problem
Hi, In the group buffer of Gnus with gnus-topic-mode enabled, M-x describe-mode cause the error as below. Debugger entered--Lisp error: (wrong-type-argument symbolp (lambda (&rest junk) (interactive) (gnus-topic-mode nil t))) fboundp((lambda (&rest junk) (interactive) (gnus-topic-mode nil t))) describe-mode() call-interactively(describe-mode) I report this problem to semi-gnus-ja mailing-list. Yamaoka-san who is one of Gnus developer said it seem to be Emacs's problem: Though add-minor-mode()'s 5th argument in the definition of gnus-topic-mode() is lambda expression, describe-mode() check it by fboundp. He also said this problem is occurl Gnus v5.11 though. -- Hiroshi Fujishima ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
compilation errors on Solaris 9 with Sun Studio 10 Compilers
Compilation errors are detected while compiling emacs on Solaris 9 4/04 with Sun Studio 10 Compilers. % cc -c -DHAVE_CONFIG_H -I. -I../src -I/tmp/temporally-working-directory/emacs/lib-src -I/tmp/temporally-working-directory/emacs/lib-src/../src -O /tmp/temporally-working-directory/emacs/lib-src/getopt.c "/usr/include/stdio.h", line 273: identifier redeclared: getopt current : function(int, pointer to pointer to char, pointer to char) returning int previous: function(int, pointer to const pointer to char, pointer to const char) returning int : "/usr/include/stdlib.h", line 191 "/usr/include/stdio.h", line 275: identifier redeclared: getsubopt current : function(pointer to pointer to char, pointer to pointer to char, pointer to pointer to char) returning int previous: function(pointer to pointer to char, pointer to const pointer to char, pointer to pointer to char) returning int : "/usr/include/stdlib.h", line 165 cc: acomp failed for /tmp/temporally-working-directory/emacs/lib-src/getopt.c lib-src/getopt.c: 29 #ifdef HAVE_CONFIG_H 30 # include 31 #endif 32 33 #if !defined __STDC__ || !__STDC__ 34 /* This is a separate conditional since some stdc systems 35reject `defined (const)'. */ 36 # ifndef const 37 # define const 38 # endif 39 #endif 40 41 #include Note that the predefined macro __STDC__ has a value of 0 with the Sun Studio 10 Compilers. src/config.h: 524 /* Define to 1 if you have the header file. */ 525 #define HAVE_STDLIB_H 1 1069 #ifdef HAVE_STDLIB_H 1070 #include 1071 #endif /usr/include/stdlib.h: 191 extern int getopt(int, char *const *, const char *); /usr/include/stdio.h: 273 extern int getopt(int, char *const *, const char *); The following patch solve the problem. Index: lib-src/getopt.c === RCS file: /cvsroot/emacs/emacs/lib-src/getopt.c,v retrieving revision 1.24 diff -u -r1.24 getopt.c --- lib-src/getopt.c1 Sep 2003 15:45:03 - 1.24 +++ lib-src/getopt.c27 Jun 2005 05:54:14 - @@ -30,6 +30,7 @@ # include #endif +#ifndef __SUNPRO_C #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ @@ -37,6 +38,7 @@ # define const # endif #endif +#endif #include Index: lib-src/getopt1.c === RCS file: /cvsroot/emacs/emacs/lib-src/getopt1.c,v retrieving revision 1.8 diff -u -r1.8 getopt1.c --- lib-src/getopt1.c 1 Sep 2003 15:45:03 - 1.8 +++ lib-src/getopt1.c 27 Jun 2005 05:54:14 - @@ -27,6 +27,7 @@ # include "getopt.h" #endif +#ifndef __SUNPRO_C #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ @@ -34,6 +35,7 @@ #define const #endif #endif +#endif #include -- Hiroshi Fujishima ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug