Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Angus Leeming
Maarten D. de Jong wrote:

lyx 1.3.4 will not compile with g++ 3.4 which was released some time
after lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile
with g++ 3.4, so lyx 1.3.5 will be ok in this regard.
 
 Aahhh... Thanks for that information, I was afraid I had installed
 the compiler wrong or something equally gruesome. Although I cannot
 help but wonder what exactly causes such incompatibility
 problems---you'd think C++ is C++. To a large extent, anyway.

The standard was released in 1998, but I don't think that *any* C++ 
compilers are 100% conformant. The major players (includes gcc) are 
all striving to achieve conformance however, so each new release 
tends to reject code that used to compile under the older, less 
compliant version.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.
 
 *Bright red face*. Yes, it did indeed compile. Provided, of course,
 that the versions of C++-preprocessor and C++-compiler match and are
 equal to 2.95.3. And not, as it was with me, different. You're
 asking for trouble in such a situation...
 
 Thanks for the input, it was much appreciated.

Not at all. I have two questions of my own:

* what platform are you compiling on?
* what is the native compiler for this platform? Eg, on Fedora 1 the 
native compiler is g++ 3.3.2. I ask because if you use something 
other than the native c++ compiler then you'll have trouble linking 
against libraries of c++ code. In your case, linking to the XForms 
library you have nothing to worry about because XForms is written in 
C. If, however, you had tried to compile the Qt version of lyx then 
you would have experienced probelms at link time if the library and 
lyx were compiled with different compilers. Name mangling differs 
from one compiler to the next.

Just things to be aware of.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Maarten D. de Jong

* what platform are you compiling on?
It used to be a Linux Slackware 8.1-setup, but in the past few years I've 
bolted and added so much extras to the system I have lost track of what 
exactly is going on in its murky depths. I really need to upgrade, but that 
is something for when I complete my thesis. I do know at the core it is 
Linux 2.4.18, with XFree86 4.2.0.

* what is the native compiler for this platform? Eg, on Fedora 1 the
native compiler is g++ 3.3.2. I ask because if you use something
other than the native c++ compiler then you'll have trouble linking
against libraries of c++ code. In your case, linking to the XForms
library you have nothing to worry about because XForms is written in
C. If, however, you had tried to compile the Qt version of lyx then
you would have experienced probelms at link time if the library and
lyx were compiled with different compilers. Name mangling differs
from one compiler to the next.
Yes, I already spotted a post from your hand in the mailing list archives 
which illustrated this problem. My native compiler is 2.95.3, and most 
libraries are based on that compiler. Now I mostly use C (and no KDE or 
Gnome---those were too much hassle to setup at the time I installed the 
original distribution), and were it not for a program which I really need 
to use demanding that I upgrade to gcc 3.x, I would still be using 2.95.3. 
It is fairly easy to switch compilers though, and this episode convinced me 
to keep the older compiler on the system for a good while longer.

Kind regards,
Maarten 



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Angus Leeming
Maarten D. de Jong wrote:

lyx 1.3.4 will not compile with g++ 3.4 which was released some time
after lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile
with g++ 3.4, so lyx 1.3.5 will be ok in this regard.
 
 Aahhh... Thanks for that information, I was afraid I had installed
 the compiler wrong or something equally gruesome. Although I cannot
 help but wonder what exactly causes such incompatibility
 problems---you'd think C++ is C++. To a large extent, anyway.

The standard was released in 1998, but I don't think that *any* C++ 
compilers are 100% conformant. The major players (includes gcc) are 
all striving to achieve conformance however, so each new release 
tends to reject code that used to compile under the older, less 
compliant version.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.
 
 *Bright red face*. Yes, it did indeed compile. Provided, of course,
 that the versions of C++-preprocessor and C++-compiler match and are
 equal to 2.95.3. And not, as it was with me, different. You're
 asking for trouble in such a situation...
 
 Thanks for the input, it was much appreciated.

