Jason Long | 23 Apr 2004 14:54
Favicon

Re: CFG Compile on Debian testing

I'm guessing you want the 2.5 (or current) version of Xerces. I think the
problem may be that you specified the location of Xerces using a relative
path instead of an absolute path in configure.

I.e. instead of
./configure --with-xerces-c-root=../xerces-c-src_2_5_0/

do
./configure --with-xerces-c-root=/full/path/to/xerces-c-src_2_5_0

If you continue to have problems, you may need to resort to uninstalling
the older version of Xerces, or at least removing its header files.

Jason Long

>>> rob@... 3/20/04 9:57:29 AM >>>
Hello,

I'm having problems compiling CFG on Debian testing on two systems.
I'm not someone that gives up easy so I have put alot of time in this,
tried many things.I have tried to compile with gcc/g++ 2.95, 3.2 and 3.3. I
have tried to
compile config4gnu with the default debian xerces (version 2.1), which
failed. I also tried with the xerces-current, it also failed.
Compilation fails here:

In file included from CfgBackendObject.h:6,
                 from CfgBackendObject.cc:5:

CfgPropertyDefinition.h:25: ANSI C++ forbids declaration
(Continue reading)


Gmane