List Info

Thread: Ports after upgrade




Ports after upgrade
country flaguser name
Turkey
2007-02-28 00:08:29
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 ((($ < 504105 || ($
>= 600000 && $ < 600103) ||
($ >= 700000 && $ <
700012)) && $ !=
"ports-mgmt/pkg_install") ||
exists($/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 (($ < 504105 || ($
>= 600000 && $ < 600103) ||
($ >= 700000 && $ <
700012)) && $ !=
"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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Ports after upgrade
country flaguser name
Germany
2007-02-28 04:08:10
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: semFreeBSD.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 ((($ < 504105 ||
($ >= 600000 && $ <
600103) || ($ >= 700000 &&
$ < 700012)) && $ !=
"ports-mgmt/pkg_install") ||
exists($/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 (($ < 504105 ||
($ >= 600000 && $ <
600103) || ($ >= 700000 &&
$ < 700012)) && $ !=
"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-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
> 

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )