Fetch not found on Ubuntu 20.4 - ubuntu-20.04

i am trying to use the breakpad, but got stuck at fetch cant be found.. i am trying to install fetch from Ubuntu repositories, but there also fetch is not available.
Any suggestions.
Version
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
administrator#ESC-UBUNTU:~$ cd $WORKINGDIR
administrator#ESC-UBUNTU:~$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
fatal: destination path 'depot_tools' already exists and is not an empty directory.
administrator#ESC-UBUNTU:~$ export PATH=$PATH:$WORKINGDIR/depot_tools
administrator#ESC-UBUNTU:~$ cd depot_tools
administrator#ESC-UBUNTU:~/depot_tools$ mkdir breakpad && cd breakpad
mkdir: cannot create directory ‘breakpad’: File exists
administrator#ESC-UBUNTU:~/depot_tools$ fetch breakpad
Command 'fetch' not found, did you mean:
command 'sfetch' from deb biosquid (1.9g+cvs20050121-11)
command 'afetch' from deb biosquid (1.9g+cvs20050121-11)
command 'efetch' from deb acedb-other (4.9.39+dfsg.02-4build1)
command 'efetch' from deb ncbi-entrez-direct (12.0.20190816+ds-1)
command 'ifetch' from deb ifetch-tools (0.17.2-2)
Try: sudo apt install <deb name>
administrator#ESC-UBUNTU:~/depot_tools$ cd src
-bash: cd: src: No such file or directory
administrator#ESC-UBUNTU:~/depot_tools$ ./configure
-bash: ./configure: No such file or directory
administrator#ESC-UBUNTU:~/depot_tools$ make
make: *** No targets specified and no makefile found. Stop.
administrator#ESC-UBUNTU:~/depot_tools$ cd

My suggestion is that $WORKINGDIR is empty. That's why cd $WORKINGDIR enters your home directory as it is the same as cd.
If this suggestion is correct, this means, that you are adding a relative path to your PATH, which won't work. You need to add the full path to depot_tools in your PATH.

Related

No such file or directory: '/Library/Python/3.7/

$ python3 setup.py install
running install
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 2] No such file or directory: '/Library/Python/3.7/site-packages/test-easy-install-3544.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/Library/Python/3.7/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
When I use command which python3, I got the Path: /usr/local/bin/python3
What should I do?

Permission Denied on ./vcpkg install

Has anyone encountered this error before with vcpkg? I'm running MacOS. To install vcpkg I ran:
git clone https://github.com/Microsoft/vcpkg
...
./bootstrap-vcpkg.sh
...
./vcpkg integrate install
zsh: permission denied: ./vcpkg
Also trying to run:
./vcpkg install wxwidgets
zsh: permission denied: ./vcpkg
Yep, it needs to be executed from the /bin directory and not from the /vcpkg directory. so that means (if you used brew to install it, otherwise it'll be somewhere else) ⤵︎
$ cd /usr/local/Cellar/vcpkg/2020.11-1/bin
(just open a file explorer window and find the bin folder in vcpkg, you can then copy the path name and use that for your cd command, or open a shell window at that directory)
Then all you have to do is simply run the original command ⤵︎
$ ./vcpkg integrate install

where should i put the file composer

according to a document from getcomposr.org. It should be place on
usr/local/bin
.
in my case...the directory
usr/local/bin
not exist. but instead directory
/bin
existe.
so should i create
usr/local/bin
and move composer there
or
just move into
/bin
thanks you in advance.
You should read further in the documentation:
Note: On some versions of macOS the /usr directory does not exist by default. If you receive the error "/usr/local/bin/composer: No such file or directory" then you must create the directory manually before proceeding: mkdir -p /usr/local/bin.
This mkdir call should be run with sudo.
Also note that you can easily install Composer with Homebrew via brew install composer.

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