From xemacs-m  Sun Apr  6 11:09:31 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA29815
	for <xemacs-beta@xemacs.org>; Sun, 6 Apr 1997 11:09:30 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id JAA31121;
	Sun, 6 Apr 1997 09:22:22 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: xemacs-20.1b11 failure without CANNA/WNN
References: <199704061554.RAA01237@sol1.cybernet-ag.net>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Axel Seibert's message of Sun, 6 Apr 1997 17:54:48 +0200 (MET DST)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 06 Apr 1997 09:22:21 -0700
Message-ID: <m2lo6wce9u.fsf@altair.xemacs.org>
Lines: 72
X-Mailer: Gnus v5.4.40/XEmacs 20.1(beta12)

Axel Seibert <aseibert@cybernet-ag.net> writes:

> Hi, all!
> (Last week I already sent a bug description, but it must have been
> lost, because I never saw an answer...?)

> Try to configure xemacs-20.1b11 without canna and wnn, then make
> fails when trying to link temacs:

 ...
>            LIB_CANNA LIB_WNN       -ldbm        -lm  -lsys_s        
> ld: Can't open: LIB_CANNA (No such file or directory, errno = 2)
> ld: Can't open: LIB_WNN (No such file or directory, errno = 2)

Hmm.  It's as impossible this week as it was last week.  How long has
it been since you've downloaded a full tarball?

> uname -a: NEXTSTEP tumbolia Lightning5S 3.2 68040 MC680x0

> ./configure  m68k-next-nextstep --prefix=/usr/local/xemacs --with-x=no
> --rel-alloc=no --cflags=-O4 -pipe --debug=no --error-checking=none
> --with-canna=no --with-wnn=no --with-wnn6=no
  ^^^^^^^^^^^^      ^^^^^^^^      ^^^^^^^^^
Note that you do not have to specify these on the command line as they 
default to no, and are not allowed to be set if not compiling for MULE.

Look at src/Makefile.in (the intermediate step between Makefile.in.in
and Makefile).  The relevant code should look like this:

#ifdef MULE

/* We ignore mule-mcpath.o for the moment. */

# ifdef HAVE_CANNA
#  define CANNA_OBJS mule-canna.o
#  define CANNA_OBJ_SRC ${muledirfromsrc}/mule-canna.c
#  define LIB_CANNA -lcanna -lRKC
# else
#  define CANNA_OBJS
#  define CANNA_OBJ_SRC
#  define LIB_CANNA
# endif
# ifdef HAVE_WNN
#  define WNN_OBJS mule-wnnfns.o
#  define WNN_OBJ_SRC ${muledirfromsrc}/mule-wnnfns.c
#  define LIB_WNN -lwnn
# else
#  define WNN_OBJS
#  define WNN_OBJ_SRC
#  define LIB_WNN
# endif
/* Chuck says that you have to have at least one specified actual
   object file per line. */
mule_objs=	mule.o mule-ccl.o CANNA_OBJS \
		WNN_OBJS mule-charset.o mule-coding.o
mule_obj_src=	${muledirfromsrc}/mule.c \
		${muledirfromsrc}/mule-ccl.c CANNA_OBJ_SRC \
		WNN_OBJ_SRC ${muledirfromsrc}/mule-charset.c \
		${muledirfromsrc}/mule-coding.c

#else /* not MULE */

mule_objs=
mule_obj_src=
#define LIB_CANNA
#define LIB_WNN

#endif /* not MULE */

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

