Hi Again,
Today I modified my buildout to include the TMPDIR variable:
[varnish-build]
recipe = zc.recipe.cmmi
#1.1 (2010-08-05) - Updated Varnish to 2.1.3. [hannosch]
url = ${varnish:download-url}
environment =
TMPDIR=${buildout:directory}/var/tmp
Also created the var/tmp directory:
mkdir -p var/tmp
Unfortunately, zc.recipe.cmmi insists on using /tmp for unpacking the
varnish tarbal and compile from there.
Installing varnish-build.
varnish-build: Unpacking and configuring
varnish-build: Updating environment: TMPDIR=/home/anec/apps/anec/var/tmp
sh: ./configure: /bin/sh: bad interpreter: Permission denied
While:
Installing varnish-build.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File
"/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 1660, in main
File
"/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 532, in install
File
"/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 1204, in _call
File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 163,
in install
File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 190,
in cmmi
File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 32,
in system
SystemError: ('Failed', './configure
--prefix=/home/anec/apps/anec/parts/varnish-build')
Finally, to make it work, I downloaded the zc.recipe.cmmi tarball, unpacked
it to src/ and added it 2 lines of code to use var/tmp as a base dir for
compilation :P
---
Noe
2010/10/24 danielle <[email protected]>
>
>
> Noe Misael Nieto Arroyo wrote:
> >
> > I could not find any option in zc.recipe.cmmi and zc.buildout to change
> > the
> > default path where temporary directories are made.
> >
> zc.recipe.cmmi allows you to change environment variables by adding an
> environment statement
> may be you can change TMPDIR ..
> If TMPDIR is set, it specifies the directory to use for temporary files.
> GCC
> uses temporary files to hold the output of one stage of compilation which
> is
> to be used as input to the next stage: for example, the output of the
> preprocessor, which is the input to the compiler proper.
> (http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc.pdf)
> --
> View this message in context:
> http://plone.293351.n2.nabble.com/Installing-varnish-fails-on-CENTOS-tp5660395p5667973.html
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
> _______________________________________________
> Setup mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/setup
>
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup