Menu

#44 Install xfig 3.2.7a on Cygwin

closed
nobody
2019-10-30
2019-04-25
No
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.

1 Attachments

Discussion

  • tkl

    tkl - 2019-04-26

    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.

     
  • Johannes Kalliauer

    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:

    Package Version
    _autorebase 001007-1
    adwaita-icon-theme 3.26.1-1
    adwaita-themes 3.22.3-1
    alternatives 1.3.30c-10
    at-spi2-core 2.26.2-1
    base-cygwin 3.8-1
    base-files 4.3-2
    bash 4.4.12-3
    bc 1.06.95-2
    binutils 2.29-1
    bitstream-vera-fonts 1.10-2
    bzip2 1.0.6-3
    ca-certificates 2.26-1
    coreutils 8.26-2
    crypto-policies 20190218-1
    csih 0.9.11-1
    cygrunsrv 1.62-1
    cygutils 1.4.16-2
    cygwin 3.0.6-1
    cygwin-debuginfo 3.0.6-1
    cygwin-devel 3.0.6-1
    dash 0.5.9.1-1
    dbus 1.10.22-1
    dbus-x11 1.10.22-1
    dconf-service 0.26.1-1
    dejavu-fonts 2.37-1
    desktop-file-utils 0.23-1
    diffutils 3.5-2
    dri-drivers 18.0.5-1
    editrights 1.03-1
    emacs-common 26.2-1
    emacs-X11 26.2-1
    file 5.32-1
    findutils 4.6.0-1
    font-adobe-dpi100 7.5-3
    font-adobe-dpi75 7.5-3
    gamin 0.1.10-15
    gawk 5.0.0-1
    gawk-debuginfo 5.0.0-1
    gcc-core 7.4.0-1
    gcc-fortran 7.4.0-1
    gcc-g++ 7.4.0-1
    gdb 8.1.1-1
    gdk-pixbuf2.0-svg 2.40.20-1
    getent 2.18.90-4
    ghostscript 9.27-1
    ghostscript-fonts-other 6.0-1
    glib2.0-networking 2.54.1-1
    gnome-menus 3.13.3-3
    gnuplot 5.2.6-1
    grace 5.1.25-2
    grep 3.0-2
    groff 1.22.4-1
    gsettings-desktop-schemas 3.24.1-1
    gtk-update-icon-cache 3.22.28-1
    gtk2.0-engines-pixmap 2.24.32-1
    gzip 1.8-1
    hicolor-icon-theme 0.15-1
    hostname 3.13-1
    icon-naming-utils 0.8.90-1
    info 6.6-1
    ipc-utils 1.0-2
    less 530-1
    libanthy-common 9100h-2
    libanthy0 9100h-2
    libargp 20110921-3
    libatk-bridge2.0_0 2.26.1-1
    libatk1.0_0 2.26.1-1
    libatomic1 7.4.0-1
    libatspi0 2.26.2-1
    libattr1 2.4.48-2
    libautotrace3 0.31.1-19
    libblkid1 2.33.1-1
    libbz2_1 1.0.6-3
    libcairo2 1.14.12-1
    libcatgets1 1.1-2
    libcerf1 1.11-1
    libcom_err2 1.44.5-1
    libcroco0.6_3 0.6.12-1
    libcrypt0 2.1-1
    libcrypt2 4.4.4-1
    libcurl4 7.59.0-1
    libdatrie1 0.2.8-1
    libdb5.3 5.3.28-2
    libdbus1_3 1.10.22-1
    libedit0 20130712-1
    libEMF1 1.0.9-1
    libepoxy0 1.4.3-1
    libexpat1 2.2.6-1
    libfam0 0.1.10-15
    libfdisk1 2.33.1-1
    libffi6 3.2.1-2
    libfftw3_3 3.3.8-1
    libfontconfig-common 2.12.6-1
    libfontconfig1 2.12.6-1
    libfontenc1 1.1.3-1
    libfpx1 1.3.1.4-1
    libfreetype6 2.8.1-1
    libfribidi0 0.19.7-1
    libgc1 8.0.4-1
    libgcc1 7.4.0-1
    libgd3 2.2.5-2
    libgdbm4 1.12-1
    libgdk_pixbuf2.0_0 2.36.11-1
    libgfortran4 7.4.0-1
    libggi2 2.2.2-4
    libggiwmh0 0.3.2-4
    libgif7 5.1.4-1
    libgii1 1.0.2-4
    libGL1 18.0.5-1
    libglapi0 18.0.5-1
    libglib2.0_0 2.54.3-1
    libgmp10 6.1.2-1
    libgnome-menu3_0 3.13.3-3
    libgnutls30 3.6.6-1
    libgomp1 7.4.0-1
    libgraphite2_3 1.3.10-1
    libgs9 9.27-1
    libgssapi_krb5_2 1.15.2-2
    libgtk2.0_0 2.24.32-1
    libgtk3_0 3.22.28-1
    libguile2.0_22 2.0.14-3
    libharfbuzz0 1.7.6-1
    libhdf5_10 1.8.20-1
    libhdf5hl_10 1.8.20-1
    libhogweed4 3.4.1-1
    libICE-devel 1.0.9-1
    libICE6 1.0.9-1
    libiconv 1.14-3
    libiconv2 1.14-3
    libidn11 1.33-1
    libidn2_0 2.0.4-1
    libimagequant0 2.10.0-1
    libintl8 0.19.8.1-2
    libisl15 0.16.1-1
    libjasper4 2.0.14-1
    libjbig2 2.0-14
    libjpeg-devel 1.5.3-1
    libjpeg8 1.5.3-1
    libjson-glib1.0_0 1.4.2-1
    libk5crypto3 1.15.2-2
    libkrb5_3 1.15.2-2
    libkrb5support0 1.15.2-2
    liblcms2_2 2.9-1
    libllvm5.0 5.0.1-1
    libltdl7 2.4.6-6
    liblzma5 5.2.3-1
    liblzo2_2 2.10-1
    libm17n0 1.7.0-1
    libMagickC++6_8 6.9.10.11-1
    libMagickCore6_6 6.9.10.11-1
    libMagickWand6_6 6.9.10.11-1
    libmailutils-sieve-extensions 3.5-1
    libmailutils5 3.5-1
    libmcpp0 2.7.2-2
    libming1 0.4.8-2
    libmpc3 1.1.0-1
    libmpfr6 4.0.2-1
    libncurses++w10 6.0-12.20171125
    libncurses-devel 6.0-12.20171125
    libncursesw10 6.0-12.20171125
    libnetcdf11 4.4.1.1-1
    libnetpbm-devel 10.80.00-1
    libnetpbm10 10.80.00-1
    libnettle6 3.4.1-1
    libnghttp2_14 1.37.0-1
    libopenldap2_4_2 2.4.42-1
    libotf0 0.9.13-1
    libp11-kit0 0.23.15-1
    libpango1.0_0 1.40.14-1
    libpaper-common 1.1.24-2
    libpaper1 1.1.24-2
    libpcre1 8.43-1
    libpipeline1 1.4.0-1
    libpixman1_0 0.34.0-1
    libpkgconf3 1.6.0-1
    libplotter2 2.6-5
    libpng-devel 1.6.34-1
    libpng12 1.2.59-1
    libpng12-devel 1.2.59-1
    libpng16 1.6.34-1
    libpng16-devel 1.6.34-1
    libpopt-common 1.16-2
    libpopt0 1.16-2
    libproxy1 0.4.14-2
    libpsl5 0.18.0-1
    libpstoedit0 3.73-1
    libquadmath0 7.4.0-1
    libreadline7 7.0.3-3
    librest0.7_0 0.8.1-1
    librsvg2_2 2.40.20-1
    libsasl2_3 2.1.26-11
    libsigsegv2 2.10-2
    libSM-devel 1.2.2-1
    libSM6 1.2.2-1
    libsmartcols1 2.33.1-1
    libsoup-gnome2.4_1 2.60.3-1
    libsoup2.4_1 2.60.3-1
    libsqlite3_0 3.27.2-1
    libssh2_1 1.7.0-1
    libssl1.0 1.0.2r-2
    libssl1.1 1.1.1b-1
    libssp0 6.4.0-4
    libstdc++6 7.4.0-1
    libtasn1_6 4.13-1
    libthai0 0.1.26-1
    libtiff6 4.0.9-1
    libtirpc-common 1.1.4-1
    libtirpc3 1.1.4-1
    libunistring2 0.9.10-1
    libuuid-devel 2.33.1-1
    libuuid1 2.33.1-1
    libwebp7 0.6.1-2
    libwebpmux3 0.6.1-2
    libX11-devel 1.6.5-1
    libX11-xcb1 1.6.5-1
    libX11_6 1.6.5-1
    libXau-devel 1.0.8-1
    libXau6 1.0.8-1
    libXaw3d-devel 1.6.2-2
    libXaw3d8 1.6.2-2
    libXaw7 1.0.13-1
    libxcb-composite0 1.12-2
    libxcb-devel 1.12-2
    libxcb-ewmh2 0.4.1-1
    libxcb-glx0 1.12-2
    libxcb-icccm4 0.4.1-1
    libxcb-image0 0.3.9-1
    libxcb-render0 1.12-2
    libxcb-shm0 1.12-2
    libxcb-util1 0.3.9-1
    libxcb1 1.12-2
    libXcomposite1 0.4.3-1
    libXcursor1 1.1.15-1
    libXdamage1 1.1.4-1
    libXdmcp-devel 1.1.2-1
    libXdmcp6 1.1.2-1
    libXext-devel 1.3.3-1
    libXext6 1.3.3-1
    libXfixes3 5.0.3-1
    libXfont2_2 2.0.3-1
    libXft2 2.3.2-1
    libXi6 1.7.9-1
    libXinerama1 1.1.3-1
    libxkbfile1 1.0.9-1
    libXm4 2.3.6-1
    libxml2 2.9.9-2
    libXmu-devel 1.1.2-1
    libXmu6 1.1.2-1
    libXmuu1 1.1.2-1
    libXpm-devel 3.5.12-1
    libXpm4 3.5.12-1
    libXrandr2 1.5.1-1
    libXrender1 0.9.9-1
    libXt-devel 1.1.5-1
    libXt6 1.1.5-1
    libXtst6 1.2.3-1
    libzip5 1.5.1-1
    login 1.13-1
    lua 5.2.4-1
    luit 20130217-1
    m17n-db 1.7.0-2
    m4 1.4.18-1
    mailutils 3.5-1
    make 4.2.1-2
    man-db 2.7.6.1-1
    mcpp 2.7.2-2
    mintty 3.0.0-1
    nano 2.9.7-1
    ncurses 6.0-12.20171125
    nedit 5.6-1
    netpbm 10.80.00-1
    openssh 8.0p1-2
    openssl 1.1.1b-1
    p11-kit 0.23.15-1
    p11-kit-trust 0.23.15-1
    perl 5.26.3-1
    perl-Encode-Locale 1.05-2
    perl-File-Listing 6.04-6
    perl-HTML-Parser 3.72-2
    perl-HTML-Tagset 3.20-6
    perl-HTTP-Cookies 6.04-2
    perl-HTTP-Daemon 6.01-6
    perl-HTTP-Date 6.02-6
    perl-HTTP-Message 6.18-1
    perl-HTTP-Negotiate 6.01-6
    perl-IO-HTML 1.001-3
    perl-libwww-perl 6.38-1
    perl-LWP-MediaTypes 6.04-1
    perl-Net-HTTP 6.18-1
    perl-Try-Tiny 0.30-1
    perl-URI 1.76-1
    perl-WWW-RobotRules 6.02-6
    perl-XML-NamespaceSupport 1.12-2
    perl-XML-Parser 2.44-3
    perl-XML-SAX 1.00-1
    perl-XML-SAX-Base 1.09-2
    perl-XML-SAX-Expat 0.51-3
    perl-XML-Simple 2.25-1
    perl_autorebase 5.26.3-1
    perl_base 5.26.3-1
    pkg-config 1.6.0-1
    pkgconf 1.6.0-1
    poppler-data 0.4.8-1
    publicsuffix-list-dafsa 20180523-1
    python-pip-wheel 19.0.3-1
    python-setuptools-wheel 40.8.0-1
    python2 2.7.16-1
    python27 2.7.16-1
    rebase 4.4.4-1
    rgb 1.0.5-1
    run 1.3.4-2
    sed 4.4-1
    setxkbmap 1.3.1-1
    shared-mime-info 1.8-1
    t1lib5 5.1.2-13
    tar 1.29-1
    tcsh 6.20.00-1
    terminfo 6.0-12.20171125
    terminfo-extra 6.0-12.20171125
    transfig 3.2.7-1
    transfig-debuginfo 3.2.5e-2
    twm 1.0.9-1
    tzcode 2018i-1
    tzdata 2018i-1
    unzip 6.0-17
    urw-base35-fonts 20170801-5
    urw-base35-fonts-legacy 20170801-5
    util-linux 2.33.1-1
    vim 8.0.1567-1
    vim-common 8.0.1567-1
    vim-minimal 8.0.1567-1
    w32api-headers 5.0.4-1
    w32api-runtime 5.0.4-1
    wget 1.19.1-2
    which 2.20-2
    windows-default-manifest 6.4-1
    xauth 1.0.10-1
    xbitmaps 1.1.1-1
    xcursor-themes 1.0.4-1
    xdg-user-dirs 0.16-1
    xdg-utils 1.1.1-2
    xfig 3.2.7-1
    xfig-debuginfo 3.2.7-1
    xfig-lib 3.2.7-1
    xhost 1.0.7-1
    xinit 1.3.4-14
    xkbcomp 1.4.0-1
    xkeyboard-config 2.23.1-1
    xmodmap 1.0.9-1
    xorg-server 1.20.4-1
    xorg-server-common 1.20.4-1
    xorg-x11-fonts-dpi100 7.5-3
    xorg-x11-fonts-dpi75 7.5-3
    xorg-x11-fonts-misc 7.5-3
    xorgproto 2018.4-1
    xrdb 1.1.0-1
    xterm 330-1
    xwin-xdg-menu 20170321-1
    xxd 8.0.1567-1
    xz 5.2.3-1
    zlib 1.2.11-1
    zlib-devel 1.2.11-1
    zlib0 1.2.11-1

     
  • tkl

    tkl - 2019-04-26
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.