Skip to content

Instantly share code, notes, and snippets.

@jcupitt
Created August 29, 2013 11:04
Show Gist options
  • Save jcupitt/6376738 to your computer and use it in GitHub Desktop.
Save jcupitt/6376738 to your computer and use it in GitHub Desktop.
vips-7.26 and ruby-vips install log, showing libexif functioning
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ CFLAGS="-g -Wall" CXXFLAGS="-g -Wall" ./configure --prefix=/home/john/vips-7.26
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for native Win32... no
checking for binary open needed... no
checking for Mac OS X... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for ranlib... ranlib
checking whether ln -s works... yes
checking if malloc debugging is wanted... no
checking whether the C++ compiler works... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... en_GB de
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for dllwrap... no
checking for dlltool... dlltool
checking for objdump... objdump
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for as... as
checking for ld... ld
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... (cached) dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for an ANSI C-conforming const... (cached) yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for memset... yes
checking for munmap... yes
checking for putenv... yes
checking for realpath... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for vsnprintf... yes
checking for realpath... (cached) yes
checking for mkstemp... yes
checking for mktemp... yes
checking for random... yes
checking for rand... yes
checking for sysconf... yes
checking for cbrt in -lm... yes
checking for hypot in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for REQUIRED... yes
checking for GTHREAD... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for FFTW3... yes
checking for MAGICK_WAND... yes
checking for MAGICK... yes
checking for SetImageOption... yes
checking for MagickCoreGenesis... yes
checking for ResetImagePropertyIterator... yes
checking for ResetImageAttributeIterator... yes
checking for GetVirtualPixels... yes
checking for ORC... yes
checking for LCMS... yes
checking for OPENEXR... yes
checking for MATIO... yes
checking for CFITSIO... yes
checking for PANGOFT2... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for TIFF... libraries -ltiff, headers in default path
checking for ZIP... libraries -lz, headers in default path
checking for JPEG... libraries -ljpeg, headers in default path
checking for PNG... yes
checking for EXIF... yes
checking exif-data.h usability... yes
checking exif-data.h presence... yes
checking for exif-data.h... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
configure: WARNING: linux/videodev.h not functional; disabling Linux video support
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... found
configure: creating ./config.status
config.status: creating vips-7.26.pc
config.status: creating vipsCC-7.26.pc
config.status: creating Makefile
config.status: creating libvips/include/vips/version.h
config.status: creating libvips/include/Makefile
config.status: creating libvips/include/vips/Makefile
config.status: creating libvips/Makefile
config.status: creating libvips/arithmetic/Makefile
config.status: creating libvips/boolean/Makefile
config.status: creating libvips/cimg/Makefile
config.status: creating libvips/colour/Makefile
config.status: creating libvips/conversion/Makefile
config.status: creating libvips/convolution/Makefile
config.status: creating libvips/deprecated/Makefile
config.status: creating libvips/format/Makefile
config.status: creating libvips/freq_filt/Makefile
config.status: creating libvips/histograms_lut/Makefile
config.status: creating libvips/inplace/Makefile
config.status: creating libvips/iofuncs/Makefile
config.status: creating libvips/mask/Makefile
config.status: creating libvips/morphology/Makefile
config.status: creating libvips/mosaicing/Makefile
config.status: creating libvips/other/Makefile
config.status: creating libvips/relational/Makefile
config.status: creating libvips/resample/Makefile
config.status: creating libvips/video/Makefile
config.status: creating libvipsCC/include/Makefile
config.status: creating libvipsCC/include/vips/Makefile
config.status: creating libvipsCC/Makefile
config.status: creating tools/Makefile
config.status: creating tools/batch_crop
config.status: creating tools/batch_image_convert
config.status: creating tools/batch_rubber_sheet
config.status: creating tools/light_correct
config.status: creating tools/shrink_width
config.status: creating swig/Makefile
config.status: creating swig/vipsCC/Makefile
config.status: creating swig/python/setup.py
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/libvips-docs.sgml
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
* general build options
native win32: no
native OS X: no
open files in binary mode: no
enable debug: minimum
build C++ components: yes
evaluate with threads: yes
build docs with gtkdoc no
* optional packages and modules
use fftw3 for FFT: yes
Magick package: MagickWand
file import with libMagick: yes
accelerate loops with orc: yes
(requires orc-0.4.11 or later)
ICC profile support with lcms: yes (version lcms2)
file import with OpenEXR: yes
file import with matio: yes
file import with cfitsio: yes
text rendering with pangoft2: yes
file import/export with libpng: yes
(requires libpng-1.2.9 or later)
file import/export with libtiff: yes
file import/export with libjpeg: yes
use libexif to load/save JPEG metadata: yes
video capture with v4l: no
build Python binding: yes
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ make install > fred
im_icc_transform.c: In function 'icc_destroy':
im_icc_transform.c:959:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_icc_transform.c: In function 'icc_new':
im_icc_transform.c:984:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_text.c: In function 'im_text':
im_text.c:235:2: warning: 'pango_ft2_font_map_create_context' is deprecated (declared at /usr/include/pango-1.0/pango/pangoft2.h:90): Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations]
im_exr2vips.c: In function 'read_destroy':
im_exr2vips.c:126:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_exr2vips.c: In function 'read_new':
im_exr2vips.c:175:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_magick2vips.c: In function 'read_destroy':
im_magick2vips.c:149:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_magick2vips.c: In function 'read_new':
im_magick2vips.c:180:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_tiff2vips.c: In function 'readtiff_destroy':
im_tiff2vips.c:1397:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_tiff2vips.c: In function 'readtiff_new':
im_tiff2vips.c:1425:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_tile_cache.c: In function 'read_destroy':
im_tile_cache.c:118:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_tile_cache.c: In function 'read_new':
im_tile_cache.c:144:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_vips2tiff.c: In function 'write_tif_tilewise':
im_vips2tiff.c:1061:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_vips2tiff.c: In function 'free_tiff_write':
im_vips2tiff.c:1157:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
fits.c: In function 'vips_fits_close':
fits.c:147:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
fits.c: In function 'vips_fits_new_read':
fits.c:194:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
fits.c: In function 'vips_fits_new_write':
fits.c:651:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
object.c: In function 'vips_object_class_init':
object.c:992:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
image.c: In function 'vips_image_finalize':
image.c:278:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
image.c: In function 'vips_image_init':
image.c:1164:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
sinkdisc.c: In function 'wbuffer_new':
sinkdisc.c:236:2: warning: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead [-Wdeprecated-declarations]
sinkscreen.c: In function 'render_free':
sinkscreen.c:235:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
sinkscreen.c:236:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
sinkscreen.c: In function 'render_thread_create':
sinkscreen.c:531:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
sinkscreen.c:536:3: warning: 'g_thread_create_full' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:106): Use 'g_thread_new' instead [-Wdeprecated-declarations]
sinkscreen.c: In function 'render_new':
sinkscreen.c:602:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
sinkscreen.c:614:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
semaphore.c: In function 'vips_semaphore_init':
semaphore.c:66:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
semaphore.c:67:2: warning: 'g_cond_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:276) [-Wdeprecated-declarations]
semaphore.c: In function 'vips_semaphore_destroy':
semaphore.c:75:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
semaphore.c:76:2: warning: 'g_cond_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:278) [-Wdeprecated-declarations]
threadpool.c: In function 'vips_thread_new':
threadpool.c:605:2: warning: 'g_thread_create_full' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:106): Use 'g_thread_new' instead [-Wdeprecated-declarations]
threadpool.c: In function 'vips_threadpool_free':
threadpool.c:646:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
threadpool.c: In function 'vips_threadpool_new':
threadpool.c:671:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
init.c: In function 'vips_init':
init.c:190:2: warning: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
init.c:194:3: warning: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
init.c:198:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
buffer.c: In function 'vips__buffer_init':
buffer.c:486:3: warning: 'g_private_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:232) [-Wdeprecated-declarations]
im_lrmerge.c: In function 'lock_free':
im_lrmerge.c:687:2: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
im_lrmerge.c: In function 'im__build_mergestate':
im_lrmerge.c:774:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
im_lrmerge.c:777:3: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
libtool: install: warning: relinking `libvipsCC.la'
vimagemodule.cxx: In function 'void SWIG_InitializeModule(void*)':
vimagemodule.cxx:32211:21: warning: statement has no effect [-Wunused-value]
vdisplaymodule.cxx: In function 'void SWIG_InitializeModule(void*)':
vdisplaymodule.cxx:3501:21: warning: statement has no effect [-Wunused-value]
verrormodule.cxx: In function 'void SWIG_InitializeModule(void*)':
verrormodule.cxx:3979:21: warning: statement has no effect [-Wunused-value]
../../libvipsCC/include/vips/VMask.h:295: Warning 503: Can't wrap 'operator VDMask' unless renamed to a valid identifier.
../../libvipsCC/include/vips/VMask.h:298: Warning 503: Can't wrap 'operator VImage' unless renamed to a valid identifier.
../../libvipsCC/include/vips/VMask.h:385: Warning 503: Can't wrap 'operator VIMask' unless renamed to a valid identifier.
../../libvipsCC/include/vips/VMask.h:388: Warning 503: Can't wrap 'operator VImage' unless renamed to a valid identifier.
vmaskmodule.cxx: In function 'void SWIG_InitializeModule(void*)':
vmaskmodule.cxx:6753:21: warning: statement has no effect [-Wunused-value]
libtool: install: warning: relinking `vimagemodule.la'
libtool: install: warning: relinking `vdisplaymodule.la'
libtool: install: warning: relinking `verrormodule.la'
libtool: install: warning: relinking `vmaskmodule.la'
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ which vips
/home/john/vips-7.26/bin/vips
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ vips --version
vips-7.26.8-Thu Aug 29 11:55:55 BST 2013
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ vips im_header_string exif-Orientation ~/pics/img_2522.jpg
Top-left (Short, 1 componets, 2 bytes)
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ gem uninstall ruby-vips
INFO: gem "ruby-vips" is not installed
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ gem install ruby-vips
Fetching: ruby-vips-0.3.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed ruby-vips-0.3.6
1 gem installed
Installing ri documentation for ruby-vips-0.3.6...
Installing RDoc documentation for ruby-vips-0.3.6...
john@mm-jcupitt3 ~/GIT/libvips (7.26) $ irb
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'vips'
=> true
irb(main):003:0> a = VIPS::Image.new('/home/john/pics/img_2522.jpg')
=> #<VIPS::Image:0x00000001894238>
irb(main):004:0> a.get('exif-Orientation')
=> "Top-left (Short, 1 componets, 2 bytes)"
irb(main):005:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment