Re: Rasperry PI3 - ARM71 - Compiling problems

2017-01-08 Thread Wietse Venema
Maurizio Caloro:
> No  include file found.
> Install the appropriate db*-devel package first.

Maybe you should just do that, or build without Berkeley DB support:

$ make makefiles "CCARGS=-DNO_DB"

Wietse


Rasperry PI3 - ARM71 - Compiling problems

2017-01-08 Thread Maurizio Caloro

Hello Together
I need to compile Postfix 3.0 on my raspberry - ARM71 architecture, i 
try with Installation Instruction from.

http://www.postfix.org/INSTALL.html
but without Success. Please for any more help i'am where happy!

[Snip]
pi@raspberrypi:/usr/source/postfix-3.1.4 $ sudo make -f Makefile.init 
makefiles

make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for 
your machine."; /bin/sh makedefs) >makedefs.tmp

No  include file found.
Install the appropriate db*-devel package first.
Makefile.in:31: recipe for target 'Makefiles' failed
make: *** [Makefiles] Error 1
Makefile.init:22: recipe for target 'makefiles' failed
make: *** [makefiles] Error 2

possible to become any help to compile this for my system, or it's here 
the wrong way?
or i need compile this with any other "BSD/Unix/Linux" system with ARM 
Compiling flags?


Also i don't see the way how to create the ./Configure script that i 
need to compile this package.


Here on the Raspberry System i run with GCC

[Snip]
pi@raspberrypi:/usr/source/postfix-3.1.4 $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 
4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs 
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.9 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib 
--enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-gnu-unique-object --disable-libitm --disable-libquadmath 
--enable-plugin --with-system-zlib --disable-browser-plugin 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre 
--enable-java-home 
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf 
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf 
--with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --enable-multiarch --disable-sjlj-exceptions 
--with-arch=armv6 --with-fpu=vfp --with-float=hard 
--enable-checking=release --build=arm-linux-gnueabihf 
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf

Thread model: posix
gcc version 4.9.2 (Raspbian 4.9.2-10)

Automake:
pi@raspberrypi:/usr/source/postfix-3.1.4 $ automake --version
automake (GNU automake) 1.14.1

Autoconf:
pi@raspberrypi:/usr/source/postfix-3.1.4 $ autoconf --version
autoconf (GNU Autoconf) 2.69

Best regards and thanks for any feedback!
mauri