Not at all. I have two questions of my own:

* what platform are you compiling on?
* what is the native compiler for this platform? Eg, on Fedora 1 the 
native compiler is g++ 3.3.2. I ask because if you use something 
other than the native c++ compiler then you'll have trouble linking 
against libraries of c++ code. In your case, linking to the XForms 
library you have nothing to worry about because XForms is written in 
C. If, however, you had tried to compile the Qt version of lyx then 
you would have experienced probelms at link time if the library and 
lyx were compiled with different compilers. Name mangling differs 
from one compiler to the next.

Just things to be aware of.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Maarten D. de Jong

* what platform are you compiling on?
It used to be a Linux Slackware 8.1-setup, but in the past few years I've 
bolted and added so much extras to the system I have lost track of what 
exactly is going on in its murky depths. I really need to upgrade, but that 
is something for when I complete my thesis. I do know at the core it is 
Linux 2.4.18, with XFree86 4.2.0.

* what is the native compiler for this platform? Eg, on Fedora 1 the
native compiler is g++ 3.3.2. I ask because if you use something
other than the native c++ compiler then you'll have trouble linking
against libraries of c++ code. In your case, linking to the XForms
library you have nothing to worry about because XForms is written in
C. If, however, you had tried to compile the Qt version of lyx then
you would have experienced probelms at link time if the library and
lyx were compiled with different compilers. Name mangling differs
from one compiler to the next.
Yes, I already spotted a post from your hand in the mailing list archives 
which illustrated this problem. My native compiler is 2.95.3, and most 
libraries are based on that compiler. Now I mostly use C (and no KDE or 
Gnome---those were too much hassle to setup at the time I installed the 
original distribution), and were it not for a program which I really need 
to use demanding that I upgrade to gcc 3.x, I would still be using 2.95.3. 
It is fairly easy to switch compilers though, and this episode convinced me 
to keep the older compiler on the system for a good while longer.

Kind regards,
Maarten 



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Angus Leeming
Maarten D. de Jong wrote:

>>lyx 1.3.4 will not compile with g++ 3.4 which was released some time
>>after lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile
>>with g++ 3.4, so lyx 1.3.5 will be ok in this regard.
> 
> Aahhh... Thanks for that information, I was afraid I had installed
> the compiler wrong or something equally gruesome. Although I cannot
> help but wonder what exactly causes such incompatibility
> problems---you'd think C++ is C++. To a large extent, anyway.

The standard was released in 1998, but I don't think that *any* C++ 
compilers are 100% conformant. The major players (includes gcc) are 
all striving to achieve conformance however, so each new release 
tends to reject code that used to compile under the older, less 
compliant version.

>>lyx 1.3.4 does compile with g++ 2.95, so there is hope.
> 
> *Bright red face*. Yes, it did indeed compile. Provided, of course,
> that the versions of C++-preprocessor and C++-compiler match and are
> equal to 2.95.3. And not, as it was with me, different. You're
> asking for trouble in such a situation...
> 
> Thanks for the input, it was much appreciated.

Not at all. I have two questions of my own:

* what platform are you compiling on?
* what is the native compiler for this platform? Eg, on Fedora 1 the 
native compiler is g++ 3.3.2. I ask because if you use something 
other than the native c++ compiler then you'll have trouble linking 
against libraries of c++ code. In your case, linking to the XForms 
library you have nothing to worry about because XForms is written in 
C. If, however, you had tried to compile the Qt version of lyx then 
you would have experienced probelms at link time if the library and 
lyx were compiled with different compilers. Name mangling differs 
from one compiler to the next.

Just things to be aware of.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-28 Thread Maarten D. de Jong

* what platform are you compiling on?
It used to be a Linux Slackware 8.1-setup, but in the past few years I've 
bolted and added so much extras to the system I have lost track of what 
exactly is going on in its murky depths. I really need to upgrade, but that 
is something for when I complete my thesis. I do know at the core it is 
Linux 2.4.18, with XFree86 4.2.0.

* what is the native compiler for this platform? Eg, on Fedora 1 the
native compiler is g++ 3.3.2. I ask because if you use something
other than the native c++ compiler then you'll have trouble linking
against libraries of c++ code. In your case, linking to the XForms
library you have nothing to worry about because XForms is written in
C. If, however, you had tried to compile the Qt version of lyx then
you would have experienced probelms at link time if the library and
lyx were compiled with different compilers. Name mangling differs
from one compiler to the next.
Yes, I already spotted a post from your hand in the mailing list archives 
which illustrated this problem. My native compiler is 2.95.3, and most 
libraries are based on that compiler. Now I mostly use C (and no KDE or 
Gnome---those were too much hassle to setup at the time I installed the 
original distribution), and were it not for a program which I really need 
to use demanding that I upgrade to gcc 3.x, I would still be using 2.95.3. 
It is fairly easy to switch compilers though, and this episode convinced me 
to keep the older compiler on the system for a good while longer.

Kind regards,
Maarten 



Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong
Hi there.
I am having serious trouble getting LyX 1.3.4 to compile on my system, 
which has both a functional gcc 2.95.3 and 3.4.0 installed. I am compiling 
without the Qt-interface, but with xforms 1.0.0. The errors I get from the 
compilers (especially those with 3.4.0) are too massive to reproduce in a 
few lines; I will post them to the list later when I figure out how to 
capture the output from 'make'. But first I would like to ask whether other 
people have experienced trouble with the above combinations, and may 
provide simple tips to get things going.

I realise there is a beautiful LyX-bugzilla list, but they are very quiet 
on the subject, leading me to believe I am quite unique with the problem.

Kind regards,
Maarten


Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Angus Leeming
Maarten D. de Jong wrote:
 Hi there.
 
 I am having serious trouble getting LyX 1.3.4 to compile on my system,
 which has both a functional gcc 2.95.3 and 3.4.0 installed. I am
 compiling without the Qt-interface, but with xforms 1.0.0. The errors I
 get from the compilers (especially those with 3.4.0) are too massive to
 reproduce in a few lines; I will post them to the list later when I
 figure out how to capture the output from 'make'.

$ make 21  make.log

This assumes that you are using a bourne-like shell. Eg sh, bash, or ksh.
If you're using csh, I believe that the syntax is:

$ make  make.log

 But first I would like to ask whether other people have 
 experienced trouble with the above
 combinations, and may provide simple tips to get things going.

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think C++ 
is C++. To a large extent, anyway.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.
*Bright red face*. Yes, it did indeed compile. Provided, of course, that 
the versions of C++-preprocessor and C++-compiler match and are equal to 
2.95.3. And not, as it was with me, different. You're asking for trouble in 
such a situation...

Thanks for the input, it was much appreciated.
Kind regards,
Maarten 



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Henrik Edlund
On Mon, 28 Jun 2004, Maarten D. de Jong wrote:
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think 
C++ is C++. To a large extent, anyway.
Google on abi gcc 3 as an example on how nice C++ with g++ (gcc) can 
be.



Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong
Hi there.
I am having serious trouble getting LyX 1.3.4 to compile on my system, 
which has both a functional gcc 2.95.3 and 3.4.0 installed. I am compiling 
without the Qt-interface, but with xforms 1.0.0. The errors I get from the 
compilers (especially those with 3.4.0) are too massive to reproduce in a 
few lines; I will post them to the list later when I figure out how to 
capture the output from 'make'. But first I would like to ask whether other 
people have experienced trouble with the above combinations, and may 
provide simple tips to get things going.

I realise there is a beautiful LyX-bugzilla list, but they are very quiet 
on the subject, leading me to believe I am quite unique with the problem.

