error: ./dist/configure line 40:conf19087.sh: No such file or directory - linux

I get the error as above when trying to build Berkeley database version 4.5.20. I have unzipped the archive to /opt on UNIX. Please can anyone tell me what I need?
I do the following:
Uncompress berkeley-db package in
some directory. say in /opt
cd to the build_unix directory
../dist/configure
When I run the last command it gives me the error as above. Does anyone know what I am missing here? Options? Another download?

Please make sure that you have correct file permissions for the distribution folder.
Try chmod +w -R /opt/db-4.5.20

Related

Linux Newb ./config: No Such file or directory

I'm new to Linux and I'm trying to install a program called OpenSSL. I'm following a guide and it says to download the tar file, so i created a directory called Website_Related with the path
~/Downloads/Website_Related
and downloaded the tar file from that directory with the command
wget http://www.openssl.org/source/openssl-1.0.2o.tar.gz
This went fine. Then the guide says to execute the following command
$ ./config \
--prefix=/opt/openssl \
--openssldir=/opt/openssl \
enable-ec_nistp_64_gcc_128
I tried executing this command from the same directory where I downloaded the file to and I get an error "No such file or directory". I also tried executing the command from my home directory and got the same error. The guide gives an explanation for the "enable-ec_nist_64_gcc_128" but not the rest of the command.
What is going on here? I did some research and saw . is often a directory having to do with configuration in your home directory, and I can see it in my home directory with
ls -a
command, but if i try to go into it with
cd .
that fails. Could someone please explain to me what this ./config command is attempting to do, and why it is failing?
Thank you.
You need to unpack it first:
tar vxf openssl-1.0.2o.tar.gz

Permission denied when trying to run program copied from another computer

I compiled a program which has the permission of (-rwxr-xr-x), and I copied this executable file to another PC. When I try to run it the warning says "Permission denied".
Can anybody help me out?
Thanks!
Try chmod +x <filename>
Seems like the permissions were changed during copy.
Also, please share how did you copy, maybe this can be avoided.
chmod will change the file permissions.
https://en.wikipedia.org/wiki/Chmod

Elasticsearch installation error: No such file or directory

I'm using a linux machine. The Elasticsearch installation guide told me to simply download and unzip the file, and then run bin/elasticsearch. But when I ran it, I got this error:
$ bin/elasticsearch
-bash: bin/elasticsearch: No such file or directory
I can clearly see the elasticsearch file in my home directory, and all the files within it seem intact. What do I do?
If you are trying to access the file with:
bin/elasticsearch
You get the error.
Try to tell the full route.
First move to the directory with cd
cd route/to/your/directory
Then use . for calling from your actual position:
./bin/elasticsearch
Note: If you get an error about the access or something similar, try giving execution permission to your file:
chmod u+x ./bin/elasticsearch

Not able to read localconfig during Bugzilla installation

I am newbie to testing.
I am trying to install Bugzilla.
when i enter command:
./checksetup.pl
It shows following at the end:
Reading ./localconfig...
./localconfig: Permission denied at Bugzilla/Install/Localconfig.pm line 250, line 749.
can not understand this
can anyone explain?
Bugzilla is trying to create a file named localconfig in the current directory, however you don't have access to write to that directory.
Make sure you are running checksetup.pl from the Bugzilla directory (cd /path/to/bugzilla; ./checksetup.pl), and your current account has write access to that directory.
Thanks & Regards,
Alok

Trouble when running autogen.sh

I have downloaded R tree from http://libspatialindex.github.com/
Since on running ./autogen.sh I was getting file/folder not found, therefore I downloaded the file autogen.sh from the github repository given below:
https://raw.github.com/libspatialindex/libspatialindex/9a5a2f4d83c3ec7be4dbf2c8a86341703d837185/autogen.sh
Now when I run ./autogen.sh I am getting "Permission denied"
And if I run sh ./autogen.sh I am getting:
glibtoolize or libtoolize not found. Giving up!
Please suggest what should I do now
EDIT:Also I want to use libspatialindex inside my C++ project. I am using netbeans. I mean I want to use the functions inside libspatialindex inside my netbeans project. How should I use the same. Right now I have run the config and make command in a separate directory. I am not getting as to how to use them inside my project.
Install libtool from your package manager.
To fix the 'Permission Denied' error you need to edit the permissions of your autogen.sh file. Run this command:
chmod +x autogen.sh
I got this error after restoring a library from a Backup to a NTFS directory.
I discovered that another reason this can occur is if the mounted partition has noexec flag on it.
Run mount to see if noexec has been set on the partition.
Update /etc/fstab or add -o exec to the mount command.
Hope, it helps others in the same situation as me.

Resources