I get the following error during compilation
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../../local_include -I../../Util/epsic/src -I../../Util/epsic/src/util -I../../Util/epsic/src/util -D_REENTRANT -I/usr/include/cfitsio -I. -I. -I. -I. -I/home/pulsar_rhel8/include -I/opt/local/include -I/usr/local/include -O2 -Wall -pthread -MT smint.o -MD -MP -MF $depbase.Tpo -c -o smint.o smint.C &&\
mv -f $depbase.Tpo $depbase.Po
smint.C:27:10: fatal error: Pulsar/CalibrationInterpolator.h: No such file or directory
#include "Pulsar/CalibrationInterpolator.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:1677: smint.o] Error 1
make[4]: Leaving directory '/home/pulsar_rhel8/src/psrchive/More/Applications'
make[3]: *** [Makefile:1713: all-recursive] Error 1
make[3]: Leaving directory '/home/pulsar_rhel8/src/psrchive/More/Applications'
make[2]: *** [Makefile:595: all-recursive] Error 1
make[2]: Leaving directory '/home/pulsar_rhel8/src/psrchive/More'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/home/pulsar_rhel8/src/psrchive'
make: *** [Makefile:452: all] Error 2
I didn't use any configure flags other than --prefix. The headers seem to be in More/Polarimetry but that path isn't being found.
Thanks for the fast reply. This fixed the compilation error. I may
have found another issue...the --disable-local option for configure
doesn't seem to actually prevent linking against libraries in
/opt/local/lib. From what I can tell this is happening when libtool
runs. Maybe this is something about my local environment, but none of
my environment variables point to /opt/local/lib and our sysadmin tells
me there shouldn't be anything in the system installs pointing there,
either. Could this be a problem with the compilation scripts, or do you
think it's some subtle issue about my local build environment?
On 8/2/22 14:38, Willem van Straten wrote:
Related
Bugs: #467
Hi Ryan,
Sorry about that. I've checked in a fix. Could you please try again?
Cheers,
Willem