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 ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Make / Portupgrade Broken?
Author: wwwwizard 
Date:   20-02-06 01:44

Hi,

I'm running a 5.4 machine. I am unable to use portupgrade / portinstall or even make. I think that I have a corrupted binary, but don't know which, and have less idea how to re-install make without make. The system runs great other than this.

Any advice appreciated.

Here's what happens:
root@machine:/usr/ports/sysutils/portupgrade # make install
"/usr/ports/Mk/bsd.port.mk", line 1311: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 1311: Malformed conditional (${perl_minor} >= 100)
"/usr/ports/Mk/bsd.port.mk", line 1311: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1323: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 1323: Malformed conditional (${PERL_LEVEL} >= 500600)
"/usr/ports/Mk/bsd.port.mk", line 1323: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1325: if-less else
"/usr/ports/Mk/bsd.port.mk", line 1325: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1327: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1327: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1329: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 1329: Malformed conditional (${PERL_LEVEL} >= 500800)
"/usr/ports/Mk/bsd.port.mk", line 1329: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1331: if-less else
"/usr/ports/Mk/bsd.port.mk", line 1331: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1333: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1333: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1338: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 1338: Malformed conditional (${PERL_LEVEL} < 500600)
"/usr/ports/Mk/bsd.port.mk", line 1338: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1341: if-less else
"/usr/ports/Mk/bsd.port.mk", line 1341: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1344: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1344: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1424: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1424: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 1790: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 1790: Malformed conditional (${PERL_LEVEL} >= 500600)
"/usr/ports/Mk/bsd.port.mk", line 1790: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 5450: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5450: Need an operator
make: fatal errors encountered -- cannot continue



Here's some more info.
#which make
/usr/bin/make
#ll /usr/bin/make
-r-xr-xr-x 1 root wheel 292304 Jul 12 2005 /usr/bin/make



Reply To This Message
 
 Re: Make / Portupgrade Broken?
Author: wwwwizard 
Date:   20-02-06 19:01

FIXED? I think so.

The last lines of my /etc/make.conf read as follows:


# added by use.perl 2005-07-13 10:15:36
PERL_VER=%%PERL_VER%%
PERL_VERSION=%%PERL_VER%%

I thought that was correct, until I looked at another machine's file. After that, I changed the lines to the right version numbers, and it works.

PERL_VER=5.8.6
PERL_VERSION=5.8.6

That's what I get for upgrading on wednesday the 13th ;-)

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