[Server-devel] [IIAB] iiab on xo-4
    Tim Moody 
    tim at timmoody.com
       
    Sat Jul 26 10:55:35 EDT 2014
    
    
  
I found pkg_resources.py and setuptools in /piptmp, which seems wrong, but I don’t know why it is there and how to cause it to install where I assume it should be in /usr/lib/python2.7/site-packages/.
Tim
From: Tim Moody 
Sent: Saturday, July 26, 2014 10:44 AM
To: Internet In a Box Working Group 
Cc: server-devel at lists.laptop.org ; xsce-devel 
Subject: Re: [IIAB] iiab on xo-4
Thanks.  This got me past the /tmp space problem, but now I have a new problem.
If for some reason,  such as mirrors unavailable, /bin/pip install -U -b /piptmp --use-mirrors Internet-in-a-Box fails and I rerun I get
Found existing installation: MarkupSafe 0.18
  Uninstalling MarkupSafe:
    Successfully uninstalled MarkupSafe
Running setup.py install for markupsafe
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: No module named setuptools
In /usr/lib/python2.7/site-packages/ I have
-rw-r--r--  2 root root    144 Nov  2  2007 setuptools-0.6c11-py2.7.egg-info
-rw-r--r--  2 root root     34 Nov  2  2007 setuptools.pth
I can also get a variant of the problem 
ImportError: No module named pkg_resources, which I believe is part of setuptools.
I tried yum erase python-pip python-devel  gcc xz-devel  mod_wsgimod_xsendfile and then reinstalled, assuming that setuptools must be part of one of these packages, but that did not solve the problem.
I tried yum install python-setuptools, but that did not solve the problem either.
Any help is welcome.
Tim
From: Braddock Gaskill 
Sent: Friday, July 25, 2014 5:25 PM
To: Internet In a Box Working Group 
Cc: XSCE/xsce ; server-devel 
Subject: Re: [IIAB] iiab on xo-4
Hi Tim, 
pip builds its packages in /tmp by default.  You can specify a different directory where you have enough disk space.
See http://stackoverflow.com/questions/10617198/pip-creates-build-directories
pip install -b customized_build_directory to specify another directory asbuild base directory, for example /tmp
On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody <tim at timmoody.com> wrote:
  We switched xsce to using pip instead of rpms to install iiab in order to get the latest version.  However, during the install process on an xo-4 I get IOError: [Errno 28] No space left on device.  I notice that /tmp has 0 bytes available.  It’s contents are
  drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
  drwx------  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
  drwx------  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
  drwx------  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z
  Any suggestions?  We didn’t get this error when using rpms.  Is there an easy way to build the rpms?
  I tried cloning https://github.com/braddockcg/internet-in-a-box.git
  and running internet-in-a-box/scripts/build_rpms.sh
  but I got
  iiab_id_rsa private key must be in current directory
  Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20140726/20f39d65/attachment.html>
    
    
More information about the Server-devel
mailing list