Opened 9 years ago

Closed 9 years ago

#236 closed task (fixed)

Duchamp installation problems (cpgplot problems?)

Reported by: llrichter@… Owned by: MatthewWhiting
Priority: normal Milestone:
Component: Building/Installation Version: 1.6.1
Severity: normal Keywords:
Cc:

Description (last modified by MatthewWhiting)

I've been struggling to install Duchamp for a few days and I'm at the asking-for-help stage!

Duchamp: 1.6.6 System: Ubuntu 14.04.3 LTS pgplot: 5.2


end section of the "make" log:

g++ -o Duchamp-1.6.1 ./src/mainDuchamp.o ./src/duchamp.o ./src/param.o ./src/fitsHeader.o ./src/PixelMap/Line.o ./src/PixelMap/Voxel.o ./src/PixelMap/Scan.o ./src/PixelMap/Object2D.o ./src/PixelMap/Object3D.o ./src/ATrous/filter.o ./src/ATrous/B3SplineFilter.o ./src/ATrous/TriangleFilter.o ./src/ATrous/HaarFilter.o ./src/ATrous/FilterFactory.o ./src/ATrous/atrous_1d_reconstruct.o ./src/ATrous/atrous_2d_reconstruct.o ./src/ATrous/atrous_3d_reconstruct.o ./src/ATrous/baselineSubtract.o ./src/ATrous/ReconSearch.o ./src/Detection/detection.o ./src/Detection/ObjectGrower.o ./src/Detection/areClose.o ./src/Detection/lutz_detect.o ./src/Detection/mergeIntoList.o ./src/Detection/outputDetection.o ./src/Detection/sorting.o ./src/Detection/spectrumDetect.o ./src/Cubes/cubes.o ./src/Cubes/cubes_extended.o ./src/Cubes/baseline.o ./src/Cubes/CubicSearch.o ./src/Cubes/detectionIO.o ./src/Cubes/existingDetections.o ./src/Cubes/getImage.o ./src/Cubes/invertCube.o ./src/Cubes/Merger.o ./src/Cubes/momentMap.o ./src/Cubes/smoothCube.o ./src/Cubes/spectraUtils.o ./src/Cubes/trimImage.o ./src/FitsIO/Beam.o ./src/FitsIO/DuchampBeam.o ./src/FitsIO/ReadExisting.o ./src/FitsIO/ReadExistingRecon.o ./src/FitsIO/ReadExistingSmooth.o ./src/FitsIO/WriteArray.o ./src/FitsIO/WriteBaselineArray.o ./src/FitsIO/WriteMaskArray.o ./src/FitsIO/WriteMomentMapArray.o ./src/FitsIO/WriteMomentMaskArray.o ./src/FitsIO/WriteReconArray.o ./src/FitsIO/WriteSmoothArray.o ./src/FitsIO/dataIO.o ./src/FitsIO/headerIO.o ./src/FitsIO/subsection.o ./src/FitsIO/wcsIO.o ./src/Utils/Section.o ./src/Utils/Statistics.o ./src/Utils/feedback.o ./src/Utils/GaussSmooth1D.o ./src/Utils/Hanning.o ./src/Utils/VOField.o ./src/Utils/VOParam.o ./src/Utils/getStats.o ./src/Utils/getNormalStats.o ./src/Utils/getRobustStats.o ./src/Utils/linear_regression.o ./src/Utils/medianBaseline.o ./src/Utils/position_related.o ./src/Utils/sort.o ./src/Utils/string_related.o ./src/Utils/wcsFunctions.o ./src/Utils/zscale.o ./src/Outputs/columns.o ./src/Outputs/CatalogueSpecification.o ./src/Outputs/CatalogueWriter.o ./src/Outputs/FileCatalogueWriter.o ./src/Outputs/ASCIICatalogueWriter.o ./src/Outputs/VOTableCatalogueWriter.o ./src/Outputs/AnnotationWriter.o ./src/Outputs/KarmaAnnotationWriter.o ./src/Outputs/DS9AnnotationWriter.o ./src/Outputs/CasaAnnotationWriter.o ./src/Cubes/drawBlankEdges.o ./src/Cubes/drawMomentCutout.o ./src/Cubes/outputSpectra.o ./src/Cubes/plotting.o ./src/Detection/drawBorders.o ./src/Plotting/DuchampPlot.o ./src/Plotting/MultipleDuchampPlot.o ./src/Plotting/ImagePlot.o ./src/Plotting/SpectralPlot.o ./src/Plotting/SimpleSpectralPlot.o ./src/Plotting/CutoutPlot.o ./src/Utils/mycpgplot.o ./src/Utils/PlottingUtilities.o ./src/Utils/pgplot_related.o -L/usr/local/lib  -lwcs -L/usr/local/lib  -lcfitsio -L/usr/local/lib  -lgfortran  -lz -lpng -lstdc++ -lm  
./src/Cubes/drawBlankEdges.o: In function `duchamp::drawBlankEdges(float*, unsigned long, unsigned long, duchamp::Param&)':
drawBlankEdges.cc:(.text+0x43b): undefined reference to `cpgqci'
drawBlankEdges.cc:(.text+0x445): undefined reference to `cpgsci'
drawBlankEdges.cc:(.text+0x45e): undefined reference to `cpgqwin'
drawBlankEdges.cc:(.text+0x54d): undefined reference to `cpgmove'
drawBlankEdges.cc:(.text+0x56e): undefined reference to `cpgdraw'
drawBlankEdges.cc:(.text+0x678): undefined reference to `cpgmove'
drawBlankEdges.cc:(.text+0x699): undefined reference to `cpgdraw'
drawBlankEdges.cc:(.text+0x6c5): undefined reference to `cpgsci'
./src/Cubes/drawMomentCutout.o: In function `duchamp::Cube::drawFieldEdge()':
drawMomentCutout.cc:(.text+0x3f6): undefined reference to `cpgqci'
drawMomentCutout.cc:(.text+0x400): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0x410): undefined reference to `cpgmove'
drawMomentCutout.cc:(.text+0x443): undefined reference to `cpgdraw'
drawMomentCutout.cc:(.text+0x48f): undefined reference to `cpgdraw'
drawMomentCutout.cc:(.text+0x4c1): undefined reference to `cpgdraw'
drawMomentCutout.cc:(.text+0x4d1): undefined reference to `cpgdraw'
drawMomentCutout.cc:(.text+0x4da): undefined reference to `cpgsci'
./src/Cubes/drawMomentCutout.o: In function `duchamp::Cube::drawScale(float, float, float)':
drawMomentCutout.cc:(.text+0x927): undefined reference to `cpgqwin'
drawMomentCutout.cc:(.text+0xe97): undefined reference to `cpgqci'
drawMomentCutout.cc:(.text+0xea1): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0xeae): undefined reference to `cpgqlw'
drawMomentCutout.cc:(.text+0xeb8): undefined reference to `cpgslw'
drawMomentCutout.cc:(.text+0xee2): undefined reference to `cpgerrx'
drawMomentCutout.cc:(.text+0xeee): undefined reference to `cpgslw'
drawMomentCutout.cc:(.text+0x1113): undefined reference to `cpgqch'
drawMomentCutout.cc:(.text+0x1120): undefined reference to `cpgsch'
drawMomentCutout.cc:(.text+0x113a): undefined reference to `cpgqcs'
drawMomentCutout.cc:(.text+0x11fd): undefined reference to `cpgptxt'
drawMomentCutout.cc:(.text+0x1220): undefined reference to `cpgsch'
drawMomentCutout.cc:(.text+0x122c): undefined reference to `cpgsci'
./src/Cubes/drawMomentCutout.o: In function `duchamp::Cube::drawMomentCutout(duchamp::Detection&)':
drawMomentCutout.cc:(.text+0x1f8f): undefined reference to `cpgswin'
drawMomentCutout.cc:(.text+0x1fca): undefined reference to `cpggray'
drawMomentCutout.cc:(.text+0x1fe3): undefined reference to `cpgbox'
drawMomentCutout.cc:(.text+0x1ffd): undefined reference to `cpgqci'
drawMomentCutout.cc:(.text+0x2027): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0x21a5): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0x2211): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0x221b): undefined reference to `cpgsfs'
drawMomentCutout.cc:(.text+0x2292): undefined reference to `cpgsci'
drawMomentCutout.cc:(.text+0x233c): undefined reference to `cpgrect'
./src/Cubes/outputSpectra.o: In function `duchamp::Cube::plotSpectrum(int, duchamp::Plot::SpectralPlot&)':
outputSpectra.cc:(.text+0x1380): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x13a0): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x13b0): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x13ba): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1629): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x1649): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1659): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x1663): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1c96): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1ca6): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x1cb0): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1cc6): undefined reference to `cpgsci'
outputSpectra.cc:(.text+0x1cd6): undefined reference to `cpgline'
outputSpectra.cc:(.text+0x1ce0): undefined reference to `cpgsci'
./src/Cubes/outputSpectra.o: In function `duchamp::Cube::outputSpectra()':
outputSpectra.cc:(.text+0x392c): undefined reference to `cpgclos'
outputSpectra.cc:(.text+0x3cf7): undefined reference to `cpgclos'
outputSpectra.cc:(.text+0x3e4e): undefined reference to `cpgclos'
outputSpectra.cc:(.text+0x405b): undefined reference to `cpgclos'
./src/Cubes/plotting.o: In function `duchamp::Cube::plotMomentMap(std::vector<std::string, std::allocator<std::string> >)':
plotting.cc:(.text+0xfb2): undefined reference to `cpgptxt'
plotting.cc:(.text+0x115d): undefined reference to `cpggray'
plotting.cc:(.text+0x1176): undefined reference to `cpgbox'
plotting.cc:(.text+0x1183): undefined reference to `cpgsch'
plotting.cc:(.text+0x12df): undefined reference to `cpgsch'
plotting.cc:(.text+0x12e9): undefined reference to `cpgslw'
plotting.cc:(.text+0x131b): undefined reference to `cpgsci'
plotting.cc:(.text+0x13b0): undefined reference to `cpgsci'
plotting.cc:(.text+0x15d3): undefined reference to `cpgslw'
plotting.cc:(.text+0x16e3): undefined reference to `cpgptxt'
plotting.cc:(.text+0x1787): undefined reference to `cpgpt1'
./src/Cubes/plotting.o: In function `duchamp::Cube::plotDetectionMap(std::string)':
plotting.cc:(.text+0x2ffd): undefined reference to `cpggray'
plotting.cc:(.text+0x3016): undefined reference to `cpgbox'
plotting.cc:(.text+0x3023): undefined reference to `cpgsch'
plotting.cc:(.text+0x304f): undefined reference to `cpgwedg'
plotting.cc:(.text+0x30b0): undefined reference to `cpgsch'
plotting.cc:(.text+0x30ba): undefined reference to `cpgslw'
plotting.cc:(.text+0x30e9): undefined reference to `cpgsci'
plotting.cc:(.text+0x3178): undefined reference to `cpgsci'
plotting.cc:(.text+0x3378): undefined reference to `cpgslw'
plotting.cc:(.text+0x347b): undefined reference to `cpgptxt'
plotting.cc:(.text+0x351f): undefined reference to `cpgpt1'
plotting.cc:(.text+0x3bb5): undefined reference to `cpgline'
plotting.cc:(.text+0x3bd5): undefined reference to `cpgsci'
plotting.cc:(.text+0x3be8): undefined reference to `cpgline'
plotting.cc:(.text+0x3bf2): undefined reference to `cpgsci'
plotting.cc:(.text+0x4628): undefined reference to `cpgsci'
plotting.cc:(.text+0x463b): undefined reference to `cpgline'
plotting.cc:(.text+0x4645): undefined reference to `cpgsci'
./src/Detection/drawBorders.o: In function `duchamp::Detection::drawBorders(int, int)':
drawBorders.cc:(.text+0x41f): undefined reference to `cpgqwin'
drawBorders.cc:(.text+0x452): undefined reference to `cpgswin'
drawBorders.cc:(.text+0x4cd): undefined reference to `cpgmove'
drawBorders.cc:(.text+0x521): undefined reference to `cpgdraw'
drawBorders.cc:(.text+0x585): undefined reference to `cpgswin'
./src/Plotting/DuchampPlot.o: In function `duchamp::Plot::DuchampPlot::open(std::string)':
DuchampPlot.cc:(.text+0xb2): undefined reference to `cpgpap'
./src/Plotting/DuchampPlot.o: In function `duchamp::Plot::DuchampPlot::close()':
DuchampPlot.cc:(.text+0x121): undefined reference to `cpgclos'
./src/Plotting/DuchampPlot.o: In function `duchamp::Plot::DuchampPlot::goToPlot()':
DuchampPlot.cc:(.text+0x134): undefined reference to `cpgslct'
./src/Plotting/MultipleDuchampPlot.o: In function `duchamp::Plot::MultipleDuchampPlot::gotoHeader()':
MultipleDuchampPlot.cc:(.text+0x12): undefined reference to `cpgpage'
MultipleDuchampPlot.cc:(.text+0x3c): undefined reference to `cpgvsiz'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::firstHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x9d): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::secondHeaderLine(std::string)':
SpectralPlot.cc:(.text+0xdd): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::thirdHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x11d): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::fourthHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x15d): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoHeader(std::string)':
SpectralPlot.cc:(.text+0x392): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoMainSpectrum(float, float, float, float, std::string)':
SpectralPlot.cc:(.text+0x3f4): undefined reference to `cpgvsiz'
SpectralPlot.cc:(.text+0x401): undefined reference to `cpgsch'
SpectralPlot.cc:(.text+0x429): undefined reference to `cpgswin'
SpectralPlot.cc:(.text+0x446): undefined reference to `cpgbox'
SpectralPlot.cc:(.text+0x453): undefined reference to `cpgsch'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoMap()':
SpectralPlot.cc:(.text+0x499): undefined reference to `cpgvsiz'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::drawVelRange(float, float)':
SpectralPlot.cc:(.text+0x4d3): undefined reference to `cpgqwin'
SpectralPlot.cc:(.text+0x4dd): undefined reference to `cpgqci'
SpectralPlot.cc:(.text+0x4e7): undefined reference to `cpgqls'
SpectralPlot.cc:(.text+0x4f1): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x4fb): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0x50c): undefined reference to `cpgmove'
SpectralPlot.cc:(.text+0x51d): undefined reference to `cpgdraw'
SpectralPlot.cc:(.text+0x52e): undefined reference to `cpgmove'
SpectralPlot.cc:(.text+0x53f): undefined reference to `cpgdraw'
SpectralPlot.cc:(.text+0x548): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x551): undefined reference to `cpgsls'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::drawFlaggedChannelRange(float, float)':
SpectralPlot.cc:(.text+0x583): undefined reference to `cpgqwin'
SpectralPlot.cc:(.text+0x5e1): undefined reference to `cpgqci'
SpectralPlot.cc:(.text+0x5eb): undefined reference to `cpgqfs'
SpectralPlot.cc:(.text+0x5fa): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x604): undefined reference to `cpgsfs'
SpectralPlot.cc:(.text+0x621): undefined reference to `cpgrect'
SpectralPlot.cc:(.text+0x62b): undefined reference to `cpgsfs'
SpectralPlot.cc:(.text+0x648): undefined reference to `cpgrect'
SpectralPlot.cc:(.text+0x651): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x65a): undefined reference to `cpgsfs'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::drawThresholds(duchamp::Param&, Statistics::StatsContainer<float>&)':
SpectralPlot.cc:(.text+0x682): undefined reference to `cpgqci'
SpectralPlot.cc:(.text+0x68c): undefined reference to `cpgqls'
SpectralPlot.cc:(.text+0x6a3): undefined reference to `cpgqwin'
SpectralPlot.cc:(.text+0x6ad): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x6b7): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0x6e4): undefined reference to `cpgmove'
SpectralPlot.cc:(.text+0x6f8): undefined reference to `cpgdraw'
SpectralPlot.cc:(.text+0x742): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0x753): undefined reference to `cpgmove'
SpectralPlot.cc:(.text+0x764): undefined reference to `cpgdraw'
SpectralPlot.cc:(.text+0x76d): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x776): undefined reference to `cpgsls'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::drawThresholds(duchamp::Param&, Statistics::StatsContainer<float>&, float*, float*, unsigned long)':
SpectralPlot.cc:(.text+0x7d3): undefined reference to `cpgqci'
SpectralPlot.cc:(.text+0x7dd): undefined reference to `cpgqls'
SpectralPlot.cc:(.text+0x7e7): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0x7f1): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0x8de): undefined reference to `cpgline'
SpectralPlot.cc:(.text+0xa7b): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0xa89): undefined reference to `cpgline'
SpectralPlot.cc:(.text+0xb2c): undefined reference to `cpgsci'
SpectralPlot.cc:(.text+0xb35): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0xb92): undefined reference to `cpgline'
SpectralPlot.cc:(.text+0xc04): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0xc12): undefined reference to `cpgline'
SpectralPlot.cc:(.text+0xc31): undefined reference to `cpgline'
SpectralPlot.cc:(.text+0xc46): undefined reference to `cpgsls'
SpectralPlot.cc:(.text+0xc54): undefined reference to `cpgline'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoZoomSpectrum(float, float, float, float)':
SpectralPlot.cc:(.text+0xcc6): undefined reference to `cpgvsiz'
SpectralPlot.cc:(.text+0xcd3): undefined reference to `cpgsch'
SpectralPlot.cc:(.text+0xcf0): undefined reference to `cpgswin'
SpectralPlot.cc:(.text+0xd0d): undefined reference to `cpgbox'
SpectralPlot.cc:(.text+0x1057): undefined reference to `cpgaxis'
SpectralPlot.cc:(.text+0x109a): undefined reference to `cpgtick'
SpectralPlot.cc:(.text+0x1248): undefined reference to `cpgtick'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::firstHeaderLine(std::string)':
SpectralPlot.cc:(.text+0xc0): undefined reference to `cpgmtxt'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::secondHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x100): undefined reference to `cpgmtxt'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::thirdHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x140): undefined reference to `cpgmtxt'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::fourthHeaderLine(std::string)':
SpectralPlot.cc:(.text+0x180): undefined reference to `cpgmtxt'
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoHeader(std::string)':
SpectralPlot.cc:(.text+0x3b5): undefined reference to `cpgmtxt'
./src/Plotting/SpectralPlot.o:SpectralPlot.cc:(.text+0x47a): more undefined references to `cpgmtxt' follow
./src/Plotting/SpectralPlot.o: In function `duchamp::Plot::SpectralPlot::gotoMap()':
SpectralPlot.cc:(.text+0x4aa): undefined reference to `cpgsch'
./src/Plotting/SimpleSpectralPlot.o: In function `duchamp::Plot::SimpleSpectralPlot::label(std::string, std::string, std::string)':
SimpleSpectralPlot.cc:(.text+0x302): undefined reference to `cpgvsiz'
SimpleSpectralPlot.cc:(.text+0x30f): undefined reference to `cpgsch'
SimpleSpectralPlot.cc:(.text+0x332): undefined reference to `cpgmtxt'
SimpleSpectralPlot.cc:(.text+0x354): undefined reference to `cpgmtxt'
./src/Plotting/SimpleSpectralPlot.o: In function `duchamp::Plot::SimpleSpectralPlot::gotoMainSpectrum(float, float, float, float)':
SimpleSpectralPlot.cc:(.text+0x3b0): undefined reference to `cpgvsiz'
SimpleSpectralPlot.cc:(.text+0x3bd): undefined reference to `cpgsch'
SimpleSpectralPlot.cc:(.text+0x3e5): undefined reference to `cpgswin'
./src/Plotting/SimpleSpectralPlot.o: In function `duchamp::Plot::SimpleSpectralPlot::markDetectedPixels(short*, unsigned long, duchamp::FitsHeader&)':
SimpleSpectralPlot.cc:(.text+0x57f): undefined reference to `cpgqwin'
SimpleSpectralPlot.cc:(.text+0x5e0): undefined reference to `cpgqlw'
SimpleSpectralPlot.cc:(.text+0x5e8): undefined reference to `cpgqfs'
SimpleSpectralPlot.cc:(.text+0x5f2): undefined reference to `cpgslw'
SimpleSpectralPlot.cc:(.text+0x5fc): undefined reference to `cpgsfs'
SimpleSpectralPlot.cc:(.text+0x618): undefined reference to `cpgrect'
SimpleSpectralPlot.cc:(.text+0x621): undefined reference to `cpgslw'
SimpleSpectralPlot.cc:(.text+0x62a): undefined reference to `cpgsfs'
./src/Plotting/SimpleSpectralPlot.o: In function `duchamp::Plot::SimpleSpectralPlot::label(std::string, std::string, std::string)':
SimpleSpectralPlot.cc:(.text+0x37b): undefined reference to `cpgmtxt'
./src/Plotting/SimpleSpectralPlot.o: In function `duchamp::Plot::SimpleSpectralPlot::gotoMainSpectrum(float, float, float, float)':
SimpleSpectralPlot.cc:(.text+0x406): undefined reference to `cpgbox'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::firstHeaderLine(std::string)':
CutoutPlot.cc:(.text+0x7d): undefined reference to `cpgsch'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::secondHeaderLine(std::string)':
CutoutPlot.cc:(.text+0xad): undefined reference to `cpgsch'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::thirdHeaderLine(std::string)':
CutoutPlot.cc:(.text+0xdd): undefined reference to `cpgsch'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::fourthHeaderLine(std::string)':
CutoutPlot.cc:(.text+0x10d): undefined reference to `cpgsch'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::gotoMap()':
CutoutPlot.cc:(.text+0x259): undefined reference to `cpgvsiz'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::firstHeaderLine(std::string)':
CutoutPlot.cc:(.text+0x9c): undefined reference to `cpgptxt'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::secondHeaderLine(std::string)':
CutoutPlot.cc:(.text+0xcc): undefined reference to `cpgptxt'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::thirdHeaderLine(std::string)':
CutoutPlot.cc:(.text+0xfc): undefined reference to `cpgptxt'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::fourthHeaderLine(std::string)':
CutoutPlot.cc:(.text+0x12c): undefined reference to `cpgptxt'
./src/Plotting/CutoutPlot.o: In function `duchamp::Plot::CutoutPlot::gotoMap()':
CutoutPlot.cc:(.text+0x26a): undefined reference to `cpgsch'
./src/Utils/mycpgplot.o: In function `mycpgplot::cpgIsPS()':
mycpgplot.cc:(.text+0x2b): undefined reference to `cpgqinf'
./src/Utils/mycpgplot.o: In function `mycpgplot::mycpgopen(std::string)':
mycpgplot.cc:(.text+0xc8): undefined reference to `cpgopen'
./src/Utils/mycpgplot.o: In function `mycpgplot::setDarkGreen()':
mycpgplot.cc:(.text+0x94): undefined reference to `cpgscr'
./src/Utils/mycpgplot.o: In function `mycpgplot::setWCSGreen()':
mycpgplot.cc:(.text+0xb9): undefined reference to `cpgscr'
./src/Utils/mycpgplot.o: In function `mycpgplot::setWhite()':
mycpgplot.cc:(.text+0x107): undefined reference to `cpgsci'
mycpgplot.cc:(.text+0x117): undefined reference to `cpgsci'
./src/Utils/mycpgplot.o: In function `mycpgplot::setBlack()':
mycpgplot.cc:(.text+0x134): undefined reference to `cpgsci'
mycpgplot.cc:(.text+0x14a): undefined reference to `cpgsci'
./src/Utils/PlottingUtilities.o: In function `wcsAxes(wcsprm*, unsigned long*, int, int)':
PlottingUtilities.cc:(.text+0x17e): undefined reference to `cpgqlw'
PlottingUtilities.cc:(.text+0x18b): undefined reference to `cpgqci'
PlottingUtilities.cc:(.text+0x198): undefined reference to `cpgqch'
PlottingUtilities.cc:(.text+0x1a0): undefined reference to `cpgsci'
PlottingUtilities.cc:(.text+0x1ad): undefined reference to `cpgsch'
PlottingUtilities.cc:(.text+0x277): undefined reference to `pgwcsl_'
PlottingUtilities.cc:(.text+0x2fb): undefined reference to `cpgsbox'
PlottingUtilities.cc:(.text+0x307): undefined reference to `cpgsci'
PlottingUtilities.cc:(.text+0x315): undefined reference to `cpgsch'
PlottingUtilities.cc:(.text+0x321): undefined reference to `cpgslw'
./src/Plotting/ImagePlot.o: In function `duchamp::Plot::ImagePlot::makeTitle(std::string)':
ImagePlot.cc:(.text+0xf5): undefined reference to `cpgvstd'
./src/Plotting/ImagePlot.o: In function `duchamp::Plot::ImagePlot::drawMapBox(float, float, float, float, std::string, std::string)':
ImagePlot.cc:(.text+0x26d): undefined reference to `cpgvsiz'
ImagePlot.cc:(.text+0x277): undefined reference to `cpgslw'
ImagePlot.cc:(.text+0x2a2): undefined reference to `cpgswin'
ImagePlot.cc:(.text+0x2bb): undefined reference to `cpgbox'
ImagePlot.cc:(.text+0x2c5): undefined reference to `cpgslw'
ImagePlot.cc:(.text+0x2de): undefined reference to `cpgbox'
./src/Plotting/ImagePlot.o: In function `duchamp::Plot::ImagePlot::makeTitle(std::string)':
ImagePlot.cc:(.text+0x118): undefined reference to `cpgmtxt'
./src/Plotting/ImagePlot.o: In function `duchamp::Plot::ImagePlot::drawMapBox(float, float, float, float, std::string, std::string)':
ImagePlot.cc:(.text+0x2fa): undefined reference to `cpglab'
./src/Utils/pgplot_related.o: In function `cpgtest':
pgplot_related.c:(.text+0x2f): undefined reference to `cpgqinf'
./src/Utils/pgplot_related.o: In function `cpgwedglog':
pgplot_related.c:(.text+0x168): undefined reference to `cpgbbuf'
pgplot_related.c:(.text+0x18d): undefined reference to `cpgqwin'
pgplot_related.c:(.text+0x1a8): undefined reference to `cpgqvp'
pgplot_related.c:(.text+0x1b2): undefined reference to `cpgqch'
pgplot_related.c:(.text+0x1bf): undefined reference to `cpgsch'
pgplot_related.c:(.text+0x1d3): undefined reference to `cpgqcs'
pgplot_related.c:(.text+0x245): undefined reference to `cpgsch'
pgplot_related.c:(.text+0x2b1): undefined reference to `cpgsvp'
pgplot_related.c:(.text+0x381): undefined reference to `cpgswin'
pgplot_related.c:(.text+0x3ce): undefined reference to `cpggray'
pgplot_related.c:(.text+0x3ea): undefined reference to `cpgswin'
pgplot_related.c:(.text+0x422): undefined reference to `cpgbox'
pgplot_related.c:(.text+0x44a): undefined reference to `cpgmtxt'
pgplot_related.c:(.text+0x467): undefined reference to `cpgsvp'
pgplot_related.c:(.text+0x490): undefined reference to `cpgswin'
pgplot_related.c:(.text+0x49b): undefined reference to `cpgsch'
pgplot_related.c:(.text+0x4a0): undefined reference to `cpgebuf'
pgplot_related.c:(.text+0x571): undefined reference to `cpgswin'
pgplot_related.c:(.text+0x5be): undefined reference to `cpggray'
pgplot_related.c:(.text+0x5da): undefined reference to `cpgswin'
pgplot_related.c:(.text+0x600): undefined reference to `cpgbox'
pgplot_related.c:(.text+0x641): undefined reference to `cpgimag'
pgplot_related.c:(.text+0x691): undefined reference to `cpgbox'
pgplot_related.c:(.text+0x6ae): undefined reference to `cpgbox'
pgplot_related.c:(.text+0x6b8): undefined reference to `cpgimag'
./src/Utils/pgplot_related.o: In function `cpgcumul':
pgplot_related.c:(.text+0x8dc): undefined reference to `cpgbbuf'
pgplot_related.c:(.text+0x8f7): undefined reference to `cpgmove'
pgplot_related.c:(.text+0x927): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0x93f): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0x944): undefined reference to `cpgebuf'
pgplot_related.c:(.text+0x97c): undefined reference to `cpgenv'
pgplot_related.c:(.text+0x9c8): undefined reference to `cpgswin'
./src/Utils/pgplot_related.o: In function `cpghistlog':
pgplot_related.c:(.text+0xa14): undefined reference to `cpgbbuf'
pgplot_related.c:(.text+0xb6f): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xb98): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xbac): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xbcf): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xc2c): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xc40): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xc5a): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xc8f): undefined reference to `cpgenv'
pgplot_related.c:(.text+0xca7): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xce9): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xd4d): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xd75): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xd91): undefined reference to `cpgdraw'
pgplot_related.c:(.text+0xe08): undefined reference to `cpgrect'
./src/Utils/pgplot_related.o: In function `cpgellipse':
pgplot_related.c:(.text+0xf0d): undefined reference to `cpgmove'
pgplot_related.c:(.text+0xfc3): undefined reference to `cpgdraw'
./src/Utils/pgplot_related.o: In function `cpghistlog':
pgplot_related.c:(.text+0xb56): undefined reference to `cpgebuf'
collect2: error: ld returned 1 exit status
make: *** [duchamp] Error 1

