lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Svante Signell

This is probably a lyx bug:

./autogen.sh: OK
./configure: OK
make: fails
make[3]: Entering directory `/mnt/sdc3/lyx-devel/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I../../images -I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g 
-O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall 
-Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
In file included from ../../src/Lsstream.h:17,
 from formula.C:19:
/usr/include/g++-3/sstream: In method `string stringstreambase::str () 
const':
/usr/include/g++-3/sstream:102: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `void stringstreambase::str 
(const string )':
/usr/include/g++-3/sstream:107: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned 
integer expressions
In file included from formula.C:38:
../../src/LyXView.h: At top level:
../../src/LyXView.h:37: using directive `Object' introduced ambiguous 
type `_ObjectRec *'
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1

An earlier release of formula.[C,h] gave with the same compiler (reported a few weeks 
ago):
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-isystem /usr/X11R6/include -g -O -fhonor-std -fvtable-thunks -ffunction-sections 
-fdata-sections -W -Wall -Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C 
-o formula.o
In file included from ../../src/lyxfont.h:21,
 from ../../src/insets/lyxinset.h:23,
 from formula.h:26,
 from formula.C:29:
../../src/LString.h:20:2: #error The string header has been included before LString.h
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make: *** [all-recursive] Error 1



RE: lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Juergen Vigna


On 11-Oct-2000 Svante Signell wrote:
 This is probably a lyx bug:
 
 ./autogen.sh: OK
 ./configure: OK

Just for all the people stuck out there with RedHat 7.0 I've installed
it yesterday on one of our spare PC's (as I like to test the stuff before
using it in production and my option is waiting for a hopefully better 7.1!)

What do you have to do to compile it with gcc 2.96:

./configure --without-included-string (as there is some problem with sstream
   otherwise!)

Then just apply the following patch for debug.h:

--- src/debug.h.orig Mon Oct  9 17:02:54 2000
+++ src/debug.h  Wed Oct 11 10:18:20 2000
@@ -65,14 +65,18 @@
///
DEPEND = (1  16),
///
-   INSETS = (1  17)
+   INSETS = (1  17),
+   ///
+   ANY= 0xff
};
+#if 0
///
static const type ANY = type(INFO | INIT | KEY | GUI |
 PARSER | LYXRC | KBMAP | LATEX |
 MATHED | FONT | TCLASS | LYXVC |
 LYXSERVER | ROFF | ACTION | LYXLEX |
 DEPEND | INSETS);
+#endif
///
friend inline void operator|=(Debug::type  d1, Debug::type d2);
 
After this I had no problem compiling the actual 1.1.6cvs version!

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

divorce, n:
A change of wife.




Tuning Description

2000-10-11 Thread Chris Schulbert



Hi!

I'm doing my bibliography manually, no use of 
bibtex, cause I already had the list in ascii-form.
So I include the file to my lyx-doc and change the 
env. to description, which is what I prefer for layout. BUT: Description sets 
all items bold. Is there a way to having these items in capitals? I think there 
has to be a tex-code for that, but I don't know the syntax.

Any comments?


Regards,
Chris



+Chris 
Schulbert 
Institut fuer Palaeontologie - FAU 
Erlangen-Nuernberg Loewenichstr. 
28 - 91054 Erlangen - 
Germany 
http://www.geol.uni-erlangen.de/stud/cschulbe 
-Otto-Goetze-Str. 
11/4.08 - 91054 
Erlangen/Germany 
Phone ++49 (0) 9131 
208957 
mailto:[EMAIL PROTECTED] 
+


Re: Tuning Description

2000-10-11 Thread Herbert Voss

 Chris Schulbert wrote:

 I'm doing my bibliography manually, no use of bibtex, cause I already
 had the list in ascii-form.
 So I include the file to my lyx-doc and change the env. to
 description, which is what I prefer for layout. BUT: Description sets
 all items bold. Is there a way to having these items in capitals? I
 think there has to be a tex-code for that, but I don't know the
 syntax.

in latex preamble
\renewcommand*\descriptionlabel[1]{\hspace\labelsep%
  \normalfont\sc #1}

for small capitals

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Svante Signell

This is probably a lyx bug:

./autogen.sh: OK
./configure: OK
make: fails
make[3]: Entering directory `/mnt/sdc3/lyx-devel/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I../../images -I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g 
-O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall 
-Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
In file included from ../../src/Lsstream.h:17,
 from formula.C:19:
/usr/include/g++-3/sstream: In method `string stringstreambase::str () 
const':
/usr/include/g++-3/sstream:102: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `void stringstreambase::str 
(const string )':
/usr/include/g++-3/sstream:107: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned 
integer expressions
In file included from formula.C:38:
../../src/LyXView.h: At top level:
../../src/LyXView.h:37: using directive `Object' introduced ambiguous 
type `_ObjectRec *'
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1

