affy installation problem
0
0
Entering edit mode
@claudio-lottaz-211
Last seen 10.1 years ago
Hi all, I encountered the following difficulty to install affy on our alpha installation: configure did not find zlib because the include is not located in /usr/includes. We have fixed this by adding /usr/local/includes as CFLAGS to the aclocal.m4 file (see below). I am not sure whether this is the proper way of dealing with this. If yes, the authors may consider to include the attached aclocal.m4 to the distribution. Cheers Claudio aclocal.m4: ## ## Try finding zlib library and headers ## ## R_ZLIB() ## AC_DEFUN([R_ZLIB], [ CPPFLAGS=-I/usr/local/include CFLAGS=-I/usr/local/include have_zlib=no AC_CHECK_LIB(z, main, [ AC_CHECK_HEADER(zlib.h, [ AC_MSG_CHECKING([if zlib version >= 1.1.3]) AC_TRY_RUN([ #include "confdefs.h" #include <string.h> #include <zlib.h> int main() { #ifdef ZLIB_VERSION return(strcmp(ZLIB_VERSION, "1.1.3") < 0); #else return(1); #endif }], [AC_MSG_RESULT([yes]) have_zlib=yes], AC_MSG_RESULT([no]), AC_MSG_RESULT([no])) ]) ]) if test "${have_zlib}" = yes; then AC_DEFINE(HAVE_ZLIB) LIBS='-lz '$LIBS fi ])
affy affy • 637 views
ADD COMMENT

Login before adding your answer.

Traffic: 586 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6