cygwin running LegOS or BrickOS on WinXP

Posted on 2004-09-08
Medium Priority
Last Modified: 2010-05-18
I followed the instructions as per the sourceforge site:

Seems like everything went ok, until step #6.

In the LegOS directory I enter the following command:
"make realclean"

I get this error:
bash: make: command not found

Also, I don't know if this is part of the problem, but my directory structure didn't exactly match the site's structure. The command "cd /" went into my cygwin directory so I would have to traverse into the LegOS via the cd command.

Thanks for your help :)
Question by:polkadot
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 45

Expert Comment

ID: 12013597
Hi polkadot,

There could be two reasons

1. Make is not installed on your system. Search for make executable. If it is not found, then you have to install make

2. Make is installed on your system but the directory in which it is installed is not in your PATH variable. In this case, edit PATH variable in your profile and add the directory in which make is installed


Accepted Solution

aleric earned 1500 total points
ID: 12033460
3. Make is installed and in your PATH, but it depends on a library that for which you don't have read permissions.

4. There is a 'make' in your path but it is a script that starts with '#! /foo' and '/foo' is not in your PATH (or not installed).
LVL 45

Expert Comment

ID: 12033511
Hi aleric,

3. -> make will generate error ... This is shell unable to locate make
4. -> Still make will be found and error message will be bad command interpreter or something similar
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Author Comment

ID: 12034413
ok.... how do I fix it?

I have asked a similar question and gotten this response on another post:

Comment from Tintin  
Date: 09/09/2004 06:05PM EDT

make is a standard Unix development tool.

As BrickOS has a dependency on an older version of cygwin (B20), so you are relying on the cgywin version that's available from the BrickOS website to include everything you need.   This appears not to be the case.

The Cygwin website (http://www.cygwin.com/) says:

The last Bxx release was in December 1998. The Bxx releases are no longer available. In fact, older versions of the DLL or utilities are not usually available on this web site. Any cygwin program built from December 1998 onward should work correctly with newer DLLs.
LVL 45

Expert Comment

ID: 12041230
Hi Polkadot,

You sure were in a hurry .... Was the problem solved ? May I suggest that you accepted an incorrect answer and should post in community support to get this question closed properly.



Expert Comment

ID: 12042355
Sunny coder,

now you go a bit too far imho.  I have 28 years of computer experience, 14 years of which
are with all kind of UNIX Operating Systems.  Although I agree that the 'accepting' of
my answer without an additional reply is a bit strange and therefore might be accidental,
your pre-assumption that it is an incorrect answer is an incorrect insult.

The fact that you (apparently) don't know that this kind of situations CAN cause that
error - and then, when you try it out on one Operating System (your current one), it
doesnt work, does NOT mean that it is incorrect.  There are two possibilities here:

1) You have the first hand experience (like me, and that WAS on linux) that the
     scetched situations can cause the  error message that polkadot asked for.
2) You never had this experience.

Apparently you never run into this problem.  But that doesn't mean I am lieing.
With THAT error he should be checking which 'make' is being tried to be executed
and if he is using 'bash' that can be done with GNU which version 2.16
(which --version will tell you if you have that, otherwise you can get it
from http://www.xs4all.nl/~carlo17/which/index.html
And then check if it is a shell script.  If it is check the interpreter that it uses
in the same way.  If not check the executable in the following way:
Use 'ldd' to find out if all shared libraries can be found, and use 'ls' to check
if each of them exists and is readable (check the permissions of each directory
in their path too).  

That fact that that makes sense is because it IS possible that one has to look
for the problem there: I have had the same problem in the past and 3 and 4
have both been the cause.

In logic:

<certain environment>  && (case3 || case4) --> <given error>
<your environment> && (case3 || case4) --> !<given error>

Then your  conclusion that  !case3 && !case4  is a bit wrong.
LVL 45

Expert Comment

ID: 12042503
Hi aleric,

Perhaps I should have expressed myself better. My point was, errors will be generated in conditions 3 and 4 but in those cases error message will not be "bash: make: command not found"

The error message clearly says that bash was not able to locate make executable. Both the points you made would never generate this message.

> Make is installed and in your PATH, but it depends on a library that for which you don't have read permissions.
This should generate errors while installing make ... If you copied the executable, then error will be generated from within make when it uses a function from the library which is not there. Bash will be silent as long as it can find and execute make

>There is a 'make' in your path but it is a script that starts with '#! /foo' and '/foo' is not in your PATH (or not installed).
Bash will whine here but it will whine about not being able to find the command interpreter and not make.

Both scenarios are completely different and will not generate the above error message. The only scenario which I think I forgot was, make was installed and in PATH but did not have execute permissions.

I did not mean to offend you and I apologise if I did, but I am very much inclined to believe my reasoning and whatever little experience I have had with Linux.


Expert Comment

ID: 12046048
Well, I disagree with your "Both the points you made would never generate this message".

That exact error "bash: make: command not found" has occured for me, on linux, in the past
when in fact there was a problem with a library or interpreter.  You're never too old to learn
something new sunnycoder, never say never.

I might not have as much "expert points" on EE as you, but as you to 'littel experience with
linux' then you can trust me when I say it has happened to me in the 10+ years that I am
using linux on a daily basis, and therefore it makes sense to check this: it could be the case
that there was a problem with a library or an interpreter.

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question