From owner-freebsd-questions@FreeBSD.ORG Sat Nov 5 21:34:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C5DA16A41F for ; Sat, 5 Nov 2005 21:34:32 +0000 (GMT) (envelope-from don.hinton@vanderbilt.edu) Received: from escher.isis.vanderbilt.edu (escher.isis.Vanderbilt.Edu [129.59.129.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 226F343D45 for ; Sat, 5 Nov 2005 21:34:31 +0000 (GMT) (envelope-from don.hinton@vanderbilt.edu) Received: from localhost (localhost [127.0.0.1]) by escher.isis.vanderbilt.edu (Postfix) with ESMTP id 20FA9B74126; Sat, 5 Nov 2005 15:11:38 -0600 (CST) From: Don Hinton Organization: ISIS To: freebsd-questions@freebsd.org, Gerard Seibert Date: Sat, 5 Nov 2005 15:33:53 -0600 User-Agent: KMail/1.8.2 References: <20051105145302.W50346@seibercom.net> In-Reply-To: <20051105145302.W50346@seibercom.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20568516.h94CXBQ7zd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200511051533.57091.don.hinton@vanderbilt.edu> Cc: Subject: Re: Stop in subversion-perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 21:34:32 -0000 --nextPart20568516.h94CXBQ7zd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Gerard: On Saturday 05 November 2005 13:57, Gerard Seibert wrote: > I am sure that someone else has all ready asked this question, but I have > not come across it. > > When trying to build 'subversion-perl', I receive this error message: > > //Start error message Snippet// > > /usr/local/bin/swig -noproxy -nopm -perl > -I../../../../../subversion/bindings/sw > ig -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl > -I../../../.. > /../subversion/include -I/usr/local/include/apr-1 -o core.c > ../../../../../subv > ersion/bindings/swig/core.i > /usr/local/include/apr-1/apr.h:389: Error: no decision has been made on > APR_PATH > _MAX for your platform > *** Error code 1 Since the swig preprocessor doesn't load all the system headers, unless you= =20 pass -includeall, it has not way to know that they system defined PATH_MAX,= =20 i.e., it doesn't load limits.h, et al.=20 I'm not sure what the right fix would be, but you can edit apr.i and add=20 #define PATH_MAX 1024, or whatever it's supposed to be on your system, just= =20 before %include apr.h. =20 apr.i can be found here: /usr/ports/devel/subversion-perl/work/subversion-1.2.3/subversion/bindings/= swig/apr.i As for the correct value, this is what I get: $ cpp -dM /usr/local/include/apr-1/apr.h |grep PATH_MAX #define _XOPEN_PATH_MAX 1024 #define _POSIX_PATH_MAX 256 #define APR_PATH_MAX PATH_MAX #define PATH_MAX 1024 So 1024 looks right... hth... don btw, I don't like the new logo either... > > Stop in > /usr/ports/devel/subversion-perl/work/subversion-1.2.3/subversion/bindin > gs/swig/perl/native. > *** Error code 1 > > Stop in /usr/ports/devel/subversion-perl/work/subversion-1.2.3. > *** Error code 1 > > Stop in /usr/ports/devel/subversion-perl. > > //end error message snippet// > > What can I do to alleviate this situation? =2D-=20 Don Hinton 615.480.5667 ISIS, Vanderbilt University --nextPart20568516.h94CXBQ7zd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDbSVF0U0xbM5cLs0RAhCVAJkBvDAGCkmlfp7fx/lUuGLuMzV07ACfXvBe i4S6CEPKupF85lDla9A0dGg= =1RJe -----END PGP SIGNATURE----- --nextPart20568516.h94CXBQ7zd--