In order to burn a few minutes and debug a grace (lesstif) problem
(See thread "Grace (xmgrace) 5.1.12-1  graph program --  ...") I
rebuild lesstif-0.93.94-1.

A few patches were needed to use the build script, see the
attached patch. (It also contains a slight modification to
use autoreconf, proposed by Brian Ford)

BUT it didn't help. When I build grace with lesstif-0.93.94
(selfbuild or the testversion installed with setup) and
start xmgrace I get this:

--- snip ---
$ grace-5.1.14/src/xmgrace.exe
Warning: XmManager ClassInitialize: XmeTraitSet failed

Error: attempt to add non-widget child "DropSiteManager" to parent "xmgrace" which supports only widgets
--- snip ---

Using the same xmgrace.exe but downgrading to lesstif 0.93.91-6
I can start grace. !?

The lesstif faq <http://www.lesstif.org/FAQ.html#QU3.0> claims that
this error stems from using the wrong order of linker flags, but I
guess that 0.93.94 fails and 0.93.91 works contradicts this.

The linker flags are: "../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu
 -lXt -lXext -lX11  -lSM -lICE  ../cephes/libcephes.a
 ../T1lib/libt1.a  -ltiff -ljpeg -lpng -lz -lm" (from the actual build)

Any ideas?

Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
--- lesstif-0.93.94-1.sh.org    2004-03-15 21:26:06.000000000 -0500
+++ lesstif-0.93.94-1.sh        2004-03-28 11:36:11.805776000 -0500
@@ -68,14 +68,11 @@
   (cd ${topdir} && \
   tar xv${opt_decomp}f ${src_orig_pkg} ; \
   cd ${topdir} && \
-  patch -p0 < ${src_patch} 
+  patch -p0 < ${src_patch} \
   && mkdirs ) && \
   (cd ${srcdir} && \
   touch INSTALL && \
-  aclocal -I config && \
-  autoconf && \
-  autoheader && \
-  automake --foreign --add-missing --copy && \
+  autoreconf --install --force && \
   rm -f INSTALL )
 }
 conf() {
@@ -120,9 +117,9 @@
       mkdir -p ${instdir}${d} ;\
     fi ;\
   done &&\
-  bzip2 -9 ${instdir}${prefix}/man/*/* ; && \
-  rm -fR ${instdir}${prefix}/LessTif ; && \
-  rm -fR ${instdir}${prefix}/bin/i686-pc-cygwin-testall ; && \
+  bzip2 -9 ${instdir}${prefix}/man/*/* && \
+  rm -fR ${instdir}${prefix}/LessTif && \
+  rm -fR ${instdir}${prefix}/bin/i686-pc-cygwin-testall && \
   templist=""; \
   for f in ${srcdir}/ANNOUNCE ${srcdir}/CHANGES ${srcdir}/INSTALL \
            ${srcdir}/KNOWNBUG ${srcdir}/LICENSE ${srcdir}/README \

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to