@@ -61,39 +61,42 @@ Install [homebrew](http://mxcl.github.com/homebrew) and enter:
61
61
62
62
``` bash
63
63
$ brew tap homebrew/science
64
- $ brew install vips --with-cfitsio --with-fftw --with-imagemagick \
65
- --with-libexif --with-liboil --with-libtiff --with-little-cms \
66
- --with-openexr --with-openslide --with-pango
64
+ $ brew install vips
65
+ ```
66
+
67
+ You may see some harmless warnings.
68
+
69
+ To verify that your vips install is working, try:
70
+
71
+ ``` bash
72
+ $ vips --version
73
+ vips-7.42.1-Sat Dec 27 12:01:43 GMT 2014
67
74
```
68
75
69
76
libvips has a lot of optional dependencies. You
70
- may not need all of them. See [ the notes
77
+ may not need all of them. True ` brew info vips ` to see what you have enabled
78
+ and what is disabled. See also [ the notes
71
79
here] ( http://www.vips.ecs.soton.ac.uk/index.php?title=Build_on_OS_X ) for
72
80
more information.
73
81
74
82
If you want to build things outside homebrew which depend on vips,
75
- such as ruby-vips, your pkg-config will need to be working. You
76
- need to point pkg-config at the homebrew area, and, additionally, at
77
- homebrew's libxml2 area:
78
-
79
- In your .profile, add something like:
83
+ such as ruby-vips, your pkg-config will need to be working. To test
84
+ ` pkg-config ` , try:
80
85
81
86
``` bash
82
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig
87
+ $ pkg-config vips --modversion
83
88
```
84
89
85
- To verify that your vips install is correct and working, try:
86
-
87
- ``` bash
88
- $ vips --version
89
- vips-7.36.4-Tue Nov 19 12:22:47 GMT 2013
90
- ```
90
+ If you see a version number, you are OK. If you don't, either update your
91
+ homebrew, or try adjusting ` PKG_CONFIG_PATH ` . At various times homebrew has
92
+ needed various settings. You might need to point it at homebrew or even at
93
+ libxml2.
91
94
92
- To verify that your pkg-config is working correctly with vips, try:
95
+ To verify that your ` pkg-config ` is working correctly with vips, try:
93
96
94
97
``` bash
95
98
$ pkg-config vips --libs
96
- -L/usr/local/Cellar/vips/7.36.4 /lib ... a lot of stuff
99
+ -L/usr/local/Cellar/vips/7.42.1 /lib ... a lot of stuff
97
100
```
98
101
99
102
TODO: Describe & test with macports.
0 commit comments