Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 11:08:10 +0100
From:      Marco Hafke <bsd.mailinglisten@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Ports after upgrade
Message-ID:  <45E5548A.1000908@googlemail.com>
In-Reply-To: <00e501c75afe$de4511d0$0300000a@morcivert>
References:  <00e501c75afe$de4511d0$0300000a@morcivert>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
which version og FreeBSD do you use? Some hints:

1. Instaed of "make index" you can use "make fetchindex" which is much 
more faster.

2. You should try to use portsnap instead of cvsup which is in the base 
since 6.2. It works pretty finde.

3. Your problem looks like a portupgrade mistake. I think you better 
should delete your whole portstree and your portsdb and build try again 
to fix your problems

So do

# rm -r /usr/ports
# mkdir /usr/ports

After that do cvsup, csup or portsnap to get the latest portstree. Then 
use the latest portupgrade. /usr/ports/UPDATING says:

"20070102:
   AFFECTS: users of sysutils/portupgrade
   AUTHOR: sem@FreeBSD.org

   If you have a problem with upgrading the tools from version 2.2.1 and 
less,
   remove the package with pkg_delete portupgrade\* command and reinstall it
   from scratch. Remove /usr/ports/INDEX*.db and run portsdb -u."

After upgrading portupgrade you should rebuild apache with something 
like that:

# portupgrade -rRf apache

After that apache should work proper.

Good luck!

Marco


Atilla Gosterisli schrieb:
> Please help,
> 
> After perl upgrade 5.8 my apache didn't start giving "/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found"  error 
> and couldn't make install for apache I upgrade the all ports with cvsup 
> After successfull upgrade, ports are not working  I can not make index with "make index" either.
> 
> 
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info))
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install")
> "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else
> "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator
> make: fatal errors encountered -- cannot continue
> ===> accessibility/at-poke failed
> *** Error code 1
> 2 errors
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E5548A.1000908>