From owner-freebsd-apache@FreeBSD.ORG Sun Apr 7 16:58:41 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 844596B8; Sun, 7 Apr 2013 16:58:41 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1D65E8; Sun, 7 Apr 2013 16:58:41 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id bg2so2848175pad.9 for ; Sun, 07 Apr 2013 09:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=xTsKLl4yVXRtpmqOxS41BAaTgacIAeAbLpIpsiFRQfE=; b=WsyM/SkkZxtcPP+OFPoPLIhpIcv4lKn13G75sMFkgTIfVS/hTCjIZ255xV5wkGRmOy wgvHsyoCETpSL9g03gU3wPlLQKVxra5L+kOSK3U64ubYNqsXnY5Z7VhgM5nDjtqYwbyb t2YifszVrL51PAMAYizMVphy5ml7dVtj6LUybJI5BWyliGGfWHehjxTfBVPS335pCi4X iEZed/3nTvowWnORaOnQC2MhPnmXWswqCwFbY4U4UZl195shR379xzBk35xh+Wj9yfen 1ObMcetNSPQa8hUyjATL/Gy5bUqcetlGdyfo2ObASCeOnO5knGwIiu+MVsVcGTCTqz2U L+Rw== MIME-Version: 1.0 X-Received: by 10.66.119.5 with SMTP id kq5mr3547993pab.193.1365353914700; Sun, 07 Apr 2013 09:58:34 -0700 (PDT) Sender: lwhsu.freebsd@gmail.com Received: by 10.68.81.229 with HTTP; Sun, 7 Apr 2013 09:58:34 -0700 (PDT) In-Reply-To: <516102EF.4090102@douglasthrift.net> References: <1365299328.57643.YahooMailNeo@web125804.mail.ne1.yahoo.com> <516102EF.4090102@douglasthrift.net> Date: Mon, 8 Apr 2013 00:58:34 +0800 X-Google-Sender-Auth: stb_IAVh7csTxZO0dmYqArGyrVA Message-ID: Subject: Re: mod_wsgi Port FreeBSD (Broken) From: Li-Wen Hsu To: Douglas Thrift Content-Type: text/plain; charset=UTF-8 Cc: Jaret Bartsch , freebsd-apache@freebsd.org, freebsd-python@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 16:58:41 -0000 On Sun, Apr 7, 2013 at 1:23 PM, Douglas Thrift wrote: > On 4/6/2013 6:48 PM, Jaret Bartsch wrote: [...] >> In file included from mod_wsgi.c:142: >> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file >> or directory >> apxs:Error: Command failed with rc=65536 >> . >> *** [mod_wsgi.la] Error code 1 >> 1 error >> *** [do-build] Error code 1 >> >> Stop in /usr/ports/www/mod_wsgi3. [...] > Hello, > > I'm not sure what's going on, but this seems like a problem with how > Python and/or Apache are configured. I've CCed the FreeBSD mailing lists > for those. > It looks like that PTH option is enabled when building Python. I can build mod_wsgi{,3} correctly with default options of Python. But I don't have time to check what's going wrong currently. Is there anybody can help get into this? -- Li-Wen Hsu http://lwhsu.org