[Top][All Lists]

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

Re: pl2link not found when doing "sudo make install"

From: Nicola Pero
Subject: Re: pl2link not found when doing "sudo make install"
Date: Wed, 24 Aug 2005 19:14:58 +0100 (BST)

It looks like a rule in application.make is being executed when it doesn't 
need to be.

If you want to compile your project with lots and lots of make debugging, 
such as 'make -d', and send me the result, I can look at it.

Do you have a reproducible testcase ?  That's the easiest way for me to
debug it.

I'm really really pressed with work at a moment and will be for a couple
of weeks, so I can't investigate it easily now, but if it's just looking
at a reproducible testcase I might be able to do. ;-)


> Hello,
> On 8/24/05, David Ayers <address@hidden> wrote:
> > Frederico Muñoz schrieb:
> > > Hello all,
> > >
> > > I have this problem lingering for some time now and I can't detect
> > > what causes it: whenever I do make install via sudo I get a "/bin/sh:
> > > pl2link: command not found" error message. I have found some messages
> > > with this problem in the archives but, alas, no answers.
> > 
> > This is a security feature of your sudo configuration...
> (...)
> > Look at:
> > env |grep ^PATH
> > vs.
> > sudo env |grep ^PATH
> > and watch the GNUstep paths disappear.
> > 
> Yes, thanks. I was aware of the fact that the problem derived from the
> fact that the environment is reset by sudo, although I didn't make
> mention of it in my mail. What I found odd was that some applications
> (Gorm, fo example) work with "sudo make install".
> > Personally my inclination would be that we should try to avoid to run
> > any GNUstep tools during "make install" and have everything needed run
> > during make.  But I'm not deep enough into -make to understand all the
> > implications to know if that's practical or not.  For now I really
> > switch to root (which sets up by environment by sourcing and
> > invoke "make install".
> > 
> Yes, I'm doing the same, but this problem appeared due to the need of
> autobuilding Installer using a predifined set of methods that use make
> && sudo make install. I think that the pl2link invocation can indeed
> by done in "make", since all I see it do is creating a .desktop file
> in the application bundle. There is no need to be root for that.
> I'll try to change application.make and other relevant files to see if
> I can move pl2link somewhere else, since I think that "sudo make
> install" should work out of the box.
> Best Regards,
> fsmunoz
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]