Re: Error in make file
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jan 2008 02:22:38 GMT
Baho Utot <baho-utot@xxxxxxxxxxxx> writes:
The following is a fragment of my Makefile (GNU Make 3.81).
I believe the error stems from the grep (line) but I don't know why it
errors.
PKGLIST is a list of sub directories to "grep the Build.Log" looking for
compile and installation errors.
This is the error:
make: *** [errors] Error 1
Makefile fragment
PKGLIST = Linux-API-Headers Man-pages Glibc
errors:
for dir in $(PKGLIST); do \
echo "Checking: "$$dir; \
grep Error $$dir/Build.Log; \
done
Anyone know the fix?
I copied your fragment into a Makefile,
changed all the spaces to tabs and ran it.
Here is the output:
for dir in Linux-API-Headers Man-pages Glibc; do \
echo "Checking: "$dir; \
grep Error $dir/Build.Log; \
done
Checking: Linux-API-Headers
grep: Linux-API-Headers/Build.Log: No such file or directory
Checking: Man-pages
grep: Man-pages/Build.Log: No such file or directory
Checking: Glibc
grep: Glibc/Build.Log: No such file or directory
make: *** [errors] Error 2
everything looks fine to me.
.
- Follow-Ups:
- Re: Error in make file
- From: Baho Utot
- Re: Error in make file
- References:
- Error in make file
- From: Baho Utot
- Error in make file
- Prev by Date: Idiot's guide to Compiz-fusion
- Next by Date: Re: Mail Server
- Previous by thread: Error in make file
- Next by thread: Re: Error in make file
- Index(es):
Relevant Pages
|
|