From 365a6282dc993b23be910d55e59bcf7e3f11a802 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 6 Feb 2007 20:35:39 +0000 Subject: [PATCH] Fix OpenSP build because we can ignore most of its parts that will not build on windows easily. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15514 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index 2535dcc965..1d08a2bc73 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -331,7 +331,7 @@ function inst_openssl() { die "Wrong version of OpenSSL installed! Run $_OPENSSL_UDIR/unins000.exe and start install.sh again." fi if [ -f $WINDIR\\system32\\libssl32.dll -o -f $WINDIR\\system32\\libeay32.dll ] ; then - die "You have uninstalled the wrong version of OpenSSL, but its DLLs libssl32.dll, libeay32.dll, and ssleay32.dll are still existing in $WINDIR\\system32. You have to delete (or rename) them manually. However, if you know these DLLs are needed by some other package, please contact the gnucash authors so that we can adapt this script." + die "You have uninstalled the Win32OpenSSL-0_9_8d version of OpenSSL, but its DLLs libssl32.dll, libeay32.dll, and ssleay32.dll are still existing in $WINDIR\\system32. You have to delete (or rename) them manually. However, if you know these DLLs are needed by some other package, please contact the gnucash authors so that we can adapt this script." fi if test -f ${_OPENSSL_UDIR}/lib/libssl.dll.a ; then @@ -633,10 +633,12 @@ function inst_opensp() { ./configure \ --prefix=${_OPENSP_UDIR} \ --disable-doc-build --disable-static - # The subdir "sx" needs to think we're in MSVC, but - # all the rest builds fine without that define. - make CPPFLAGS="-D_MSC_VER" -C sx || make - make install + # On many windows machines, none of the programs will + # build, but we only need the library, so ignore the rest. + make all-am + make -C lib + make -i + make -i install qpopd fi test -f ${_OPENSP_UDIR}/bin/libosp-5.dll || die "Opensp not installed correctly"