Changeset 31824 for main/trunk/greenstone2/build-src/packages/configure
- Timestamp:
- 2017-07-27T18:40:26+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/packages/configure
r30896 r31824 139 139 140 140 141 142 # The way common-src compiles up expat during the configure stage itself, 143 # configure openssl (needs to be done before wget) 144 # and compile openssl during the configure stage itself. 145 # Needed by wget for https support 146 147 echo "" 148 echo "Configuring openssl" 149 echo "" 150 cd "$PACKAGES/openssl" 151 openssl_pkgname=openssl-1.0.2l 152 if test ! -d $openssl_pkgname ; 153 then 154 gzip -dc $openssl_pkgname.tar.gz | tar -xf - 155 fi 156 cd openssl-1.0.2l 157 158 # configure 159 # see the INSTALL file for OpenSSL to see config options for openssl 160 # --prefix indicates where the generated lib, include and bin folders will go 161 # --openssldir will contain the manuals and other non-essentials 162 # we'll put them into $bindir/openssl for wget to use 163 echo ./config --prefix=$bindir/openssl --openssldir=$PACKAGES/openssl no-shared 164 ./config --prefix=$bindir/openssl --openssldir=$PACKAGES/openssl no-shared 165 # make 166 echo make 167 make 168 # make install 169 echo make install 170 make install 171 172 # now move the include, lib and bin folders to the correct place 173 141 174 # configure the wvWare Word document converter 142 175 echo "" … … 227 260 fi 228 261 262 #./configure $CACHE_FILE --prefix=$PACKAGES/wget --without-ssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 263 264 # We weren't compiling up wget statically before either 265 # However, to compile up wget (statically or not) with openssl, see 266 # https://stackoverflow.com/questions/9817337/compiling-wget-with-static-linking-self-compiled-openssl-library-linking-issu 267 # Note: if the cppflags and ldflags are set during the configure stage, as we now do, 268 # then the make command needn't additionally set them as well. So just make, make install then works 269 echo cd "$PACKAGES/wget/wget-1.15-gs" 270 echo CPPFLAGS="-I/$bindir/openssl/include" LDFLAGS="-L/$bindir/openssl/lib" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 229 271 cd "$PACKAGES/wget/wget-1.15-gs" && \ 230 #./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 231 ./configure $CACHE_FILE --prefix=$PACKAGES/wget --without-ssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 272 CPPFLAGS="-I/$bindir/openssl/include" LDFLAGS="-L/$bindir/openssl/lib" ./configure $CACHE_FILE --prefix=$PACKAGES/wget --with-ssl=openssl --bindir="$bindir" -disable-nls $HOSTTARGETFLAGS $wget_extraargs 273 274 275 ## 276 ##CPPFLAGS="-I/Scratch/ak19/gs3-svn-13July2017/gs2build/bin/linux/openssl/include" LDFLAGS="-L/Scratch/ak19/gs3-svn-13July2017/gs2build/bin/linux/openssl/lib" ./configure --prefix=/Scratch/ak19/gs3-svn-13July2017/gs2build/build-src/packages/wget --with-ssl=openssl --bindir="/Scratch/ak19/gs3-svn-13July2017/gs2build/bin/linux" -disable-nls 277 ## 278 ##make CPPFLAGS="-I/Scratch/ak19/gs3-svn-13July2017/gs2build/bin/linux/openssl/include" LDFLAGS="-L/Scratch/ak19/gs3-svn-13July2017/gs2build/bin/linux/openssl/lib -static" 232 279 233 280 if test x$? = x1 ;
Note:
See TracChangeset
for help on using the changeset viewer.