Re: [classad-users] Compiling ClassAds 0.9.7 under gcc 4.0.2


Date: Tue, 28 Feb 2006 23:26:54 -0600
From: Alain Roy <roy@xxxxxxxxxxx>
Subject: Re: [classad-users] Compiling ClassAds 0.9.7 under gcc 4.0.2
At 10:09 AM 2/28/2006 -0600, Alan Wong wrote:
Hello,

I had read the mailing list archives and noticed that there were people
having the same problem as I am in trying to compile this. I did not see
any solution posted for gcc 4.*, though I did try the solutions for
other versions, which have not worked.

The reason I need to compile ClassAds is to test NeST, so is there any
precompiled version of ClassAds or some hack to get it to compile, or
perhaps ClassAds exists in some way in Condor (which is installed
currently) that allows me to use it as if a stand alone installation?

Just to put things into perspective, the first line of the list of
errors is:

exprTree.h:39: error: expected initializer before < token

I haven't put much effort into getting ClassAds with gcc 4.x. I just tried it with code that is more recent than 0.9.7 (but not yet released), and it doesn't compile. Bummer. I did work to make it compile with various gcc 3.x versions, but I guess it doesn't port to gcc 4.x.

It's unlikely that I'll have time to work on this problem for a few weeks (it's a bit crazy here righ tnow). I think your shorter-term solutions are, unfortunately:

  * Use an older version of gcc
  * Fix the compilation problems yourself, and tell me what
    you had to do.

Currently we don't compile Condor or Nest with gcc 4.x, so it hasn't been a problem for us. I don't think we can tell you if Nest itself compiles with gcc 4.x.

-alain


[← Prev in Thread] Current Thread [Next in Thread→]