Re: Problem compiling cvs

2002-04-25 Thread Jean-Marc Lasgouttes

 cghan == cghan  [EMAIL PROTECTED] writes:

cghan What is the version of your autoconf? If it is 2.5..., then
cghan you have to downgrade to 2.13 or similar.

I think I fixed the problems with autoconf 2.5x. At least I can
compile with it now.

JMarc



Re: Problem compiling cvs

2002-04-25 Thread Jean-Marc Lasgouttes

> "cghan" == cghan  <[EMAIL PROTECTED]> writes:

cghan> What is the version of your "autoconf"? If it is 2.5..., then
cghan> you have to downgrade to 2.13 or similar.

I think I fixed the problems with autoconf 2.5x. At least I can
compile with it now.

JMarc



Re: Problem compiling cvs

2002-04-23 Thread cghan



On Tue, 23 Apr 2002, Pascal Francq wrote:

 Hi,
 When I compile current CVS version, I hvae the following error:
 
 Making all in mathed
 make[3]: Entering directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
 /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ 
-I../.. -I../../boost  -isystem /usr/X11R6/include  -g -O -fno-exceptions -W -Wall -c 
formulabase.C
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost -isystem 
/usr/X11R6/include -g -O -fno-exceptions -W -Wall -Wp,-MD,.deps/formulabase.pp -c 
formulabase.C
 formulabase.C:804:2: warning: #warning pretty ugly
 In file included from /usr/include/stdlib.h:390,
  from /usr/include/g++-3/stl_alloc.h:54,
  from /usr/include/g++-3/alloc.h:21,
  from /usr/include/g++-3/std/bastring.h:39,
  from /usr/include/g++-3/string:6,
  from ../../src/LString.h:20,
  from ../../src/Lsstream.h:17,
  from formulabase.C:18:
 /usr/include/sys/types.h:87: declaration does not declare anything
 make[3]: *** [formulabase.lo] Error 1
 make[3]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
 make[1]: *** [all-recursive-am] Error 2
 make[1]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
 make: *** [all-recursive] Error 1
 
 Is there a workaround?
 -- 
 

What is the version of your autoconf? If it is 2.5..., then you have to
downgrade to 2.13 or similar.


--cghan




Re: Problem compiling cvs

2002-04-23 Thread cghan



On Tue, 23 Apr 2002, Pascal Francq wrote:

> Hi,
> When I compile current CVS version, I hvae the following error:
> 
> Making all in mathed
> make[3]: Entering directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ 
>-I../.. -I../../boost  -isystem /usr/X11R6/include  -g -O -fno-exceptions -W -Wall -c 
>formulabase.C
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost -isystem 
>/usr/X11R6/include -g -O -fno-exceptions -W -Wall -Wp,-MD,.deps/formulabase.pp -c 
>formulabase.C
> formulabase.C:804:2: warning: #warning pretty ugly
> In file included from /usr/include/stdlib.h:390,
>  from /usr/include/g++-3/stl_alloc.h:54,
>  from /usr/include/g++-3/alloc.h:21,
>  from /usr/include/g++-3/std/bastring.h:39,
>  from /usr/include/g++-3/string:6,
>  from ../../src/LString.h:20,
>  from ../../src/Lsstream.h:17,
>  from formulabase.C:18:
> /usr/include/sys/types.h:87: declaration does not declare anything
> make[3]: *** [formulabase.lo] Error 1
> make[3]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src/mathed'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/pfrancq/tmp/lyx-devel/src'
> make: *** [all-recursive] Error 1
> 
> Is there a workaround?
> -- 
> 

What is the version of your "autoconf"? If it is 2.5..., then you have to
downgrade to 2.13 or similar.


--cghan




Re: problem compiling cvs

2001-03-16 Thread John Levon

