collective / collective.hostout

zc.buildout deployment and remote control
22 stars 7 forks source link

Current Ubuntu fails to compile Python: make: *** No rule to make target `altinstall'. #26

Closed jean closed 12 years ago

jean commented 12 years ago

collective/hostout/fabfile.py has:

        api.run('./configure BASECFLAGS=-U_FORTIFY_SOURCE --prefix=%(prefix)s  --enable-unicode=ucs4 --with-threads --with-readline --with-dbm --with-zlib --with-ssl --with-bz2 %(extra_args)s' % locals())
        api.run('make clean')
        api.run('make')
        runescalatable('make altinstall')

But it fails at the last step:

  make: *** No rule to make target `altinstall'.  Stop.

What does the altinstall target do? Can it be changed to just install?

jean commented 12 years ago

The runescalatable command loses the working directory. Fixed in https://github.com/collective/collective.hostout/pull/31