Kind regards,
Maarten


Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Angus Leeming
Maarten D. de Jong wrote:
 Hi there.
 
 I am having serious trouble getting LyX 1.3.4 to compile on my system,
 which has both a functional gcc 2.95.3 and 3.4.0 installed. I am
 compiling without the Qt-interface, but with xforms 1.0.0. The errors I
 get from the compilers (especially those with 3.4.0) are too massive to
 reproduce in a few lines; I will post them to the list later when I
 figure out how to capture the output from 'make'.

$ make 21  make.log

This assumes that you are using a bourne-like shell. Eg sh, bash, or ksh.
If you're using csh, I believe that the syntax is:

$ make  make.log

 But first I would like to ask whether other people have 
 experienced trouble with the above
 combinations, and may provide simple tips to get things going.

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think C++ 
is C++. To a large extent, anyway.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.
*Bright red face*. Yes, it did indeed compile. Provided, of course, that 
the versions of C++-preprocessor and C++-compiler match and are equal to 
2.95.3. And not, as it was with me, different. You're asking for trouble in 
such a situation...

Thanks for the input, it was much appreciated.
Kind regards,
Maarten 



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Henrik Edlund
On Mon, 28 Jun 2004, Maarten D. de Jong wrote:
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think 
C++ is C++. To a large extent, anyway.
Google on abi gcc 3 as an example on how nice C++ with g++ (gcc) can 
be.



Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong
Hi there.
I am having serious trouble getting LyX 1.3.4 to compile on my system, 
which has both a functional gcc 2.95.3 and 3.4.0 installed. I am compiling 
without the Qt-interface, but with xforms 1.0.0. The errors I get from the 
compilers (especially those with 3.4.0) are too massive to reproduce in a 
few lines; I will post them to the list later when I figure out how to 
capture the output from 'make'. But first I would like to ask whether other 
people have experienced trouble with the above combinations, and may 
provide simple tips to get things going.

I realise there is a beautiful LyX-bugzilla list, but they are very quiet 
on the subject, leading me to believe I am quite unique with the problem.

Kind regards,
Maarten


Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Angus Leeming
Maarten D. de Jong wrote:
> Hi there.
> 
> I am having serious trouble getting LyX 1.3.4 to compile on my system,
> which has both a functional gcc 2.95.3 and 3.4.0 installed. I am
> compiling without the Qt-interface, but with xforms 1.0.0. The errors I
> get from the compilers (especially those with 3.4.0) are too massive to
> reproduce in a few lines; I will post them to the list later when I
> figure out how to capture the output from 'make'.

$ make 2>&1 > make.log

This assumes that you are using a bourne-like shell. Eg sh, bash, or ksh.
If you're using csh, I believe that the syntax is:

$ make >& make.log

> But first I would like to ask whether other people have 
> experienced trouble with the above
> combinations, and may provide simple tips to get things going.

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.

-- 
Angus



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Maarten D. de Jong

lyx 1.3.4 will not compile with g++ 3.4 which was released some time after
lyx 1.3.4. The lyx 1.3 branch in the cvs tree does compile with g++ 3.4,
so lyx 1.3.5 will be ok in this regard.
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think C++ 
is C++. To a large extent, anyway.

lyx 1.3.4 does compile with g++ 2.95, so there is hope.
*Bright red face*. Yes, it did indeed compile. Provided, of course, that 
the versions of C++-preprocessor and C++-compiler match and are equal to 
2.95.3. And not, as it was with me, different. You're asking for trouble in 
such a situation...

Thanks for the input, it was much appreciated.
Kind regards,
Maarten 



Re: Massive compiling problems with LyX 1.3.4/various gcc versions

2004-06-27 Thread Henrik Edlund
On Mon, 28 Jun 2004, Maarten D. de Jong wrote:
Aahhh... Thanks for that information, I was afraid I had installed the 
compiler wrong or something equally gruesome. Although I cannot help but 
wonder what exactly causes such incompatibility problems---you'd think 
C++ is C++. To a large extent, anyway.
Google on "abi gcc 3" as an example on how "nice" C++ with g++ (gcc) can 
be.