<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>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/.</DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=tim@timmoody.com
href="mailto:tim@timmoody.com">Tim Moody</A> </DIV>
<DIV><B>Sent:</B> Saturday, July 26, 2014 10:44 AM</DIV>
<DIV><B>To:</B> <A title=iiab@sgvhak.org href="mailto:iiab@sgvhak.org">Internet
In a Box Working Group</A> </DIV>
<DIV><B>Cc:</B> <A title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org">server-devel@lists.laptop.org</A> ;
<A title=xsce-devel@googlegroups.com
href="mailto:xsce-devel@googlegroups.com">xsce-devel</A> </DIV>
<DIV><B>Subject:</B> Re: [IIAB] iiab on xo-4</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Thanks. This got me past the /tmp space problem, but now I have a new
problem.</DIV>
<DIV> </DIV>
<DIV>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</DIV>
<DIV> </DIV>
<DIV>Found existing installation: MarkupSafe 0.18</DIV>
<DIV> Uninstalling MarkupSafe:</DIV>
<DIV> Successfully uninstalled MarkupSafe</DIV>
<DIV>Running setup.py install for markupsafe</DIV>
<DIV> Traceback (most recent call last):</DIV>
<DIV> File "<string>", line 1, in <module></DIV>
<DIV> ImportError: No module named setuptools</DIV>
<DIV> </DIV>
<DIV>In /usr/lib/python2.7/site-packages/ I have</DIV>
<DIV>-rw-r--r-- 2 root root 144 Nov 2 2007
setuptools-0.6c11-py2.7.egg-info</DIV>
<DIV>-rw-r--r-- 2 root root 34 Nov 2
2007 setuptools.pth</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">I can also
get a variant of the problem </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV>ImportError: No module named pkg_resources, which I believe is part of
setuptools.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>I tried yum install python-setuptools, but that did not solve the problem
either.</DIV>
<DIV> </DIV>
<DIV>Any help is welcome.</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=braddock@braddock.com
href="mailto:braddock@braddock.com">Braddock Gaskill</A> </DIV>
<DIV><B>Sent:</B> Friday, July 25, 2014 5:25 PM</DIV>
<DIV><B>To:</B> <A title=iiab@sgvhak.org href="mailto:iiab@sgvhak.org">Internet
In a Box Working Group</A> </DIV>
<DIV><B>Cc:</B> <A title=xsce@noreply.github.com
href="mailto:xsce@noreply.github.com">XSCE/xsce</A> ; <A
title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org">server-devel</A> </DIV>
<DIV><B>Subject:</B> Re: [IIAB] iiab on xo-4</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Tim,
<DIV>pip builds its packages in /tmp by default. You can specify a
different directory where you have enough disk space.</DIV>
<DIV> </DIV>
<DIV>See <A
href="http://stackoverflow.com/questions/10617198/pip-creates-build-directories">http://stackoverflow.com/questions/10617198/pip-creates-build-directories</A></DIV>
<DIV> </DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">pip
install -b customized_build_directory</CODE><SPAN
style="FONT-SIZE: 14px; FONT-FAMILY: arial,'Liberation Sans','DejaVu Sans',sans-serif; COLOR: rgb(0,0,0); LINE-HEIGHT: 17px">
to specify another directory as</SPAN><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">build</CODE><SPAN
style="FONT-SIZE: 14px; FONT-FAMILY: arial,'Liberation Sans','DejaVu Sans',sans-serif; COLOR: rgb(0,0,0); LINE-HEIGHT: 17px">
base directory, for example </SPAN><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">/tmp</CODE><BR></DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px"><BR></CODE></DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px"><BR></CODE></DIV></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody <SPAN
dir=ltr><<A href="mailto:tim@timmoody.com"
target=_blank>tim@timmoody.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>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</DIV>
<DIV> </DIV>
<DIV>drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root</DIV>
<DIV>drwx------ 2 root root 60 Jul 25 21:02
pip-nd2tVc-unpack</DIV>
<DIV>drwx------ 3 root root 60 Jul 25 20:56
systemd-private-Dn2ozM</DIV>
<DIV>drwx------ 3 root root 60 Jul 25 20:56
systemd-private-m5Or2z</DIV>
<DIV> </DIV>
<DIV>Any suggestions? We didn’t get this error when using rpms. Is
there an easy way to build the rpms?</DIV>
<DIV> </DIV>
<DIV>I tried cloning <A
title=https://github.com/braddockcg/internet-in-a-box.git
href="https://github.com/braddockcg/internet-in-a-box.git"
target=_blank>https://github.com/braddockcg/internet-in-a-box.git</A></DIV>
<DIV> </DIV>
<DIV>and running internet-in-a-box/scripts/build_rpms.sh</DIV>
<DIV> </DIV>
<DIV>but I got</DIV>
<DIV> </DIV>
<DIV>iiab_id_rsa private key must be in current directory</DIV><SPAN
class=HOEnZb><FONT color=#888888>
<DIV> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>