glob2-devel
[Top][All Lists]
Advanced

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

Re: [glob2-devel] scons install. but i get weired permission deny


From: Stéphane Magnenat
Subject: Re: [glob2-devel] scons install. but i get weired permission deny
Date: Sun, 26 Aug 2007 16:32:12 +0200
User-agent: KMail/1.9.7

On Sunday 26 August 2007 12:43:07 Leo Wandersleb wrote:
> Stéphane Magnenat wrote:
> > Does scons
> > has the equivalent of make install ?
>
> yes. "scons install". but weired things are happening here:
>
> I followed http://globulation2.org/wiki/Building_the_.deb_file:
> cd DirectoryYouDownloadedAndUnpackedGlob2
> scons
> sudo checkinstall -D //didn't work
> sudo checkinstall scons install //worked, so i changed that line in the
> wiki
>
> sudo dpkg -i glob2_beta1-1_amd64.deb
>
> but now:
> $ glob2
> bash: /usr/local/bin/glob2: Permission denied
> $ sudo glob2
> Password:
> (glob2 runs fine)

Hum, I think that is because checkinstall is executed as root.

I've tried:
        fakeroot checkinstall -D scons install
and
        checkinstall --fstrans -D scons install
Both produce an error, but nevertheless build the package. Yet when I try to 
install them, they fail because they try to overwrite g++, which is of utmost 
nastyness.

If anyone manage to get this thing working properly, we should put on the wiki 
the correct checkinstall command line, with correct description and 
dependencies.

The normal way to do debian package is through debian/rules which do change 
some permissions in the process. We can write handcrafted script that copies 
files by hand. That is trivial, but takes some time. If somewant want to do 
it, I've attached an example to this mail.

Have a nice day,

Steph

-- 
http://stephane.magnenat.net

Attachment: rules
Description: Text document


reply via email to

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