[tahoe-lafs-trac-stream] [tahoe-lafs] #1717: 'sudo make install' doesn't work

tahoe-lafs trac at tahoe-lafs.org
Sun May 26 22:10:17 UTC 2013


#1717: 'sudo make install' doesn't work
----------------------------+----------------------------------------------
     Reporter:  davidsarah  |      Owner:  warner
         Type:  defect      |     Status:  new
     Priority:  normal      |  Milestone:  1.11.0
    Component:  packaging   |    Version:  1.9.1
   Resolution:              |   Keywords:  setuptools install review-needed
Launchpad Bug:              |
----------------------------+----------------------------------------------
Changes (by daira):

 * keywords:  setuptools install => setuptools install review-needed
 * priority:  major => normal
 * milestone:  undecided => 1.11.0


Old description:

> erpo41 wrote on volunteergrid2-l:
> > Hi all,
> >
> > Since my node seems stable, I'm beginning to upload my backups into
> > the grid. Since tahoe is running on a dedicated server in its own user
> > account, I need to make the tahoe executable available to my personal
> > user account on that server. (Previously I had been running tahoe out
> > of /home/volunteergrid2/allmydata-tahoe-1.9.1/bin.)
> >
> > When I tried to install tahoe, I got the following error messages:
> {{{
>   eric at io:/home/volunteergrid2/allmydata-tahoe-1.9.1$ sudo make install
>   python ./setup.py install --single-version-externally-managed
>   running update_version
>   no version-control data found, leaving _version.py alone
>   running install
>   error: You must specify --record or --root when building system
> packages
>   make: *** [install] Error 1
> }}}
> > This is why I hate building/installing from source on Linux. What do
> > --record and --root do? Does "building system packages" refer to
> > building the executable or a deb/rpm package? Do I actually have to go
> > back and rebuild the tahoe executable with those options? If so, where
> > do I insert those options in the "python setup.py build" command line
> > recommended by quickstart.rst for building the executable? What do
> > those options do and what should I set them to on my system?
>
> The 'install' Makefile target should not be using
> {{{--single-version-externally-managed}}}.
>
> As a workaround, use '{{{sudo python ./setup.py install}}}'.

New description:

 erpo41 wrote on volunteergrid2-l:
 > Hi all,
 >
 > Since my node seems stable, I'm beginning to upload my backups into
 > the grid. Since tahoe is running on a dedicated server in its own user
 > account, I need to make the tahoe executable available to my personal
 > user account on that server. (Previously I had been running tahoe out
 > of /home/volunteergrid2/allmydata-tahoe-1.9.1/bin.)
 >
 > When I tried to install tahoe, I got the following error messages:
 {{{
   eric at io:/home/volunteergrid2/allmydata-tahoe-1.9.1$ sudo make install
   python ./setup.py install --single-version-externally-managed
   running update_version
   no version-control data found, leaving _version.py alone
   running install
   error: You must specify --record or --root when building system packages
   make: *** [install] Error 1
 }}}
 > This is why I hate building/installing from source on Linux. What do
 > --record and --root do? Does "building system packages" refer to
 > building the executable or a deb/rpm package? Do I actually have to go
 > back and rebuild the tahoe executable with those options? If so, where
 > do I insert those options in the "python setup.py build" command line
 > recommended by quickstart.rst for building the executable? What do
 > those options do and what should I set them to on my system?

 The 'install' Makefile target should not be using
 {{{--single-version-externally-managed}}}.

 As a workaround, use '{{{sudo python ./setup.py install}}}'.

--

Comment:

 Pull request at [https://github.com/tahoe-lafs/tahoe-lafs/pull/44].

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1717#comment:6>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list