From owner-freebsd-ports@FreeBSD.ORG Fri Feb 22 19:09:52 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 416C9240 for ; Fri, 22 Feb 2013 19:09:52 +0000 (UTC) (envelope-from gary@hayers.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.200.141]) by mx1.freebsd.org (Postfix) with ESMTP id E334A3D7 for ; Fri, 22 Feb 2013 19:09:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 29AE5E022; Fri, 22 Feb 2013 14:09:49 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mailout.easydns.com Received: from mailout.easydns.com ([127.0.0.1]) by localhost (mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4vJ2YZOF+S1; Fri, 22 Feb 2013 14:09:42 -0500 (EST) Received: from ares.hayers.org (cpc1-tilb7-2-0-cust218.basl.cable.virginmedia.com [94.168.104.219]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id 64301E0A8; Fri, 22 Feb 2013 14:09:42 -0500 (EST) Received: from ares.hayers.org (mx1.hayers.org [127.0.0.1]) by ares.hayers.org (Postfix) with ESMTP id 1F3AF701F4F; Fri, 22 Feb 2013 19:09:41 +0000 (GMT) X-Virus-Scanned: HCF running on mx1.hayers.org Received: from ares.hayers.org ([127.0.0.1]) by ares.hayers.org (mx1.hayers.org [127.0.0.1]) (HCF-Sophos-Sweep, port 10024) with ESMTP id USOqrswHQXXI; Fri, 22 Feb 2013 19:09:25 +0000 (GMT) Received: from [192.168.8.2] (zeus.hayers.org [192.168.8.2]) (Authenticated sender: gary) by ares.hayers.org (Postfix) with ESMTPA id B0AC2701EBE; Fri, 22 Feb 2013 19:09:25 +0000 (GMT) Message-ID: <5127C294.5030900@hayers.org> Date: Fri, 22 Feb 2013 19:10:12 +0000 From: "Gary J. Hayers" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Zhihao Yuan Subject: Re: Need help to port www/py-falcon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 19:09:52 -0000 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@hayers.org PGP Signature http://www.hayers.org/pgp