An earlier release of formula.[C,h] gave with the same compiler (reported a few weeks 
ago):
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-isystem /usr/X11R6/include -g -O -fhonor-std -fvtable-thunks -ffunction-sections 
-fdata-sections -W -Wall -Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C 
-o formula.o
In file included from ../../src/lyxfont.h:21,
 from ../../src/insets/lyxinset.h:23,
 from formula.h:26,
 from formula.C:29:
../../src/LString.h:20:2: #error The string header has been included before LString.h
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make: *** [all-recursive] Error 1



RE: lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Juergen Vigna


On 11-Oct-2000 Svante Signell wrote:
 This is probably a lyx bug:
 
 ./autogen.sh: OK
 ./configure: OK

Just for all the people stuck out there with RedHat 7.0 I've installed
it yesterday on one of our spare PC's (as I like to test the stuff before
using it in production and my option is waiting for a hopefully better 7.1!)

What do you have to do to compile it with gcc 2.96:

./configure --without-included-string (as there is some problem with sstream
   otherwise!)

Then just apply the following patch for debug.h:

--- src/debug.h.orig Mon Oct  9 17:02:54 2000
+++ src/debug.h  Wed Oct 11 10:18:20 2000
@@ -65,14 +65,18 @@
///
DEPEND = (1  16),
///
-   INSETS = (1  17)
+   INSETS = (1  17),
+   ///
+   ANY= 0xff
};
+#if 0
///
static const type ANY = type(INFO | INIT | KEY | GUI |
 PARSER | LYXRC | KBMAP | LATEX |
 MATHED | FONT | TCLASS | LYXVC |
 LYXSERVER | ROFF | ACTION | LYXLEX |
 DEPEND | INSETS);
+#endif
///
friend inline void operator|=(Debug::type  d1, Debug::type d2);
 
After this I had no problem compiling the actual 1.1.6cvs version!

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

divorce, n:
A change of wife.




Tuning Description

2000-10-11 Thread Chris Schulbert



Hi!

I'm doing my bibliography manually, no use of 
bibtex, cause I already had the list in ascii-form.
So I include the file to my lyx-doc and change the 
env. to description, which is what I prefer for layout. BUT: Description sets 
all items bold. Is there a way to having these items in capitals? I think there 
has to be a tex-code for that, but I don't know the syntax.

Any comments?


Regards,
Chris



+Chris 
Schulbert 
Institut fuer Palaeontologie - FAU 
Erlangen-Nuernberg Loewenichstr. 
28 - 91054 Erlangen - 
Germany 
http://www.geol.uni-erlangen.de/stud/cschulbe 
-Otto-Goetze-Str. 
11/4.08 - 91054 
Erlangen/Germany 
Phone ++49 (0) 9131 
208957 
mailto:[EMAIL PROTECTED] 
+


Re: Tuning Description

2000-10-11 Thread Herbert Voss

 Chris Schulbert wrote:

 I'm doing my bibliography manually, no use of bibtex, cause I already
 had the list in ascii-form.
 So I include the file to my lyx-doc and change the env. to
 description, which is what I prefer for layout. BUT: Description sets
 all items bold. Is there a way to having these items in capitals? I
 think there has to be a tex-code for that, but I don't know the
 syntax.

in latex preamble
\renewcommand*\descriptionlabel[1]{\hspace\labelsep%
  \normalfont\sc #1}

for small capitals

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Info about RH7.0 and gcc

2000-10-11 Thread Paul E Johnson

Mate Wierdl wrote:
 
 I do not see why people cannot use the rpm compiled on a 6.2 system.
 Better than switching to texmac or whatever.
 
 Mate
There is a libstdc++ dependency which is unsatisfied, at least on the
machine where I tried it.  

When I reported the problem compiling to RedHat, I did not realize it
had been reported and verified before.  You can read about it here:

http://www.redhat.com/bugzilla/show_bug.cgi?id=18166

I think the answer boils down to some issues with both lyx and gcc.

I have to hasten to add that it is not feasible to remove the gcc rpms
and install gcc-2.95.2, because (at least the RPMS I built on a RH62
system, which work fine there) are not fully compatible with the C
library in RH7.  And I have found that gcc-2.95.2 does not build with
the gcc that RH7 includes.

Yesterday I downloaded the CVS version of gcc and compiled it with the
RH7 compiler. It worked. And lyx-1.1.5fix1 built to. 
-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: Any RedHat 7 users out there?

2000-10-11 Thread Lars Gullik Bjønnes

[EMAIL PROTECTED] writes:

|  "Paul" == Paul E Johnson [EMAIL PROTECTED] writes:
| 
| Paul As noted in this list last week, RH7 is distributed with a bogus
| Paul compiler, gcc-2.96. Lyx does not compile, there are all kinds of errors
| Paul pointing back to the standard template library of c++. I've filed a bug
| Paul report at RedHat, and expect they may fix it.
| 
| Paul If you are stuck with RH7, what do you do?
| 
| Paul 1. Wait for RedHat to issue new gcc?
| Paul 2. Remove gcc-2.96 and retrofit gcc-2.95.2?
| Paul 3. Get somebody to build a statically linked lyx?
| 
| Paul I'm leaning to option number 2, but don't know if it will harm my system
| Paul in any way.  If others have overcome the problem, I'd like to know. I've
| Paul searched pretty far and wide in the usenet for solutions.
| 
| How about something really useful?  Trace the compilation errors and
| supply patches.
| 
| Chances are, the problem is not that there is something "wrong" with
| gcc-2.96 - but more likely it is due to the greater standards
| conformance.  In other words, you're most likely seeing bugs in lyx -
| and patches would certainly be welcomed.

No :-)

The pre-rh7 2.96 only existed in gcc CVS and LyX 1.1.5 is setup to use
that with the new emerging standard C++ lib: libstdc++-v3, this sould
be changed in 1.1.5fix2 so that 2.96 reflects the rh version a 2.97
could be added to adhere to the gcc cvs version.

Jean-Marc, basically what has to be done is to make the 2.96 cases in
1.1.5 be similar to the 2.96 cases in 1.1.6.

Lgb





Re: Compiling Lyx statically against xforms

2000-10-11 Thread Lars Gullik Bjønnes

Steven Murdoch [EMAIL PROTECTED] writes:

| I am on a shared Redhat 6.2 machine and I do not have root privilages to
| it (nor am I likely to get them)
| 
| I tried installing xforms and lyx from RPM setting the prefix to my home
| folder and all seemed to go well until I tried to run it could not find
| the xforms shared library, this was not surprising as I am not allowed to
| add new shared libraries.

Sure you are :-) You just ave to compile to location of the shared lib
into LyX.

Something like -Wl,rpath dirofdynlib have to be added to the ling
line. (man gcc, man ld)

You can probalby also use LD_LIBRARY_PATH (man ld.so)

Lgb



Configuring Lyx

2000-10-11 Thread Tom Beale



I am trying to configure Lyx 1.1.5 on Redhat 
6.2. It brings up the error message that it cannot find the Xpm or 
Xforms Libraries. I therefore installed the respective RPM's using 
KPackage but this didn't make any difference. I have checked that 
these are the versions of Xpm and Xforms needed.

Any suggestions?

Thanks

Tom.


Re: Configuring Lyx

2000-10-11 Thread Tom Beale

I have managed to make it happy over xforms and libxpm, however it is still
complaining about finding forms.h - I thought this was a file within xforms?
I did try installing xforms 0.89 instead of 0.88, but that didn't seem to
help.

Thanks very much

Tom.
- Original Message -
From: Paul E Johnson [EMAIL PROTECTED]
To: Tom Beale [EMAIL PROTECTED]
Sent: Wednesday, October 11, 2000 7:37 PM
Subject: Re: Configuring Lyx


  Tom Beale wrote:
 
  I am trying to configure Lyx 1.1.5 on Redhat 6.2.   It brings up the
  error message that it cannot find the Xpm or Xforms Libraries.   I
  therefore installed the respective RPM's using KPackage but this
  didn't make any difference.   I have checked that these are the
  versions of Xpm and Xforms needed.
 
  Any suggestions?
 
  Thanks
 
  Tom.
 you need xforms-devel and xpm-devel.
 pj
 --
 Paul E. Johnson   email: [EMAIL PROTECTED]
 Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
 University of Kansas  Office: (785) 864-9086
 Lawrence, Kansas 66045FAX: (785) 864-5700





lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Svante Signell

This is probably a lyx bug:

