can't build fastresolve 2.10 on FreeBSD 8.2 amd64
Miroslav Lachman
000.fbsd at quip.cz
Wed Jun 22 20:19:38 UTC 2011
Hi,
I have a problem with building fastresolve on each of our amd64 FreeBSD
8.2 servers
# uname -srmi
FreeBSD 8.2-RELEASE amd64 GENERIC
I tried to install it by portmaster, but it failed. I tried it "the old way"
==============================================
root at retezat ~/# cd /usr/ports/dns/fastresolve
root at retezat fastresolve/# make
===> License GPLv2 accepted by the user
===> Extracting for fastresolve-2.10_4
=> SHA256 Checksum OK for fastresolve-2.10.tar.bz2.
===> fastresolve-2.10_4 depends on file: /usr/local/bin/perl5.12.3 - found
===> Patching for fastresolve-2.10_4
===> fastresolve-2.10_4 depends on file: /usr/local/bin/perl5.12.3 - found
===> Applying FreeBSD patches for fastresolve-2.10_4
===> fastresolve-2.10_4 depends on file: /usr/local/bin/perl5.12.3 - found
===> fastresolve-2.10_4 depends on file: /usr/local/bin/automake-1.4 -
found
===> fastresolve-2.10_4 depends on file: /usr/local/bin/autoconf-2.13
- found
===> fastresolve-2.10_4 depends on shared library: adns.1 - found
===> fastresolve-2.10_4 depends on shared library: db-4.2.2 - found
===> Configuring for fastresolve-2.10_4
.
[snip]
.
Making all in modules
Making all in scripts
/usr/local/bin/perl -pe "s,DATADIR,/usr/local/share,g"
./make-report.1.in > make-report.1
cd . && aclocal
cd . && automake --gnu --include-deps Makefile
Use of "do" to call subroutines is deprecated at
/usr/local/bin/automake-1.4 line 986.
Use of "do" to call subroutines is deprecated at
/usr/local/bin/automake-1.4 line 1147.
automake: configure.in: required file `./config.guess' not found
automake: configure.in: required file `./config.sub' not found
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
Stop in /usr/ports/dns/fastresolve.
==============================================
If I do make clean & make again, it failed again, but if I do just
"make" again, it is OK!
This is second call of "make"
==============================================
root at retezat fastresolve/# make
===> Building for fastresolve-2.10_4
Making all in dns-terror
Making all in modules
Making all in scripts
/usr/local/bin/perl -pe "s,DATADIR,/usr/local/share,g"
./make-report.1.in > make-report.1
cd . && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
==============================================
And then it can be successfuly installed (by make package)
==============================================
root at retezat fastresolve/# make package
===> Installing for fastresolve-2.10_4
===> fastresolve-2.10_4 depends on file:
/usr/local/lib/perl5/site_perl/5.12.3/mach/BerkeleyDB.pm - found
===> fastresolve-2.10_4 depends on file: /usr/local/bin/perl5.12.3 - found
===> fastresolve-2.10_4 depends on shared library: adns.1 - found
===> fastresolve-2.10_4 depends on shared library: db-4.2.2 - found
===> Generating temporary packing list
===> Checking if dns/fastresolve already installed
Making install in dns-terror
/bin/sh ../mkinstalldirs /usr/local/bin
install -s -o root -g wheel -m 555 dns-terror /usr/local/bin/dns-terror
make install-man1
/bin/sh ../mkinstalldirs /usr/local/man/man1
install -o root -g wheel -m 444 ./dns-terror.1
/usr/local/man/man1/dns-terror.1
Making install in modules
/bin/sh ../mkinstalldirs /usr/local/share/fastresolve
mkdir /usr/local/share/fastresolve
install -o root -g wheel -m 444 ./AddrCycle.pm
/usr/local/share/fastresolve/AddrCycle.pm
Making install in scripts
/usr/local/bin/perl -pe "s,DATADIR,/usr/local/share,g"
./make-report.1.in > make-report.1
/bin/sh ../mkinstalldirs /usr/local/bin
install -o root -g wheel -m 555 btree-dump /usr/local/bin/btree-dump
install -o root -g wheel -m 555 convert-dom-db
/usr/local/bin/convert-dom-db
install -o root -g wheel -m 555 convert-ip-db
/usr/local/bin/convert-ip-db
install -o root -g wheel -m 555 expire-ip-db /usr/local/bin/expire-ip-db
install -o root -g wheel -m 555 getdominfo /usr/local/bin/getdominfo
install -o root -g wheel -m 555 rebuild-dom-db
/usr/local/bin/rebuild-dom-db
install -o root -g wheel -m 555 rebuild-ip-db
/usr/local/bin/rebuild-ip-db
install -o root -g wheel -m 555 reresolve /usr/local/bin/reresolve
install -o root -g wheel -m 555 make-report /usr/local/bin/make-report
make install-man1
/bin/sh ../mkinstalldirs /usr/local/man/man1
install -o root -g wheel -m 444 ./btree-dump.1
/usr/local/man/man1/btree-dump.1
install -o root -g wheel -m 444 ./convert-dom-db.1
/usr/local/man/man1/convert-dom-db.1
install -o root -g wheel -m 444 ./convert-ip-db.1
/usr/local/man/man1/convert-ip-db.1
install -o root -g wheel -m 444 ./expire-ip-db.1
/usr/local/man/man1/expire-ip-db.1
install -o root -g wheel -m 444 ./getdominfo.1
/usr/local/man/man1/getdominfo.1
install -o root -g wheel -m 444 ./rebuild-dom-db.1
/usr/local/man/man1/rebuild-dom-db.1
install -o root -g wheel -m 444 ./rebuild-ip-db.1
/usr/local/man/man1/rebuild-ip-db.1
install -o root -g wheel -m 444 ./reresolve.1
/usr/local/man/man1/reresolve.1
install -o root -g wheel -m 444 ./make-report.1
/usr/local/man/man1/make-report.1
/bin/sh ../mkinstalldirs /usr/local/share/fastresolve
install -o root -g wheel -m 444 ./analog.cfg
/usr/local/share/fastresolve/analog.cfg
===> Compressing manual pages for fastresolve-2.10_4
===> Registering installation for fastresolve-2.10_4
===> Building package for fastresolve-2.10_4
==============================================
I am not a programmer, so I don't have any idea why first make failed
and second make succeeded.
Is there anything more I can post to help you diagnose this problem?
Miroslav Lachman
More information about the freebsd-ports
mailing list