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



xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Nikolai Kalitzin


i'm trying to install the latest version of lyx on
a SuSE linux intel computer. i got all the required
packages. but i got the same problem as bill simpson
([EMAIL PROTECTED]/msg02796.html).
i found out that the problem is that the following include files:
Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
the question is where do i get them, to which package they belong?
i checked also the reply by jean-marc lasgouttes
([EMAIL PROTECTED]/msg02797.html)

so, any help would be appreciated.

best wishes,
n.

 _
(_) __ _ ___   Nikolai Kalitzin [EMAIL PROTECTED]
| |/ _` / __|  Institut f. Akustik und Sprachkommunikation / TU Dresden
| | (_| \__ \  Tel.: +49 351 463-2509 Date: 09-Nov-99
|_|\__,_|___/  Fax.: +49 351 463-7091 Time: 10:28:47



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Bill Simpson

On Tue, 9 Nov 1999, Nikolai Kalitzin wrote:
 i'm trying to install the latest version of lyx on
 a SuSE linux intel computer. i got all the required
 packages. but i got the same problem as bill simpson
 ([EMAIL PROTECTED]/msg02796.html).
 i found out that the problem is that the following include files:
 Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
 the question is where do i get them, to which package they belong?
 i checked also the reply by jean-marc lasgouttes
 ([EMAIL PROTECTED]/msg02797.html)

My problem is different, since I do have these files.

The files should have been installed when you installed XFree86 I think.
Here is the header from one:

/* $XConsortium: Xutil.h,v 11.78 94/04/17 20:21:56 rws Exp $ */
/* $XFree86: xc/lib/X11/Xutil.h,v 3.0 1996/12/09 11:49:36 dawes Exp $ */

On my system, the files reside at
/usr/X11R6/include/X11/

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)



vertical line on multiple pages

1999-11-09 Thread HpG

Hi all

In a scriptum I need to mark the examples specially
with a vertical line on the left side of these paragraphes.

Is it possible to draw such a line from a certain text
position to a defined end position (if necessary over
multiple pages? )

Please e-mail me directly any suggestions,
as I am not subscribed to the mailing list.

Thanks for any help
Hanspeter



lyx 1.1.2 bug?

1999-11-09 Thread Panagiotis Melas

I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
when it runs latex (e.g. view dvi or update) on a relatively large
multiple part document (report ... thesis).

When I go to the /tmp directory the dvi file seems to be ok although I
have to run manually latex few more times for the toc and references. It
is strange though because running a chpter on its own toc and references
seems to be fine. 

An older lyx version (1.0.4?) on the same system does not have this
problem at all.

Panos



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Christopher Sawtell

On Tue, 09 Nov 1999, Nikolai Kalitzin wrote:
 i'm trying to install the latest version of lyx on
 a SuSE linux intel computer.

Which version of SuSE?

 i got all the required
 packages. but i got the same problem as bill simpson
 ([EMAIL PROTECTED]/msg02796.html).
 i found out that the problem is that the following include files:
 Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
 the question is where do i get them,

The X Consortium, or your local mirror. ( CD perhaps )

 to which package they belong?

Xlib. Remember that you have to install the `development' library.

 i checked also the reply by jean-marc lasgouttes
 ([EMAIL PROTECTED]/msg02797.html)
 
 so, any help would be appreciated.
 
 best wishes,

For you too.

--
Sincerely etc.,

 NAMEChristopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 ICQ UIN 45863470
 EMAIL   csawtell(at)xtra(dot)co(dot)nz
 CNOTES  ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz 



Re: Saving Screen Font Configuration

1999-11-09 Thread Lars Gullik Bjønnes

Allan Rae [EMAIL PROTECTED] writes:

|  Also, is there a way in Lyx to force indentation of all paragraphs,
|  including ones immediately below section headings?  I have short
|  paragraphs and lots of descriptions and other things and it just makes
|  everything look chaotic.
| 
| I'm not sure about this one.  There is the option in Layout-Document for
| "Skip or Indent" but I imagine you've already found this and it didn't
| satisy your needs.  IIRC there is a .sty file you can include probably
| called indent.sty or something similar which will do most of what you
| want.

Put 

\usepackage{indentfirst}

in your preamble.

Lgb



Re: lyx 1.1.2 bug?

1999-11-09 Thread Lars Gullik Bjønnes

Panagiotis Melas [EMAIL PROTECTED] writes:

