Gentoo Archives: gentoo-user

From: Justin R Findlay <justin@××××××××.us>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] linux make modules solved
Date: Fri, 16 Jun 2006 01:07:14
Message-Id: 20060616005955.GA23377@jfindlay.us
1 I finally figured out why linux wouldn't build its modules. Although I
2 learned a lot about make it was because I had set
3
4 GREP_OPTIONS="--color=always"
5
6 in my /root/.bashrc which is sourced by shell invocations from make (and
7 odd shell scripts as well, like configure scripts). So, the lesson is,
8 don't modify common shell utilities in ~/.bashrc or strange things might
9 happen. There are a couple of safe alternatives for grep colors. You
10 can move GREP_OPTIONS to ~/.bash_profile which is only sourced by login
11 shells, or you can define
12
13 alias cgrep="--color=always"
14
15 In keeping with the shell color theme I have also defined:
16
17 alias less="less -R"
18 alias tree="tree -C"
19
20
21 Justin
22 --
23 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] linux make modules solved Daniel Drake <dsd@g.o>