Changeset 6285


Ignore:
Timestamp:
10/14/10 09:18:08 (15 years ago)
Author:
Eric.Larour
Message:

Fix to gdal installation on linux 64 bits.

Location:
issm/trunk/externalpackages/gdal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/gdal/GDALmake.opt.patch

    r1 r6285  
    1 225,226c225
    2 < #CURL_LIB     =       -L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz 
    3 < CURL_LIB      =       -L/usr/lib64 -lcurl /usr/lib64/libgssapi_krb5.so.2  /usr/lib64/libkrb5.so.3 /usr/lib64/libk5crypto.so.3 /usr/lib64/libssl3.so -lresolv -ldl -lidn   -lz 
     131c31
     2< LIBS  =       $(SDE_LIB) -I/usr/include -lsqlite3 -L/usr/lib -lexpat -ljpeg -lpng -lz  -lm -lrt -ldl  $(KAK_LIBS) $(DWG_LIBS) $(CURL_LIB) \
    43---
    5 > CURL_LIB      =       -L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz 
     4> LIBS  =       $(SDE_LIB) -I/usr/include -lsqlite3 -L/usr/lib64 -lexpat -ljpeg -lpng -lz  -lm -lrt -ldl  $(KAK_LIBS) $(DWG_LIBS) $(CURL_LIB) \
     5225c225
     6< CURL_LIB      =       -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz 
     7---
     8> CURL_LIB      =       -L/usr/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz 
  • issm/trunk/externalpackages/gdal/install.sh

    r6081 r6285  
    2424#Configure gdal
    2525cd src
    26 ./configure --prefix="$ISSM_TIER/externalpackages/gdal/install" --without-python --with-netcdf=no --with-jasper=no --without-ld-shared --with-unix-stdio-64=no
     26./configure --prefix="$ISSM_TIER/externalpackages/gdal/install" --without-python --with-netcdf=no --with-jasper=no --without-ld-shared --with-unix-stdio-64=no --with-expat-lib=/usr/lib64/libexpat.so
    2727
    2828#Patch GDALmake.opt
    29 patch -R GDALmake.opt ../GDALmake.opt.patch
     29patch GDALmake.opt ../GDALmake.opt.patch
     30
    3031
    3132#Compile and install gdal
     
    3637else
    3738        make -j $NUMCPUS
    38         make -j $NUMCPUS install
     39        make install
    3940fi
Note: See TracChangeset for help on using the changeset viewer.