Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 10:10:56 -0700
From:      =?iso-8859-1?Q?Yves_Gu=E9rin?= <yvesguerin@yahoo.ca>
To:        ports freebsd <ports@FreeBSD.org>
Subject:   dbtool compile error
Message-ID:  <1411146656.899.YahooMailNeo@web122403.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Dear,=0A=0ABefore filing a PR I go thte following error:=0A=0Auname -a:=0AF=
reeBSD beastie 9.3-RELEASE-p1 FreeBSD 9.3-RELEASE-p1 #0: Tue Sep 16 14:35:0=
4 EDT 2014     root@beastie:/usr/obj/usr/src/sys/PATRIOTEBSD43  i386=0A=0AI=
ntel(R) Pentium(R) 4 CPU 2.66GHz=0A=0A=0Adatabases/dbtool (dbtool-1.7.tar.g=
z)=0A...=0Ac++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VER=
SION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_UR=
L=3D\"\" -DPACKAGE=3D\"dbtool\" -DVERSION=3D\"1.7\" -DSTDC_HEADERS=3D1 -DHA=
VE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_=
H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE=
_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_STDIO_H=3D1 -D=
HAVE_STDLIB_H=3D1 -DHAVE_LIBPCRE=3D1 -DHAVE_GETOPT=3D1 -DHAVE_FDOPEN=3D1 -D=
HAVE_FGETC=3D1 -DHAVE_GETENV=3D1 -DHAVE_GETPASS=3D1 -DHAVE_BERKELEY=3D1 -I.=
   -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include=
/db3  -O2 -pipe -fno-strict-aliasing -MT dbtool.o -MD -MP -MF .deps/dbtool.=
Tpo -c -o dbtool.o dbtool.cc=0AIn file included from dbtool.cc:50:=0Aengine=
.h:77:20: error: db_cxx.h: No such file or directory=0AIn file included fro=
m dbtool.cc:50:=0Aengine.h:106: error: ISO C++ forbids declaration of 'Db' =
with no type=0Aengine.h:106: error: expected ';' before '*' token=0Agmake: =
*** [dbtool.o] Error 1=0A=3D=3D=3D> Compilation failed unexpectedly.=0ATry =
to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure to=
=0Athe maintainer.=0A*** [do-build] Error code 1=0A=0AStop in /opt/ports/da=
tabases/dbtool.=0A*** [stage] Error code 1=0A=0AStop in /opt/ports/database=
s/dbtool.=0A=0AI did a make with  MAKE_JOBS_UNSAFE=3Dyes and I got the same=
 error.=0A=0ARegards,=0A=0AYves Guerin 
From owner-freebsd-ports@FreeBSD.ORG  Fri Sep 19 17:42:54 2014
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id D9FCD9A5
 for <freebsd-ports@freebsd.org>; Fri, 19 Sep 2014 17:42:54 +0000 (UTC)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19])
 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 511232EE
 for <freebsd-ports@freebsd.org>; Fri, 19 Sep 2014 17:42:54 +0000 (UTC)
Received: from mandree.no-ip.org ([78.48.115.249]) by mail.gmx.com (mrgmx003)
 with ESMTPSA (Nemesis) id 0M8ehf-1YIL8I4BJj-00wC2V for
 <freebsd-ports@freebsd.org>; Fri, 19 Sep 2014 19:42:46 +0200
Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1])
 by apollo.emma.line.org (Postfix) with ESMTP id C802D23CEBA
 for <freebsd-ports@freebsd.org>; Fri, 19 Sep 2014 19:42:44 +0200 (CEST)
Message-ID: <541C6B14.1040505@gmx.de>
Date: Fri, 19 Sep 2014 19:42:44 +0200
From: Matthias Andree <matthias.andree@gmx.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: freebsd-ports@freebsd.org
Subject: Re: dbtool compile error
References: <1411146656.899.YahooMailNeo@web122403.mail.ne1.yahoo.com>
In-Reply-To: <1411146656.899.YahooMailNeo@web122403.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:O6OK58OmECrYaWPZUONwpjc14VmGnJ2YfxtbRwZ88B3cthnkdyg
 vplAt1tEMfE4q7MJwQ+OHRSHOcjhBZiaRFTocUeyhHeXWqoU/WlNSTTYeRHezm8u6IpCyuz
 cHOkHcmBVG3KGnswkBjeU8YhtB6T/4XqJ2mPBb79KU5nJ2JypNHd0NbVqLd089lF9yHJb9g
 a7/bznxJPjb4GuZpVlUsA==
X-UI-Out-Filterresults: notjunk:1;
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Sep 2014 17:42:54 -0000

Am 19.09.2014 um 19:10 schrieb Yves Gu=E9rin:
> Dear,
>=20
> Before filing a PR I go thte following error:
>=20
> uname -a:
> FreeBSD beastie 9.3-RELEASE-p1 FreeBSD 9.3-RELEASE-p1 #0: Tue Sep 16 14=
:35:04 EDT 2014     root@beastie:/usr/obj/usr/src/sys/PATRIOTEBSD43  i386
>=20
> Intel(R) Pentium(R) 4 CPU 2.66GHz
>=20
>=20
> databases/dbtool (dbtool-1.7.tar.gz)
> ...
> c++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D=
\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\=
"\" -DPACKAGE=3D\"dbtool\" -DVERSION=3D\"1.7\" -DSTDC_HEADERS=3D1 -DHAVE_=
SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=
=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAV=
E_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_STDIO_H=3D1=
 -DHAVE_STDLIB_H=3D1 -DHAVE_LIBPCRE=3D1 -DHAVE_GETOPT=3D1 -DHAVE_FDOPEN=3D=
1 -DHAVE_FGETC=3D1 -DHAVE_GETENV=3D1 -DHAVE_GETPASS=3D1 -DHAVE_BERKELEY=3D=
1 -I.   -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/=
include/db3  -O2 -pipe -fno-strict-aliasing -MT dbtool.o -MD -MP -MF .dep=
s/dbtool.Tpo -c -o dbtool.o dbtool.cc
> In file included from dbtool.cc:50:
> engine.h:77:20: error: db_cxx.h: No such file or directory
> In file included from dbtool.cc:50:
> engine.h:106: error: ISO C++ forbids declaration of 'Db' with no type
> engine.h:106: error: expected ';' before '*' token
> gmake: *** [dbtool.o] Error 1
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail=
ure to
> the maintainer.
> *** [do-build] Error code 1
>=20
> Stop in /opt/ports/databases/dbtool.
> *** [stage] Error code 1
>=20
> Stop in /opt/ports/databases/dbtool.
>=20
> I did a make with  MAKE_JOBS_UNSAFE=3Dyes and I got the same error.

Bon soir Yves,

I don't see such problems here when trying to build databases/dbtool
against databases/db5 in poudriere, nor in the plain system against db6.

- which Berkeley DB version are you building against?

- how did you install it?

- which path is Berkeley DB installed into?

- what are your PREFIX and LOCALBASE settings for the Berkeley DB port,
and for dbtool?

Note: your Berkeley DB's PREFIX must match dbtool's LOCALBASE setting.

HTH.

Best regards,
Matthias



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