Kevin
I am not an expert but I guess a
find /usr -name 'xforms*' -print
will give an idea where the xforms library and the xforms.h header are.
(Since you have it installed it must be there somewhere). (/usr and below
is a good place to start looking).
Then do a ./configure --with-extra-library <PATH-TO-XFORM-LIBRARY> \
--with-extra-include=<PATH-TO-XFORM-HEADERFILE>
I suggest a ./configure --help will give you the correct switches
Good Luck
James
On Tue, 23 Mar 1999, Kevin Chu wrote:
> Lyx lyx-0.12.0-3.i386.rpm works fine on my system. I've been trying
> to install 1.0.1. First I 'rpm -e' 0.12. When I try to install
> lyx-1.0.1-2.src.rpm using 'rpm --rebuild lyx-1.0.1-2.src.rpm' it stops
> with this error:
>
> > ../src/main.C:12: forms.h: No such file or directory
> > ../src/main.C:31: #error LyX will not compile with this version of
> > XForms. Please get version 0.88 (0.81 and 0.86 also work). If you
> > want to try to compile anyway, delete this test in src/main.C.
> > make[1]: *** [main.o] Error 1
> > make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.0.1/src'
> > make: *** [all] Error 1
> > Bad exit status from /var/tmp/rpm-tmp.72083 (%build)
>
> I do have XForms on this system:
>
> > [root@localhost src]# rpm -q xforms
> > xforms-0.88.1-1
>
> When I try to ./configure the tar.gz of 1.0.1 using './configure
> --with-extra-lib=/usr/X11R6/lib/' I get the following:
>
> > **** The following problems have been detected by configure.
> > **** Please check the messages below before running 'make'.
> > **** (see the section 'Problems' in the INSTALL file)
> >
> > ** Can't find libforms or libxforms. Please check that the
> > xforms library is correctly installed on your system.
> >
> > ** Can't find forms.h. Please check that the forms library
> > is correctly installed on your system.
>
> When I try to find those files, I get
>
> > [kevin@localhost lyx-1.0.1]$ locate forms.h
> > [kevin@localhost lyx-1.0.1]$ locate libforms
> > /usr/X11R6/lib/libforms.so.0.88
> > [kevin@localhost lyx-1.0.1]$ locate libxforms
> > [kevin@localhost lyx-1.0.1]$
>
> When I go back and try to 'rpm -ivh lyx-0.12.0-3.i386.rpm' it works
> fine.
>
> A 'make symlinks' in the kernel source (2.0.36) didn't help. (Not
> that I expected it to, since 'locate' couldn't find forms.h.) This is
> a Red Hat 5.1 system with upgraded bits and pieces.
>
> Since I have XForms installed, I don't know where to start looking for
> the problem. Any ideas?
>
> Kevin
>
> --
> Kevin Chu [EMAIL PROTECTED]
> http://members.tripod.com/~super_kevin/
>
James Jarvis
EUCS
Science & Engineering Support
0131 650 5013
email '[EMAIL PROTECTED]'
http://www.bch.ed.ac.uk/~james/