| I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
| when it runs latex (e.g. view dvi or update) on a relatively large
| multiple part document (report ... thesis).
| 
| When I go to the /tmp directory the dvi file seems to be ok although I
| have to run manually latex few more times for the toc and references. It
| is strange though because running a chpter on its own toc and references
| seems to be fine. 

You have to give more information begore I can help you...

Does this happen on all multipart documents or just this one? Where
does LyX/LaTex crash?

A small example document that shows this behaviour?

Lgb



[ringbom@shh.fi] Feedback from www.lyx.org

1999-11-09 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Sun, 7 Nov 1999 20:51:11 +0100
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Feedback from www.lyx.org
FROM: [EMAIL PROTECTED]


Staffan Ringbom ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


eepic and epic.

In order to get eepic to work with lyx I made the following trick
(think I succeeded after some reading of Latex manuals)

1. I imported the tex file with the picture generated for eepic
into my lyx document.

2. Saved the file as lyx file and exported it as a latex file.
3. edited the latexfile and added 2 rows
\\usepackage{epic}
\\usepackage{eepic}
   in the sequence of all the other \"usepackages\"
4. Imported my texfile back into lyx.
SUCCESS I can view pictures with the xdvi - viewer. Just perfect.

Best regards.

In order to get nice pictures produced with gnuplot
into my lyx document I did the following.


--- End of forwarded message ---



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



xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Nikolai Kalitzin


i'm trying to install the latest version of lyx on
a SuSE linux intel computer. i got all the required
packages. but i got the same problem as bill simpson
([EMAIL PROTECTED]/msg02796.html).
i found out that the problem is that the following include files:
Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
the question is where do i get them, to which package they belong?
i checked also the reply by jean-marc lasgouttes
([EMAIL PROTECTED]/msg02797.html)

so, any help would be appreciated.

best wishes,
n.

 _
(_) __ _ ___   Nikolai Kalitzin [EMAIL PROTECTED]
| |/ _` / __|  Institut f. Akustik und Sprachkommunikation / TU Dresden
| | (_| \__ \  Tel.: +49 351 463-2509 Date: 09-Nov-99
|_|\__,_|___/  Fax.: +49 351 463-7091 Time: 10:28:47



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Bill Simpson

On Tue, 9 Nov 1999, Nikolai Kalitzin wrote:
 i'm trying to install the latest version of lyx on
 a SuSE linux intel computer. i got all the required
 packages. but i got the same problem as bill simpson
 ([EMAIL PROTECTED]/msg02796.html).
 i found out that the problem is that the following include files:
 Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
 the question is where do i get them, to which package they belong?
 i checked also the reply by jean-marc lasgouttes
 ([EMAIL PROTECTED]/msg02797.html)

My problem is different, since I do have these files.

The files should have been installed when you installed XFree86 I think.
Here is the header from one:

/* $XConsortium: Xutil.h,v 11.78 94/04/17 20:21:56 rws Exp $ */
/* $XFree86: xc/lib/X11/Xutil.h,v 3.0 1996/12/09 11:49:36 dawes Exp $ */

On my system, the files reside at
/usr/X11R6/include/X11/

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)



vertical line on multiple pages

1999-11-09 Thread HpG

Hi all

In a scriptum I need to mark the examples specially
with a vertical line on the left side of these paragraphes.

Is it possible to draw such a line from a certain text
position to a defined end position (if necessary over
multiple pages? )

Please e-mail me directly any suggestions,
as I am not subscribed to the mailing list.

Thanks for any help
Hanspeter



lyx 1.1.2 bug?

1999-11-09 Thread Panagiotis Melas

I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
when it runs latex (e.g. view dvi or update) on a relatively large
multiple part document (report ... thesis).

When I go to the /tmp directory the dvi file seems to be ok although I
have to run manually latex few more times for the toc and references. It
is strange though because running a chpter on its own toc and references
seems to be fine. 

An older lyx version (1.0.4?) on the same system does not have this
problem at all.

Panos



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Christopher Sawtell

On Tue, 09 Nov 1999, Nikolai Kalitzin wrote:
 i'm trying to install the latest version of lyx on
 a SuSE linux intel computer.

Which version of SuSE?

 i got all the required
 packages. but i got the same problem as bill simpson
 ([EMAIL PROTECTED]/msg02796.html).
 i found out that the problem is that the following include files:
 Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
 the question is where do i get them,

The X Consortium, or your local mirror. ( CD perhaps )

 to which package they belong?

Xlib. Remember that you have to install the `development' library.

 i checked also the reply by jean-marc lasgouttes
 ([EMAIL PROTECTED]/msg02797.html)
 
 so, any help would be appreciated.
 
 best wishes,

