bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Configure/compile failure on Solaris 10 Sparc Ultra 25


From: Glasser, Nathan
Subject: RE: Configure/compile failure on Solaris 10 Sparc Ultra 25
Date: Wed, 18 Apr 2007 12:04:07 -0400

>We changed configure so that the user shouldn't have to specify CPP
>manually.  So the latest CVS sources (or the .98 pretest) should
>compile ok on Solaris with NO special settings.
>
>Does that work now?

I just tried 22.0.98.

It mostly worked. It worked to the extent that configure seems to
do recognize the existence of header files that previously had problems,
and it seemed to properly identify the system as having ANSI header
files.
And emacs was able to compile and be built successfully.

However, there were somethings printed that caused me some concern.
I'm including all the output below.

I noted the following
1: There are two places where it says
   checking how to run the C preprocessor... /usr/ccs/lib/cpp
rather than cc -E -Xs.
2: It gives this error
   "/usr/include/sys/isa_defs.h", line 500: undefined control
which was indicative to me, before, of the C preprocessor not
having __sparc defined. That was a place that had trouble many times.
3: There are a bunch of places with warnings like the following:
  configure: WARNING: sys/time.h: accepted by the compiler, rejected by
the preprocessor!
  configure: WARNING: sys/time.h: proceeding with the compiler's result

                                Thanks,
                                Nathan

checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/ccs/lib/cpp
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for AIX... no
checking whether gcc understands -Wno-pointer-sign... no
checking whether ln -s works... yes
checking how to run the C preprocessor... /usr/ccs/lib/cpp
checking for a BSD-compatible install...
/usr/local/emacs-22.0.98/install-sh -c
checking for ranlib... ranlib
checking for install-info... no
checking for install-info... no
checking for install-info... :
checking for gzip... /usr/bin/gzip
checking for -znocombreloc... no
configure: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable...
"/usr/include/sys/isa_defs.h", line 500: undefined control
"/usr/include/sys/isa_defs.h", line 500: undefined control
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... /usr/bin/pkg-config
checking for alsa >= 1.0.0... no
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
checking sys/select.h usability... yes
checking sys/select.h presence... no
configure: WARNING: sys/select.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/select.h: proceeding with the compiler's result
checking for sys/select.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... no
configure: WARNING: sys/timeb.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/timeb.h: proceeding with the compiler's result
checking for sys/timeb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... no
configure: WARNING: sys/time.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... no
configure: WARNING: utime.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: utime.h: proceeding with the compiler's result
checking for utime.h... yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking sys/systeminfo.h usability... yes
checking sys/systeminfo.h presence... yes
checking for sys/systeminfo.h... yes
checking termios.h usability... yes
checking termios.h presence... no
configure: WARNING: termios.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: termios.h: proceeding with the compiler's result
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... no
configure: WARNING: limits.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: limits.h: proceeding with the compiler's result
checking for limits.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... no
configure: WARNING: stdio_ext.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: stdio_ext.h: proceeding with the compiler's result
checking for stdio_ext.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... no
configure: WARNING: fcntl.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: fcntl.h: proceeding with the compiler's result
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... no
configure: WARNING: sys/mman.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/mman.h: proceeding with the compiler's result
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... no
configure: WARNING: sys/param.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/param.h: proceeding with the compiler's result
checking for sys/param.h... yes
checking sys/vlimit.h usability... no
checking sys/vlimit.h presence... no
checking for sys/vlimit.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... no
configure: WARNING: sys/resource.h: accepted by the compiler, rejected
by the preprocessor!
configure: WARNING: sys/resource.h: proceeding with the compiler's
result
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... no
configure: WARNING: locale.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: locale.h: proceeding with the compiler's result
checking for locale.h... yes
checking sys/_mbstate_t.h usability... no
checking sys/_mbstate_t.h presence... no
checking for sys/_mbstate_t.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... no
configure: WARNING: sys/utsname.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/utsname.h: proceeding with the compiler's result
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... no
configure: WARNING: pwd.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: pwd.h: proceeding with the compiler's result
checking for pwd.h... yes
checking if personality LINUX32 can be set... no
checking for term.h... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... no
configure: WARNING: sys/socket.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/socket.h: proceeding with the compiler's result
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct tm.tm_gmtoff... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for function prototypes... yes
checking for working volatile... yes
checking for an ANSI C-conforming const... yes
checking for void * support... yes
checking whether make sets $(MAKE)... yes
checking for long file names... yes
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for malloc_get_state... no
checking for malloc_set_state... no
checking whether __after_morecore_hook exists... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking for XSetWMProtocols... yes
checking X11 version 6... 6 or newer
checking X11 version 5... 5 or newer
checking X11 version 5 with Xaw... 5 or newer, with Xaw; use toolkit by
default
checking X11 toolkit version... 6 or newer
checking for XmuConvertStandardSelection in -lXmu... yes
checking for XShapeQueryExtension in -lXext... yes
checking for X11/Xaw3d/Scrollbar.h... no
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... no
configure: WARNING: X11/xpm.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: X11/xpm.h: proceeding with the compiler's result
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_destroy_compress in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... no
configure: WARNING: png.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: png.h: proceeding with the compiler's result
checking for png.h... yes
checking libpng/png.h usability... yes
checking libpng/png.h presence... no
configure: WARNING: libpng/png.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: libpng/png.h: proceeding with the compiler's result
checking for libpng/png.h... yes
checking for png_get_channels in -lpng... yes
checking tiffio.h usability... yes
checking tiffio.h presence... no
configure: WARNING: tiffio.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: tiffio.h: proceeding with the compiler's result
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... no
checking gif_lib.h presence... no
checking for gif_lib.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... yes
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... yes
checking maillock.h usability... yes
checking maillock.h presence... yes
checking for maillock.h... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... yes
checking for getrusage... yes
checking for get_current_dir_name... no
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for res_init... no
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for __fpending... yes
checking for mblen... yes
checking for mbrlen... yes
checking for mbsinit... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockopt... yes
checking for setsockopt... yes
checking for getsockname... yes
checking for getpeername... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for getline... no
checking for getdelim... no
checking for mremap... no
checking for memmove... yes
checking for fsync... yes
checking for sync... yes
checking for bzero... yes
checking for memset... yes
checking for memcmp... yes
checking for difftime... yes
checking for memcpy... yes
checking for mempcpy... no
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for posix_memalign... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... no
checking whether getpgrp requires zero arguments... yes
checking for strftime... yes
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... no
checking for dgettext in -lintl... yes
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... no
configure: WARNING: netinet/in.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: netinet/in.h: proceeding with the compiler's result
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... no
configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: arpa/inet.h: proceeding with the compiler's result
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for mbstate_t... yes
checking for C restrict keyword... yes
checking for C restricted array declarations... yes

Configured for `sparc-sun-solaris2.10'.

  Where should the build process find the source code?
/usr/local/emacs-22.0.98
  What operating system and machine description files should Emacs use?
        `s/sol2-6.h' and `m/sparc.h'
  What compiler should emacs be built with?               cc -g -O 
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?
/usr/openwin/include
  Where do we find X Windows libraries?
/usr/openwin/lib
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use -lungif?                                 no
  Does Emacs use -lpng?                                   yes
  Does Emacs use X toolkit scroll bars?                   no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating man/Makefile
config.status: creating lwlib/Makefile
config.status: creating src/Makefile.c
config.status: creating lisp/Makefile
config.status: creating lispref/Makefile
config.status: creating lispintro/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: executing default commands
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile




reply via email to

[Prev in Thread] Current Thread [Next in Thread]