DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th August 2008
Sunsawe Sunsawe is offline
Port Guard
 
Join Date: May 2008
Posts: 39
Thanked 0 Times in 0 Posts
Default Can't compile autoconf262

Hi,

I am trying to install autoconf262 as a lot of php module requires it. Everytime i tried to do it, i got this:

Code:
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg'         ../bin/autom4te -B '..'/lib -B '..'/lib         --language M4sh --cache '' --melt ./autoconf.as -o autoconf.in
Can't locate constant.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at ../lib/Autom4te/Channels.pm line 126.
BEGIN failed--compilation aborted at ../lib/Autom4te/Channels.pm line 126.
Compilation failed in require at ../lib/Autom4te/ChannelDefs.pm line 20.
BEGIN failed--compilation aborted at ../lib/Autom4te/ChannelDefs.pm line 20.
Compilation failed in require at ../bin/autom4te line 41.
BEGIN failed--compilation aborted at ../bin/autom4te line 41.
gmake[2]: *** [autoconf.in] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/bin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/autoconf262.
*** Error code 1

Stop in /usr/ports/devel/autoconf262.
===>  Cleaning for autoconf-2.62
I'm using Freebsd 7.

Can someone tell me how to solve that?

Thank you
Reply With Quote
  #2   (View Single Post)  
Old 25th August 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Clean out the work directory (make clean in the autoconf262 directory), update the ports tree, and try again. There's been some changes recently to the way gnu configure and the autotools work in the ports tree. You may have updated in the middle up the update, or not picked up all the most recent changes.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 26th August 2008
Sunsawe Sunsawe is offline
Port Guard
 
Join Date: May 2008
Posts: 39
Thanked 0 Times in 0 Posts
Default

reinstalling perl fixed it.
thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile gcc-4.3.3_20090101 troberts FreeBSD Ports and Packages 7 12th January 2009 10:30 PM
firefox3 will not compile map7 FreeBSD Ports and Packages 8 14th July 2008 11:23 PM
gio-fam-backend will not compile map7 FreeBSD Ports and Packages 0 2nd July 2008 01:59 AM
How come gnome2 won't compile? Damien787 FreeBSD Ports and Packages 10 16th June 2008 05:20 PM
Why wont this compile? Johnny2Bad FreeBSD General 10 19th May 2008 11:30 PM


All times are GMT. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick