Hello everyone, I've made a script to build and install EFL. Feel free to try it out, and customize it to your needs. My script is peculiar in that it uses su instead of sudo.
My script is mainly based on my first few attempts at running the recommended build commands on the enlightenment website, with some added commands to handle exceptions. qwl@tealeaves:~/Downloads/e17$ ls build-efl.sh efreet-1.7.4 emotion-1.7.4.tar.gz ecore-1.7.4 efreet-1.7.4.tar.gz emotion-success ecore-1.7.4.tar.gz efreet-success enlightenment-0.17.0 ecore-success eina-1.7.4 enlightenment-0.17.0.tar.gz e_dbus-1.7.4 eina-1.7.4.tar.gz ethumb-1.7.4 e_dbus-1.7.4.tar.gz eina-success ethumb-1.7.4.tar.gz e_dbus-success eio-1.7.4 ethumb-success edje-1.7.4 eio-1.7.4.tar.gz evas-1.7.4 edje-1.7.4.tar.gz eio-success evas-1.7.4.tar.gz edje-success elementary-1.7.4 evas_generic_loaders-1.7.4 eet-1.7.4 elementary-1.7.4.tar.gz evas_generic_loaders-1.7.4.tar.gz eet-1.7.4.tar.gz elementary-success evas-success eet-success embryo-1.7.4 scr1 eeze-1.7.4 embryo-1.7.4.tar.gz terminology-0.2.0 eeze-1.7.4.tar.gz embryo-success terminology-0.2.0.tar.bz2 eeze-success emotion-1.7.4 qwl@tealeaves:~/Downloads/e17$ ls build-efl.sh efreet-1.7.4 emotion-1.7.4.tar.gz ecore-1.7.4 efreet-1.7.4.tar.gz emotion-success ecore-1.7.4.tar.gz efreet-success enlightenment-0.17.0 ecore-success eina-1.7.4 enlightenment-0.17.0.tar.gz e_dbus-1.7.4 eina-1.7.4.tar.gz ethumb-1.7.4 e_dbus-1.7.4.tar.gz eina-success ethumb-1.7.4.tar.gz e_dbus-success eio-1.7.4 ethumb-success edje-1.7.4 eio-1.7.4.tar.gz evas-1.7.4 edje-1.7.4.tar.gz eio-success evas-1.7.4.tar.gz edje-success elementary-1.7.4 evas_generic_loaders-1.7.4 eet-1.7.4 elementary-1.7.4.tar.gz evas_generic_loaders-1.7.4.tar.gz eet-1.7.4.tar.gz elementary-success evas-success eet-success embryo-1.7.4 scr1 eeze-1.7.4 embryo-1.7.4.tar.gz terminology-0.2.0 eeze-1.7.4.tar.gz embryo-success terminology-0.2.0.tar.bz2 eeze-success emotion-1.7.4 qwl@tealeaves:~/Downloads/e17$ cat scr1 for I in eina eet evas embryo ecore eio edje efreet e_dbus \ evas_generic_loaders ethumb eeze emotion elementary; do \ wget http://download.enlightenment.org/releases/$I-1.7.4.tar.gz; \ done wget http://download.enlightenment.org/releases/enlightenment-0.17.0.tar.gz qwl@tealeaves:~/Downloads/e17$ cat build-efl.sh #!/bin/sh # This script builds EFL. export PATH=/usr/local/bin:$PATH export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH export CFLAGS="-O3 -fvisibility=hidden -ffast-math" eflversion=1.7.4 for I in eina eet evas embryo ecore eio edje efreet e_dbus \ evas_generic_loaders ethumb eeze emotion elementary do # skip if success file is found if [ ! -f $I-success ] then # unpack and move in tar zxf $I-$eflversion.tar.gz cd $I-$eflversion ./configure --disable-gnutls # what does disable-gnutls mean? # configure success generates Makefile # abort if Makefile not found if [ ! -f Makefile ] then # alert the user echo "Configure $I failed. " cd .. exit fi # give the user a chance to review configure summary echo "Configure $I ok?" read x # make, make install make && \ echo "Need root password to install $I." && \ su -c 'make install; ldconfig' && \ touch ../$I-success cd .. fi done ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
