Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 09:15:03 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Carmel NY <carmel_ny@outlook.com>
Cc:        FreeBSD FreeBSD <freebsd-questions@freebsd.org>, gnome@FreeBSD.org
Subject:   Re: unaqble to build www/webkit-gtk2
Message-ID:  <alpine.BSF.2.20.1504280914030.61687@mail.fig.ol.no>
In-Reply-To: <BLU436-SMTP7F33282328769CC4381A980E80@phx.gbl>
References:  <BLU436-SMTP7F33282328769CC4381A980E80@phx.gbl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <frank2@fjl.co.uk>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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.





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1504280914030.61687>