From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 07:15:12 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F71F3E6; Tue, 28 Apr 2015 07:15:12 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A5BA91009; Tue, 28 Apr 2015 07:15:11 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t3S7F3R1060271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 28 Apr 2015 09:15:03 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t3S7F3uA060268; Tue, 28 Apr 2015 09:15:03 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 28 Apr 2015 09:15:03 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Carmel NY cc: FreeBSD FreeBSD , gnome@FreeBSD.org Subject: Re: unaqble to build www/webkit-gtk2 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 07:15:12 -0000 On Mon, 27 Apr 2015 23:07-0400, Carmel NY wrote: > I have been unable to build th "www/webkit-gtk2" port. It always ends with > this error message: > > CXX Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o > CXX Source/WTF/wtf/libWTF_la-Assertions.lo > CXX Source/WTF/wtf/libWTF_la-Atomics.lo > CXX Source/WTF/wtf/libWTF_la-BitVector.lo > CXX Source/WTF/wtf/libWTF_la-CompilationThread.lo > CXX Source/WTF/wtf/libWTF_la-Compression.lo > CXX Source/WTF/wtf/libWTF_la-CryptographicallyRandomNumber.lo > CXX Source/WTF/wtf/libWTF_la-CurrentTime.lo > CXX Source/WTF/wtf/libWTF_la-DataLog.lo > CXX Source/WTF/wtf/libWTF_la-DateMath.lo > CXX Source/WTF/wtf/libWTF_la-DecimalNumber.lo > CXX Source/WTF/wtf/libWTF_la-DynamicAnnotations.lo > CXX Source/WTF/wtf/libWTF_la-FastBitVector.lo > CXX Source/WTF/wtf/libWTF_la-FastMalloc.lo > CXX Source/WTF/wtf/libWTF_la-FilePrintStream.lo > CXX Source/WTF/wtf/libWTF_la-FunctionDispatcher.lo > CXX Source/WTF/wtf/libWTF_la-GregorianDateTime.lo > CXX Source/WTF/wtf/libWTF_la-HashTable.lo > CXX Source/WTF/wtf/libWTF_la-MD5.lo > CXX Source/WTF/wtf/libWTF_la-MainThread.lo > CXX Source/WTF/wtf/libWTF_la-MediaTime.lo > CXX Source/WTF/wtf/libWTF_la-MetaAllocator.lo > CXX Source/WTF/wtf/libWTF_la-NumberOfCores.lo > CXX Source/WTF/wtf/libWTF_la-RAMSize.lo > CXX Source/WTF/wtf/libWTF_la-OSAllocatorPosix.lo > CXX Source/WTF/wtf/libWTF_la-OSAllocatorWin.lo > CXX Source/WTF/wtf/libWTF_la-OSRandomSource.lo > CXX Source/WTF/wtf/libWTF_la-PageAllocationAligned.lo > CXX Source/WTF/wtf/libWTF_la-PageBlock.lo > CXX Source/WTF/wtf/libWTF_la-ParallelJobsGeneric.lo > CXX Source/WTF/wtf/libWTF_la-PrintStream.lo > CXX Source/WTF/wtf/libWTF_la-RandomNumber.lo > CXX Source/WTF/wtf/libWTF_la-RefCountedLeakCounter.lo > CXX Source/WTF/wtf/libWTF_la-RunLoop.lo > CXX Source/WTF/wtf/libWTF_la-SHA1.lo > CXX Source/WTF/wtf/libWTF_la-SixCharacterHash.lo > CXX Source/WTF/wtf/libWTF_la-StackBounds.lo > CXX Source/WTF/wtf/libWTF_la-StringPrintStream.lo > CXX Source/WTF/wtf/libWTF_la-TCSystemAlloc.lo > CXX Source/WTF/wtf/libWTF_la-ThreadIdentifierDataPthreads.lo > CXX Source/WTF/wtf/libWTF_la-ThreadSpecificWin.lo > CXX Source/WTF/wtf/libWTF_la-Threading.lo > CXX Source/WTF/wtf/libWTF_la-ThreadingPthreads.lo > CXX Source/WTF/wtf/libWTF_la-ThreadingWin.lo > CXX Source/WTF/wtf/libWTF_la-WTFThreadData.lo > CXX Source/WTF/wtf/libWTF_la-dtoa.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-bignum-dtoa.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-bignum.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-cached-powers.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-diy-fp.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-double-conversion.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-fast-dtoa.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-fixed-dtoa.lo > CXX Source/WTF/wtf/dtoa/libWTF_la-strtod.lo > CXX Source/WTF/wtf/gobject/libWTF_la-GRefPtr.lo > CXX Source/WTF/wtf/gobject/libWTF_la-GlibUtilities.lo > CXX Source/WTF/wtf/gtk/libWTF_la-MainThreadGtk.lo > CXX Source/WTF/wtf/gtk/libWTF_la-RunLoopGtk.lo > CXX Source/WTF/wtf/text/libWTF_la-AtomicString.lo > CXX Source/WTF/wtf/text/libWTF_la-AtomicStringTable.lo > CXX Source/WTF/wtf/text/libWTF_la-Base64.lo > CXX Source/WTF/wtf/text/libWTF_la-CString.lo > CXX Source/WTF/wtf/text/libWTF_la-StringBuilder.lo > CXX Source/WTF/wtf/text/libWTF_la-StringImpl.lo > CXX Source/WTF/wtf/text/libWTF_la-StringStatics.lo > CXX Source/WTF/wtf/text/libWTF_la-WTFString.lo > CXX Source/WTF/wtf/threads/libWTF_la-BinarySemaphore.lo > CXX Source/WTF/wtf/unicode/libWTF_la-CollatorDefault.lo > CXX Source/WTF/wtf/unicode/libWTF_la-UTF8.lo > CXX Source/WTF/wtf/unicode/icu/libWTF_la-CollatorICU.lo > CXXLD libWTF.la > CXXLD Programs/LLIntOffsetsExtractor > /usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as linker script > /usr/bin/ld:./.libs/libWTF.a:1: syntax error > c++: error: linker command failed with exit code 1 (use -v to see invocation) > GNUmakefile:40539: recipe for target 'Programs/LLIntOffsetsExtractor' failed > gmake[1]: *** [Programs/LLIntOffsetsExtractor] Error 1 > gmake[1]: Leaving directory '/usr/ports/www/webkit-gtk2/work/webkitgtk-2.4.8' > *** Error code 1 > > Stop. > make: stopped in /usr/ports/www/webkit-gtk2 > > Does anyone have any idea what the problem is? > > Thanks! If memory serves me correct, I had to create a Makefile.local containing: USE_GCC=any -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 08:40:02 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E93B2AF8 for ; Tue, 28 Apr 2015 08:40:02 +0000 (UTC) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 716681A4F for ; Tue, 28 Apr 2015 08:40:01 +0000 (UTC) Received: from [192.168.1.35] (host86-132-232-69.range86-132.btcentralplus.com [86.132.232.69]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id t3S8dh6Z097715 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Tue, 28 Apr 2015 09:39:47 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <553F474E.7070207@fjl.co.uk> Date: Tue, 28 Apr 2015 09:39:42 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ipfw, natd and a server on a second WAN address References: <553E95EF.8050002@fjl.co.uk> <553EB32A.6040702@fjl.co.uk> In-Reply-To: <553EB32A.6040702@fjl.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 08:40:03 -0000 On 27/04/2015 23:07, Frank Leonhardt wrote: > On 27/04/2015 21:02, Frank Leonhardt wrote: >> I hope someone will *know* how to do this. I can guess, but if I >> guess wrong there'll be consequences... > > I've just looked at the *latest* man page, and there's a section on > MULTIPLE INSTANCES that wasn't there before (it turns out it was added > in release 8.0). This might be my answer, except that the -instance > option was added at the same time, and the router is on 7.x :-( > > It does say that before -instance was added, the way to do this was > running more than one natd, which I suspected anyway. > There's also a natd option called "redirect_address" that's very simple and seems to do what I need just fine. For some reason I couldn't find it written up so took a punt, and for once :-) it does what you hope it will.