Label Cloud

Friday, August 03, 2007

[MAC] port and make

port usage

update outdated portname
$ port sync
$ port -c -R upgrade outdated
$ port -f -c uninstall inactive

Determines which port owns a given file
$ port provides /path/to/file

Lists the installed ports that depend on the port portname
$ port dependents


error when upgrade: Error: Error executing darwin_8: invalid command name "configure.compiler"

$ port -c -v selfupdate
$ port sync

configure: error: this program cannot be compiled without X

The top directory of X11 is located in /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6.
A example for making xdvik
$ ./configure --prefix=/usr/local/ --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib --datadir=/opt/local/share --with-xdvi-x-toolkit=xaw

0 comments:

About

My photo
Taipei, Taiwan
3rd Year Ph.D Student in Chemical Biology and Biological Physics of Academia Sinica

Google Analytics