DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th June 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default gnome; librsvg package conflicts

I got this error code while building gnome port
Code:
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... what should i do?
Reply With Quote
  #2   (View Single Post)  
Old 20th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I got this error code while building gnome port
Why are you building the port instead of installing pre-compiled packages?

Reply With Quote
  #3   (View Single Post)  
Old 20th June 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by bsdnewbie999 View Post
This is critical... 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.
Reply With Quote
  #4   (View Single Post)  
Old 20th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I got this error code while building gnome port
If you insist on using ports, how did you install the ports tree?
Reply With Quote
  #5   (View Single Post)  
Old 20th June 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

I download the ports.tar.gz and extract to /usr/
Reply With Quote
  #6   (View Single Post)  
Old 20th June 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Reread FAQ 15.4.6. Again.
Reply With Quote
  #7   (View Single Post)  
Old 20th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

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
__________________
da more I know I know I know nuttin'
Reply With Quote
  #8   (View Single Post)  
Old 20th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by bsdnewbie999 View Post
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.
Reply With Quote
  #9   (View Single Post)  
Old 21st June 2008
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

I got it now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Updates for OpenBSD 4.2 and 4.3 shep OpenBSD Packages and Ports 15 17th October 2009 02:39 PM
tcpdump package bsdnewbie999 OpenBSD Packages and Ports 6 30th March 2009 05:24 PM
libslang2-2.1.4 conflicts with installed package(s): libslang-1.4.9 edhunter FreeBSD Ports and Packages 1 9th October 2008 10:52 AM
Help with OpenSolaris package management roddierod Solaris 2 6th August 2008 03:11 PM
OpenJDK package aleunix OpenBSD Packages and Ports 2 2nd June 2008 07:54 AM


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick