From owner-freebsd-ports@FreeBSD.ORG Sat Jun 12 07:39:59 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A8FE16A4CE for ; Sat, 12 Jun 2004 07:39:59 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3EF343D48 for ; Sat, 12 Jun 2004 07:39:58 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq54-165.dial.allstream.net [216.123.143.37]) by outbox.allstream.net (Allstream MTA) with SMTP id 59CDCB4A43; Sat, 12 Jun 2004 03:39:48 -0400 (EDT) Date: Sat, 12 Jun 2004 03:39:40 -0400 From: epilogue@allstream.net To: Kris Kennaway Message-Id: <20040612033940.62fe7a84@localhost> In-Reply-To: <20040611212712.GA26551@xor.obsecurity.org> References: <20040611171448.41523165@localhost> <20040611212712.GA26551@xor.obsecurity.org> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: qtorrent build error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 07:39:59 -0000 On Fri, 11 Jun 2004 14:27:12 -0700 Kris Kennaway wrote: > On Fri, Jun 11, 2004 at 05:14:48PM -0400, epilogue@allstream.net wrote: > > hello all, > > > > got this error while trying to build qtorrent. > > > > # make > > ===> > > ===> For qtorrent to work you need to compile > > ===> python WITH_THREADS defined, it is default > > Verify this ^^^ > > Kris > hello again Kris, well, i wasn't sure how to determine whether my installed version of python (2.3.3_5) had been built with threads ('man python' didn't yield anything helpful). because 'with threads' is the default setting in the python Makefile, i presume it had been, but i decided nevertheless to portupgrade to the latest and greatest version (2.3.4) simply for good measure. tried rebuilding, no dice. while reading the qtorrent Makefile, i noted the build/run dependencies are upon py-qt not 'vanilla' python. though the py-qt Makefile makes no mention of valid build switches, i decided to rebuild it and define '--WITH_THREADS=yes'. no error messages. either the switch worked or it was ignored. well, i'm not sure if it was portupgrading python or the 'with threads' switch on py-qt, but the good news is that qtorrent now builds and installs. i should probably have managed to figure this one out solo, but was a little confused by the error message which suggested compiling python with 'default' settings -- how mine must have been installed (unless the port, which originally installed python as a dependency, set something other than default). anyhow, thanks for nudging me in the right direction. cheers, epi