Results 1 to 2 of 2

Thread: Fail to compile m4 package

  1. #1
    Join Date
    Mar 2021
    Beans
    6

    Fail to compile m4 package

    Hello, please help me solve this problem,
    I use Cygwin under Windows Xp and I plan to install packages for compiling and running programs in Fortran and C languages and before, it is necessary to build and compile packages. I tried to configure m4 but when I type "make" in Cygwin console I got this message:
    $ make
    C:/cygwin/bin/sh.exe
    C:/cygwin/bin/make all-recursive
    C:/cygwin/bin/sh.exe
    make[1]: Entering directory `C:/cygwin/tc/m4-1.4.18'
    make[1]: Nothing to be done for `all-recursive'.
    make[1]: Leaving directory `C:/cygwin/tc/m4-1.4.18'
    and when I type "make" and "make -j" in the / lib subdirectory I have these errors:
    $ make
    make (e=-1): Error -1
    make: *** [sys/stat.h] Error -1
    $ make -j
    make (e=-1): Error -1
    make: *** [sys/stat.h] Error -1
    make: *** Waiting for unfinished jobs....
    make (e=-1): Error -1
    make: *** [sys/time.h] Error -1
    make (e=-1): Error -1
    make: *** [sys/types.h] Error -1
    make (e=-1): Error -1
    make: *** [sys/wait.h] Error -1


    how can I fix these errors to install the package?
    please do not hesitate to react with my post.
    N.B: I use an offline cygwin version, so I can not add packages from Cygwin setup Installer

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Fail to compile m4 package

    While Cygwin may provide a substantial library of GNU and other open-source APIs and may provide an environment similar to Linux, it is not Linux.

    Moved to Windows.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •