Re: xforms woes

1999-11-09 Thread Bill Simpson



On 8 Nov 1999, Jean-Marc Lasgouttes wrote:

  "Bill" == Bill Simpson [EMAIL PROTECTED] writes:
 
 Bill I am trying to install Lyx on a RedHat Linux machine.
 Bill [root@cbe207 xforms]# make install cp FORMS/libforms.a
 Bill /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
 Bill /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
 Bill /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
 Bill /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
 Bill /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
 Bill DESIGN/fdesign.1 /usr/man/man1; chmod 644
 Bill /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
 Bill 644 /usr/man/man1/fd2ps.1
 
 Bill seemed to go OK.
 
 Bill [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
 Bill Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
 Bill /usr/lib/libforms.so
 
 Bill  ldconfig -v
 
 Bill BUT now when I try to compile Lyx, in the configuration phase I
 Bill get message:
 
 Bill ** Can't find libforms or libxforms. Please check that the
 Bill xforms library is correctly installed on your system.
 
 What does the config.log file say about xforms? It might be another
 error...
Hi JMarc, 

Thanks for your help. I have attached the file.
The first related problem I see is:

configure:3222: checking for X11/forms.h
configure:3232: g++ -E   -I/usr/X11R6/include conftest.C /dev/null
2conftest.$
configure:3228: X11/forms.h: No such file or directory

It seems that the configure doesn't realize that forms.h was installed in
/usr/local/include.

I would think that the xforms "make install" would put these various files
in "standard" places where LyX would see them.

Any ideas?  Thanks!

Bill


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:626: checking for lyx
configure:684: checking whether make sets ${MAKE}
configure:722: checking for a BSD compatible install
configure:779: checking for gcc
configure:892: checking whether the C compiler (gcc  ) works
configure:908: gcc -o conftestconftest.c  15
configure:934: checking whether the C compiler (gcc  ) is a cross-compiler
configure:939: checking whether we are using GNU C
configure:948: gcc -E conftest.c
configure:967: checking whether gcc accepts -g
configure:1001: checking for POSIXized ISC
configure:1022: checking how to run the C preprocessor
configure:1043: gcc -E  conftest.c /dev/null 2conftest.out
configure:1102: checking for AIX
configure:1127: checking for HP-UX
configure:1143: checking for SunOS 4.x
configure:1158: checking for SCO 3.2v4
configure:1184: checking for Cygwin environment
configure:1200: gcc -c -g -O2  conftest.c 15
configure: In function `main':
configure:1196: `__CYGWIN32__' undeclared (first use in this function)
configure:1196: (Each undeclared identifier is reported only once
configure:1196: for each function it appears in.)
configure: failed program was:
#line 1189 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1217: checking for mingw32 environment
configure:1229: gcc -c -g -O2  conftest.c 15
configure: In function `main':
configure:1225: `__MINGW32__' undeclared (first use in this function)
configure:1225: (Each undeclared identifier is reported only once
configure:1225: for each function it appears in.)
configure: failed program was:
#line 1222 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1248: checking for executable suffix
configure:1258: gcc -o conftest -g -O2   conftest.c  15
configure:1288: checking for a working C++ compiler
configure:1319: g++ -o conftestconftest.C  15
configure:1359: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:1363: checking whether we are using GNU C++
configure:1372: g++ -E conftest.C
configure:1415: checking whether g++ accepts -g
configure:1448: checking how to run the C++ preprocessor
configure:1466: g++ -E  conftest.C /dev/null 2conftest.out
configure:1493: checking for sin in -lm
configure:1515: g++ -o conftest -g -O2   conftest.C -lm   15
configure:1508: warning: declaration of `char sin(...)'
configure:1508: warning: conflicts with built-in declaration `double sin(double)'
configure:1543: checking for fopen in -lc
configure:1565: g++ -o conftest -g -O2   conftest.C -lc  -lm  15
configure:1597: checking size of void *
configure:1619: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1639: checking size of int
configure:1661: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1686: checking for gcc strength-reduce bug
configure:1708: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1732: checking whether the C++ compiler understands explicit
configure:1748: g++ -c -g -O2  conftest.C 15
configure:1802: checking for 

Re: xforms woes

1999-11-09 Thread Bill Simpson


 It seems that the configure doesn't realize that forms.h was installed in
 /usr/local/include.
I meant: /usr/include/forms.h

Bill



xforms woes

1999-11-09 Thread Bill Simpson

Apparently the xforms installer does not work.
I just tried "make demo", and got a string of error messages, and no
executable demos. The errors are like this:

collect2: ld returned 1 exit status
make[1]: [folder] Error 1 (ignored)
gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
../FORMS/libforms.so: undefined reference to `_xstat'

I am not sure what to do at this point to get lyx installed (first
xforms)..

Thanks for any help!

Bill



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Bill Simpson wrote:

 Apparently the xforms installer does not work.
 I just tried "make demo", and got a string of error messages, and no
 executable demos. The errors are like this:
 
 collect2: ld returned 1 exit status
 make[1]: [folder] Error 1 (ignored)
 gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
 gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
 ../FORMS/libforms.so: undefined reference to `_xstat'
 
 I am not sure what to do at this point to get lyx installed (first
 xforms)..
 
 Thanks for any help!
 
 Bill

I know you said you ran ldconfig in your original post but could you just
check the output of:

ldconfig -p | grep forms

to make sure that libforms was actually added originally.  If not try
running ldconfig again with no arguements.

Allan. (ARRae)



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Allan Rae wrote:

 On Tue, 9 Nov 1999, Bill Simpson wrote:
 
  Apparently the xforms installer does not work.
  I just tried "make demo", and got a string of error messages, and no
  executable demos. The errors are like this:
  
  collect2: ld returned 1 exit status
  make[1]: [folder] Error 1 (ignored)
  gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
  gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
  ../FORMS/libforms.so: undefined reference to `_xstat'

Hang on I should have looked closer at the compiler error message.

It was only looking for libforms in ../FORMS and did find it.  BUT, its
that `_xstat' that's the problem.

That symbol looks a bit dodgy.  I can't remember what system you were
running but on my heavily modified RH-5.2 Linux there is an `__xstat'
defined in libX11.  Try running:

strings /usr/X11R6/lib/libX11* | grep xstat

If you don't get a `_xstat' (and I doubt you will) try

strings /usr/X11R6/lib/lib* | grep xstat

and see if any of the other libraries have an `_xstat'

My suspicion is that there is something wrong with the xforms lib you are
trying to install since it would seem to have been linked against a
different set of X11 libraries than you have installed.

Allan. (ARRae)



Re: xforms woes

1999-11-09 Thread Bill Simpson



On 8 Nov 1999, Jean-Marc Lasgouttes wrote:

  "Bill" == Bill Simpson [EMAIL PROTECTED] writes:
 
 Bill I am trying to install Lyx on a RedHat Linux machine.
 Bill [root@cbe207 xforms]# make install cp FORMS/libforms.a
 Bill /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
 Bill /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
 Bill /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
 Bill /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
 Bill /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
 Bill DESIGN/fdesign.1 /usr/man/man1; chmod 644
 Bill /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
 Bill 644 /usr/man/man1/fd2ps.1
 
 Bill seemed to go OK.
 
 Bill [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
 Bill Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
 Bill /usr/lib/libforms.so
 
 Bill  ldconfig -v
 
 Bill BUT now when I try to compile Lyx, in the configuration phase I
 Bill get message:
 
 Bill ** Can't find libforms or libxforms. Please check that the
 Bill xforms library is correctly installed on your system.
 
 What does the config.log file say about xforms? It might be another
 error...
Hi JMarc, 

Thanks for your help. I have attached the file.
The first related problem I see is:

configure:3222: checking for X11/forms.h
configure:3232: g++ -E   -I/usr/X11R6/include conftest.C /dev/null
2conftest.$
configure:3228: X11/forms.h: No such file or directory

It seems that the configure doesn't realize that forms.h was installed in
/usr/local/include.

I would think that the xforms "make install" would put these various files
in "standard" places where LyX would see them.

Any ideas?  Thanks!

Bill


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:626: checking for lyx
configure:684: checking whether make sets ${MAKE}
configure:722: checking for a BSD compatible install
configure:779: checking for gcc
configure:892: checking whether the C compiler (gcc  ) works
configure:908: gcc -o conftestconftest.c  15
configure:934: checking whether the C compiler (gcc  ) is a cross-compiler
configure:939: checking whether we are using GNU C
configure:948: gcc -E conftest.c
configure:967: checking whether gcc accepts -g
configure:1001: checking for POSIXized ISC
configure:1022: checking how to run the C preprocessor
configure:1043: gcc -E  conftest.c /dev/null 2conftest.out
configure:1102: checking for AIX
configure:1127: checking for HP-UX
configure:1143: checking for SunOS 4.x
configure:1158: checking for SCO 3.2v4
configure:1184: checking for Cygwin environment
configure:1200: gcc -c -g -O2  conftest.c 15
configure: In function `main':
configure:1196: `__CYGWIN32__' undeclared (first use in this function)
configure:1196: (Each undeclared identifier is reported only once
configure:1196: for each function it appears in.)
configure: failed program was:
#line 1189 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1217: checking for mingw32 environment
configure:1229: gcc -c -g -O2  conftest.c 15
configure: In function `main':
configure:1225: `__MINGW32__' undeclared (first use in this function)
configure:1225: (Each undeclared identifier is reported only once
configure:1225: for each function it appears in.)
configure: failed program was:
#line 1222 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1248: checking for executable suffix
configure:1258: gcc -o conftest -g -O2   conftest.c  15
configure:1288: checking for a working C++ compiler
configure:1319: g++ -o conftestconftest.C  15
configure:1359: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:1363: checking whether we are using GNU C++
configure:1372: g++ -E conftest.C
configure:1415: checking whether g++ accepts -g
configure:1448: checking how to run the C++ preprocessor
configure:1466: g++ -E  conftest.C /dev/null 2conftest.out
configure:1493: checking for sin in -lm
configure:1515: g++ -o conftest -g -O2   conftest.C -lm   15
configure:1508: warning: declaration of `char sin(...)'
configure:1508: warning: conflicts with built-in declaration `double sin(double)'
configure:1543: checking for fopen in -lc
configure:1565: g++ -o conftest -g -O2   conftest.C -lc  -lm  15
configure:1597: checking size of void *
configure:1619: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1639: checking size of int
configure:1661: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1686: checking for gcc strength-reduce bug
configure:1708: g++ -o conftest -g -O2   conftest.C -lc -lm  15
configure:1732: checking whether the C++ compiler understands explicit
configure:1748: g++ -c -g -O2  conftest.C 15
configure:1802: checking for 

Re: xforms woes

1999-11-09 Thread Bill Simpson


 It seems that the configure doesn't realize that forms.h was installed in
 /usr/local/include.
I meant: /usr/include/forms.h

Bill



xforms woes

1999-11-09 Thread Bill Simpson

Apparently the xforms installer does not work.
I just tried "make demo", and got a string of error messages, and no
executable demos. The errors are like this:

collect2: ld returned 1 exit status
make[1]: [folder] Error 1 (ignored)
gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
../FORMS/libforms.so: undefined reference to `_xstat'

I am not sure what to do at this point to get lyx installed (first
xforms)..

Thanks for any help!

Bill



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Bill Simpson wrote:

 Apparently the xforms installer does not work.
 I just tried "make demo", and got a string of error messages, and no
 executable demos. The errors are like this:
 
 collect2: ld returned 1 exit status
 make[1]: [folder] Error 1 (ignored)
 gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
 gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
 ../FORMS/libforms.so: undefined reference to `_xstat'
 
 I am not sure what to do at this point to get lyx installed (first
 xforms)..
 
 Thanks for any help!
 
 Bill

I know you said you ran ldconfig in your original post but could you just
check the output of:

ldconfig -p | grep forms

to make sure that libforms was actually added originally.  If not try
running ldconfig again with no arguements.

Allan. (ARRae)



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Allan Rae wrote:

 On Tue, 9 Nov 1999, Bill Simpson wrote:
 
  Apparently the xforms installer does not work.
  I just tried "make demo", and got a string of error messages, and no
  executable demos. The errors are like this:
  
  collect2: ld returned 1 exit status
  make[1]: [folder] Error 1 (ignored)
  gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
  gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
  ../FORMS/libforms.so: undefined reference to `_xstat'

Hang on I should have looked closer at the compiler error message.

It was only looking for libforms in ../FORMS and did find it.  BUT, its
that `_xstat' that's the problem.

That symbol looks a bit dodgy.  I can't remember what system you were
running but on my heavily modified RH-5.2 Linux there is an `__xstat'
defined in libX11.  Try running:

strings /usr/X11R6/lib/libX11* | grep xstat

If you don't get a `_xstat' (and I doubt you will) try

strings /usr/X11R6/lib/lib* | grep xstat

and see if any of the other libraries have an `_xstat'

My suspicion is that there is something wrong with the xforms lib you are
trying to install since it would seem to have been linked against a
different set of X11 libraries than you have installed.

Allan. (ARRae)



Re: xforms woes

1999-11-09 Thread Bill Simpson



On 8 Nov 1999, Jean-Marc Lasgouttes wrote:

> > "Bill" == Bill Simpson <[EMAIL PROTECTED]> writes:
> 
> Bill> I am trying to install Lyx on a RedHat Linux machine.
> Bill> [root@cbe207 xforms]# make install cp FORMS/libforms.a
> Bill> /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
> Bill> /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
> Bill> /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
> Bill> /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
> Bill> /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
> Bill> DESIGN/fdesign.1 /usr/man/man1; chmod 644
> Bill> /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
> Bill> 644 /usr/man/man1/fd2ps.1
> 
> Bill> seemed to go OK.
> 
> Bill> [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
> Bill> Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
> Bill> /usr/lib/libforms.so
> 
> Bill>  ldconfig -v
> 
> Bill> BUT now when I try to compile Lyx, in the configuration phase I
> Bill> get message:
> 
> Bill> ** Can't find libforms or libxforms. Please check that the
> Bill> xforms library is correctly installed on your system.
> 
> What does the config.log file say about xforms? It might be another
> error...
Hi JMarc, 

Thanks for your help. I have attached the file.
The first related problem I see is:

configure:3222: checking for X11/forms.h
configure:3232: g++ -E   -I/usr/X11R6/include conftest.C >/dev/null
2>conftest.$
configure:3228: X11/forms.h: No such file or directory

It seems that the configure doesn't realize that forms.h was installed in
/usr/local/include.

I would think that the xforms "make install" would put these various files
in "standard" places where LyX would see them.

Any ideas?  Thanks!

Bill


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:626: checking for lyx
configure:684: checking whether make sets ${MAKE}
configure:722: checking for a BSD compatible install
configure:779: checking for gcc
configure:892: checking whether the C compiler (gcc  ) works
configure:908: gcc -o conftestconftest.c  1>&5
configure:934: checking whether the C compiler (gcc  ) is a cross-compiler
configure:939: checking whether we are using GNU C
configure:948: gcc -E conftest.c
configure:967: checking whether gcc accepts -g
configure:1001: checking for POSIXized ISC
configure:1022: checking how to run the C preprocessor
configure:1043: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1102: checking for AIX
configure:1127: checking for HP-UX
configure:1143: checking for SunOS 4.x
configure:1158: checking for SCO 3.2v4
configure:1184: checking for Cygwin environment
configure:1200: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1196: `__CYGWIN32__' undeclared (first use in this function)
configure:1196: (Each undeclared identifier is reported only once
configure:1196: for each function it appears in.)
configure: failed program was:
#line 1189 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1217: checking for mingw32 environment
configure:1229: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1225: `__MINGW32__' undeclared (first use in this function)
configure:1225: (Each undeclared identifier is reported only once
configure:1225: for each function it appears in.)
configure: failed program was:
#line 1222 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1248: checking for executable suffix
configure:1258: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1288: checking for a working C++ compiler
configure:1319: g++ -o conftestconftest.C  1>&5
configure:1359: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:1363: checking whether we are using GNU C++
configure:1372: g++ -E conftest.C
configure:1415: checking whether g++ accepts -g
configure:1448: checking how to run the C++ preprocessor
configure:1466: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:1493: checking for sin in -lm
configure:1515: g++ -o conftest -g -O2   conftest.C -lm   1>&5
configure:1508: warning: declaration of `char sin(...)'
configure:1508: warning: conflicts with built-in declaration `double sin(double)'
configure:1543: checking for fopen in -lc
configure:1565: g++ -o conftest -g -O2   conftest.C -lc  -lm  1>&5
configure:1597: checking size of void *
configure:1619: g++ -o conftest -g -O2   conftest.C -lc -lm  1>&5
configure:1639: checking size of int
configure:1661: g++ -o conftest -g -O2   conftest.C -lc -lm  1>&5
configure:1686: checking for gcc strength-reduce bug
configure:1708: g++ -o conftest -g -O2   conftest.C -lc -lm  1>&5
configure:1732: checking whether the C++ compiler understands 

Re: xforms woes

1999-11-09 Thread Bill Simpson


> It seems that the configure doesn't realize that forms.h was installed in
> /usr/local/include.
I meant: /usr/include/forms.h

Bill



xforms woes

1999-11-09 Thread Bill Simpson

Apparently the xforms installer does not work.
I just tried "make demo", and got a string of error messages, and no
executable demos. The errors are like this:

collect2: ld returned 1 exit status
make[1]: [folder] Error 1 (ignored)
gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
../FORMS/libforms.so: undefined reference to `_xstat'

I am not sure what to do at this point to get lyx installed (first
xforms)..

Thanks for any help!

Bill



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Bill Simpson wrote:

> Apparently the xforms installer does not work.
> I just tried "make demo", and got a string of error messages, and no
> executable demos. The errors are like this:
> 
> collect2: ld returned 1 exit status
> make[1]: [folder] Error 1 (ignored)
> gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
> gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
> ../FORMS/libforms.so: undefined reference to `_xstat'
> 
> I am not sure what to do at this point to get lyx installed (first
> xforms)..
> 
> Thanks for any help!
> 
> Bill

I know you said you ran ldconfig in your original post but could you just
check the output of:

ldconfig -p | grep forms

to make sure that libforms was actually added originally.  If not try
running ldconfig again with no arguements.

Allan. (ARRae)



Re: xforms woes

1999-11-09 Thread Allan Rae

On Tue, 9 Nov 1999, Allan Rae wrote:

> On Tue, 9 Nov 1999, Bill Simpson wrote:
> 
> > Apparently the xforms installer does not work.
> > I just tried "make demo", and got a string of error messages, and no
> > executable demos. The errors are like this:
> > 
> > collect2: ld returned 1 exit status
> > make[1]: [folder] Error 1 (ignored)
> > gcc -c -O -I../FORMS -I/usr/X11R6/include -Ifd popup.c
> > gcc -O -s  popup.o  -o popup -L../FORMS -lforms -L/usr/X11R6/lib -lX11 -lm
> > ../FORMS/libforms.so: undefined reference to `_xstat'

Hang on I should have looked closer at the compiler error message.

It was only looking for libforms in ../FORMS and did find it.  BUT, its
that `_xstat' that's the problem.

That symbol looks a bit dodgy.  I can't remember what system you were
running but on my heavily modified RH-5.2 Linux there is an `__xstat'
defined in libX11.  Try running:

strings /usr/X11R6/lib/libX11* | grep xstat

If you don't get a `_xstat' (and I doubt you will) try

strings /usr/X11R6/lib/lib* | grep xstat

and see if any of the other libraries have an `_xstat'

My suspicion is that there is something wrong with the xforms lib you are
trying to install since it would seem to have been linked against a
different set of X11 libraries than you have installed.

Allan. (ARRae)



Re: xforms woes

1999-11-08 Thread Jean-Marc Lasgouttes

 "Bill" == Bill Simpson [EMAIL PROTECTED] writes:

Bill I am trying to install Lyx on a RedHat Linux machine.
Bill [root@cbe207 xforms]# make install cp FORMS/libforms.a
Bill /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
Bill /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
Bill /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
Bill /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
Bill /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
Bill DESIGN/fdesign.1 /usr/man/man1; chmod 644
Bill /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
Bill 644 /usr/man/man1/fd2ps.1

Bill seemed to go OK.

Bill [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
Bill Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
Bill /usr/lib/libforms.so

Bill  ldconfig -v

Bill BUT now when I try to compile Lyx, in the configuration phase I
Bill get message:

Bill ** Can't find libforms or libxforms. Please check that the
Bill xforms library is correctly installed on your system.

What does the config.log file say about xforms? It might be another
error...

JMarc



Re: xforms woes

1999-11-08 Thread Jean-Marc Lasgouttes

 "Bill" == Bill Simpson [EMAIL PROTECTED] writes:

Bill I am trying to install Lyx on a RedHat Linux machine.
Bill [root@cbe207 xforms]# make install cp FORMS/libforms.a
Bill /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
Bill /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
Bill /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
Bill /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
Bill /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
Bill DESIGN/fdesign.1 /usr/man/man1; chmod 644
Bill /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
Bill 644 /usr/man/man1/fd2ps.1

Bill seemed to go OK.

Bill [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
Bill Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
Bill /usr/lib/libforms.so

Bill  ldconfig -v

Bill BUT now when I try to compile Lyx, in the configuration phase I
Bill get message:

Bill ** Can't find libforms or libxforms. Please check that the
Bill xforms library is correctly installed on your system.

What does the config.log file say about xforms? It might be another
error...

JMarc



Re: xforms woes

1999-11-08 Thread Jean-Marc Lasgouttes

> "Bill" == Bill Simpson <[EMAIL PROTECTED]> writes:

Bill> I am trying to install Lyx on a RedHat Linux machine.
Bill> [root@cbe207 xforms]# make install cp FORMS/libforms.a
Bill> /usr/lib;chmod 644 /usr/lib/libforms.a cp DESIGN/fdesign
Bill> /usr/local/bin; chmod 711 /usr/local/bin/fdesign cp fd2ps/fd2ps
Bill> /usr/local/bin; chmod 711 /usr/local/bin/fd2ps cp FORMS/forms.h
Bill> /usr/include;\ chmod 644 /usr/include/forms.h cp FORMS/xforms.5
Bill> /usr/man/man5; chmod 644 /usr/man/man5/xforms.5 cp
Bill> DESIGN/fdesign.1 /usr/man/man1; chmod 644
Bill> /usr/man/man1/fdesign.1 cp fd2ps/fd2ps.1 /usr/man/man1; chmod
Bill> 644 /usr/man/man1/fd2ps.1

Bill> seemed to go OK.

Bill> [root@cbe207 FORMS]# find / -name "libforms*" find: /proc/6/fd:
Bill> Permission denied /usr/lib/libforms.a /usr/lib/libforms.so.0.88
Bill> /usr/lib/libforms.so

Bill>  ldconfig -v

Bill> BUT now when I try to compile Lyx, in the configuration phase I
Bill> get message:

Bill> ** Can't find libforms or libxforms. Please check that the
Bill> xforms library is correctly installed on your system.

What does the config.log file say about xforms? It might be another
error...

JMarc