VMWare Player installation on NixOS - vmware

I downloaded the VMware-Player-15.1.0-13591040.x86_64.bundle file from: https://www.vmware.com/go/getplayer-linux
Then I followed these instructions for installing it: https://www.linuxlookup.com/howto/install_vmware_workstation_or_vmware_player_bundle_file
When I run:
sudo sh VMware-Player-15.1.0-13591040.x86_64.bundle
I get the following error:
[neo#nixos:~/Downloads]$ sudo sh
VMware-Player-15.1.0-13591040.x86_64.bundle [sudo] password for neo:
Extracting VMware Installer...done.
/tmp/vmis.tYIuh4/install/vmware-installer/vmware-installer: line 56:
/tmp/vmis.tYIuh4/install/vmware-installer/vmis-launcher: No such file
or directory

Did you check the MD5 or SHA hash of your download?
A corrupted download might cause this type of error.

You're trying to run an ELF binary file on NixOS and it cannot find the interpreter (which is actually located in the NixOS store). You'll need to patch the binary for NixOS. See the patch ELF wiki page.
The "No such file or directory" is a non-descriptive error referencing the interpreter.

Related

Have someone install "IITB Simplecpp in mac"?

I am trying to install simplecpp from this website "https://www.cse.iitb.ac.in/~ranade/simplecpp/"
I am following the mac version.
but when I try to cp file "/usr/include/xlocale.h ./" it gives an error "cp: /usr/include/xlocale.h: No such file or directory"
Please, someone, install and tells me if I am doing wrong or there is an error with the commands given in the website.
Run locate xlocale.h to find where that file exists on your machine, and copy it from one of those locations. For example on some Macs it is in /Library/Developer/CommandLineTools/SDKs/usr/include/xlocale.h if you have XCode and its "Command Line Tools" installed.

How to install tortoise hg Mercurial on Windows, virtual environment

I am trying to install Django's debug_toolbar line profiler. As per the docs, I need to install Mercurial.
I have installed Mercurial on my Windows machine and it looks OK when I type hg in the command prompt outside of my project's virtual environment. The problem is that the same command throws an error when I enter it inside the virtual environment:
ERROR: Error [WinError 2] The system cannot find the file specified while executing command hg clone --noupdate -q https://bitbucket.org/kmike/line_profiler 'c:\[user]\environments\[project]\src\line-profiler'
ERROR: Cannot find command 'hg' - do you have 'hg' installed and in your PATH?
How do I fix that? The end goal is to install line_profiler
ERROR: Cannot find command 'hg' - do you have 'hg' installed and in your PATH?
The key is this error message. Do you have the path to the hg.exe included in your Windows path? What does your "virtual environment" mean exactly?
In my eyes the easies way to get working mercurial on Windows is to use scoop.
Then you don't have to worry about adding the path, just install mercurial via
scoop install mercurial
and you are done.

Running configure file in MinGW64: default build_alias command and default prefix not found

I'm using MinGW64 via an MSYS2 download and am currently trying to install the Solar Geometry 2 library (http://www.oie.mines-paristech.fr/Valorisation/Outils/Solar-Geometry/) for use. I'm following their install README, which states to navigate to the directory and "configure" (I've been typing "./configure". However, when I do so, I get the following message in my terminal:
$ ./configure
configure: loading site script /mingw64/etc/config.site
/mingw64/etc/config.site: line 13: config.site:13: default build_alias set to x6_64-w64-mingw32: command not found
/mingw64/etc/config.site: line 20: config.site:20: default prefix set to /mingw4: No such file or directory
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
When I initially installed MSYS2 I set up the etc/fstab file as recommended. However, I'm quite new to MSYS so I'm assuming I botched something in my setup. I haven't edited anything in the config.site file mentioned in the errors, so I'm wondering if it's something in there.
Any help is greatly appreciated, thank you
No where in the directions for "Solar Geometry" do I see reference to MSys or MSys2.
I suggest you install the compiler toolchain and base development file. No idea if you editing /etc/fstab will cause problems. I do not normmaly edit it!
Install MinGW Package build packages. You might need more packages installed.
pacman -S --needed base-devel mingw-w64-x86_64-toolchain

Installing the Qt SDK shows the message: cannot execute binary file

My environment is Linux 11.04
When I want to install Qt SDK
I download the SDK:qt-creator-linux-x86_64-opensource-2.5.2.bin
I move this file to /opt
and then
chmod u+x qt-creator-linux-x86_64-opensource-2.5.2.bin
./qt-creator-linux-x86_64-opensource-2.5.2.bin
but it shows that: cannot execute binary file
I think whether if it is because my Ubuntu is belong to 32-bit architecture
so I download qt-creator-linux-x86-opensource-2.5.2.bin
also move it to /opt file
and give the command:
chmod u+x qt-creator-linux-x86-opensource-2.5.2.bin
./qt-creator-linux-x86-opensource-2.5.2.bin
The same message still shows.
I give another command:
sudo ./qt-creator-linux-x86-opensource-2.5.2.bin
but it shows that Syntax error: ")" unexpected
how can I resolve this problem?

django translation: msgfmt: command not found

I have installed OSQA using the wiki script (webfaction). Now I want to compile a message file and I get the following error:
django msgfmt command not found
The command + output:
$ ls
apache2 bin lib osqa osqa.wsgi wfinstall.log
[rijkers#web303 hozburo]$ cd osqa
[rijkers#web303 osqa]$ ../bin/django-admin.py compilemessages
processing file django.po in /home/rijkers/webapps/hozburo/osqa/locale/bg/LC_MESSAGES sh: msgfmt: command not found
msgfmt is a program. You need to have it installed on your system for this compilemessages command to work (at least as far as I know it).
You are probably on some *nix system, so it shouldn't be very hard. Just use your package manager and install gettext package (or similar).