Open bradenmacdonald opened 12 years ago
Hi Braden,
Yes, Tom and I have recently had a similar conversation over email -- I clearly setup automake incorrectly (I don't really know how to do it properly). This is something we will have to fix if we decide to stay with C++
I just tried to compile this so I could do some benchmarks on my Macbook. I thought I'd share what I had to do so that it can be easier for others to try this out:
I was getting an error about missing
install-sh
, despite your commit to add it in 299d61ac3895ca572bcaf4ba311c2ebc189c6ab4. I figured out that theinstall-sh
you added is just a symlink pointing to a directory that's fairly specific to your system... On my Mac, this file was missing, as wasdepcomp
. I had to delete theinstall-sh
symlink and runautomake --add-missing
to get this to compile.Then, for some reason
make
was not linking to cfitsio, so I got the following error:I found that if I manually changed the g++ link command and added
-lcfitsio
to the command line, it compiled without error. I suspect the autoconf script is somehow doesn't realize that cfitsio is required?