linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make scripts are bizzare under Debian.
@ 2003-02-10 12:02 Paul Furness
  2003-02-10 13:01 ` Paul Furness
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Furness @ 2003-02-10 12:02 UTC (permalink / raw)
  To: linux-admin

Hi.

I'm trying to run a make script on a Debian machine, and it is behaving
in the *most* weird way.

We have a tree of source code with makefiles in all the appropriate
places, and it works fine on our RedHat systems. We are now trying to
get it to work on a Debian machine, where it starts to behave strangely.
here's how:

If I go to the top of the source tree, and do:

make clean

everything behaves itself fine.

If, however, I run the make script like this:

./debian/rules.pmf clean

then it errors in all the directories, saying "no rule to make target
`w'"

We initialy started with a full debian template make script, but have
ended up removing almost everything in it and we now have this as the
entire rules.pmf script:

<snip>

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
DH_VERBOSE=1

clean:
        $(MAKE) "clean"

</snip>

the exact output we get is this:

<snip>

po:~/viss-1.5.2# debian/rules.pmf clean

/usr/bin/make "clean"
make[1]: Entering directory `/root/viss-1.5.2'
make[2]: Entering directory `/root/viss-1.5.2/shared'
make[2]: *** No rule to make target `w'.  Stop.
make[2]: Leaving directory `/root/viss-1.5.2/shared'
make[2]: Entering directory `/root/viss-1.5.2/utils'
make[2]: *** No rule to make target `w'.  Stop.
make[2]: Leaving directory `/root/viss-1.5.2/utils'

...repeated for each directory until...

make[1]: *** [clean] Error 2
make[1]: Leaving directory `/root/viss-1.5.2'
make: *** [clean] Error 2

po:~/viss-1.5.2#

</snip>


As you can see, it's definitley trying to run "make clean" but somewhere
"clean" gets turnes into "w."

Anybody got any idea at all why it's doing this?


tks.

Paul.



-- 
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make scripts are bizzare under Debian.
  2003-02-10 12:02 make scripts are bizzare under Debian Paul Furness
@ 2003-02-10 13:01 ` Paul Furness
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Furness @ 2003-02-10 13:01 UTC (permalink / raw)
  To: linux-admin

Forget it - user error (I can't read make files properly... ) 
It works now...

Paul.

On Mon, 2003-02-10 at 12:02, Paul Furness wrote:
> Hi.
> 
> I'm trying to run a make script on a Debian machine, and it is behaving
> in the *most* weird way.
> 
> We have a tree of source code with makefiles in all the appropriate
> places, and it works fine on our RedHat systems. We are now trying to
> get it to work on a Debian machine, where it starts to behave strangely.
> here's how:
> 
> If I go to the top of the source tree, and do:
> 
> make clean
> 
> everything behaves itself fine.
> 
> If, however, I run the make script like this:
> 
> ./debian/rules.pmf clean
> 
> then it errors in all the directories, saying "no rule to make target
> `w'"
> 
> We initialy started with a full debian template make script, but have
> ended up removing almost everything in it and we now have this as the
> entire rules.pmf script:
> 
> <snip>
> 
> #!/usr/bin/make -f
> 
> # Uncomment this to turn on verbose mode.
> DH_VERBOSE=1
> 
> clean:
>         $(MAKE) "clean"
> 
> </snip>
> 
> the exact output we get is this:
> 
> <snip>
> 
> po:~/viss-1.5.2# debian/rules.pmf clean
> 
> /usr/bin/make "clean"
> make[1]: Entering directory `/root/viss-1.5.2'
> make[2]: Entering directory `/root/viss-1.5.2/shared'
> make[2]: *** No rule to make target `w'.  Stop.
> make[2]: Leaving directory `/root/viss-1.5.2/shared'
> make[2]: Entering directory `/root/viss-1.5.2/utils'
> make[2]: *** No rule to make target `w'.  Stop.
> make[2]: Leaving directory `/root/viss-1.5.2/utils'
> 
> ...repeated for each directory until...
> 
> make[1]: *** [clean] Error 2
> make[1]: Leaving directory `/root/viss-1.5.2'
> make: *** [clean] Error 2
> 
> po:~/viss-1.5.2#
> 
> </snip>
> 
> 
> As you can see, it's definitley trying to run "make clean" but somewhere
> "clean" gets turnes into "w."
> 
> Anybody got any idea at all why it's doing this?
> 
> 
> tks.
> 
> Paul.
-- 
Paul Furness

Systems Manager

Steepness is an illusion caused by flat things leaning over.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-10 13:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 12:02 make scripts are bizzare under Debian Paul Furness
2003-02-10 13:01 ` Paul Furness

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).