[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problems with fakeroot and $PATH



Hi,

I got no reply on my previous post, so I'm trying again:

I'm building a package with fakeroot.  In the "clean" rule of the main
Makefile, there is line like this:

	(cd src && xmkmf && $(MAKE) clean)

But with fakeroot the PATH is

  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

and thus xmkmf is not found.  Should I hack the Makefile or can I add
/usr/bin/X11 to the PATH inside fakeroot's environment in some way?

What is the best solution?  If it's RTFM, I need a hint...

-- 
Joel Rosdahl <joel@rosdahl.ml.org>   (PGP-key available via finger and WWW)
http://rosdahl.ml.org/joel/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: