Kannel Configuration fails - kannel

I am getting below comments when I run ./configure in kannel gateway
config.status: executing libtool commands
sed: can't read ./ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
Please Help.

i just resolved this problem by running command libtoolize --force before ./configure on my ubuntu. (on Mac it should be glibtoolize --force)
MAke sure libtools are installed on your system before running the command.Hope this helps

Related

How to install Terragrunt 0.19.x version on Mac book

How to Install terragrunt 0.19.x Version on Macbook?
I tried brew install terragrunt which is Downloading 0.18.x only.
Option1:
brew install terragrunt
touch: /usr/local/Homebrew/.git/FETCH_HEAD: Permission denied
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
fatal: Unable to create '/usr/local/Homebrew/.git/index.lock': Permission denied
error: could not lock config file .git/config: Permission denied
==> Downloading https://homebrew.bintray.com/bottles/terragrunt-0.18.3.mojave.bottle.tar.gz
Already downloaded: /Users/rohithgundala/Library/Caches/Homebrew/downloads/f494cc7ebcfadf5e2610048e6c9f937e0151ff46cf0c226d83118e6d8ba704cc--terragrunt-0.18.3.mojave.bottle.tar.gz
==> Pouring terragrunt-0.18.3.mojave.bottle.tar.gz
🍺 /usr/local/Cellar/terragrunt/0.18.3: 3 files, 19.6MB
Option2:
# Install Terragrunt
RUN wget -q -O ${BIN_DIR}/terragrunt "https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux _amd64" \
&& chmod +x ${BIN_DIR}/terragrunt
Output:
bin/terragrunt: cannot execute binary file
Install Homebrew as described at https://brew.sh/.
Then run the following:
git clone https://github.com/cunymatthieu/tgenv.git /usr/local/Cellar/tgenv
ln -s /usr/local/Cellar/tgenv/bin/* /usr/local/bin
tgenv install 0.19.31
tfenv use 0.19.31
tgenv is a version manager for Terragrunt. https://github.com/cunymatthieu/tgenv/blob/master/README.md
It's extremely handy when you need to use a specific version or multiple versions on the same machine.
tfenv is a related tool and does the same for the terraform command: https://github.com/tfutils/tfenv
For newer versions of Mac OS the kernel is Darwin and the above answer will not work with an error like:-
zsh: exec format error
Please confirm that by running command uname -a and download the file specific to that kernel "terragrunt_darwin_amd64" for whatever version you want.
So below should work :-
wget -q -O /bin/terragrunt "https://github.com/gruntwork-io/terragrunt/releases/download/v0.xx.x/terragrunt_darwin_amd64"
chmod +x /bin/terragrunt
terragrunt -v
I found Answer for this.
wget -q -O /bin/terragrunt "https://github.com/gruntwork-io/terragrunt/releases/download/v0.xx.x/terragrunt_linux_amd64"
chmod +x /bin/terragrunt
terragrunt -v

Error when trying to install Boost libraries in Cygwin via bootstrap.sh

I downloaded boost 1.61.0 and unzipped it in the following directory:
C:\Users\Kenneth\Desktop\tuxedo\boost_1_61_0\boost_1_61_0
When I enter the command
./bootstrap.sh
I get the following error:
/b2lding Boost.Build engine with toolset gcc... tools/build/src/engine/bin.ntx86
cp: cannot stat './tools/build/src/engine/bin.ntx86'$'\r''/b2': No such file or directory
cp: cannot stat './tools/build/src/engine/bin.ntx86'$'\r''/bjam': No such file or directory
Any help would be greatly appreciated.
Ken
to use *.sh based configuration you need to have posix compatible system. On windows is called cygwin. So install cygwin, get gcc toolchain and try again inside cygwin terminal. This should help you. However in cygwin you could install already compiled libs - this will save you some time.

omnet++ installation error in ubuntu

i am getting the following error while running "make" command.
cd /home/bismillah/Desktop/omnetpp-4.1/out/gcc-release/src/utils && /home/bismillah/Desktop/omnetpp-4.1/src/utils/install-prog opp_lcg32_seedtool /home/bismillah/Desktop/omnetpp-4.1/bin
/bin/sh: /home/bismillah/Desktop/omnetpp-4.1/src/utils/install-prog: Permission denied
make[1]: * [all] Error 126
make[1]: Leaving directory `/home/bismillah/Desktop/omnetpp-4.1/src/utils'
make: * [utils] Error 2
The configure command worked properly,, kindly help;
The mentioned install-prog script should have an executable flag set on linux.
i.e. use
$ chmod +x install-prog
on it, but usually that should be set automatically once you extract the archive using
$ tar xvfz omnetdistro-vertsion.tgz
Probably you have extracted the Widnows version with unzip. I would try a reainsall and following closely the INSTALL guide.

Installation of doxygen and error in make command

I am trying to install doxygen in my CentOs 6.3 machine and I am getting this error. Any ideas??
[root#dell1 doxygen-1.8.3.1]# make install
/usr/bin/install -d /usr/local/bin
/usr/bin/install -d /usr/local/doc/doxygen
/usr/bin/install -m 755 bin/doxygen /usr/local/bin
/usr/bin/install -m 755 bin/doxytag /usr/local/bin
/usr/bin/install: cannot stat `bin/doxytag': No such file or directory
make: *** [install] Error 1
Bash isn't wrong in complaining:
/usr/bin/install: cannot stat `bin/doxytag': No such file or directory
It happens to be that the compiled file doxytag was not included in the downloaded tar file. So when you try to make, it couldn't find that file. To make it successfully, you have two options:
Compile the doxytag.py file from here and paste it to doxygen's bin directory
You can compile the python file doxytag.py from the above link using:
python -m compileall path_to_the_file/doxytag.py
It should generate a python compiled executable with .pyc extension. Now move this file to your doxygen-version folder. For example,
mv doxytag.pyc your_path/doxygen-1.8.5/bin/doxytag
Or alternatively download the doxytag from here
Now when you try to make, it will complete without any errors.
Comment out the line that requires doxytag file from the Makefile
You may read about the doxytag utility from https://www.star.bnl.gov/public/comp/sofi/doxygen/doxytag_usage.html.
If you do not really require this utility in your documentation, simply skip it by commenting out or deleting the line in the Makefile present in the doxygen-1.8.5(as per your version) directory by:
#$(INSTTOOL) -m 755 bin/doxytag $(INSTALL)/bin
And then run the make command.
The doxygen make is strange: "make install" will not invoke "make", so you need to do a
make
make install
to first generate the binaries and then install them.
A cannot stat error literally means the file(s) or directory does not exist - or you do not have the correct permissions. If you know where the directory is located - start looking there for permissions and file existence.
Try as a superuser.
sudo make install
First, you'll need to install some dependencies.
sudo apt install cmake
sudo apt install flex
sudo apt install bison
After that, execute the commands below; it'll probably work fine.
git clone https://github.com/doxygen/doxygen.git
cd doxygen
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make
sudo make install

problems at installation of sphinx on mac osx - can't even do the ./configure command

I tried to install sphinx on my Mac (OSX 10.6.7) but at the first installation step, I run into a problem.
According to the installation doku, http://sphinxsearch.com/docs/current.html#installation, one should do the following steps
$ ./configure
$ make
$ install
When I enter ./configure in my terminal, I get the following error message:
$ ./configure
> -bash: ./configure: No such file or directory
So I looked in the folder 'sphinx-2.0.1-beta-osx10.6-i386' and saw that there's no such file such as configure. Also
$ ls -a
> . api doc sphinx-min.conf.in
.. bin example.sql sphinx.conf.in
COPYING contrib log
INSTALL data sphinx-min.conf
When I tried other files such as sphinx-min.conf, I get
$ ./sphinx-min.conf
$ -bash: ./sphinx-min.conf: Permission denied
Also the sudo ./sphinx-min.conf doesn't work
$ sudo ./sphinx-min.conf
$ sudo: ./sphinx-min.conf: command not found
Any ideas?
It seems possible that you have downloaded a binary version, rather than the source code. You should check for binaries in the subdirectory bin.
You should also read the file INSTALL, which probably has installation instructions that go with the distribution you have downloaded.
You should download Source tarball (tar.gz) from http://sphinxsearch.com/downloads/release/ even it has the deceptive linux-penguin icon. After decompression the tarball you can follow the installation steps as http://pat.github.com/ts/en/installing_sphinx.html says.

Resources