6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 7 15:47:26 CET 2006
[hunter] /usr/ports/devel/p5-Locale-gettext# make
===> Vulnerability check disabled, database not found
===> Extracting for p5-gettext-1.05_1
=> MD5 Checksum OK for gettext-1.05.tar.gz.
=> SHA256 Checksum OK for gettext-1.05.tar.gz.
===> p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===> Patching for p5-gettext-1.05_1
===> p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===> Applying FreeBSD patches for p5-gettext-1.05_1
===> p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.7 - found
===> p5-gettext-1.05_1 depends on shared library: intl - found
===> Configuring for p5-gettext-1.05_1
checking for gettext… no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl
-I/usr/local/include… yes
Writing Makefile for Locale::gettext
===> Building for p5-gettext-1.05_1
Makefile out-of-date with respect to
/usr/local/lib/perl5/5.8.7/mach/Config.pm
/usr/local/lib/perl5/5.8.7/mach/CORE/config.h
Cleaning current config before rebuilding Makefile…
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/local/bin/perl5.8.7 Makefile.PL “INSTALLDIRS=site” “CC=cc”
“CCFLAGS=-O2 -fno-strict-aliasing -pipe ” “PREFIX=/usr/local”
“INSTALLPRIVLIB=/usr/local/lib” “INSTALLARCHLIB=/usr/local/lib”
checking for gettext… no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include… yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl
-I/usr/local/include… yes
Writing Makefile for Locale::gettext
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
*** Error code 1
Stop in /usr/ports/devel/p5-Locale-gettext/work/gettext-1.05.
*** Error code 1
Stop in /usr/ports/devel/p5-Locale-gettext.
Solved.
Hello,
I have got the same error. ” Your Makefile has been rebuilt.”
This is the way I solved it ..
The error:
Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.8/mach/Config.pm /usr/local/lib/perl5/5.8.8/mach/CORE/config.h
Cleaning current config before rebuilding Makefile…
……………………..
Writing Makefile for Locale::gettext
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
*** Error code 1
After searching forums I found it was due to time error ( changing server time after cvsup…)
I checked the time of creation of the files in error.
ls -l /usr/local/lib/perl5/5.8.8/mach/Config.pm
-r–r–r– 1 root wheel 2572 Apr 6 02:59 Config.pm
ls -l /usr/local/lib/perl5/5.8.8/mach/CORE/config.h
-r–r–r– 1 root wheel 135964 Apr 6 02:59 config.h
ls -l /usr/ports/devel/p5-Locale-gettext/Makefile
-rw-r–r– 1 root wheel 575 Apr 6 02:17 Makefile
from the out put we can clearly find out that the Makefile(02:17) for gettext was created before Config.pm( 02:59) and config.h(02:59)
What I did was :
cd /usr/ports/devel/p5-Locale-gettext
mv Makefile Makefile.bak
cat Makefile.bak > Makefile
so the make file got latest creation timestamp.
Then gone back to php extensions port directory and run make install clean again…
Everything worked smoothly….
Cheers Anish