IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2007, 7:15:35 PM (19 years ago)
Author:
Paul Price
Message:

Configuration fixes to allow configure to run successfully on panstarrs (Solaris machine): Need additional libraries to link cfitsio; md5.h is in a different location (sys/ instead of openssl/). In addition, the user also needs to provide a symlink to /usr/lib/libcrypto.so.0.9.7 as libcrypto.so.0 somewhere in the linking path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r12417 r12430  
    134134CFLAGS=${CFLAGS} ${CFITSIO_CFLAGS}
    135135LDFLAGS=${LDFLAGS} ${CFITSIO_LDFLAGS}
     136
     137dnl Solaris needs to suck in these symbols from unusual locations
     138AC_SEARCH_LIBS([gethostbyname], [nsl])
     139AC_SEARCH_LIBS([socket], [socket])
    136140
    137141AC_CHECK_HEADERS([fitsio.h],[],
     
    431435
    432436AC_CHECK_HEADERS([openssl/md5.h],[],
    433   [AC_MSG_ERROR([SSL headers not found.  Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])]
     437        [AC_CHECK_HEADERS([sys/md5.h],[],
     438                [AC_MSG_ERROR([SSL headers not found.  Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])]
     439        )]
    434440)
    435441AC_CHECK_LIB(crypto,MD5,[],
Note: See TracChangeset for help on using the changeset viewer.