I am trying to run the install using the script patL sent that worked previously on my prior computer (Xubuntu 12.04) and on this computer (xubuntu 14.04) I am getting errors. Not sure why it is unable to resolve host name as it is in the networking files but am not sure this is stopping the install. I renamed the script from tlf-install.local.sh as I googled and found that pushd and popd are bash commands and not other shell commands. Results for both are below.
******************************************************** Install script that I am trying to use; # Install script provided by Pat #!/bin/bash #If you want a non-root local install you can do the following: #Create your local programs directory and add it to your path echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc source ~/.bashrc mkdir ~/local #for local hamlib #echo 'export LD_LIBRARY_PATH=$HOME/local/lib' >> ~/.bashrc #source ~/.bashrc #Install tlf #first install these so tlf will configure without complaining sudo apt-get install build-essential sudo apt-get install autoconf sudo apt-get install libglib2.0-dev sudo apt-get install libncurses5-dev git clone https://github.com/Tlf/tlf.git tlf #added by request of tom beierlien git checkout tlf-1.2.1 pushd tlf autoreconf --install ./configure --prefix=$HOME/local --enable hamlib #for hamlib #PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig/ ./configure --prefix=$HOME/local --enable-hamlib make install popd echo tlf will be in $HOME/local echo directions are in $HOME/local/share/tlf ************************************************* run as sh script; jim@contest-Inspiron-531s:~/Downloads/patlc-tlf-install-local$ ls tlf tlf-install-local.sh tlf-install-local.sh~ jim@contest-Inspiron-531s:~/Downloads/patlc-tlf-install-local$ sudo sh tlf-install-local.sh sudo: unable to resolve host contest-Inspiron-531s [sudo] password for jim: tlf-install-local.sh: 7: tlf-install-local.sh: source: not found mkdir: cannot create directory ‘/home/jim/local’: File exists sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done libglib2.0-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done libncurses5-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. fatal: destination path 'tlf' already exists and is not an empty directory. fatal: Not a git repository (or any of the parent directories): .git tlf-install-local.sh: 27: tlf-install-local.sh: pushd: not found autoreconf: 'configure.ac' or 'configure.in' is required tlf-install-local.sh: 29: tlf-install-local.sh: ./configure: not found make: *** No rule to make target `install'. Stop. tlf-install-local.sh: 33: tlf-install-local.sh: popd: not found tlf will be in /home/jim/local directions are in /home/jim/local/share/tlf *************************************************************************** renamed script removing the .sh and not using the command sh scriptName.here are the results; jim@contest-Inspiron-531s:~/Downloads/patlc-tlf-install-local$ ./tlf-install-local mkdir: cannot create directory ‘/home/jim/local’: File exists sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done libglib2.0-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. sudo: unable to resolve host contest-Inspiron-531s Reading package lists... Done Building dependency tree Reading state information... Done libncurses5-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. fatal: destination path 'tlf' already exists and is not an empty directory. fatal: Not a git repository (or any of the parent directories): .git ~/Downloads/patlc-tlf-install-local/tlf ~/Downloads/patlc-tlf-install-local configure.ac:11: installing './compile' configure.ac:18: installing './config.guess' configure.ac:18: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' configure: error: unrecognized option: `--enable' Try `./configure --help' for more information make: *** No rule to make target `install'. Stop. ~/Downloads/patlc-tlf-install-local tlf will be in /home/jim/local directions are in /home/jim/local/share/tlf jim@contest-Inspiron-531s:~/Downloads/patlc-tlf-install-local$ _______________________________________________ Tlf-devel mailing list Tlf-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tlf-devel