configure output:

checking build system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking whether ln -s works... yes
checking for install... install
checking for log in -lm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking iostream usability... no
checking iostream presence... no
checking for iostream... no
checking fstream usability... no
checking fstream presence... no
checking for fstream... no
checking sstream usability... no
checking sstream presence... no
checking for sstream... no
checking iomanip usability... no
checking iomanip presence... no
checking for iomanip... no
checking vector usability... no
checking vector presence... no
checking for vector... no
checking string usability... no
checking string presence... no
checking for string... no
checking algorithm usability... no
checking algorithm presence... no
checking for algorithm... no
checking functional usability... no
checking functional presence... no
checking for functional... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for ranlib... ranlib
configure:  Using alternative (linux) build option
checking for working strtod... yes
checking for floor... yes
checking for pow... yes
checking for sqrt... yes
checking for strtol... yes
checking for log... yes
checking for atan... yes
checking for fabs... yes
configure: LIBDIRS
checking for /usr/lib... yes
checking for /usr/local/lib... yes
checking for /usr/local/pgplot... yes
checking for /usr/local/cfitsio... no
checking for /usr/local/wcslib... no
checking for /local/lib... no
checking for /local/pgplot... no
checking for /local/cfitsio... no
checking for /opt/SUNWspro/lib... no
checking for /opt/local/lib... no
configure:   -- PGPLOT -- 
checking for /usr/include/cpgplot.h... yes
checking for cosd in -lsunmath... no
checking for iand_ in -lM77... no
checking for f77_init in -lF77... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: X-library search yielded X_CFLAGS=, X_LIBS=, X_EXTRA_LIBS=, X_PRE_LIBS= -lSM -lICE
checking for deflate in -lz... yes
checking for png_error in -lpng... yes
checking for pgopen in -lpgplot... no
checking for gerror_ in -lg2c... no
checking for main in -lstdc++... yes
checking for main in -lc++... no
checking for _gfortran_getenv in -lgfortran... yes
checking for cpgopen in -lcpgplot... no
configure: PGPLOT appears to be available.
checking for /usr/lib/libcpgplot.a... no
checking for /usr/lib/lib/libcpgplot.a... no
checking for /usr/lib/pgplot/libcpgplot.a... no
checking for /usr/local/lib/libcpgplot.a... yes
configure:   -- CFITSIO -- 
checking for /usr/include/fitsio.h... yes
checking for recv in -lsocket... no
checking for ffopen in -lcfitsio... yes
configure: CFITSIO appears to be available.
checking for /usr/lib/libcfitsio.a... no
checking for /usr/lib/cfitsio/libcfitsio.a... no
checking for /usr/local/lib/libcfitsio.a... yes
configure:   -- WCSLIB -- 
checking for /usr/include/wcslib/wcs.h... no
checking for /usr/local/include/wcslib/wcs.h... yes
checking for wcss2p in -lwcs... yes
checking for cpgsbox in -lpgsbox... no
configure: WCSLIB appears to be available.
checking for /usr/lib/libwcs.a... no
checking for /usr/lib/wcs/libwcs.a... no
checking for /usr/lib/wcslib/libwcs.a... no
checking for /usr/local/lib/libwcs.a... yes
checking for /usr/local/lib/libpgsbox.a... yes
checking for /usr/local/pgplot/libwcs.a... no
checking for /usr/local/pgplot/wcs/libwcs.a... no
checking for /usr/local/pgplot/wcslib/libwcs.a... no
checking for /usr/local/cfitsio/libwcs.a... no
checking for /usr/local/cfitsio/wcs/libwcs.a... no
checking for /usr/local/cfitsio/wcslib/libwcs.a... no
checking for /usr/local/wcslib/libwcs.a... no
checking for /usr/local/wcslib/wcs/libwcs.a... no
checking for /usr/local/wcslib/wcslib/libwcs.a... no
checking for /local/lib/libwcs.a... no
checking for /local/lib/wcs/libwcs.a... no
checking for /local/lib/wcslib/libwcs.a... no
checking for /local/pgplot/libwcs.a... no
checking for /local/pgplot/wcs/libwcs.a... no
checking for /local/pgplot/wcslib/libwcs.a... no
checking for /local/cfitsio/libwcs.a... no
checking for /local/cfitsio/wcs/libwcs.a... no
checking for /local/cfitsio/wcslib/libwcs.a... no
checking for /opt/SUNWspro/lib/libwcs.a... no
checking for /opt/SUNWspro/lib/wcs/libwcs.a... no
checking for /opt/SUNWspro/lib/wcslib/libwcs.a... no
checking for /opt/local/lib/libwcs.a... no
checking for /opt/local/lib/wcs/libwcs.a... no
checking for /opt/local/lib/wcslib/libwcs.a... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h

Change History (2)

comment:1 Changed 9 years ago by MatthewWhiting

Description: modified (diff)
Status: newassigned

Hi,

It looks as if it has had a problem building against the pgplot library. While configure has indeed found the libcpgplot.a, the test program appears to have failed.

What I think the problem is is that it has not been able to find the X libraries. I've seen this problem occasionally on some machines - even if they are there, the configure script fails to find them.

You can manually specify their location via

configure --x-libraries=DIR --x-includes=DIR

If you attach the config.log and Makefile, I can have a look and verify that this is indeed what is happening.

Cheers, Matt.

comment:2 Changed 9 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

Reply from Laura:

Hi Matthew

Thanks! I just needed to set the x libraries:

./configure --x-libraries=/usr/lib/x86_64-linux-gnu

Cheers,
Laura

Closing ticket - please re-open if problems persist...

Note: See TracTickets for help on using tickets.