Although I haven't installed 2.6 yet, I think that you can use a simple fix for this.
The previous versions used two include files, /u/prog/include/aucmd.h and /u/prog/include/aucmd2.h
for the macro definitions (substitute the proper path for /u/ if you changed the location).
The file aucmd.h contains the upper-case macros:
/* Define dataset */
#define SETCURDATA \
AUERR=setcurdat(lastparflag, curdat, disk, user, "nmr", name, expno, procno);
aucmd2.h defines the lower case:
#define setcurdata SETCURDATA
These files are included from /u/exp/stan/nmr/au/vorspann. In the 2.1 version,
#include <aucmd.h> /* AU command table */
#ifndef NO_LOWER_CASE
# include <aucmd2.h> /* AU command table, lower case cmds */
#endif
Unless 2.6 is radically different from earlier versions, this might work:
o Make a directory /usr/local/include/xwinnmr
o Copy the old aucmd2.h to /usr/local/include/xwinnmr/aucmd2.h
o Copy /u/exp/stan/nmr/au/vorspann /u/exp/stan/nmr/au/vorspann.BRUKER
o
o Edit /u/exp/stan/nmr/au/vorspann, add: #include "/usr/local/include/xwinnmr/include.h"
o Copy /u/exp/stan/nmr/au/vorspann, /u/exp/stan/nmr/au/vorspann.LOCAL
o Edit /usr/local/include/xwinnmr/include.h, add: #include "/usr/local/include/xwinnmr/aucmd2.h"
The advantage is that you can add your own definitions and other macros, etc., to
/usr/local/include/xwinnmr/include.h without having to worry about the installation undoing
useful things. By also copying the modified vorspann to vorspann.LOCAL, you can easily copy
it back in case you do need to re-install xwin-nmr.
Perhaps Bruker could adopt this approach, and, even better, extend the inclusion of local
files/directories to pulse programs, xmac, xwish, etc.
Rudi
--------------------------------------------------------------------------
On 3 Nov, Mortishire-Smith, Russell wrote:
=
= Having just spent a couple of hours trying to work out why my au macros
= (previously
= fine in v-2.5) were all failing to compile in v2.6, and in the interests of
= saving people
= the same amount of wasted time, I draw your attention to section 2.4.1.3 of
= the 2.6
= release letter, which states ...
=
= 'From version 2.6 on, the lower case writing of Bruker macros is not
= supported any more.
= Where previously you could write 'getcurdata' for example, you now must
= write
= 'GETCURDATA'.
=
= Time to get some perl scripts written to update all my au programs, I guess!
=
= Russell
=
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rudi Nunlist Voice: (510) 642-6407 FAX: (510) 642-8369 University of California Email: nmrlab@purcell.cchem.berkeley.edu College of Chemistry NMR Facility Berkeley, CA 94720-1460 Personal email: rnunlist@purcell.cchem.berkeley.eduwww.cchem.berkeley.edu/College/Facilities/nmr =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=