omnet++ installation error in ubuntu - omnet++

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.

Related

windows install autoconf-2.69 You must run ./configure before running 'make'

Under the unzipped direcotry autoconf-2.69, I execute this command right after I execute the "./configure" command
$ make install
However, the terminal(cygwin) gave me this:
There seems to be no Makefile in this directory.
You must run ./configure before running 'make'.
C:\MinGW\bin\make.exe: *** [abort-due-to-no-makefile] Error 1
Why wasn't the Makefile produced? Thanks.

Kannel Configuration fails

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

How to uninstall OpenCV in mac

I installed OpenCV this way
#After downloading OpenCV-3.0, in the directory:
echo "#define GTEST_USE_OWN_TR1_TUPLE 1" | cat > temp1
cat modules/ts/include/opencv2/ts/ts_gtest.h > temp2
cat temp1 temp2 > modules/ts/include/opencv2/ts/ts_gtest.h
mkdir build
cd build
cmake .. -Wno-dev
make -j8 && sudo make install
#Update your bash_profile:
~$ echo "export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH" >>
~/.bash_profile
#Close and open the Terminal
#Open python console and try to import cv2 to test if everything works
~$ python import cv2
The version is not stable and making errors I want to uninstall it to avoid problem when I install opencv using brew, should I just delete the folder ?
THis what I get when i did
cd build
make uninstall
-- Uninstalling "/usr/local/share/OpenCV/3rdparty/lib/libippicv.a"
CMake Error at cmake_uninstall.cmake:20 (MESSAGE):
Problem when removing "/usr/local/share/OpenCV/3rdparty/lib/libippicv.a"
make[3]: *** [CMakeFiles/uninstall] Error 1
make[2]: *** [CMakeFiles/uninstall.dir/all] Error 2
make[1]: *** [CMakeFiles/uninstall.dir/rule] Error 2
make: *** [uninstall] Error 2
If you used Homebrew to install you can use this command.
brew uninstall opencv3
You will not have to remove any directory such as /usr/local/Cellar/opencv3
Go to the build directory and run sudo make uninstall
Delete that line you added to ~/.bashrc
Remove the opencv directory

Theos Building The Project

i am facing compile Theos project on mac terminal. i am used OSX10.8.5
i have done all work for create Theos jailbroken Project
Install the latest Ios7.1 Sdk
Setting Up The Environment Variables.
$ export THEOS=/opt/theos
$ echo $THEOS
3.Getting theos
$ svn co http://svn.howett.net/svn/theos/trunk $THEOS
4.Getting ldi
$ sudo curl -s http://dl.dropbox.com/u/3157793/ldid > ~/Desktop/ldid
$ chmod +x ~/Desktop/ldid
$ sudo mv ~/Desktop/ldid $THEOS/bin/ldid
5.Install dpkg (Mac Port)
$ sudo port install dpkg
Creating A New Project
$ sudo THEOS/bin/nic.pl
set environment
$ export THEOS=/opt/theos/
$ export SDKVERSION=7.1
$ export THEOS_DEVICE_IP=192.168.1.151
Compile project
$ make
when i compile the theos project then mac terminal through error.
Making all for application fooProject...
mkdir: obj: Permission denied
make[1]: *** [obj] Error 1
make: *** [fooProject.all.application.variables] Error 2
please suggest to me. where am i wrong. i am new on theos so i trouble for solve this problem last 2 days.
Thank you
I made a proper answer because it is more visible than just a single comment.
I just reprocuded the error by creating a project using your commands.You need to create your project without using sudo (just type THEOS/bin/nic.pl), and then you'll be allowed to compile it with make, otherwise it will throw a Permission Denied as the files will be owned by the System Administrator.

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