For you too.

--
Sincerely etc.,

 NAMEChristopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 ICQ UIN 45863470
 EMAIL   csawtell(at)xtra(dot)co(dot)nz
 CNOTES  ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz 



Re: Saving Screen Font Configuration

1999-11-09 Thread Lars Gullik Bjønnes

Allan Rae [EMAIL PROTECTED] writes:

|  Also, is there a way in Lyx to force indentation of all paragraphs,
|  including ones immediately below section headings?  I have short
|  paragraphs and lots of descriptions and other things and it just makes
|  everything look chaotic.
| 
| I'm not sure about this one.  There is the option in Layout-Document for
| "Skip or Indent" but I imagine you've already found this and it didn't
| satisy your needs.  IIRC there is a .sty file you can include probably
| called indent.sty or something similar which will do most of what you
| want.

Put 

\usepackage{indentfirst}

in your preamble.

Lgb



Re: lyx 1.1.2 bug?

1999-11-09 Thread Lars Gullik Bjønnes

Panagiotis Melas [EMAIL PROTECTED] writes:

| I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
| when it runs latex (e.g. view dvi or update) on a relatively large
| multiple part document (report ... thesis).
| 
| When I go to the /tmp directory the dvi file seems to be ok although I
| have to run manually latex few more times for the toc and references. It
| is strange though because running a chpter on its own toc and references
| seems to be fine. 

You have to give more information begore I can help you...

Does this happen on all multipart documents or just this one? Where
does LyX/LaTex crash?

A small example document that shows this behaviour?

Lgb



[ringbom@shh.fi] Feedback from www.lyx.org

1999-11-09 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Sun, 7 Nov 1999 20:51:11 +0100
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Feedback from www.lyx.org
FROM: [EMAIL PROTECTED]


Staffan Ringbom ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


eepic and epic.

In order to get eepic to work with lyx I made the following trick
(think I succeeded after some reading of Latex manuals)

1. I imported the tex file with the picture generated for eepic
into my lyx document.

2. Saved the file as lyx file and exported it as a latex file.
3. edited the latexfile and added 2 rows
\\usepackage{epic}
\\usepackage{eepic}
   in the sequence of all the other \"usepackages\"
4. Imported my texfile back into lyx.
SUCCESS I can view pictures with the xdvi - viewer. Just perfect.

Best regards.

In order to get nice pictures produced with gnuplot
into my lyx document I did the following.


--- End of forwarded message ---



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



xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Nikolai Kalitzin


i'm trying to install the latest version of lyx on
a SuSE linux intel computer. i got all the required
packages. but i got the same problem as bill simpson
([EMAIL PROTECTED]/msg02796.html).
i found out that the problem is that the following include files:
Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
the question is where do i get them, to which package they belong?
i checked also the reply by jean-marc lasgouttes
([EMAIL PROTECTED]/msg02797.html)

so, any help would be appreciated.

best wishes,
n.

 _
