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 conftest conftest.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 conftest conftest.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 explicit
configure:1748: g++ -c -g -O2 conftest.C 1>&5
configure:1802: checking for extra library directory
configure:1845: checking for extra include directory
configure:1879: checking for extra lib+include directory
configure:1924: checking for main in -liberty
configure:1939: g++ -o conftest -g -O2 conftest.C -liberty -lc -lm 1>&5
configure:1964: checking for ptsname in -lpt
configure:1986: g++ -o conftest -g -O2 conftest.C -lpt -liberty -lc -lm 1>&5
/usr/bin/ld: cannot open -lpt: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1972 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char ptsname();
int main() {
ptsname()
; return 0; }
configure:2012: checking for X
configure:2326: checking for dnet_ntoa in -ldnet
configure:2348: g++ -o conftest -g -O2 conftest.C -ldnet -liberty -lc -lm 1>&5
/usr/bin/ld: cannot open -ldnet: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2334 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:2370: checking for dnet_ntoa in -ldnet_stub
configure:2392: g++ -o conftest -g -O2 conftest.C -ldnet_stub -liberty -lc -lm
1>&5
/usr/bin/ld: cannot open -ldnet_stub: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2378 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:2421: checking for gethostbyname
configure:2452: g++ -o conftest -g -O2 conftest.C -liberty -lc -lm 1>&5
configure:2525: checking for connect
configure:2556: g++ -o conftest -g -O2 conftest.C -liberty -lc -lm 1>&5
configure:2623: checking for remove
configure:2654: g++ -o conftest -g -O2 conftest.C -liberty -lc -lm 1>&5
configure:2721: checking for shmat
configure:2752: g++ -o conftest -g -O2 conftest.C -liberty -lc -lm 1>&5
configure:2828: checking for IceConnectionNumber in -lICE
configure:2850: g++ -o conftest -g -O2 -L/usr/X11R6/lib conftest.C -lICE -liberty
-lc -lm 1>&5
configure:2881: checking for XOpenIM
configure:2912: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:2944: checking for XpmCreateBufferFromImage in -lXpm
configure:2966: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lXpm -lSM
-lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:2998: checking for X11/xpm.h
configure:3008: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3081: checking xpm header version
configure:3125: checking for fl_initialize in -lforms
configure:3147: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lforms
-lXpm -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
/usr/lib/libforms.so: undefined reference to `_xstat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3133 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configure:3166: checking for fl_initialize in -lxforms
configure:3188: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lxforms
-lXpm -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
/usr/bin/ld: cannot open -lxforms: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 3174 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configure:3222: checking for X11/forms.h
configure:3232: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3228: X11/forms.h: No such file or directory
configure: failed program was:
#line 3227 "configure"
#include "confdefs.h"
#include <X11/forms.h>
configure:3256: checking for forms.h
configure:3266: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3303: checking xforms header version
configure:3367: checking for dirent.h that defines DIR
configure:3380: g++ -c -g -O2 -I/usr/X11R6/include conftest.C 1>&5
configure:3405: checking for opendir in -ldir
configure:3427: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -ldir -lSM
-lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
/usr/bin/ld: cannot open -ldir: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 3413 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();
int main() {
opendir()
; return 0; }
configure:3494: checking whether sys/types.h defines makedev
configure:3506: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:3600: checking whether stat file-mode macros are broken
configure:3659: checking for errno.h
configure:3669: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3659: checking for sys/time.h
configure:3669: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3659: checking for sys/types.h
configure:3669: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3659: checking for sys/select.h
configure:3669: g++ -E -I/usr/X11R6/include conftest.C >/dev/null 2>conftest.out
configure:3696: checking whether time.h and sys/time.h may both be included
configure:3710: g++ -c -g -O2 -I/usr/X11R6/include conftest.C 1>&5
configure:3765: checking for ranlib
configure:3793: checking for ANSI C header files
configure:3806: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:3873: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:3897: checking for working const
configure:3951: gcc -c -g -O2 -I/usr/X11R6/include conftest.c 1>&5
configure:3972: checking for inline
configure:3986: gcc -c -g -O2 -I/usr/X11R6/include conftest.c 1>&5
configure:4012: checking for off_t
configure:4045: checking for size_t
configure:4080: checking for working alloca.h
configure:4092: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4113: checking for alloca
configure:4146: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4315: checking for unistd.h
configure:4325: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4354: checking for getpagesize
configure:4382: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4407: checking for working mmap
configure:4555: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4583: checking for argz.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for limits.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for locale.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for nl_types.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for malloc.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for string.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for unistd.h
configure:4583: checking for values.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4583: checking for sys/param.h
configure:4593: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4623: checking for getcwd
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for munmap
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for putenv
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for setenv
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for setlocale
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for strchr
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for strcasecmp
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for __argz_count
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for __argz_stringify
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4623: checking for __argz_next
configure:4651: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4680: checking for stpcpy
configure:4708: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4742: checking for LC_MESSAGES
configure:4754: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4775: checking whether NLS is requested
configure:4795: checking whether included gettext is requested
configure:4814: checking for libintl.h
configure:4824: gcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:4841: checking for gettext in libc
configure:4853: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:4945: checking for msgfmt
configure:4979: checking for dcgettext
configure:5007: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5034: checking for gmsgfmt
configure:5070: checking for xgettext
configure:5110: gcc -o conftest -g -O2 -I/usr/X11R6/include conftest.c -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5565: checking for catalogs to be installed
configure:5697: checking for mkfifo
configure:5728: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5697: checking for memmove
configure:5728: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5697: checking for memset
configure:5728: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5697: checking for strchr
configure:5753: checking types of arguments for select()
configure:5786: g++ -c -g -O2 -I/usr/X11R6/include conftest.C 1>&5
configure:5829: checking for strerror
configure:5860: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5829: checking for atexit
configure:5860: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5888: checking for bool type
configure:5901: g++ -o conftest -g -O2 -I/usr/X11R6/include conftest.C -lSM -lICE
-liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5
configure:5944: checking for perl >= 5.002