Commit 29b73491 authored by Lionel Gauthier's avatar Lionel Gauthier

ok now

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5252 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 21eac456
#!/bin/bash #!/bin/bash
# Tested on ubuntu 12.04 with updates 07 november 2013 # Tested on ubuntu 12.04 with updates 07 november 2013
###########################################################
THIS_SCRIPT_PATH=$(dirname $(readlink -f $0))
source $THIS_SCRIPT_PATH/utils.bash
###########################################################
if [ -f $OPENAIRCN_DIR/S1AP/MESSAGES/ASN1/asn1c-0.9.24.modified.tar.gz ] rm -Rf /usr/local/src/asn1c-r1516
then svn co https://github.com/vlm/asn1c/trunk /usr/local/src/asn1c-r1516 -r 1516
echo_success "Found file $OPENAIRCN_DIR/S1AP/MESSAGES/ASN1/asn1c-0.9.24.modified.tar.gz, installing..." cd /usr/local/src/asn1c-r1516
cp $OPENAIRCN_DIR/S1AP/MESSAGES/ASN1/asn1c-0.9.24.modified.tar.gz /usr/local/src patch -p0 < $OPENAIRCN_DIR/S1AP/MESSAGES/ASN1/asn1cpatch.p0
cd /usr/local/src ./configure
extract /usr/local/src/asn1c-0.9.24.modified.tar.gz make
if [ $? -eq 0 ]; then make install
cd asn1c-9.24 cd -
autoreconf
rm configure.in
./configure
make
make install
exit 0
else
echo_error "Failed in extracting /usr/local/src/asn1c-0.9.24.modified.tar.gz, exiting"
fi
else
echo_error "File $OPENAIRCN_DIR/S1AP/MESSAGES/ASN1/asn1c-0.9.24.modified.tar.gz not found, please ask Eurecom developers how to get it, exiting"
fi
exit 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment