From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay01.ispgateway.de ([80.67.29.23]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wchip-0003Wg-Jl for ptxdist@pengutronix.de; Tue, 22 Apr 2014 22:55:23 +0200 Received: from [84.169.222.217] (helo=euler.fritz.box) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Wchiq-0007vQ-4e for ptxdist@pengutronix.de; Tue, 22 Apr 2014 22:55:20 +0200 Date: Tue, 22 Apr 2014 22:55:25 +0200 From: Bernhard Walle Message-ID: <20140422205525.GA89375@euler.fritz.box> References: <1CFDA15477ACF741AAF78FA447550B7A028DF331@swexchange01.itk.local> <20140422110009.GA87404@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF422@swexchange01.itk.local> <20140422122021.GA87697@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF44D@swexchange01.itk.local> <20140422130734.GA87802@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF487@swexchange01.itk.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1CFDA15477ACF741AAF78FA447550B7A028DF487@swexchange01.itk.local> Subject: Re: [ptxdist] how to configure perl scripting to compile with thread support? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello Martin, * Martin Hollingsworth [2014-04-22 15:50]: > a simple one liner could be like this. Including the threads module already causes the error. > ---------test.pl---------- > #!/usr/bin/perl > use threads; > print "\n Hello World"; > --------------------------- > In the meantime a complete rebuild of the target after "ptxdist distclean" has finished, but the error still appears. my patch to enable Perl is now against git master of ptxdist (which has an updated version of Perl). I tested in on a target (Raspberry Pi) and it works: Disabled threads: root@vetero:~ perl -mthreads -e 'print "x\n";' This Perl not built to support threads Compilation failed in require. BEGIN failed--compilation aborted. Enabled threads: root@vetero:~ perl -mthreads -e 'print "x\n";' x Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de