[Bug: 21.5-b28] Compilation problems in xemacs-21.5.28

Paul Keusemann pkeusem at visi.com
Tue Aug 7 08:27:16 EDT 2007


On Sat, Aug 04, 2007 at 02:43:20PM +0900, Stephen J. Turnbull wrote:
> Paul Keusemann writes:
> 
>  > I sent in a patch for this in October 2005.  I've attached a current
>  > diff.  Not sure the last time I updated from CVS.
> 
> It's still valid.  I prefer Rob's suggested patch though, because the
> conditionalized code is syntactically a unit.
> 
>  > > Does the feature actually work?
>  > 
>  > I haven't actually used it in a while but I believe it still does.
> 
> Well, there doesn't seem to be a way to configure it short of directly
> hacking src/config.h; config.h.in says it's undocumented and probably
> not used.  (Martin, do you have idea about this stuff?)
> 
> Could you try configuring
> 
>     --with-sparcworks --with-usage-tracking
> 
> and tell me what
> 
>     grep "SUNPRO\|USAGE_TRACKING" src/config.h
> 

Here's the output from grep...

avalanche# grep "SUNPRO\|USAGE_TRACKING" src/config.h
#define SUNPRO 1
/* #undef USAGE_TRACKING */

> says?  A test that the patch applies and builds would be greatly
> appreciated too.
> 

I updated my sources from CVS and the patch applied and built.  I've
attached the current installation info in Install.txt.

Paul


>  > >  > Secondly linking temacs fails with:
> 
> Any news on the link failure?
> 
> Index: src/ChangeLog
> ===================================================================
> RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
> retrieving revision 1.1077
> diff -u -r1.1077 ChangeLog
> --- src/ChangeLog	26 Jul 2007 11:15:04 -0000	1.1077
> +++ src/ChangeLog	4 Aug 2007 05:22:05 -0000
> @@ -0,0 +1,6 @@
> +2007-08-04  Stephen J. Turnbull  <stephen at xemacs.org>
> +
> +	* sunpro.c (Fut_log_text): Fix mismatched parentheses, reorganize.
> +	Thanks to Paul Keusemann (for a suggested patch) and Rob McMahon
> +	for  reporting the issue.
> +
> 
> Index: src/sunpro.c
> ===================================================================
> RCS file: /pack/xemacscvs/XEmacs/xemacs/src/sunpro.c,v
> retrieving revision 1.3
> diff -u -r1.3 sunpro.c
> --- src/sunpro.c	20 Sep 2004 19:20:00 -0000	1.3
> +++ src/sunpro.c	4 Aug 2007 05:22:05 -0000
> @@ -21,6 +21,12 @@
>  
>  /* Synched up with: Not in FSF. */
>  
> +/* Commentary:
> +
> +According to Paul Keusemann in <20070802140358.GA19566 at visi.com>, this
> +feature probably still works as of 2007-08-02.  However, that doesn't seem
> +reliable since there doesn't seem to be a way to configure it! */
> +
>  #include <config.h>
>  #include "lisp.h"
>  
> @@ -51,6 +57,7 @@
>  #else
>         (int UNUSED (nargs), Lisp_Object *UNUSED (args))
>  #endif
> +       )
>  {
>  #ifdef USAGE_TRACKING
>    Lisp_Object xs;

-- 
Paul Keusemann			                               pkeusem at visi.com
4266 Joppa Court		                               (952) 894-7805
Savage, MN  55378
-------------- next part --------------
uname -a: SunOS avalanche 5.7 Generic_106541-44 sun4u sparc SUNW,Ultra-2

./configure  '--prefix=/usr/local' '--with-cflags=-fPIC -g' '--with-ldflags=' '--with-site-includes=/usr/local/include:/usr/openwin/share/include:/usr/openwin/include:/usr/dt/include:/usr/include' '--with-site-libraries=/usr/local/lib:/usr/openwin/lib:/usr/dt/lib' '--with-site-runtime-libraries=/usr/local/lib:/usr/openwin/lib:/usr/dt/lib' '--without-mule' '--with-x11' '--with-gtk=no' '--with-tooltalk' '--with-workshop' '--enable-sound=native' '--with-native-sound-lib=/usr/openwin/demo/lib/libaudio.a' '--with-error-checking=noextents,notypes,notext,nogc,nomalloc,nobyte_code,noglyphs,nodisplay,nostructures' '--disable-kkcc' '--disable-mc-alloc' '--without-assertions' '--with-sparcworks' '--with-usage-tracking' '--without-debug' 'CC=gcc'


XEmacs 21.5-b28 "fuki" (+CVS-20070805) configured for `sparc-sun-solaris2.7'.

Compilation Environment and Installation Defaults:
  Source code location:              /usr/local/src/Editors/XEmacs/xemacs-21.5
  Installation prefix:               /usr/local
  Additional header files:           /usr/local/include /usr/openwin/share/include /usr/openwin/include /usr/dt/include /usr/include
  Additional libraries:              /usr/local/lib /usr/openwin/lib /usr/dt/lib
  Runtime library search path:       /usr/local/lib:/usr/openwin/lib:/usr/dt/lib
  Operating system description file: `s/sol2.h'
  Machine description file:          `m/sparc.h'
  Compiler version:                  sparc-sun-solaris2.7-gcc (GCC) 4.0.3
    - GCC specs file:                specs.
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g  -fPIC -g
  libc version:                      SUNWcsl 11.7.0,REV=1998.09.01.04.16
  Relocating allocator for buffers:  yes
  GNU version of malloc:             yes

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 /usr/openwin/include
    - X Windows libraries location:               /usr/openwin/lib
    - Handling WM_COMMAND properly.
  Compiling in support for Motif.
  *WARNING*  Many versions of Motif are buggy, requiring workarounds.
             You are likely to experience slow redisplay.
             You may need to install vendor patches to Motif.
             See PROBLEMS for more information.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Using Motif native widgets.

TTY:

Images:
  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.

Sound:
  Compiling in support for sound (native).

Databases:
  Compiling in support for GNU DBM.
  Compiling in support for LDAP.

Internationalization:

Mail:
  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  Compiling in support for dynamic shared object modules.



More information about the XEmacs-Beta mailing list