DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th October 2009
badguy badguy is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: MD, USA
Posts: 59
Thanked 0 Times in 0 Posts
Default problem with Architecture Selection

i have installed open bsd on a server

(http://www.supermicro.com/products/s...5A-H.cfm?typ=H)

how do i know which Architecture Selection for OpenBSD 4.5 to use among (alpha amd64 arm hppa i386 mips64 powerpc sh sparc sparc64 vax)?

I am asking this becasue I get the following error message when i try to install rrdtool

Can't install rrdtool-1.2.30: lib not found freetype.16.1
Dependencies for rrdtool-1.2.30 resolve to: libart-2.3.20p0, png-1.2.33
Full dependency tree is libart-2.3.20p0,png-1.2.33

and I have used i386 machine for my package path (i.e. ftp://ftp_path/pub/OpenBSD/4.5/packages/i386/)

thanks
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Intel/AMD or Via x86 processors are supported by either the i386 or amd64 ports (..sometimes both), if you installed OpenBSD/i386, you must use packages compiled for that architecture.

You can confirm which architecture you're using via the uname(1) command:
$ uname -m

Please note; that the error you're seeing is likely related to the fact that you have not installed the appropriate X sets.. which many ports rely on for additional libraries (..freetype in this case).

See http://www.openbsd.org/faq/faq4.html#AddFileSet for more information about that.
Reply With Quote
  #3   (View Single Post)  
Old 10th October 2009
badguy badguy is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: MD, USA
Posts: 59
Thanked 0 Times in 0 Posts
Default

thanks. i was jus curious how u knew it was the file set from the error message?
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,930
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by badguy View Post
...i was jus curious how u knew it was the file set from the error message?
From net/rrdtool's Makefile:
Code:
LDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib
Also, from Section 15.4.1 of the FAQ:
Quote:
Another common failure is a missing X11 installation. Even if the port you try to build has no direct dependency on X11, a subpackage of it or its dependencies may require X11 headers and libraries. Building ports on systems without X11 is not supported, so if you insist on doing so, you are on your own to figure it out. For many ports, there are, however, "no_x11" flavored packages available, which you can install without needing X11 on your system.
Lastly, moving thread to the packages & ports subforum.
Reply With Quote
  #5   (View Single Post)  
Old 11th October 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

FreeType is a font library, it is part of Xenocara in OpenBSD.. and several times people have posted on the mailing lists about being unable to install a specific library on their headless server/router that doesn't have the X sets installed.

Also; locate freetype.so.16.1 shows that it is in /usr/X11R6/lib, no ports are allowed to install libraries outside of /usr/local.

Hope that helps.
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
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
Alternative Architecture Laptops JMJ_coder General Hardware 6 7th October 2008 05:05 PM


All times are GMT. The time now is 04:24 PM.


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