Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 15:19:00 +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>
Subject:   Re: unable to build www/webkit-gtk2
Message-ID:  <alpine.BSF.2.20.1504281512250.61687@mail.fig.ol.no>
In-Reply-To: <BLU437-SMTP106C2A2D5C732E0BD987FD780E80@phx.gbl>
References:  <BLU436-SMTP7F33282328769CC4381A980E80@phx.gbl> <alpine.BSF.2.20.1504280914030.61687@mail.fig.ol.no> <BLU437-SMTP106C2A2D5C732E0BD987FD780E80@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Apr 2015 07:04-0400, Carmel NY wrote:

> On Tue, 28 Apr 2015 09:15:03 +0200 (CEST), Trond Endrestøl stated:
> 
> > If memory serves me correct, I had to create a Makefile.local 
> > containing:
> > 
> > USE_GCC=any
> 
> I am sorry, but I do not understand what that means.

In simple terms, it means create a file named Makefile.local in the 
/usr/ports/www/webkit-gtk2 directory where USE_GCC=any is the file's 
sole line of text.

E.g.:

echo USE_GCC=any > /usr/ports/www/webkit-gtk2/Makefile.local

At home I have a bunch of virtual machines, and on some of them I, 
until recently, forced clang as the C and C++ compiler using the 
proper directives in /etc/make.conf. clang doesn't understand the 
library format used for some of the libraries belonging to 
www/webkit-gtk2, thus the need to force the www/webkit-gtk2 port to 
use the GCC compiler.

I stopped forcing clang as the compiler in /etc/make.conf, and moved 
those incatations to /etc/src.conf for my stable/10 and head VMs.

-- 
+-------------------------------+------------------------------------+
| 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 13:20:21 2015
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 F0B5F45C
 for <freebsd-questions@freebsd.org>; Tue, 28 Apr 2015 13:20:21 +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 62E141C3A
 for <freebsd-questions@freebsd.org>; Tue, 28 Apr 2015 13:20:21 +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 t3SDKD2P062031
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Tue, 28 Apr 2015 15:20:13 +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 t3SDKDgv062028;
 Tue, 28 Apr 2015 15:20:13 +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 15:20:13 +0200 (CEST)
From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Sender: Trond.Endrestol@fagskolen.gjovik.no
To: Carmel NY <carmel_ny@outlook.com>
cc: FreeBSD FreeBSD <freebsd-questions@freebsd.org>
Subject: Re: unable to build www/webkit-gtk2
In-Reply-To: <BLU436-SMTP71A5A16A0C60693B92B5FE80E80@phx.gbl>
Message-ID: <alpine.BSF.2.20.1504281519210.61687@mail.fig.ol.no>
References: <BLU436-SMTP7F33282328769CC4381A980E80@phx.gbl>
 <alpine.BSF.2.20.1504280914030.61687@mail.fig.ol.no>
 <BLU436-SMTP71A5A16A0C60693B92B5FE80E80@phx.gbl>
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 <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 13:20:22 -0000

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.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@FreeBSD.ORG  Tue Apr 28 13:24:09 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 C4AD0626
 for <freebsd-questions@freebsd.org>; Tue, 28 Apr 2015 13:24:09 +0000 (UTC)
Received: from serving.schmi.tt (serving.schmi.tt [217.197.83.196])
 by mx1.freebsd.org (Postfix) with ESMTP id 8B5AD1D3C
 for <freebsd-questions@freebsd.org>; Tue, 28 Apr 2015 13:24:09 +0000 (UTC)
Received: by serving.schmi.tt (Postfix, from userid 1001)
 id 5BCBF5965C; Tue, 28 Apr 2015 15:23:04 +0200 (CEST)
Date: Tue, 28 Apr 2015 15:23:04 +0200
From: Moritz Schmitt <moritz@schmi.tt>
To: freebsd-questions@freebsd.org
Subject: Compiling port fails: header file cannot be found
Message-ID: <20150428132304.GA58055@serving.schmi.tt>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
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 13:24:09 -0000

Hello,

I am trying to install

/usr/ports/math/sage

by executing 'make install clean'. This fails with the following error message:

-----
Error building Sage.

The following package(s) may have failed to build:

package: zeromq-4.0.5
log file: /usr/ports/math/sage/work/sage-6.6/logs/pkgs/zeromq-4.0.5.log
-----

And zeromq-4.0.5.log contains additional information:

-----
(...)
ctx.cpp:39:20: fatal error: sodium.h: No such file or directory
 #include <sodium.h>
                    ^
compilation terminated.
-----

This means the header file sodium.h cannot be found. However, my system has it
in /usr/local/include. So it seems that the compiler needs to be told to look
for header files also in this directory. Is there a standard way to do this
when installing a port?

Thanks,
Moritz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1504281512250.61687>