On Wed, Nov 08, 2000 at 11:33:20AM +0100, [EMAIL PROTECTED] wrote: > > I have recently switched from Suse2.3 to Debian2.2 Linux Distribution. Since I > don't manage to compile LyX (last version 1.1.5Fix2) (there was no problem with > suse) > I have downloaded libxforms.so.0.89 and libXpm.so.4.11 and the associated > header files and reflected their location both via PATH and via the options of > configure. > > I execute under root in the Lyx directory: ./configure > --with-extra-lib=/usr/local/lib --with-extra-inc=/usr/local/include > Configure error messages are libXpm. not found and a warning on the version of > libxforms (only previous version 0.88 guaranted). > make fails. You should use the XForms and Xpm from Debian: libforms-dev and xpm4g-dev. Howether, due to a bug in this version of XForms, composed letters (like ê on an azerty keyboard) will crash lyx. The attached patch fixes this by disabling XOpenIM. So $ cd lyx-1.1.5fix2 $ patch -p1 < lyx-1.1.5fix2-stid.diff $ autoconf (autoconf is in the well-named ``autoconf'' Debian package) Then $ rm config.cache $ ./configure --prefix=/usr/local --disable-xopenim && make (BTW, root should *only* make install) > > Perhaps someone can shed some light on the right procedure to actually use. > > Other question: Is a debian package available for LyX (even not the last version > of LyX)? 1.1.4 is in Debian 2.2. I was going to detail how to roll a 1.1.5fix2 from it, but it started to be quite long. > > > ALCATEL SPACE INDUSTRIES > > -- Stid
diff -ru lyx-1.1.5fix2/configure.in lyx-1.1.5fix2-stid/configure.in --- lyx-1.1.5fix2/configure.in Mon Jul 17 15:57:25 2000 +++ lyx-1.1.5fix2-stid/configure.in Wed Sep 6 12:09:57 2000 @@ -137,7 +137,13 @@ CPPFLAGS="$CPPFLAGS $X_CFLAGS" ## Check whether X is new enough to handle the input method stuff -AC_CHECK_FUNCS(XOpenIM) +## (<[EMAIL PROTECTED]>: unless explicitly disabled) +AC_ARG_WITH(xopenim, + [ --without-xopenim do not use XOpenIM even if available], + [lyx_test_xopenim=$withval,lyx_test_xopenim=yes]) +if test "x$lyx_test_xopenim=yes" = "xyes"; then + AC_CHECK_FUNCS(XOpenIM) +fi ### Check for xforms and xpm (only if X has been found). if test "$have_x" = yes ; then