Vinay Ramnath wrote: > Hi, > > Andre Poenitz wrote: >> On Mon, Jan 27, 2003 at 07:14:06PM +0100, Vinay Ramnath wrote: >> >>>Nope, didn't work. My C++ compiler doesn't seem to suffice. I use SuSE >>>8.0 with gcc as compiler. During configuration, the machine complaints >>>that it cannot execute `cc1plus'. >> >> >> Looks like a broken gcc installation. Can you compile a simple "hello >> world" program? > > Well, I just reinstalled gcc, which seems to be a C compiler. Since it > was my C++ compiler that was lacking, if I did have any, I also > installed gpp, the C++ compiler. This probably solved it, 'cause > configuration went fine. The machine recognized gcc as my C compiler and > gpp as my C++ compiler, I needed both. > > Now I'm facing new difficulties. > > 1. It can not find libforms or libxforms. Since I do have XForms > installed, the 0.89-1 rpm, I have to direct it there with the > --with-extra-lib option, according to the INSTALL file. I do not have > the faintest idea where these files should be. Could you help? > > 2. It cannot find forms.h. I suppose they should be part of XForms as > well. Might there be something wrong with my XForms package? According > to the INSTALL file, this could be the case if I haven't installed the > kernel sources. Does that mean that I shouldn't have the rpm installed > but have compiled it from source code instead? Do you have a good > solution for this. If I do have to remove my current XForms installation > and install it from source instead, LyX 1.2.1, which uses my current > XForms, might not work anymore, even if I install the new version, > right? Or will everything go fine as long as i run ldconfig after make > install? > > Well, there is progress though... :) > > Vinay
Hello, Vinay. Your you should find your xforms library at PATH/libforms.so, where PATH is probably /usr/lib but may be /usr/local/lib. If that doesn't find it, type at the command line $ find / -name "libforms.so*" You may need to run this as root. Similarly, forms.h should be found in one of /usr/include, /usr/include/X11, /usr/local/include or /usr/local/X11/include. I would recommend (strongly) however, that you consider throwing out xforms 0.89.1 and replacing it with the newly released xforms 1.0; it fixes many, many bugs. If you are bent on compiling everything, get it from ftp://ftp.lyx.org/pub/lyx/contrib/xforms-1.0-release.src.rpm If you don't care about compiling xforms but still want to compile LyX, then you'll want ftp://ftp.lyx.org/pub/lyx/contrib/libforms-devel-1.0-release.i386.rpm Finally, if you just want a working LyX, get ftp://ftp.lyx.org/pub/lyx/contrib/libforms-1.0-release.i386.rpm and the appropriate LyX rpm from ftp://ftp.lyx.org/pub/lyx/bin/1.2.3/ HTH, -- Angus