Compiling error

Justin JEONG utjustinjeong at yahoo.com
Thu May 28 13:07:20 EDT 2015


I am trying to install Openslide without root permission. 
I installed Openjpeg & TIFF, so I used following command to execute ./configure 

./configure --enable-dependency-tracking--prefix=/home/justin/local/bin/openslide PKG_CONFIG_PATH=/home/justin/local/bin/openjpeg/usr/local/lib/pkgconfigPKG_CONFIG_PATH=/home/justin/local/bin/tiff/lib/pkgconfig OPENJPEG_LIBS=/home/justin/local/bin/jpeg/libOPENJPEG_CFLAGS=-I/home/justin/local/bin/jpeg/include OPENJPEG2_LIBS=/home/justin/local/bin/openjpeg/usr/local/libOPENJPEG2_CFLAGS=-I/home/justin/local/bin/openjpeg/usr/local/include/openjpeg-2.1LIBTIFF_CFLAGS=-I/home/justin/local/bin/tiff/include LIBTIFF_LIBS=/home/justin/local/bin/tiff/lib
Configuration was success, so I run 'make' then it shows following errors. 


make  all-am
make[1]: Entering directory `/home/jcj15/local/tools/slideAtlas/openslide-3.4.1'
  CC       src/src_libopenslide_la-openslide.lo
  CC       src/src_libopenslide_la-openslide-cache.lo
  CC       src/src_libopenslide_la-openslide-decode-gdkpixbuf.lo
  CC       src/src_libopenslide_la-openslide-decode-jp2k.lo
  CC       src/src_libopenslide_la-openslide-decode-jpeg.lo
  CC       src/src_libopenslide_la-openslide-decode-png.lo
  CC       src/src_libopenslide_la-openslide-decode-sqlite.lo
  CC       src/src_libopenslide_la-openslide-decode-tiff.lo
  CC       src/src_libopenslide_la-openslide-decode-tifflike.lo
  CC       src/src_libopenslide_la-openslide-decode-xml.lo
  CC       src/src_libopenslide_la-openslide-error.lo
  CC       src/src_libopenslide_la-openslide-grid.lo
  CC       src/src_libopenslide_la-openslide-hash.lo
  CC       src/src_libopenslide_la-openslide-jdatasrc.lo
  CC       src/src_libopenslide_la-openslide-tables.lo
  CC       src/src_libopenslide_la-openslide-util.lo
  CC       src/src_libopenslide_la-openslide-vendor-aperio.lo
  CC       src/src_libopenslide_la-openslide-vendor-generic-tiff.lo
  CC       src/src_libopenslide_la-openslide-vendor-hamamatsu.lo
  CC       src/src_libopenslide_la-openslide-vendor-leica.lo
  CC       src/src_libopenslide_la-openslide-vendor-mirax.lo
  CC       src/src_libopenslide_la-openslide-vendor-philips.lo
  CC       src/src_libopenslide_la-openslide-vendor-sakura.lo
  CC       src/src_libopenslide_la-openslide-vendor-trestle.lo
  CC       src/src_libopenslide_la-openslide-vendor-ventana.lo
  CCLD     src/libopenslide.la
  CC       tools/tools_openslide_show_properties-openslide-tools-common.o
  CC       tools/tools_openslide_show_properties-openslide-show-properties.o
  CCLD     tools/openslide-show-properties
src/.libs/libopenslide.so: undefined reference to `opj_setup_decoder'
src/.libs/libopenslide.so: undefined reference to `TIFFFileName'
src/.libs/libopenslide.so: undefined reference to `TIFFReadRawTile'
src/.libs/libopenslide.so: undefined reference to `TIFFGetFieldDefaulted'
src/.libs/libopenslide.so: undefined reference to `TIFFSetDirectory'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageEnd'
src/.libs/libopenslide.so: undefined reference to `opj_stream_create'
src/.libs/libopenslide.so: undefined reference to `TIFFClose'
src/.libs/libopenslide.so: undefined reference to `opj_set_default_decoder_parameters'
src/.libs/libopenslide.so: undefined reference to `TIFFComputeTile'
src/.libs/libopenslide.so: undefined reference to `opj_destroy_codec'
src/.libs/libopenslide.so: undefined reference to `opj_set_error_handler'
src/.libs/libopenslide.so: undefined reference to `TIFFGetField'
src/.libs/libopenslide.so: undefined reference to `opj_create_decompress'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageGet'
src/.libs/libopenslide.so: undefined reference to `TIFFIsCODECConfigured'
src/.libs/libopenslide.so: undefined reference to `TIFFIsTiled'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageBegin'
src/.libs/libopenslide.so: undefined reference to `opj_stream_destroy'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_read_function'
src/.libs/libopenslide.so: undefined reference to `opj_decode'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_user_data_length'
src/.libs/libopenslide.so: undefined reference to `TIFFClientOpen'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_user_data'
src/.libs/libopenslide.so: undefined reference to `TIFFCurrentDirectory'
src/.libs/libopenslide.so: undefined reference to `opj_image_destroy'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageOK'
src/.libs/libopenslide.so: undefined reference to `TIFFReadDirectory'
src/.libs/libopenslide.so: undefined reference to `opj_set_warning_handler'
src/.libs/libopenslide.so: undefined reference to `opj_read_header'
collect2: ld returned 1 exit status
make[1]: *** [tools/openslide-show-properties] Error 1
make[1]: Leaving directory `/home/justin/local/tools/slideAtlas/openslide-3.4.1'
make: *** [all] Error 2
Could anyone help me to fix this problem?
Thanks. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20150528/fae5a386/attachment.html 


More information about the openslide-users mailing list