The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
Article Feedback - Card reader for FreeBSD
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Same issue ... Solved
Author: anishts 
Date:   06-04-06 10:40


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/ /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. <==
*** 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/
-r--r--r-- 1 root wheel 2572 Apr 6 02:59

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 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....

Unix/Linux system administrator

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum