Hi,

I picked up xforms 1.0rc4 from ftp.lyx.org/pub/xforms/OpenSource/ and
built it with an install directory of /usr/local/xforms. I ran "xmkmf -a"
and then make. Mostly this went well except when the make tried to
link fdesign it couldn't find the X libraries. I patched the
fdesign/Makefile with a "-L/usr/X11R6/lib" and then it worked fine.

I untarred the lyx-1.2.0 source again and ran configure ala`:

        ./configure --prefix=/usr/local/lyx --with-extra-lib=/usr/local/xforms/lib 
--with-extra-inc=/usr/local/xforms/include/X11

At the end it died saying:

        Configuration
          Host type:                      i686-pc-linux-gnu
          Special build flags:            included-libsigc
          C   Compiler:                   gcc
          C   Compiler flags:             -g -O2
          C++ Compiler:                   g++ (2.96)
          C++ Compiler flags:             -O -fno-exceptions
          Linker flags:                    -L/usr/local/xforms/lib 
          Frontend:                       xforms
            libXpm version:               4.11
            libforms version:             1.0.0
          LyX binary dir:                 /usr/local/lyx/bin
          LyX files dir:                  /usr/local/lyx/share/lyx
        
        **** The following problems have been detected by configure.
        **** Please check the messages below before running 'make'.
        **** (see the section 'Problems' in the INSTALL file)
        
        ** Cannot find libforms or libxforms. Please check that the xforms library
           is correctly installed on your system.
        
        
        == Version 1.0.0 of xforms might not be compatible with LyX,
         since it is newer than 0.89. You might have slight problems with it.
        
        deleting cache ./config.cache

The directory /usr/local/xforms/lib contains:

        [root@notebook xforms]# ls /usr/local/xforms/lib
        libflimage.a     libflimage.so.1.0  libformsGL.so      libforms.so
        libflimage.so    libforms.a         libformsGL.so.1    libforms.so.1
        libflimage.so.1  libformsGL.a       libformsGL.so.1.0  libforms.so.1.0
        [root@notebook xforms]# 

The directory /usr/local/xforms/include/X11 contains:

        [root@notebook xforms]# ls /usr/local/xforms/include/X11
        flimage.h  forms.h  glcanvas.h
        [root@notebook xforms]# 

The options I gave to configure are much like the ones I use when
building 1.1.6fix4 so I am not sure where the problem lies here.

What should I be passing to configure so that it finds the xforms
libraries on my computer?

Peter

On Wed, Jul 31, 2002 at 02:07:47PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Peter" == Peter  <[EMAIL PROTECTED]> writes:
> 
> Peter> Hello, The xforms I have is version 0.89, but I don't recall
> Peter> for which libc it was. It is the same one that I used for
> Peter> succesfully building lyx-1.1.6fix4 on the same computer though
> Peter> so I'd guess that it is OK for my system.
> 
> Peter> I'm more curious about the unresolved reference to "__setjmp".
> Peter> This sounds like core C++ language functionality.
> 
> Can you try the xforms rpm available in ftp.lyx.org/pub/lyx/contrib/?
> 
> Or, even better, grab the source of xforms 1.0rc4 from 
> ftp.lyx.org/pub/xforms/OpenSource/
> 
> JMarc

Reply via email to