[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19083 - gnunet-planetlab
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19083 - gnunet-planetlab |
Date: |
Wed, 11 Jan 2012 11:45:50 +0100 |
Author: pritpal
Date: 2012-01-11 11:45:50 +0100 (Wed, 11 Jan 2012)
New Revision: 19083
Modified:
gnunet-planetlab/02_planetlab-deps-from-source.sh
Log:
updated script
Modified: gnunet-planetlab/02_planetlab-deps-from-source.sh
===================================================================
--- gnunet-planetlab/02_planetlab-deps-from-source.sh 2012-01-10 23:18:38 UTC
(rev 19082)
+++ gnunet-planetlab/02_planetlab-deps-from-source.sh 2012-01-11 10:45:50 UTC
(rev 19083)
@@ -399,7 +399,80 @@
exit 1
fi
-#cleanup_gnutls
+
+
+
+
+
+
+function cleanup_libunistring {
+# cd ..
+# rm -rf gnutls-2.12.9
+# rm gnutls-2.12.9.tar.gz
+rm -rf /tmp/libunistring
+}
+
+
+function install_libunistring {
+
+mkdir /tmp/libunistring
+cd /tmp/libunistring
+
+
+wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz
+if [ $? = 0 ]
+then
+ echo " libunistring download successful"
+else
+ echo " libunistring download failed, exiting ..."
+ cleanup_libunistring
+ exit 1
+fi
+
+tar xvfz libunistring-0.9.3.tar.gz 1>/dev/null 2> /dev/null
+if [ $? = 0 ]
+then
+ echo " gnutls download successful"
+else
+ echo " gnutls download failed, exiting ..."
+ cleanup_libunistring
+ exit 1
+fi
+
+
+cd libunistring-0.9.3
+
+./configure 1> /dev/null 2> /dev/null
+if [ $? = 0 ]
+then
+ echo " libunistring configure successful"
+else
+ echo " libunistring configure failed, exiting ..."
+ cleanup_libunistring
+ exit 1
+fi
+
+make all 1> /dev/null 2> /dev/null
+if [ $? = 0 ]
+then
+ echo " libunistring make all successful"
+else
+ echo " libunistring make all failed, exiting ..."
+ cleanup_libunistring
+ exit 1
+fi
+
+sudo make install 1> /dev/null 2> /dev/null
+if [ $? = 0 ]
+then
+ echo " gnutls sudo make install successful"
+else
+ echo " gnutls sudo make install failed, exiting ..."
+ cleanup_libunistring
+ exit 1
+fi
+
+#cleanup_libunistring
cd ..
}
@@ -426,9 +499,13 @@
cleanup_gnutls
+#echo "INSTALLING libunistring"
+install_libunistring
+cleanup_libunistring
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19083 - gnunet-planetlab,
gnunet <=