./autogen.sh: OK
./configure: OK
make: fails
make[3]: Entering directory `/mnt/sdc3/lyx-devel/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I../../images -I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g 
-O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-I../../boost -isystem /usr/X11R6/include -g -O -fno-rtti -fno-exceptions -W -Wall 
-Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C -o formula.o
In file included from ../../src/Lsstream.h:17,
 from formula.C:19:
/usr/include/g++-3/sstream: In method `string stringstreambase::str () 
const':
/usr/include/g++-3/sstream:102: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `void stringstreambase::str 
(const string &)':
/usr/include/g++-3/sstream:107: taking dynamic typeid of object with 
-fno-rtti
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned 
integer expressions
In file included from formula.C:38:
../../src/LyXView.h: At top level:
../../src/LyXView.h:37: using directive `Object' introduced ambiguous 
type `_ObjectRec *'
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1

An earlier release of formula.[C,h] gave with the same compiler (reported a few weeks 
ago):
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. 
-isystem /usr/X11R6/include -g -O -fhonor-std -fvtable-thunks -ffunction-sections 
-fdata-sections -W -Wall -Wconversion -Winline -Wp,-MD,.deps/formula.pp -c formula.C 
-o formula.o
In file included from ../../src/lyxfont.h:21,
 from ../../src/insets/lyxinset.h:23,
 from formula.h:26,
 from formula.C:29:
../../src/LString.h:20:2: #error The  header has been included before LString.h
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/mnt/sdc3/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/sdc3/lyx-devel/src'
make: *** [all-recursive] Error 1



RE: lyx-1.1.6cvs fails w. gcc-2.96

2000-10-11 Thread Juergen Vigna


On 11-Oct-2000 Svante Signell wrote:
> This is probably a lyx bug:
> 
> ./autogen.sh: OK
> ./configure: OK

Just for all the people stuck out there with RedHat 7.0 I've installed
it yesterday on one of our spare PC's (as I like to test the stuff before
using it in production and my option is waiting for a hopefully better 7.1!)

What do you have to do to compile it with gcc 2.96:

./configure --without-included-string (as there is some problem with sstream
   otherwise!)

Then just apply the following patch for debug.h:

--- src/debug.h.orig Mon Oct  9 17:02:54 2000
+++ src/debug.h  Wed Oct 11 10:18:20 2000
@@ -65,14 +65,18 @@
///
DEPEND = (1 << 16),
///
-   INSETS = (1 << 17)
+   INSETS = (1 << 17),
+   ///
+   ANY= 0xff
};
+#if 0
///
static const type ANY = type(INFO | INIT | KEY | GUI |
 PARSER | LYXRC | KBMAP | LATEX |
 MATHED | FONT | TCLASS | LYXVC |
 LYXSERVER | ROFF | ACTION | LYXLEX |
 DEPEND | INSETS);
+#endif
///
friend inline void operator|=(Debug::type & d1, Debug::type d2);
 
After this I had no problem compiling the actual 1.1.6cvs version!

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

divorce, n:
A change of wife.




Tuning Description

2000-10-11 Thread Chris Schulbert



Hi!
 
I'm doing my bibliography manually, no use of 
bibtex, cause I already had the list in ascii-form.
So I include the file to my lyx-doc and change the 
env. to description, which is what I prefer for layout. BUT: Description sets 
all items bold. Is there a way to having these items in capitals? I think there 
has to be a tex-code for that, but I don't know the syntax.
 
Any comments?
 
 
Regards,
Chris
 
 
 
+Chris 
Schulbert   
Institut fuer Palaeontologie - FAU 
Erlangen-Nuernberg    Loewenichstr. 
28 - 91054 Erlangen - 
Germany  
http://www.geol.uni-erlangen.de/stud/cschulbe 
-Otto-Goetze-Str. 
11/4.08 - 91054 
Erlangen/Germany   
Phone ++49 (0) 9131 
208957  
mailto:[EMAIL PROTECTED]    
+


Re: Tuning Description

2000-10-11 Thread Herbert Voss

> Chris Schulbert wrote:

> I'm doing my bibliography manually, no use of bibtex, cause I already
> had the list in ascii-form.
> So I include the file to my lyx-doc and change the env. to
> description, which is what I prefer for layout. BUT: Description sets
> all items bold. Is there a way to having these items in capitals? I
> think there has to be a tex-code for that, but I don't know the
> syntax.

in latex preamble
\renewcommand*\descriptionlabel[1]{\hspace\labelsep%
  \normalfont\sc #1}

for small capitals

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Info about RH7.0 and gcc

2000-10-11 Thread Paul E Johnson

Mate Wierdl wrote:
> 
> I do not see why people cannot use the rpm compiled on a 6.2 system.
> Better than switching to texmac or whatever.
> 
> Mate
There is a libstdc++ dependency which is unsatisfied, at least on the
machine where I tried it.  

When I reported the problem compiling to RedHat, I did not realize it
had been reported and verified before.  You can read about it here:

http://www.redhat.com/bugzilla/show_bug.cgi?id=18166

I think the answer boils down to some issues with both lyx and gcc.

I have to hasten to add that it is not feasible to remove the gcc rpms
and install gcc-2.95.2, because (at least the RPMS I built on a RH62
system, which work fine there) are not fully compatible with the C
library in RH7.  And I have found that gcc-2.95.2 does not build with
the gcc that RH7 includes.

Yesterday I downloaded the CVS version of gcc and compiled it with the
RH7 compiler. It worked. And lyx-1.1.5fix1 built to. 
-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: Any RedHat 7 users out there?

2000-10-11 Thread Lars Gullik Bjønnes

[EMAIL PROTECTED] writes:

| > "Paul" == Paul E Johnson <[EMAIL PROTECTED]> writes:
| 
| Paul> As noted in this list last week, RH7 is distributed with a bogus
| Paul> compiler, gcc-2.96. Lyx does not compile, there are all kinds of errors
| Paul> pointing back to the standard template library of c++. I've filed a bug
| Paul> report at RedHat, and expect they may fix it.
| 
| Paul> If you are stuck with RH7, what do you do?
| 
| Paul> 1. Wait for RedHat to issue new gcc?
| Paul> 2. Remove gcc-2.96 and retrofit gcc-2.95.2?
| Paul> 3. Get somebody to build a statically linked lyx?
| 
| Paul> I'm leaning to option number 2, but don't know if it will harm my system
| Paul> in any way.  If others have overcome the problem, I'd like to know. I've
| Paul> searched pretty far and wide in the usenet for solutions.
| 
| How about something really useful?  Trace the compilation errors and
| supply patches.
| 
| Chances are, the problem is not that there is something "wrong" with
| gcc-2.96 - but more likely it is due to the greater standards
| conformance.  In other words, you're most likely seeing bugs in lyx -
| and patches would certainly be welcomed.

No :-)

The pre-rh7 2.96 only existed in gcc CVS and LyX 1.1.5 is setup to use
that with the new emerging standard C++ lib: libstdc++-v3, this sould
be changed in 1.1.5fix2 so that 2.96 reflects the rh version a 2.97
could be added to adhere to the gcc cvs version.

Jean-Marc, basically what has to be done is to make the 2.96 cases in
1.1.5 be similar to the 2.96 cases in 1.1.6.

Lgb





Re: Compiling Lyx statically against xforms

2000-10-11 Thread Lars Gullik Bjønnes

Steven Murdoch <[EMAIL PROTECTED]> writes:

| I am on a shared Redhat 6.2 machine and I do not have root privilages to
| it (nor am I likely to get them)
| 
| I tried installing xforms and lyx from RPM setting the prefix to my home
| folder and all seemed to go well until I tried to run it could not find
| the xforms shared library, this was not surprising as I am not allowed to
| add new shared libraries.

Sure you are :-) You just ave to compile to location of the shared lib
into LyX.

Something like -Wl,rpath  have to be added to the ling
line. (man gcc, man ld)

You can probalby also use LD_LIBRARY_PATH (man ld.so)

Lgb



Configuring Lyx

2000-10-11 Thread Tom Beale



I am trying to configure Lyx 1.1.5 on Redhat 
6.2.   It brings up the error message that it cannot find the Xpm or 
Xforms Libraries.   I therefore installed the respective RPM's using 
KPackage but this didn't make any difference.   I have checked that 
these are the versions of Xpm and Xforms needed.
 
Any suggestions?
 
Thanks
 
Tom.


Re: Configuring Lyx

2000-10-11 Thread Tom Beale

I have managed to make it happy over xforms and libxpm, however it is still
complaining about finding forms.h - I thought this was a file within xforms?
I did try installing xforms 0.89 instead of 0.88, but that didn't seem to
help.

Thanks very much

Tom.
- Original Message -
From: Paul E Johnson <[EMAIL PROTECTED]>
To: Tom Beale <[EMAIL PROTECTED]>
Sent: Wednesday, October 11, 2000 7:37 PM
Subject: Re: Configuring Lyx


> > Tom Beale wrote:
> >
> > I am trying to configure Lyx 1.1.5 on Redhat 6.2.   It brings up the
> > error message that it cannot find the Xpm or Xforms Libraries.   I
> > therefore installed the respective RPM's using KPackage but this
> > didn't make any difference.   I have checked that these are the
> > versions of Xpm and Xforms needed.
> >
> > Any suggestions?
> >
> > Thanks
> >
> > Tom.
> you need xforms-devel and xpm-devel.
> pj
> --
> Paul E. Johnson   email: [EMAIL PROTECTED]
> Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
> University of Kansas  Office: (785) 864-9086
> Lawrence, Kansas 66045FAX: (785) 864-5700
>