Project

General

Profile

Fail to compile m4 package

Added by gadi balouj about 3 years ago

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, and install packages. I tried to configure m4 but when I type "make" in Cygwin console I got these message:
$ make
C:/cygwin/bin/sh.exe
C:/cygwin/bin/make all-recursive
C:/cygwin/bin/sh.exe
make1: Entering directory `C:/cygwin/tc/m4-1.4.18'
make1: Nothing to be done for `all-recursive'.
make1: 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


Replies (39)

RE: Fail to compile m4 package - Added by Brendan DeTracey about 3 years ago

As I said, your computer will not handle Win7 or Win10. Not fast enough, not enough RAM, not enough disk. End of the line. You should check the system requirements for Windows Vista. The cygwin front page (https://www.cygwin.com/) states:

The Cygwin DLL currently works with all recent, commercially released x86_64 versions of Windows, starting with Windows Vista. For more information see the FAQ.
So read the FAQ (https://www.cygwin.com/faq.html#faq.what.supported).

They also state:

32 bit Cygwin
Address space is a very limiting factor for Cygwin. These days, a full 32 bit Cygwin distro is not feasible anymore, and will in all likelihood fail in random places due to an issue with the fork(2) system call.

Therefore we recommend using 32 bit Cygwin only in limited scenarios, with only a minimum of necessary packages installed, and only if there's no way to run 64 bit Cygwin instead.

You have been warned. If you're still sure you really need a 32 bit Cygwin, and there's absolutely no way around it, you may run the setup-x86.exe installer.

If you install Vista you may not have enough disk space to also install Linux (again, you must learn Vista's minimum requirements), but you would have access to whatever 32 bit cygwin packages are still maintained.

Edit: You could also test to see if your computer supports the 64 bit version of Vista. Then you could use cygwin64 with full package support.

RE: Fail to compile m4 package - Added by gadi balouj about 3 years ago

Thank you for your response,
First, I will try to install Lubuntu to boot with WinXp, and then I'll erase the WindXp hard drive to install Windows Vista. I must install Cygwin to run some programs. Things expect to be slow but I have to try. 32-bit Cygwin is not recommended as they noticed, but the most important is to add packages from Cygwin setup. Please, if I encounter any problem then I'll add a reply in this subject.
Thank you very much for your help

RE: Fail to compile m4 package - Added by Brendan DeTracey about 3 years ago

Installing any Windows version will break the GRUB boot loader. GRUB lets you choose Windows or Linux when you start your computer. You might be able to fix GRUB, but it will be easier to simply reinstall Lubuntu after you install Vista. That is, back your work on Lubuntu before installing Vista because 99% chance you will have to reinstall Lubuntu and you don't want to lose your work.

RE: Fail to compile m4 package - Added by gadi balouj about 3 years ago

Thank you for your response,
I have already install Lubuntu 18.04 on the machine and I was planning to install Vista today or tomorrow? does the Installation of Windows vista break the Grub boot menu?

RE: Fail to compile m4 package - Added by gadi balouj about 3 years ago

I installed Lubuntu-18.04-alternate-i386.iso. What's the difference between this version and Lubuntu-18.04.5-desktop-i386.iso? I see in the internet that the the former can be upgraded whereas the latter cannot.

RE: Fail to compile m4 package - Added by Brendan DeTracey about 3 years ago

gadi balouj wrote:

Thank you for your response,
I have already install Lubuntu 18.04 on the machine and I was planning to install Vista today or tomorrow? does the Installation of Windows vista break the Grub boot menu?

Vista will break the GRUB boot menu. You can fix google how to fix or reinstall Lubuntu.

gadi balouj wrote:

I installed Lubuntu-18.04-alternate-i386.iso. What's the difference between this version and Lubuntu-18.04.5-desktop-i386.iso? I see in the internet that the the former can be upgraded whereas the latter cannot.

The difference is described here: https://cdimage.ubuntu.com/lubuntu/releases/18.04/release/
It sounds like the alternate is a minimal installation. Did it install a desktop environment, or does it boot to the command line?

RE: Fail to compile m4 package - Added by gadi balouj about 3 years ago

Thank you very much,
yes Linux boots with WindxP, and a Grub boot menu is displayed when switching on desktop. I run the web browser but it is very slow, I also installed some packages from terminal. I am looking for a version of Windows Vista less than 1GB to install it on the machine, then I'll see if either the dual boot would have maintain or I have to reinstall Lubuntu, or something else.

RE: Fail to compile m4 package - Added by gadi balouj almost 3 years ago

I have a another Laptop with 0,9 GB of RAM and I want to use 148,9 GB of disk space? Is this machine will successfully run Lubuntu and Windows Vista? Because the Desktop's characteristics (mentioned previously in the post ) does make the things very slow especially in web browser

RE: Fail to compile m4 package - Added by Brendan DeTracey almost 3 years ago

Is the CPU on this laptop 32 or 64 bit? With less than 1GB of RAM I think a 32 bit operating system will leave you with more memory for your work.
Why not install Linux on one machine and Windows on the other? Is that an option?

EDIT:
If the Linux desktop applications (like web browser) are too slow I do not think there is a solution. You are running "modern" code on an old machine. Perhaps make minimal Linux installation(not so many desktop applications, Lubuntu-18.04-alternate-i386.iso?) and use the Windows machine for XP or Vista and run desktop applications there. Use the Linux machine for compiling and running your code and plotting figures.

RE: Fail to compile m4 package - Added by gadi balouj almost 3 years ago

Thank you for your response,
The Laptop is 32-bit. I want to compile the codes on Windows Vista platform through Cygwin as well Lubuntu 18.04 platform. The web Browser is very slow on Lubuntu. I installed the lightweight Lubuntu version (Lubuntu-18.04-alternate-i386.iso) and I will install it on the Laptop as well. Are the things expected to run more fast than the desktop machine?

RE: Fail to compile m4 package - Added by Brendan DeTracey almost 3 years ago

I would expect all Linux GUI applications to run poorly on both of your machines. You can try installing a 32 bit Vista, and then see if you can install the 32 bit version of cygwin. All hard drives you have described I would consider too small for dual boot. There is no miracle cure to your situation. 32 bit CPUs have not been widely used in desktops or laptops for almost 20 years. I do not know what else to tell you. Nothing is going to run well on that technology except the old software designed for it. However, you should be able to compile and run your code.

RE: Fail to compile m4 package - Added by gadi balouj almost 3 years ago

I tired to install Cygwin 32-bit on Windows Vista Pc Desktop but I have a problem on the screen of that machine that's why I have to install both Windows Vista and Lubuntu on my Laptop. I had the option to add packges from Cygwin setup in the installed Cygwin version on Desktop machine. I can manage the disk space by changing the actual hard drive by another but I do not know is there a way to pass from 32- to 64-bit??? Actually, the most important for me is to begin by installing both paltforms because I spent a lot of time not doing my essential work

RE: Fail to compile m4 package - Added by Brendan DeTracey almost 3 years ago

You will not be able to pass from 32 to 64 bit. You require a 64 bit machine for that. You are limited to 32 bit software. For example, Lubuntu 18.04 LTS i386 is the final 32 bit release of Lubuntu. It is no longer supported. All packages you install will never increase in version. If you want to install more recent versions of software, you will have to build them from source distributions.
The following Linux distribution might still have 32 bit support : https://www.linuxmint.com/download_lmde.php
I don't know how fast it will run on your computers. I know nothing about the Debian package repository.

RE: Fail to compile m4 package - Added by Brendan DeTracey almost 3 years ago

Gadi, if you use ESGF datasets, like CORDEX or CMIP, read the following from the ESGF user support mailing list(https://esgf.llnl.gov/mailing-list.html):
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dear ESGF users working in Europe,
are you tired of downloading tons of model data? Would you like free computing resources to analize CMIP and CORDEX big data?

The infrastructure of the European part of ESGF is coordinated within the IS-ENES project [1] and new services are developed to provide compute-to-data capabilities for model data pre- and post-processing.
Check it out, you just need the internet to log in, nothing to install, we make the data, the software, and the hardware ready for you!
• For short (~1 month) and quick access: apply to the new ENES Climate Analytic Service (ECAS) at any time. Our national computing facilities and ESGF nodes at DKRZ (Germany), CMCC (Italy), and UKRI-CEDA (UK) offer a virtual climate research environment for Jupyter notebooks users and CNRS-IPSL (France) offers Secure Shell (SSH) access. Just register and start running your scripts today here [2].
• For longer access: write a one-page scientific proposal and apply to the Analysis Platforms, the 4th call is open until 31 May 2021. Our national facilities at DKRZ (Germany) and UKRI-CEDA (UK) offer a virtual climate research environment for users of any software up to November 2022. Send us your proposal, more information here [3].
We created demos and use cases to help you adopt the compute-to-data workflow for both services. If you are not familiar with any compute-to-data workflow, the ECAS would be the place to start and test, before applying to the Analysis Platforms. We had an ECAS Online Training on 8-9 March 2021, you can find all the info and the material here [4].
[1] https://is.enes.org/
[2] https://portal.enes.org/data/data-metadata-service/climate-analytics-service
[3] https://portal.enes.org/data/data-metadata-service/analysis-platforms
[4] https://is.enes.org/events/trainings-and-education/joint-is-enes3-eosc-hub-online-training-event-on-data-analytics-with-enes-climate-analytics-service-ecas

You may leave the list at any time by sending a SIGNOFF ESGF-USER command to: , or by sending a blank email to: .

(26-39/39)