View Full Version : gnome; librsvg package conflicts
bsdnewbie999
06-20-2008, 05:52 AM
I got this error code while building gnome port
Can't install librsvg-2.20.0p0-no_gnome because of conflicts (librsvg-2.20.0p0) /usr/sbin/pkg_add: librsvg-2.20.0p0-no_gnome:Fatal error
*** Error cofe 1
This is critical...:mad: what should i do?
ocicat
06-20-2008, 06:37 AM
I got this error code while building gnome port
Why are you building the port instead of installing pre-compiled packages?
:confused:
jggimi
06-20-2008, 12:27 PM
This is critical...:mad: what should i do?Ask yourself, "Why am I cleaning my ears with a power drill?"
If you insist on avoiding packages, you can try "make update". The "update" target will execute pkg_add -r on your behalf, but only if the target correctly interprets the state of the prior installed package and the one just built. It may be easier to issue pkg_add -r yourself. Before doing so, please read the pkg_add(1) man page, and see what the -r option is for. You may want to use the -i option also.
ocicat
06-20-2008, 03:43 PM
I got this error code while building gnome port
If you insist on using ports, how did you install the ports tree?
bsdnewbie999
06-20-2008, 04:39 PM
I download the ports.tar.gz and extract to /usr/
jggimi
06-20-2008, 05:37 PM
Reread FAQ 15.4.6. Again.
lvlamb
06-20-2008, 05:42 PM
You must replace the -no_gnome flavor.
pkg_add -r librsvg
You might need to install it from source with
make package clean
first.
man ports
man packages
ocicat
06-20-2008, 06:52 PM
I download the ports.tar.gz and extract to /usr/
...but from what directory did you get this file?
Two points:
ports.tar.gz can be found in several different directories. This is done because the ports tree is available in different flavors. If you are unfamiliar with flavors, you need to study & understand Section 5.1 of the FAQ:
http://openbsd.org/faq/faq5.html#Flavors
...& using the ports tree from -current on a -release installation is neither recommended nor supported. For more information, see Section 15.4.1 for more details:
http://openbsd.org/faq/faq15.html#NoFun
If you downloaded the wrong version of the ports tree, this may account for why you are continually getting weird build errors.
As has been repeatedly recommended to you, don't build from ports when pre-compiled packages are available. Nothing is gained by compiling applications yourself. By compiling from ports, you are building a local copy of the same package files which are found on the mirrors. Again, nothing is gained from compiling yourself over using packages that are already built.
A number of people have been providing you links to relevant sections of the FAQ. We do this because the answers to a lot of the problems & predicaments you are getting yourself into are explained there. As I have said to you numerous times before: study the FAQ. It will save you a lot of time & aggravation.
bsdnewbie999
06-21-2008, 10:08 AM
I got it now.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.