astromatic / swarp

resample and coadd FITS images to an arbitrary astrometric projection
https://astromatic.net/software/swarp
GNU General Public License v3.0
31 stars 5 forks source link

no ./configure in master? #10

Open entaylor opened 2 years ago

entaylor commented 2 years ago

I find myself unable to install the swarp master branch, having downloaded a .zip archive.

I see that there is the configure.ac, but no ./configure . I also see that there is a ./configure in, e.g., the RoyBranch.

I've spent about 30 min or so discovering autoconf. Which is maybe good for me, i concede, but ... well, not strictly necessary! But then, that seems not like the solution: after running autoconf, when i try to run the resulting ./configure, i get the following error: configure: error: cannot find required auxiliary files: config.guess config.sub install-sh

I think either the ./configure needs to be added to the branch, or the INSTALL needs to be edited to explain how to obtain and use autoconf.

kirxkirx commented 9 months ago

Similar story here: I want to compile swarp on a machine with no autoconf (but with all the other usual developer tools). Having an actual configure script at least in the release archive would be helpful.

marie-lougm commented 3 months ago

Same issue here. I tried autoreconf -vif and then ./configure and now I have an error about cfitsio: checking for cc_r... gcc checking for fitsio.h... no checking for cfitsio/fitsio.h... no configure: error: CFITSIO include files not found at default location! Exiting.

Don't know how to proceed now...

ebertin commented 2 months ago

You're right, this is an oversight and it needs to be properly documented. You have to run the ./autogen.sh script that comes with the package, that will regenerate a proper configure script for you. The reason for this is that the autotools evolve over time (or at least they did), and in many situations the original configure would fail. Never had any issue with autogen.sh so far., at least on Linux.