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.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 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

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

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:
 Password:
 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

phorum.org