dbtool compile error
Yves Guérin
yvesguerin at yahoo.ca
Fri Sep 19 17:14:05 UTC 2014
Dear,
Before filing a PR I go thte following error:
uname -a:
FreeBSD beastie 9.3-RELEASE-p1 FreeBSD 9.3-RELEASE-p1 #0: Tue Sep 16 14:35:04 EDT 2014 root at beastie:/usr/obj/usr/src/sys/PATRIOTEBSD43 i386
Intel(R) Pentium(R) 4 CPU 2.66GHz
databases/dbtool (dbtool-1.7.tar.gz)
...
c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dbtool\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_LIBPCRE=1 -DHAVE_GETOPT=1 -DHAVE_FDOPEN=1 -DHAVE_FGETC=1 -DHAVE_GETENV=1 -DHAVE_GETPASS=1 -DHAVE_BERKELEY=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 .deps/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
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /opt/ports/databases/dbtool.
*** [stage] Error code 1
Stop in /opt/ports/databases/dbtool.
I did a make with MAKE_JOBS_UNSAFE=yes and I got the same error.
Regards,
Yves Guerin
More information about the freebsd-ports
mailing list