On Fri, Jun 09, 2000 at 05:37:13PM +0900, R. Lahaye wrote:
> Hi,
>
> Since Xbae and LessTif have merged, it has become impossible
> (or at least difficult) to compile merely Xbae. Or have I
> overlooked something?
>
> In addition to the option "--enable-build-Xbae", it would be
> nice to have an "--only-build-Xbae":
>
> ./configure --only-build-Xbae --prefix=<where-ever>
> make
> make install
>
> would just build the Xbae stuff. Could that make sense?
>
> Regards,
>
> Rob.
Try building only the Xbae tree:
cd lesstif/lib/Xbae
configure
make
BTW, this method may not be 100% safe in case you have another M*tif
distribution installed. On a machine with M*tif 2.0 I just got
this error;
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I../include
-I../../../include/Motif-1.2 -I../../../include/Motif-1.2 -I../../../include/Motif-1.2
-I../../../include/Motif-1.2 -I/usr/local/include -I/usr/X11R6/include -g -O2 -Wall -c
-fPIC -DPIC Actions.c -o Actions.lo
In file included from ../../../include/Motif-1.2/Xm/TextInP.h:29,
from ../../../include/Motif-1.2/Xm/TextP.h:31,
from ../include/Xbae/Macros.h:44,
from ../include/Xbae/Draw.h:38,
from Actions.c:45:
../../../include/Motif-1.2/Xm/TextStrSoP.h:36: conflicting types for `EditDone'
/usr/local/include/Xm/Xm.h:2867: previous declaration of `EditDone
Reason seems to be that in an untouched LessTif tree there's no
Xm.h, so this is taken from the system. I just ran configure w/o
any argument.
--
Alexander Mai
[EMAIL PROTECTED]