Need help to port www/py-falcon

Gary J. Hayers gary at hayers.org
Fri Feb 22 19:09:52 UTC 2013


On 22/02/2013 14:51, Zhihao Yuan wrote:
> Hi, hackers:
>
> I'm porting falcon http://falconframework.org/ ,
> but I found a problem with installation.
>
> If I set
>
>    USE_PYDISTUTILS=        easy_install
>
> then I got
>
>    ===>   Generating temporary packing list
>    running easy_install
>    Creating /tmp/falcon/lib/python2.7/site-packages/site.py
>    error: Not a URL, existing file, or requirement spec:
> '/home/lichray/devel/ports/www/py-falcon/work/falcon-0.1.1/dist/falcon-0.1.1-py2.7.egg'
>
> while my egg should be named
>
>    falcon-0.1.1-py2.7-freebsd-8.3-STABLE-amd64.egg
>
> And if I set
>
>    USE_PYDISTUTILS=        easy_install
>
> I got
>
>    ===>   Generating temporary packing list
>    running install
>    Checking .pth file support in /tmp/falcon/lib/python2.7/site-packages/
>    error: can't create or remove files in install directory
>
>    The following error occurred while trying to add or remove files in the
> installation directory:
>
>        [Errno 2] No such file or directory:
> '/tmp/falcon/lib/python2.7/site-packages/test-easy-install-26039.pth'
>
> I don't get it, since I have no problem to install it through `pip` or
> manually run `python setup.py install` under the source tree.  I need
> some help.
>
>

Right going by your Makefile the error I get is slightly different:-

Using /usr/local/lib/python2.7/site-packages/six-1.2.0-py2.7.egg
Finished processing dependencies for falcon==0.1.1
===>   Registering installation for py27-falcon-0.1.1
pkg: 
lstat(/usr/local/lib/python2.7/site-packages/falcon-0.1.1-py2.7.egg-info): 
No such file or directory
Installing py27-falcon-0.1.1... done

You are running make install as root right?


-- 
Regards,
Gary J. Hayers
gary at hayers.org

PGP Signature
http://www.hayers.org/pgp


More information about the freebsd-ports mailing list