unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Configure/compile failure on Solaris 10 Sparc Ultra 25
@ 2007-04-13 21:00 Glasser, Nathan
  2007-04-15 23:55 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Glasser, Nathan @ 2007-04-13 21:00 UTC (permalink / raw)
  To: bug-gnu-emacs

Hello,

I tried to build Emacs-21.4a (emacs-version says 21.4.1) on Solaris 10
running
on a brand new Sparc Ultra 25 system, and encountered a difficulty. I
also
tried several older Emacs versions, and ran into the same difficulty.

The compiler is "Sun WorkShop 6 update 2 C 5.3 2001/05/15".
Admittedly, this is a very old version of their compiler, but because
that is the version I must use for other reasons, it's what I've
been using to attempt to compile Emacs. I've used this compiler version
to compile Emacs a number of times before in the past on other Sparc
Solaris
systems without a problem (possibly not Solaris 10, though).

When I run configure, configure runs cpp to test for various header
files
being present, and other things. However, these often got errors,
because the
symbol "__sparc", which would normally be defined if cc was run, was not
defined, and lots of system header files depended on it. Consequently,
configure got wrong ideas about the presence of features, and the
compile
failed.

My kludge to get around this was to change line 481 of configure as
shown
here:

echo '#define __sparc 1' > confdefs.h

A better fix might be to use "cc -E" rather than cpp; I tried this and
the
symbol is defined using the former, but not the latter.  I can't tell
you why
this used to work in the past, but in my current setup it does not.

Thanks,
Nathan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-13 21:00 Configure/compile failure on Solaris 10 Sparc Ultra 25 Glasser, Nathan
@ 2007-04-15 23:55 ` Glenn Morris
  2007-04-17 18:30   ` Glasser, Nathan
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2007-04-15 23:55 UTC (permalink / raw)
  To: Glasser, Nathan; +Cc: bug-gnu-emacs

"Glasser, Nathan" wrote:

> I tried to build Emacs-21.4a (emacs-version says 21.4.1) on Solaris 10
[...]
> The compiler is "Sun WorkShop 6 update 2 C 5.3 2001/05/15".
[...]
> When I run configure, configure runs cpp to test for various header
> files being present, and other things. However, these often got
> errors, because the symbol "__sparc", which would normally be
> defined if cc was run, was not defined, and lots of system header
> files depended on it.
[...]
> echo '#define __sparc 1' > confdefs.h
>
> A better fix might be to use "cc -E" rather than cpp; I tried this
>and the symbol is defined using the former, but not the latter. I
>can't tell you why this used to work in the past, but in my current
>setup it does not.

I'm a bit confused. Are you saying it does _not_ work if you use "cc
-E" as the preprocessor? Does it work if you use "cc -E -Xs", making
sure the "cc" is the same one as your compiler?

We hope to release Emacs 22 soon, and it would be helpful if you
could see if that works for you. The latest pretest version at present
is 22.0.97, which you can get from alpha.gnu.org/gnu/emacs/pretest.

I just succesfully built this version on Solaris 10. The closest
compiler I could find to yours was: "Sun WorkShop 6 update 1 C 5.2
2000/09/11". I configured using:

env CC=/path/to/cc CPP="/path/to/cc -E -Xs" ./configure

If it does not work, please give more detail as to exactly what you
tried and what the result was.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-15 23:55 ` Glenn Morris
@ 2007-04-17 18:30   ` Glasser, Nathan
  2007-04-17 19:01     ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Glasser, Nathan @ 2007-04-17 18:30 UTC (permalink / raw)
  To: Glenn Morris; +Cc: bug-gnu-emacs

>I'm a bit confused. Are you saying it does _not_ work if you use "cc
>-E" as the preprocessor? 

I wasn't saying that at all. I wasn't well enough versed with the
Emacs build procedure to know how to set what it uses for the
preprocessor for cofigure.

I just knew the symbol was missing; I found a kludge way to put it back
that
seemed to work; the root cause seemed to have to do with the
preprocessor, but
I didn't know how to try changing it.

>Does it work if you use "cc -E -Xs", making sure the "cc" is the same
one as
>your compiler?

Yes. I defined CPP to be that, and it fully configured, compiled,
linked,
etc. just fine.

I did not try 22.0.97 or 98, but I'll try that if you still want me to.

                                Thanks,
                                Nathan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-17 18:30   ` Glasser, Nathan
@ 2007-04-17 19:01     ` Glenn Morris
  2007-04-18 14:56       ` Richard Stallman
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2007-04-17 19:01 UTC (permalink / raw)
  To: Glasser, Nathan; +Cc: bug-gnu-emacs

"Glasser, Nathan" wrote:

> I wasn't saying that at all. I wasn't well enough versed with the
> Emacs build procedure to know how to set what it uses for the
> preprocessor for cofigure.

Sorry for the misunderstanding then. As you saw, you just set the
environment variable CPP before running configure (works the same way
for any software that uses configure).

>> Does it work if you use "cc -E -Xs", making sure the "cc" is the
>> same one as your compiler?
>
> Yes. I defined CPP to be that, and it fully configured, compiled,
> linked, etc. just fine.

Good to know.

> I did not try 22.0.97 or 98, but I'll try that if you still want me to.

More pretesting is always appreciated, although I'm pretty confident
it will work fine.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-17 19:01     ` Glenn Morris
@ 2007-04-18 14:56       ` Richard Stallman
  2007-04-18 16:04         ` Glasser, Nathan
  2007-04-18 17:12         ` Glenn Morris
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Stallman @ 2007-04-18 14:56 UTC (permalink / raw)
  To: Glenn Morris; +Cc: bug-gnu-emacs, nglasser

    > I wasn't saying that at all. I wasn't well enough versed with the
    > Emacs build procedure to know how to set what it uses for the
    > preprocessor for cofigure.

    Sorry for the misunderstanding then. As you saw, you just set the
    environment variable CPP before running configure (works the same way
    for any software that uses configure).

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?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-18 14:56       ` Richard Stallman
@ 2007-04-18 16:04         ` Glasser, Nathan
  2007-04-18 17:14           ` Glenn Morris
  2007-04-18 17:12         ` Glenn Morris
  1 sibling, 1 reply; 8+ messages in thread
From: Glasser, Nathan @ 2007-04-18 16:04 UTC (permalink / raw)
  To: rms, Glenn Morris; +Cc: bug-gnu-emacs

>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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-18 14:56       ` Richard Stallman
  2007-04-18 16:04         ` Glasser, Nathan
@ 2007-04-18 17:12         ` Glenn Morris
  1 sibling, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2007-04-18 17:12 UTC (permalink / raw)
  To: rms; +Cc: bug-gnu-emacs, nglasser

Richard Stallman wrote:

> 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.

Well, that is a very limited fix. It only works if you call the Sun
compiler as /opt/SUNWspro/bin/cc, which I guess is the most common
situation. If you call the same compiler by any other name, it does
not work. Obviously this should be improved, but I think it should
wait till after the release (it may be that /usr/lib/cpp is no longer
the best default CPP for Solaris, I don't know).

The solution (manually specifying CPP for this particular compiler) is
already clearly documented in PROBLEMS and MACHINES.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
  2007-04-18 16:04         ` Glasser, Nathan
@ 2007-04-18 17:14           ` Glenn Morris
  0 siblings, 0 replies; 8+ messages in thread
From: Glenn Morris @ 2007-04-18 17:14 UTC (permalink / raw)
  To: Glasser, Nathan; +Cc: bug-gnu-emacs, rms

"Glasser, Nathan" wrote:

> 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

You can find the solution to all these problems in the etc/PROBLEMS
file. It will basically tell you to manually set CPP="cc -E -Xs". I'm
sorry that the auto-detection is not yet perfect.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-18 17:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-13 21:00 Configure/compile failure on Solaris 10 Sparc Ultra 25 Glasser, Nathan
2007-04-15 23:55 ` Glenn Morris
2007-04-17 18:30   ` Glasser, Nathan
2007-04-17 19:01     ` Glenn Morris
2007-04-18 14:56       ` Richard Stallman
2007-04-18 16:04         ` Glasser, Nathan
2007-04-18 17:14           ` Glenn Morris
2007-04-18 17:12         ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).