|
|
'make' messed up completely?
|
|
|
|
Admin Emeritus
Join Date: Nov 2000
Location: New Yawk
Status:
Offline
|
|
I'm not quite sure what exactly is going on here, if someone could shed some light on the problem. make/make install were working fine for me for months under a stock 10.1 install with the 10.1 dev tools, but one day make went kaput, even though cc still works
Take a look what happens when I type "make" after configuring an Emacs 21 installation:
<font face = "courier">% make
cd lib-src; make all \
CC='gcc' CFLAGS='-no-cpp-precomp' CPPFLAGS='' \
LDFLAGS='' MAKE='make'
zsh: command not found: make
make: *** [lib-src] Error 1</font>
This happens here with some trivial little example I made up in C:
<font face = "courier">% make
cc -c main.c
make: cc: Command not found
make: *** [main.o] Error 127</font>
What the heck is going on? 'cc' works by itself, but make completely breaks down now even if I supply the full /usr/bin/make path.
Any ideas why this happened and whether I should just reinstall the dev tools?
thanks
[ 10-30-2001: Message edited by: gorgonzola ]
|
"Do not be too positive about things. You may be in error." (C. F. Lawlor, The Mixicologist)
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
i get <font face = "courier">make: Command not found. </font> and have done since about 10.0.3 i think?
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
having said that, i just got this too, so i dunno what's up with me iBook tonight:
<font color = green><font face = "courier">
[localhost:~] phil% rm -r /.Trash/*
rm: No match.
[localhost:~] phil% su rm -r /.Trash/*
su: No match.
[localhost:~] phil% su
Password:
[localhost:/Users/phil] root# rm -r /.Trash/*
rm: No match.
</font></font>
i love it when things that usually work just decide they're gay for the evening
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Registered User
Join Date: Apr 2000
Status:
Offline
|
|
I get "Command not found".
Gotta love unix...
|
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status:
Offline
|
|
Odd.
Try making a makefile using perl or c++, and see what that gives you.
|
"Against stupidity, the gods themselves contend in vain" (Schiller)
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Apr 2001
Location: Bethesda, MD
Status:
Offline
|
|
Sounds like a pathing problem. In you simple example, how about replacing
"cc" with the full path "/usr/bin/cc"? Do you even supply a "cc" command or are you letting make choose it be default? If you are not, add this line to your makefile:
CC = /usr/bin/cc
dave
|
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Nov 2000
Location: New Yawk
Status:
Offline
|
|
It turned out to be a rather grotesque pathing problem, actually. Let's just say that I had a reset a bunch of env variables, but now it's working...
thanks
|
"Do not be too positive about things. You may be in error." (C. F. Lawlor, The Mixicologist)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|