When "make install clean" ports fails everytime!
Whats happening is when ever i want to install a program via the ports, i seems to encounter a problem it always spits out somthing like:
patching failed ex: Code:
|
Did you cvsup your ports after installing FreeBSD? If you are using an out of date ports tree (it gets updated daily), then you will run into lots of errors trying to install via ports.
If you did update your ports tree and still find this error, then check /usr/ports/UPDATING to see if anything about this is noted. Open your cvsup file (an example can be found in /usr/src/examples/cvsup/ports-supfile - copy that to someplace where you keep your scripts) Edit the file to designate a cvsup server (cvsup1.FreeBSD.org - for example) keep ports at ports-all, otherwise you can run into issues. Don't worry about making a refuse file or selecting ports not to install. Run: cvsup -g -L 2 /path/to/ports-supfile Wait... When it's done: cd /usr/ports make index wait .... (long time) pkgdb -u and you should be good to go. Then try installing that port again. Generally I cvsup my ports tree before I go and install programs. You can always set a cron job to cvsup once a week, or once every other day. You don't need to do it too often as it taxes the cvsup servers. But since I don't install every day I only do it before I install something or any kind of portupgrade ... |
Aha! i knew i was doing somit wrong, i did downlaad to gzip and used that without luck so i ran the cvsup -g -L 2 ports-supfile and it updated but i never knew about make index and pkgdb -u :).
thanks ill give it a try! |
hey, i tried running
pkgdb - u and it oputted command not found but make index worked :) but did output a warning: Generating INDEX - please wait..Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1 Done. I went to try install kmess none the elss and without luck it came up with a patch-configure error again. |
you need to install portupgrade: /usr/ports/sysutils/portupgrade
|
umm! did that all works updated 98packages i went to install kmess and same problem ocured :S.
suggestions? |
Research before you start upgrading packages using portupgrade. There are different ways you can do it. Using the -r flag will update dependencies as well, without it doesn't. So if you upgrade a port without paying attention to what is dependent on it, you can create version problems.
Don't know if that is what your problem is specifically, but something to know. |
damm pain in the ass! i even downloaded the openssl of freebsd ports and installed it manualy into the devel port dir and when to install it but same error it fails when applying freebsd patches.
|
Quote:
|
Yes... forgot that one:
cvsup ports tree cd /usr/ports make index pkgdb -u pkgdb -F |
All times are GMT -5. The time now is 08:29 AM. |