Opened 12 years ago
Closed 11 years ago
#171 closed defect (fixed)
make install doesn't work
Reported by: | Owned by: | MatthewWhiting | |
---|---|---|---|
Priority: | normal | Milestone: | Release-1.3 |
Component: | Building/Installation | Version: | 1.2.2 |
Severity: | major | Keywords: | 1.2.2 |
Cc: |
Description (last modified by )
Getting error message after typing make.
src/mainDuchamp.cc: In function ‘int main(int, char**)’: src/mainDuchamp.cc:173: error: ‘class duchamp::Cube’ has no member named ‘outputCatalogue’ src/mainDuchamp.cc:229: error: ‘class duchamp::Cube’ has no member named ‘logSummary’ src/mainDuchamp.cc:244: error: no matching function for call to ‘duchamp::Cube::outputDetectionsVOTable()’
Change History (3)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Status: | new → assigned |
Version: | 1.2.1 → 1.2.2 |
comment:2 Changed 12 years ago by
Milestone: | → Release-1.3 |
---|
Just following this up - did you get Duchamp installed OK in the end?
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Assuming this fix has been fine, and closing the ticket prior to release of the next version.
Note: See
TracTickets for help on using
tickets.
Here's a summary of what I think went wrong. The origin of the problem lay in the Makefile, specifically the line in Makefile.in
If (and I think this was the case with your setup) you had installed a previous version in a system directory, and that was the same as where WCSLIB or CFITSIO or PGPLOT are located, then it may look there first rather than $(BASE) (ie. the current directory). The problem was that it then finds the older version, which in this case didn't have the particular member functions mentioned in the error message.
I think this depends on the details of the compiler - this behaviour doesn't happen with the gcc on my Mac, for instance (gcc 4.2.1). It may also depend on exactly where you were putting the installed headers
To solve this I changed the order of that line:
(although I think I only did it for the Makefile, so if you ever run configure again it will change back to the original order).
I have updated the release tarball with the altered order, so hopefully this won't happen in the future.
Did you get it compiled and running after I left?