unable to build www/webkit-gtk2

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Apr 28 13:20:22 UTC 2015


On Tue, 28 Apr 2015 07:31-0400, Carmel NY wrote:

> On Tue, 28 Apr 2015 09:15:03 +0200 (CEST), Trond Endrestøl stated:
> 
> > 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 CXXconfigure: error: Compiler GCC
> > > >= 4.7 or Clang >= 3.3 is required for C++ compilation
> configure: error: Compiler GCC >= 4.7 or Clang >= 3.3 is required for C++ compilation
> F/wtf/text/libWTF_la-CStrFreeBSD clang version 3.4.1
> (tags/RELEASE_34/dot1-final 208032) 20140512
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> 
> > > 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
> 
> OKay, that fails too.

Right, my memory failed me again.

Try:

USE_GCC=4.8+

> configure: error: Compiler GCC >= 4.7 or Clang >= 3.3 is required for C++ compilation
> 
> I have the following installed:
> 
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> 
> gcc-4.8.4_3
> 
> This problem is making my MUA, claws-mail, unusable with HTML mail. I have no
> idea how many other problems are going to start popping up soon either.

-- 
+-------------------------------+------------------------------------+
| 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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list