View Single Post
  #6   (View Single Post)  
Old 31st July 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

bsdnewbie999, are you concerned about the dependencies for a package (in your case, eclipse) because one of them fails to install correctly? If there is a dependency that fails to install, it should be telling you which one.

Now if you still want to view dependencies for a particular package, and your PKG_PATH is set, use the "-S" option on pkg_info. Here's how:

1) Find the proper name of the package for the application you want to see dependencies for (we'll use snort.)

Code:
# pkg_info -Q snort
p5-Net-Snort-Parser-1.21p0
snort-2.8.0.1
snort-2.8.0.1-mysql
snort-2.8.0.1-postgresql
snort-2.8.0.1-prelude
2) Use the proper package name to check that package's dependencies. Let's choose snort-2.8.0.1-mysql (because regular snort isn't fun enough, we want the version of snort that logs its results to a mysql database.)

Code:
# pkg_info -S snort-2.8.0.1-mysql
Information for ftp://ftp.usa.openbsd.org/pub/OpenBSD/4.3/packages/i386/snort-2.8.0.1-mysql.tgz

Signature: snort-2.8.0.1-mysql,c.43.0,lib/mysql/mysqlclient.18.0,m.2.3,mysql-client-5.0.51a,pcap.5.0,pcre-7.6,pcre.2.1,z.4.1
And voila! Dependencies listed in all their stunning glory.
__________________
Network Firefighter
Reply With Quote