[aspectc-user] Problem compiling Puma
Antonio S. de A. Terceiro
asaterceiro at inf.ufrgs.br
Tue Nov 30 17:56:49 CET 2004
Jerome.Cornet at imag.fr escreveu isso aĆ:
> Hi Olaf,
>
> Olaf Spinczyk <Olaf.Spinczyk at informatik.uni-erlangen.de> wrote:
>
> > This problem occurs, because you probably did not define the PUMA_CONFIG
> > environment variable for ac++. Let me explain: ac++ needs a parser
> > configuration file, usually called puma.config. The file describes the
> > predefined preprocessor macros and standard include paths of your g++.
> > ac++ accesses the file via the PUMA_CONFIG environment variable, which
> > you therefore have to define before calling ac++ (or building Puma!).
> >
> > If you use ac++ together with g++, you can generate puma.config with:
> >
> > ag++ --gen_config -o puma.config
> >
> > The ag++ command is located in the AspectC++ directory of the binary
> > ac++ tarball. Note that you have to use the absolute path to puma.config
> > when you define PUMA_CONFIG, e.g.
> >
> > export PUMA_CONFIG=/home/jerome/aspectc++-0.9/puma.config
>
> Thank you very much for your help! This solve completly my problem (and now
> I know puma.config is an important file).
And (IIRC) putting it as /etc/puma.config removes the need to define
such environment variable.
--
Antonio S. de A. Terceiro <asaterceiro at inf.ufrgs.br>
http://www.inf.ufrgs.br/~asaterceiro
PGP: subkeys.pgp.net
More information about the aspectc-user
mailing list