Hello'
I'm installing 21.1.14 currently. I get errors. Output of "gcc -v" is:
--------------------------------------------------------------------
[sule@netroom ~/xemacs-21.1.14]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
[sule@netroom ~/xemacs-21.1.14]$
--------------------------------------------------------------------
I paste down the output of ./configure and make. It takes a long time for
me to download different xemacs versions so if you can help me to solve my
problem with this version, I'll appreciate it very much. Thank you. Sule
--------------------------------------------------------------------
[sule@netroom ~/xemacs-21.1.14]$ ./configure
checking host system type... i686-pc-linux
checking whether ln -s works... yes
checking the configuration name
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for GNU libc... yes
Extracting information from the machine- and system-dependent headers...
checking for dynodump... no
checking for malloc_get_state... yes
checking for malloc_set_state... yes
checking whether __after_morecore_hook exists... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for mach/mach.h... no
checking for sys/stropts.h... yes
checking for sys/timeb.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for locale.h... yes
checking for libgen.h... yes
checking for fcntl.h... yes
checking for ulimit.h... yes
checking for cygwin/version.h... no
checking for linux/version.h... yes
checking for kstat.h... yes
checking for sys/pstat.h... no
checking for inttypes.h... yes
checking for sys/un.h... yes
checking for a.out.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for struct timeval... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for working const... ^[[Byes
checking whether make sets ${MAKE}... yes
checking whether byte ordering is bigendian... ^[[Bno
checking size of short... ^[[B2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking for long file names... yes
checking for sin in -lm... yes
checking type of mail spool file locking
checking for kstat_open in -lkstat... no
checking for kvm_read in -lkvm... no
checking whether the -xildoff compiler flag is required... no
checking for specified window system
checking for X... no
checking for MS-Windows
checking for main in -lgdi32... no
Using no window system.
checking for session-management option
configure: warning: No CDE without generic Drag'n'Drop support
configure: warning: No OffiX without generic Drag'n'Drop support
checking if drag and drop API is needed... checking for LDAP
checking for ldap.h... yes
checking for lber.h... yes
checking for ldap_search in -lldap... no
checking for ldap_open in -lldap using extra libs -llber... no
checking for ldap_open in -lldap using extra libs -llber -lkrb... no
checking for ldap_open in -lldap using extra libs -llber -lkrb -ldes... no
checking for cbrt... yes
checking for closedir... yes
checking for dup2... yes
checking for eaccess... no
checking for fmod... yes
checking for fpathconf... yes
checking for frexp... yes
checking for ftime... yes
checking for gethostname... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for getcwd... yes
checking for getwd... yes
checking for logb... yes
checking for lrand48... yes
checking for matherr... yes
checking for mkdir... yes
checking for mktime... yes
checking for perror... yes
checking for poll... yes
checking for random... yes
checking for rename... yes
checking for res_init... no
checking for rint... yes
checking for rmdir... yes
checking for select... yes
checking for setitimer... yes
checking for setpgid... yes
checking for setlocale... yes
checking for setsid... yes
checking for sigblock... yes
checking for sighold... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for tzset... yes
checking for ulimit... yes
checking for usleep... yes
checking for utimes... yes
checking for waitpid... yes
checking for vsnprintf... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for getpt... yes
checking for ptsname... yes
checking for killpg... yes
checking for stropts.h... yes
checking for isastream... yes
checking for strtio.h... no
checking for realpath... yes
checking whether netdb declares h_errno... yes
checking for sigsetjmp... yes
checking whether localtime caches TZ... no
checking whether gettimeofday accepts one or two arguments... two
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for vfork.h... no
checking for working vfork... yes
checking for working strcoll... yes
checking for getpgrp... yes
checking whether getpgrp takes no argument... yes
checking for working mmap... yes
checking for termios.h... yes
checking for socket... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for sun_len member in struct sockaddr_un... no
checking for ip_mreq struct in netinet/in.h... yes
checking for msgget... yes
checking for sys/ipc.h... yes
checking for sys/msg.h... yes
checking for dirent.h... yes
checking for nlist.h... yes
checking for sound support
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for TTY-related features
checking for tgetent in -lncurses... yes
checking for ncurses/curses.h... yes
checking for ncurses/term.h... yes
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking for database support
checking for ndbm.h... yes
checking for dbm_open in -lgdbm... no
checking for dbm_open... no
checking for dbm_open in -ldbm... no
checking for Berkeley db.h... no
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking how to build a shared library... lflags: -shared cflags: -fPIC
checking for dlerror... yes
XEmacs 21.1.14 "Cuyahoga Valley" configured for `i686-pc-linux'.
Where should the build process find the source code?
/home/staff/sule/xemacs-21.1.14
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall
-Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? none
Compiling in native sound support.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
creating ./config.status
creating Makefile
creating lib-src/Makefile.in
creating src/Makefile.in
creating src/paths.h
creating lib-src/config.values
creating src/config.h
src/config.h is unchanged
creating lwlib/config.h
lwlib/config.h is unchanged
creating lib-src/Makefile
creating src/Makefile
[sule@netroom ~/xemacs-21.1.14]$
------------------------------------------------------------------------
------------------------------------------------------------------------
[sule@netroom ~/xemacs-21.1.14]$ make
cd ./lib-src && make CC='gcc' CFLAGS='-g -O3 -Wall -Wno-switch'
LDFLAGS='' CPPFLAGS='' all
make[1]: Entering directory `/home/staff/sule/xemacs-21.1.14/lib-src'
gcc -g -O3 -Wall -Wno-switch -Demacs -I../src -DHAVE_CONFIG_H
/home/staff/sule/xemacs-21.1.14/lib-src/yow.c -ldl -lgpm -lncurses -lm
-lgcc -lc -lgcc /usr/lib/crtn.o -o yow
make[1]: Leaving directory `/home/staff/sule/xemacs-21.1.14/lib-src'
cd ./src && make CC='gcc' CFLAGS='-g -O3 -Wall -Wno-switch'
LDFLAGS=''
CPPFLAGS='' all
make[1]: Entering directory `/home/staff/sule/xemacs-21.1.14/src'
gcc -c -g -O3 -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H callproc.c
gcc -c -g -O3 -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H emacs.c
emacs.c: In function `voodoo_free_hook':
emacs.c:2157: warning: assignment from incompatible pointer type
emacs.c: In function `Fkill_emacs':
emacs.c:2222: warning: assignment from incompatible pointer type
emacs.c: In function `assert_failed':
emacs.c:2640: warning: `noreturn' function does return
gcc -c -g -O3 -Wall -Wno-switch -Demacs -I. -DHAVE_CONFIG_H getloadavg.c
In file included from /usr/include/kstat.h:11,
from getloadavg.c:118:
/usr/include/sys/kstat.h:52: parse error before `hrtime_t'
/usr/include/sys/kstat.h:52: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:56: parse error before `ks_resv'
/usr/include/sys/kstat.h:56: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:59: parse error before `ks_type'
/usr/include/sys/kstat.h:59: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:61: parse error before `ks_flags'
/usr/include/sys/kstat.h:61: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:63: parse error before `ks_ndata'
/usr/include/sys/kstat.h:63: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:65: parse error before `ks_snaptime'
/usr/include/sys/kstat.h:65: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:73: parse error before `}'
/usr/include/sys/kstat.h:73: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:402: parse error before `uchar_t'
/usr/include/sys/kstat.h:402: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:418: parse error before `ulong_t'
/usr/include/sys/kstat.h:418: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:422: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:423: parse error before `ull'
/usr/include/sys/kstat.h:423: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:426: parse error before `}'
/usr/include/sys/kstat.h:426: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:427: parse error before `}'
/usr/include/sys/kstat.h:427: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:485: parse error before `uint_t'
/usr/include/sys/kstat.h:485: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:486: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:503: parse error before `u_longlong_t'
/usr/include/sys/kstat.h:503: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:504: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:505: parse error before `reads'
/usr/include/sys/kstat.h:505: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:506: parse error before `writes'
/usr/include/sys/kstat.h:506: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:581: parse error before `wtime'
/usr/include/sys/kstat.h:581: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:582: parse error before `wlentime'
/usr/include/sys/kstat.h:582: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:583: parse error before `wlastupdate'
/usr/include/sys/kstat.h:583: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:584: parse error before `rtime'
/usr/include/sys/kstat.h:584: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:585: parse error before `rlentime'
/usr/include/sys/kstat.h:585: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:586: parse error before `rlastupdate'
/usr/include/sys/kstat.h:586: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:588: parse error before `wcnt'
/usr/include/sys/kstat.h:588: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:589: parse error before `rcnt'
/usr/include/sys/kstat.h:589: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:591: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:604: parse error before `uchar_t'
/usr/include/sys/kstat.h:604: warning: no semicolon at end of struct or
union
/usr/include/sys/kstat.h:605: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:606: parse error before `elapsed_time'
/usr/include/sys/kstat.h:606: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:607: parse error before `min_time'
/usr/include/sys/kstat.h:607: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:608: parse error before `max_time'
/usr/include/sys/kstat.h:608: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:609: parse error before `start_time'
/usr/include/sys/kstat.h:609: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:610: parse error before `stop_time'
/usr/include/sys/kstat.h:610: warning: data definition has no type or
storage class
/usr/include/sys/kstat.h:611: warning: data definition has no type or
storage class
In file included from getloadavg.c:118:
/usr/include/kstat.h:23: parse error before `kstat_t'
/usr/include/kstat.h:23: warning: no semicolon at end of struct or union
/usr/include/kstat.h:25: parse error before `}'
/usr/include/kstat.h:25: warning: data definition has no type or storage
class
/usr/include/kstat.h:28: parse error before `*'
/usr/include/kstat.h:28: warning: data definition has no type or storage
class
/usr/include/kstat.h:29: parse error before `*'
/usr/include/kstat.h:30: parse error before `*'
/usr/include/kstat.h:31: parse error before `*'
/usr/include/kstat.h:32: parse error before `*'
/usr/include/kstat.h:33: parse error before `*'
/usr/include/kstat.h:33: parse error before `*'
/usr/include/kstat.h:33: warning: data definition has no type or storage
class
/usr/include/kstat.h:34: parse error before `*'
make[1]: *** [getloadavg.o] Error 1
make[1]: Leaving directory `/home/staff/sule/xemacs-21.1.14/src'
make: *** [src] Error 2
[sule@netroom ~/xemacs-21.1.14]$
------------------------------------------------------------------------
On 12 Aug 2001, Adrian Aichner wrote:
>>>>> "Sule" == Sule Yildirim
<yildirim(a)ube.ege.edu.tr> writes:
Sule> Hi Adrian, following are the answers to your questions. I'm
Sule> trying to install xemacs on Red hat Linux 7.0 instead of
Sule> Solaris. I've written it wrong yesterday because I'm
Sule> telnetting to linux machine from solaris machine and I
Sule> forgot that I was on installing it on linux. Thanks, Sule
Sule> On 11 Aug 2001, Adrian Aichner wrote:
>>
>> Hello Sule,
>>
>> I am forwarding your report to xemacs-beta, which is more appropriate
>> for reports like this.
>>
>> What is the XEmacs version you are trying to build?
Sule> xemacs-21.1.6
Hi Sule,
try to ugrade to 21.1.14 at least. It contains more bug fixes and
should be more stable than 21.1.6.
>> What's the compiler you're using (output of cc -v or gcc -v)?
Sule> gcc
OK. If your problem starts to look like a subtle compiler bug, then
we'll need the output of "gcc -v".
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-4/specs
gcc version 2.95.3-4 (cygwin special)
>> Did you run configure?
Sule> I did and I'll try the following.
Good Luck,
Adrian
>> Take a look at
>>
http://www.xemacs.org/Install/index.html
>> if you haven't yet.
>>
>> If you want the most stable XEmacs, use 21.1.14.
>>
>> If you want the soon-to-be-released XEmacs, use 21.4.4.
>>
>> If you want a version with the latest bugs and features, try 21.5-b2.
>>
>> Hope this helps,
>>
>> Adrian
>>
>>
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/