jkalliau@LAPTOP-K1FUMMIP ~/prgm/xfig-3.2.7a $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether ln -s works... yes checking for ranlib... ranlib checking for ar... ar checking the archiver (ar) interface... ar checking for library containing pow... none required checking for library containing png_read_info... no configure: error: Necessary libraries not found.
$ fig2dev.exe -V
fig2dev Version 3.2.7a
Operating System:
CYGWIN_NT-10.0 LAPTOP-K1FUMMIP 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64 Cygwin
CYGWIN_NT-10.0-17763 version 3.0.6-338.x86_64 (corinna@calimero) (gcc version 7.4.0 20181206 (Fedora Cygwin 7.4.0-1) (GCC) ) 2019-04-06 16:18 UTC
Compiling fig2dev 3.2.7a worked with ./configure; make; make install
I know http://www.gohappycup.com/personal/latex/xfig.html, but it recommends to install several libaries( 300 Graphicspackages and 193 Utils-packages and 494 X11-packages), which are not necessary:
http://www.gohappycup.com/personal/latex/cygwin-setup-1.jpg
http://www.gohappycup.com/personal/latex/cygwin-setup-2.jpg
and xfig 3.2.7 seems to work without those (only few of them), therefore installing them seems to be a huge overkill.
Installing xfig 3.2.7 was easy I just choose xfig in the cygwinsetup.
Compilation of xfig requires not only the runtime libraries, but also the headers. E.g., on cygwin, libpng is most probably already installed, but also install libpng-devel. Analogously for other libraries, e.g., libjpeg, x11-devel (?), xpm, xaw3d. To get the build dependencies, you might want to have a look at the contents of the xfig-src package of cygwin.
If you succeed to compile xfig, please report which packages you had to install.
Ticket can be closed.
I do not know which libary was missing it was (at least) one of the following:
libpng-devel
,libpng12
,libpng12-devel
In the Details you find all my installed packages: