Changeset 36429


Ignore:
Timestamp:
2022-08-22T14:50:05+12:00 (20 months ago)
Author:
davidb
Message:

libz needed for wget. This used to be provided through gnome-lib, but if compiling without this extension, then wget fails its configure

Location:
main/trunk/greenstone2/build-src/packages
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/configure

    r36344 r36429  
    139139
    140140
     141# wget needs libz when it runs its configure
     142# this used to be provided (incidentally) by gnome-lib
     143# however, if the gnome-lib extension is off, this failes
     144# => configure, compile up and install libz here
     145
     146
     147# configure the pdftohtml converter
     148echo ""
     149echo "Configuring libz"
     150echo ""
     151
     152cd "$PACKAGES/libz"
     153gzip -dc zlib-1.2.11.tar.gz | tar -xf -
     154cd zlib-1.2.11 && \
     155./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
     156
     157if test x$? != x0 ;
     158then
     159  echo "Configuration of libz failed."
     160  exit 1
     161fi
     162
     163# make
     164echo Making libz
     165make
     166if test x$? != x0 ;
     167then
     168  echo "Compilation of libz failed."
     169  exit 1
     170fi
     171
     172echo make install
     173make install
     174if test x$? != x0 ;
     175then
     176  echo "Installation of libz failed."
     177  exit 1
     178fi
    141179
    142180# The way common-src compiles up expat during the configure stage itself,
Note: See TracChangeset for help on using the changeset viewer.