Problem with installation of gtkada on x86_64-linux. I am installing it into a directory $HOME/Ada and everything is ok up to the ./configure stage where I get "error: old version found". I did not want to disturb any old versions in case they were used by the system, so I'm not sure how to get round this error.
Steps in the process :-
(1) Downloaded the .tar file into $HOME/Ada.
(2) Downloaded file gnat-2021-20210519-x86_64-linux-bin into $HOME/Ada and executed it, installing in the suggested directory $HOME/opt/GNAT/2021.
(3) Extracted the files from the .tar file.
(4) Included directories $HOME/Ada and $HOME/opt/GNAT/2021 in $PATH.
(5) Ran ./configure: "error: old version found"
Note : Environment variable $PKG_CONFIG_PATH is empty (surprisingly).
Help on this will be gratefully appreciated.
Related
I'm trying to install the mips-linux-gnu-gcc Toolchain on Debian 7 from a guide, which has the instructions to install it from a directory on the machine (which I already sent in) and has the following command to do so:
export PATH=toolchain/bin/path:$PATH
and the next step is to check it's version:
mips-linux-gnu-gcc --version
But the only result I have is the "command not found result", I made sure the files are inside the folder and they are, and checking the mips-linux-gnu-gcc file I have the following result:
Am I doing something wrong? I have no experience with this kind of files and I haven't found any other way to install it, so I really need help with this :/
I solved it! the problem was the directory that I was exporting to PATH, since I installed everything on the root folder I had to put /root/ at the start of the url indicated in the instruction guide.
Ubuntu 20.04, downloaded singularity 3.7.3.tar.gz, sha256 matches, unzipped it and followed instructions but keep getting
Failed to get package version. Abort.
Any quick suggestions what I'm missing. I installed GO using a snap, and when I check the version I get
$ go version go version go1.16.3 linux/amd64
What am I missing. Thx, J.
I found a bug / problem!
In the file
/singularity/mconfig
is some code to check the version?
# if test -z "${package_version}" ; then
# echo "Failed to get package version. Abort."
# exit 1
# fi
I can't tell why this doesn't work because the file it is looking for is present.
If I comment out this code, the config, compile and install work seamlessly and do produce the correct version information! The syslabs.io people make it incredibly difficult to contact them to suggest a bug.
V2, got it to work, this is new to me but the quirk was I was downloading the .tar.gz into a directory that was already within a git repo. This affects where mconfig looks for the "VERSION" file and causes an error. Created a new directory outside any git repo's, dowloaded, untarred and mconfig,make, and make install all worked fine. Strange thae where it looks for VERSION file is changed?
Here is the command I'm running
apt-get install make
Here is the error output I'm getting
Found package make
Installing make
Unpacking make-4.2.1-1.tar.xz...
Extracting dependencies for usr/bin/make.exe...
Package make requires the following packages, installing cygwin libguile17 libintl8
Package cygwin is already installed, skipping
Found package libguile17
Installing libguile17
Downloading libguile17-1.8.8-1.tar.xz...
Downloading /home/mobaxterm/.aptcyg/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin/release/libguile17/libguile17-1.8.8-1.tar.xz using Windows internet settings
sha512sum: can't open 'libguile17-1.8.8-1.tar.xz': No such file or directory
/bin/apt-cyg: line 476: test: 94f5e268a2f32d7c6b19747792a18d13f468779daca46bdd20aa99d63931c4fe8071a460e62db9d1779b15fee167ce7c6c65a0e90e61225cf8be12e3a14a2252: unary operator expected
md5sum: can't open 'libguile17-1.8.8-1.tar.xz': No such file or directory
/bin/apt-cyg: line 479: test: 94f5e268a2f32d7c6b19747792a18d13f468779daca46bdd20aa99d63931c4fe8071a460e62db9d1779b15fee167ce7c6c65a0e90e61225cf8be12e3a14a2252: unary operator expected
Checksum did not match, exiting
Found package libintl8
Package libintl8 is already included, skipping
Package make installed.
Is there anyone who has GNU make running on MobaXTerm and who would like to help?
Run this command, it worked for me at least.
apt-get --legacy install libguile17
I normally collect the Development plugins from http://mobaxterm.mobatek.net/plugins/Development.mxt3
Once the .mxt3 files are getting downloaded, moved them to the installed folder where the MobaXterm_.exe is there, this location could be in Program Files if you are using installer edition or the extracted folder incase of zip.
Please restart the MobaXtern once.
After restarting MobaXterm, this will work like a champ.
Hope if this solves your issue.
Following the steps in this website to install Tortunnel, on step 1 point 5 where i am suppose to run make && make install, i get the following ;
In file included from TorProxy.cpp:30:
./TorProxy.h:33:10: fatal error: 'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make: *** [TorProxy.o] Error 1
after that i made sure to install Boost with brew on Mac
and then again i ran the same command but got the same out come ?
i was able to locate the exact file in the Boot folder and confirm that it is there, but not sure if it in the right location since it is not in the tortunnel folder, and i am running the command from that folder.
Most likely Brew didn't install the boost libraries to your C compiler's include path so you'll need to specify it when you go to configure the software.
Since you said you were able to find where the Boost libs were installed, try:
CPPFLAGS="-I/path/to/boost" ./configure [opts]
In the above command, /path/to/boost would be the directory where the boost folder is located that contains shared_ptr.hpp. So say that were /opt/shared/brew/include/boost then use /opt/shared/brew/include in the configure command (I have no idea where Brew puts stuff so this path is totally made up for this answer).
Currently I am using cabal-install 1.16.0
I tried to update cabal-install because someone told me that newer version of ghc (7.6.1) is available. Installation result was quite successful except for this message.
Warning: could not create a symlink in /Users/MyName/Library/Haskell/bin
for cabal because the file exists there already but is not managed by cabal.
You can create a symlink for this executable manually if you wish. The
executable file has been installed at
/Users/MyName/Library/Haskell/ghc-7.4.1/lib/cabal-install-1.16.0.2/bin/cabal
I checked those locations and there was files. So installation was ok.
Based on the warning message I got, I tried to create symlinks in /Users/MyName/Library/Haskell/bin by typing this.
ln -s /Users/MyName/Library/Haskell/bin /Users/MyName/Library/Haskell/ghc-7.4.1/lib/cabal-install-1.16.0.2/bin/cabal
but It gives me simple, but frustrating message. "File Exists"
So I tried again, with existing file removed by Finder. (I just move symlink file to recycle bin.) but machine gives me same message. "File Exists"
As a result, I still have installed folder, but not working Cabal, which keep urges me to update. (version 1.16.0)
How can I solve this problem?
I realize this question was asked 6 months ago, I hope you've already found the solution. I'm posting the answer here for future reference.
You were almost there. Removing the existing symlink is the correct first step. The next step is to create the new symlink by doing:
ln -s [actual/path/to/cabal] [name_of_symlink]
You seem to have reversed this order, and this causes the "File Exists" error.