Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install a program using port on FreeBSD 4.7. I get this error:

Couldn't find your current GCCVERSION (OSVERSION=470000)

How would you fix an error like this?

share|improve this question

I don't think 4.7 is supported by the current ports tree. You might be able to edit /usr/ports/Mk/ to have a value for GCCVERSION. But considering 4.x had gcc 2.95 its likely that you will have trouble compiling unless you first upgrade gcc.

Another options is to forget ports and just compile the program by hand. You can use the port Makefile as a guide.

FreeBSD 4.7 was released in 2002 and the 4.x branch last had a release in 2005. In 2007 it reached "End of Life" status. You really should upgrade.

share|improve this answer
+1 "You really should upgrade" - Understatement! There's a 2 year EOL cycle to give people time to upgrade, you're way past "unsupported". – Chris S Aug 9 '10 at 1:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.