(_) __ _ ___   Nikolai Kalitzin <[EMAIL PROTECTED]>
| |/ _` / __|  Institut f. Akustik und Sprachkommunikation / TU Dresden
| | (_| \__ \  Tel.: +49 351 463-2509 Date: 09-Nov-99
|_|\__,_|___/  Fax.: +49 351 463-7091 Time: 10:28:47



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Bill Simpson

On Tue, 9 Nov 1999, Nikolai Kalitzin wrote:
> i'm trying to install the latest version of lyx on
> a SuSE linux intel computer. i got all the required
> packages. but i got the same problem as bill simpson
> ([EMAIL PROTECTED]/msg02796.html).
> i found out that the problem is that the following include files:
> Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
> the question is where do i get them, to which package they belong?
> i checked also the reply by jean-marc lasgouttes
> ([EMAIL PROTECTED]/msg02797.html)

My problem is different, since I do have these files.

The files should have been installed when you installed XFree86 I think.
Here is the header from one:

/* $XConsortium: Xutil.h,v 11.78 94/04/17 20:21:56 rws Exp $ */
/* $XFree86: xc/lib/X11/Xutil.h,v 3.0 1996/12/09 11:49:36 dawes Exp $ */

On my system, the files reside at
/usr/X11R6/include/X11/

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)



vertical line on multiple pages

1999-11-09 Thread HpG

Hi all

In a scriptum I need to mark the examples specially
with a vertical line on the left side of these paragraphes.

Is it possible to draw such a line from a certain text
position to a defined end position (if necessary over
multiple pages? )

Please e-mail me directly any suggestions,
as I am not subscribed to the mailing list.

Thanks for any help
Hanspeter



lyx 1.1.2 bug?

1999-11-09 Thread Panagiotis Melas

I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
when it runs latex (e.g. view dvi or update) on a relatively large
multiple part document (report ... thesis).

When I go to the /tmp directory the dvi file seems to be ok although I
have to run manually latex few more times for the toc and references. It
is strange though because running a chpter on its own toc and references
seems to be fine. 

An older lyx version (1.0.4?) on the same system does not have this
problem at all.

Panos



Re: xforms, Xatom.h, Xutil.h etc.

1999-11-09 Thread Christopher Sawtell

On Tue, 09 Nov 1999, Nikolai Kalitzin wrote:
> i'm trying to install the latest version of lyx on
> a SuSE linux intel computer.

Which version of SuSE?

> i got all the required
> packages. but i got the same problem as bill simpson
> ([EMAIL PROTECTED]/msg02796.html).
> i found out that the problem is that the following include files:
> Xatom.h, Xutil.h, Xlib.h called within forms.h are missing.
> the question is where do i get them,

The X Consortium, or your local mirror. ( CD perhaps )

> to which package they belong?

Xlib. Remember that you have to install the `development' library.

> i checked also the reply by jean-marc lasgouttes
> ([EMAIL PROTECTED]/msg02797.html)
> 
> so, any help would be appreciated.
> 
> best wishes,

For you too.

--
Sincerely etc.,

 NAMEChristopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 ICQ UIN 45863470
 EMAIL   csawtell(at)xtra(dot)co(dot)nz
 CNOTES  ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz 



Re: Saving Screen Font Configuration

1999-11-09 Thread Lars Gullik Bjønnes

Allan Rae <[EMAIL PROTECTED]> writes:

| > Also, is there a way in Lyx to force indentation of all paragraphs,
| > including ones immediately below section headings?  I have short
| > paragraphs and lots of descriptions and other things and it just makes
| > everything look chaotic.
| 
| I'm not sure about this one.  There is the option in Layout->Document for
| "Skip or Indent" but I imagine you've already found this and it didn't
| satisy your needs.  IIRC there is a .sty file you can include probably
| called indent.sty or something similar which will do most of what you
| want.

Put 

\usepackage{indentfirst}

in your preamble.

Lgb



Re: lyx 1.1.2 bug?

1999-11-09 Thread Lars Gullik Bjønnes

Panagiotis Melas <[EMAIL PROTECTED]> writes:

| I've installed recently 1.1.2 lyx on a 6.1 RH box but it seems to crash
| when it runs latex (e.g. view dvi or update) on a relatively large
| multiple part document (report ... thesis).
| 
| When I go to the /tmp directory the dvi file seems to be ok although I
| have to run manually latex few more times for the toc and references. It
| is strange though because running a chpter on its own toc and references
| seems to be fine. 

You have to give more information begore I can help you...

Does this happen on all multipart documents or just this one? Where
does LyX/LaTex crash?

A small example document that shows this behaviour?

Lgb



[ringbom@shh.fi] Feedback from www.lyx.org

1999-11-09 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Sun, 7 Nov 1999 20:51:11 +0100
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Feedback from www.lyx.org
FROM: [EMAIL PROTECTED]


Staffan Ringbom ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


eepic and epic.

In order to get eepic to work with lyx I made the following trick
(think I succeeded after some reading of Latex manuals)

1. I imported the tex file with the picture generated for eepic
into my lyx document.

2. Saved the file as lyx file and exported it as a latex file.
3. edited the latexfile and added 2 rows
\\usepackage{epic}
\\usepackage{eepic}
   in the sequence of all the other \"usepackages\"
4. Imported my texfile back into lyx.
SUCCESS I can view pictures with the xdvi - viewer. Just perfect.

Best regards.

In order to get nice pictures produced with gnuplot
into my lyx document I did the following.


--- End of forwarded message ---