[oi-dev] Variable PATH in Makefile (tornado)
Carsten Grzemba
grzemba at contac-dt.de
Wed Apr 14 10:56:39 UTC 2021
Am 14.04.21 12:40 schrieb Nona Hansel <nona.h at seznam.cz>:
>
>
>
>
>
>
> Hello,
>
> I'm having some problems updating tornado. Currently, the PATH variable in Makefile is defined in the older mode like this:
> PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
> Like this, tornado builds, installs and publishes fine.
>
>
> When I change it to the newer mode:
> PATH=$(PATH.gnu)
> It builds fine, but fails during gmake install with this message:
>
> Copying tornado.egg-info to /export/home/nona/oi-userland/components/python/tornado/build/prototype/i386/usr/lib/python2.7/vendor-packages/tornado-5.1.1-py2.7.egg-info
> running install_scripts
> gfind /export/home/nona/oi-userland/components/python/tornado/build/prototype/i386/usr/lib/python2.7/vendor-packages -type f -exec gawk '/^#!.*python/{print FILENAME}{nextfile}' {} + | xargs gsed -i -e '1 s;^.*$;#!/usr/bin/python2.7;'
> gsed: no input files
> gmake: *** [/export/home/nona/oi-userland/make-rules/setup.py.mk:113: /export/home/nona/oi-userland/components/python/tornado/build/i86-2.7/.installed] Error 123
>
>
> Do you have any idea why it doesn't work? How can I fix it?
> Thank you!
> Best regards,
> Nona
>
>
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
This is the contents of PATH.gnu:
PATH.gnu = $(PATH.prepend):$(GNUBIN):$(USRBINDIR$(BITS)):$(USRBINDIR):$(USRSBINDIR$(BITS)):$(USRSBINDIR):$(PERL5BINDIR)
I think the sequence is important or the problem.
--
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20210414/611fec27/attachment-0001.html>
More information about the oi-dev
mailing list