On Fri, 16 Mar 2001, Edwin Leuven wrote:

 In file included from lyxlex.C:21:
 lyxlex_pimpl.h:16: parse error before `{'

that needs to be :

... public boost::noncopyable

I suppose Lars missed some ...

john

-- 
"You lose it if you talk about it."
- Ernest Hemingway




Re: problem compiling cvs

2001-03-16 Thread Lars Gullik Bjønnes

John Levon [EMAIL PROTECTED] writes:

| On Fri, 16 Mar 2001, Edwin Leuven wrote:
| 
|  In file included from lyxlex.C:21:
|  lyxlex_pimpl.h:16: parse error before `{'
| 
| that needs to be :
| 
|   ... public boost::noncopyable
| 
| I suppose Lars missed some ...

and that is really strange sine I compiled several times.

it is possible that gcc 2.96 has some other lookup rules... I don't
know.

Lgb



Re: problem compiling cvs

2001-03-16 Thread John Levon

On 16 Mar 2001, Lars Gullik Bjønnes wrote:

 John Levon [EMAIL PROTECTED] writes:
 
 | On Fri, 16 Mar 2001, Edwin Leuven wrote:
 | 
 |  In file included from lyxlex.C:21:
 |  lyxlex_pimpl.h:16: parse error before `{'
 | 
 | that needs to be :
 | 
 | ... public boost::noncopyable
 | 
 | I suppose Lars missed some ...
 
 and that is really strange sine I compiled several times.
 
 it is possible that gcc 2.96 has some other lookup rules... I don't
 know.
 
 Lgb

Interesting ... maybe one of the corners of the C++ standard means it looks
back to a class containing an instance and uses the namespace there ...

Lars, why don't you ask on comp.lang.c++.moderated ? I'd be interested in the
answer

thanks
john

-- 
"You lose it if you talk about it."
- Ernest Hemingway




Re: problem compiling cvs

2001-03-16 Thread Lars Gullik Bjønnes

John Levon [EMAIL PROTECTED] writes:

| On 16 Mar 2001, Lars Gullik Bjnnes wrote:
| 
|  John Levon [EMAIL PROTECTED] writes:
|  
|  | On Fri, 16 Mar 2001, Edwin Leuven wrote:
|  | 
|  |  In file included from lyxlex.C:21:
|  |  lyxlex_pimpl.h:16: parse error before `{'
|  | 
|  | that needs to be :
|  | 
|  |   ... public boost::noncopyable
|  | 
|  | I suppose Lars missed some ...
|  
|  and that is really strange sine I compiled several times.
|  
|  it is possible that gcc 2.96 has some other lookup rules... I don't
|  know.
|  
|  Lgb
| 
| Interesting ... maybe one of the corners of the C++ standard means it looks
| back to a class containing an instance and uses the namespace there ...
| 
| Lars, why don't you ask on comp.lang.c++.moderated ? I'd be interested in the
| answer

I have to check with gcc 3.0 also.

It might be wrong lookup in gcc 2.96 or some Koenig Lookup... not
sure.

Lgb



Re: problem compiling cvs

2001-03-16 Thread John Levon

On Fri, 16 Mar 2001, Edwin Leuven wrote:

> In file included from lyxlex.C:21:
> lyxlex_pimpl.h:16: parse error before `{'

that needs to be :

... public boost::noncopyable

I suppose Lars missed some ...

john

-- 
"You lose it if you talk about it."
- Ernest Hemingway




Re: problem compiling cvs

2001-03-16 Thread Lars Gullik Bjønnes

John Levon <[EMAIL PROTECTED]> writes:

| On Fri, 16 Mar 2001, Edwin Leuven wrote:
| 
| > In file included from lyxlex.C:21:
| > lyxlex_pimpl.h:16: parse error before `{'
| 
| that needs to be :
| 
|   ... public boost::noncopyable
| 
| I suppose Lars missed some ...

and that is really strange sine I compiled several times.

it is possible that gcc 2.96 has some other lookup rules... I don't
know.

Lgb



Re: problem compiling cvs

2001-03-16 Thread John Levon

On 16 Mar 2001, Lars Gullik Bjønnes wrote:

> John Levon <[EMAIL PROTECTED]> writes:
> 
> | On Fri, 16 Mar 2001, Edwin Leuven wrote:
> | 
> | > In file included from lyxlex.C:21:
> | > lyxlex_pimpl.h:16: parse error before `{'
> | 
> | that needs to be :
> | 
> | ... public boost::noncopyable
> | 
> | I suppose Lars missed some ...
> 
> and that is really strange sine I compiled several times.
> 
> it is possible that gcc 2.96 has some other lookup rules... I don't
> know.
> 
> Lgb

Interesting ... maybe one of the corners of the C++ standard means it looks
back to a class containing an instance and uses the namespace there ...

Lars, why don't you ask on comp.lang.c++.moderated ? I'd be interested in the
answer

thanks
john

-- 
"You lose it if you talk about it."
- Ernest Hemingway




Re: problem compiling cvs

2001-03-16 Thread Lars Gullik Bjønnes

John Levon <[EMAIL PROTECTED]> writes:

| On 16 Mar 2001, Lars Gullik Bjønnes wrote:
| 
| > John Levon <[EMAIL PROTECTED]> writes:
| > 
| > | On Fri, 16 Mar 2001, Edwin Leuven wrote:
| > | 
| > | > In file included from lyxlex.C:21:
| > | > lyxlex_pimpl.h:16: parse error before `{'
| > | 
| > | that needs to be :
| > | 
| > |   ... public boost::noncopyable
| > | 
| > | I suppose Lars missed some ...
| > 
| > and that is really strange sine I compiled several times.
| > 
| > it is possible that gcc 2.96 has some other lookup rules... I don't
| > know.
| > 
| > Lgb
| 
| Interesting ... maybe one of the corners of the C++ standard means it looks
| back to a class containing an instance and uses the namespace there ...
| 
| Lars, why don't you ask on comp.lang.c++.moderated ? I'd be interested in the
| answer

I have to check with gcc 3.0 also.

It might be wrong lookup in gcc 2.96 or some Koenig Lookup... not
sure.

Lgb