[aspectc-user] Problem compiling Puma

Jerome.Cornet at imag.fr Jerome.Cornet at imag.fr
Tue Nov 30 10:59:14 CET 2004

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).
> PS: This should, of course, be better described in the README/INSTALL 
> file of Puma ;-). I'll extend it as soon as possible.
Sure, newbies requests are there to ask improvements to such files :)


envoyé via Webmail/IMAG !

More information about the aspectc-user mailing list