I can't get this package to install. I've tried outside of cygwin, and get this error:
http://pastebin.com/tcEsFXVT
I've tried inside cygwin, and get this error:
http://pastebin.com/LHGDnnDb
I tried downloading the latest config.guess and config.sub, putting them into the plugins local repository (.tar.gz), and installing from it:
http://pastebin.com/txbW9G9t
I even tried doing the same with only config.guess:
http://pastebin.com/yVQhgyKs
Based on Reid Barton's suggestion, I tried converting config.guess and config.sub to Unix line-endings (totally forgot about that issue, so thanks!). This produced a fifth error (replacing only config.guess did not change the error):
http://pastebin.com/U5rS6CyD
Can anyone provide instructions for how to install this bear?
Related
I'm setting up a new machine and installing sdkman on Cygwin to install Java. I had this exact setup working on my previous machine, also Win 10.
Installed Cygwin, and required for sdkman, installed zip and unzip packages. Now I'm getting the following error:
$ sdk i java 11.0.3-zulu
Downloading: java 11.0.3-zulu
In progress...
Warning: Failed to create the file
Warning: /home/whyph/.sdkman/tmp/D2txrZkztdcZKSIltTtxclUhHkzF9yIf.bin: No such
Warning: file or directory
curl: (23) Failed writing body (0 != 14095)
mv: cannot stat '/home/whyph/.sdkman/tmp/D2txrZkztdcZKSIltTtxclUhHkzF9yIf.bin': No such file or directory
Tried disabling Windows firewall and running Cygwin as administrator, neither changed the error. Worked out of the box on my last machine, but can't figure out what might be different.
I discovered the problem - wrong curl. Turns out, Windows 10 now comes with curl and it's on your path. I assumed it was one of the base packages of Cygwin, but it is not, and the Windows version is not compatible with SDKMAN, even though it worked to install it. Fix:
Remove SDKMAN per https://sdkman.io/install Uninstallation section
Close Cygwin shells
Rerun Cygwin setup and insure the curl, zip, unzip, and tar packages
are installed (check installation instructions in case more
dependencies are added since this writing)
Install SDKMAN per instructions
Recently I had the very same problem, and the reason was very simple... I forgot to install cURL on my Cygwin. Hope it helps!
I had the same problem recently and I manage to make it work somehow.
In the sdkman source file, I modified the .sdkman/src/sdkman-install.sh line 150.
I replaced the "--output" of the line below by a classic redirection ">".
After I just restarted cygwin and the command finally worked.
__sdkman_secure_curl_download "${download_url}" --output "${binary_input}"
Hope that helps !
I have installed the following
C:\MinGW
C:\msys
C:\GTK
But python searching for the files in site packages and throwing the error as:
OSError: cannot load library libcairo.so.2: error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library
This issue happening in installation of weasyprint packages.
Installing GTK+ didn't work for me.
I solved this problem using UniConverter2.0.
My environments is
Python 3.7
Windows 10 x64
Install uniconvertor-2.0rc4-win64_headless.msi,
Find the "dll" sub-directory under the UniConverter installation path.(In my case, C:\Program Files\UniConvertor-2.0rc4\dlls)
Add this "dll" path to the system path.
Close VSCode and reopen the project.
Try to run your code again.
Enjoy!
In my experience with this issue Windows 10 (64-bit) with Python 3.5.1, it can be either due to duplicate libraries in other directories seen by PATH that don't work or the libraries that you installed just aren't compatible with your OS/Python bit version.
I suggest installing an older version of GTK+ (I used 3.10.4) using the links provided in the WeasyPrint documentation instead and see if the error persists. I had the issue on a newer build of GTK+. The version of GTK+ installed with MSYS2 gave the same error.
Edit: I found the post where I found the previous version of GTK that I was using but it gave an annoying warning about the cairo version being unstable:
See this post.
Edit 2: To get rid of the cairo version stability warnings, I managed to get a newer version of Cairo using the GTK3-runtime-3.22.8 (Link to git downloads as per WeasyPrint docs)
Remember to uninstall all current GTK+ implementations first. You might get a warning saying that the version of cairo can cause issues but I haven't been able to locate a newer version of cairo that works in windows, let me know if you find one.
I'm trying to install Kieran Healy's Emacs Starter Kit (https://github.com/kjhealy/emacs-starter-kit) on linux arch (I have also tried on a Mint installation, running into the same errors), but I'm having quite some trouble.
After deleting my ~/.emacs.d and installing the starter kit, emacs starts installing packages, but runs into a 'Package magit- is not available'-error. Other Melpa-packages are installing fine. An m-x refresh-contents doesn't make a difference, and neither does an m-x install-package magit.
I am able to install magit if I temporarily rename my .d.emacs and run with a fresh .emacs, and if I, after installation of magit, enable the starter kit again, emacs will load the installed magit-package perfectly fine. It does stall again, on several other packages (ipython, typopunct), in exactly the same manner.
If I comment out the 'require of these three packages, installation seems to work, but stalls on a not found 'ob-shell (as in this question: https://emacs.stackexchange.com/questions/21366/should-i-have-removed-shell-t-to-clear-an-ob-shell-initialization-error). This is in addition to several other errors that seem to indicate a not-complete installation as I try to continue use of emacs.
I have not been able to find any documentation relating to this. Appearently, missing packages are not uncommon with old emacs-installations, but as I am using a 25.1.1 install, this does not seem to be the problem.
Any ideas going forward?
The issue with magit was indeed solved a little while ago. The issue with ipython that apc raised exists because that's a package from the Marmalade repo, which needs to be added manually to the list of repositories. To install it, just execute the following code in the console.
M-x package-refresh-contents [RET]
M-: (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
M-x package-refresh-contents [RET]
M-x package-install [RET] ipython
I tried to install a climate modelling programm (RegCM) for which I used Ubuntu on VMware Workstation, GNU fortran compiler and Open MPI.
Like suggested [https://gforge.ictp.it/gf/download/docmanfileversion/35/758/Install_RegCM4.3.pdf] I installed the GNU fortran compiler, Open MPI, unpacked RegCM Version 4.4.5 and configured RegCM (./configure CC=gcc FC=gfortran).
In 'sudo make' the Error
'Error: Can't open included file 'mpif.h''
appears. In 'RegCM-4.3.5.8/Main/mpplib' which was searched is no file with that name but one can be found in 'openmpi-1.10.2/ompi/include'. Just to give it a try copied 'mpif.h' in the searched directory.
It worked but now a new Error appeared:
'Can't open included file 'mpif-config.h''
which again can be found in 'openmpi-1.10.2/ompi/include'. Again copied the same Error arised with another file.
I also tried a older Version of RegCM (4.3) with the same effect.
Any suggestions on this?
? Which version of Ubuntu are you using ? Like "Ubuntu 16.04 - amd64".
mpif.h, mpif-config.h : sudo apt-get install libopenmpi-dev
Note : RegCM-4.3.5.8 is buggy. No luck with '4.3.5.8' here, any contemporary OS. RegCM-4.5.0 → RegCM-4.5.0.tar.gz
https://gforge.ictp.it/gf/download/frsrelease/252/1580/RegCM-4.5.0.tar.gz builds with no errors : Tested with Ubuntu 16.04 - 64bits and PCLinuxOS2016 -32bits.
I'm getting error while trying to install sqlite3-ruby gem:
gem install sqlite3-ruby-1.3.1.gem
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby-1.3.1.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby.exe extconf.rb
Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.1/ext/sqlite3/gem_make.out
Same using:
gem install sqlite3-ruby-1.3.1
And that worked:
gem install sqlite3-ruby-1.3.1-x86-mswin32-60.gem
However I discovered I had had installed sqlite-ruby-1.2.5
Well my question is how 'gem' is installing these things? Why it can't choose sqlite3-ruby-1.3.1-x86-mswin32-60.gem version automatically. Does 'gem' is aware of running on linux or windows? What is native extension for it and why it is failing to install predownloaded sqlite3-ruby-1.3.1.gem
Thanks in advance
Lots of people seem to be having this issue. I'm surprised this doesn't work out of the box, as I would have guessed cygwin+ruby+sqlite is a supercommon configuration. Anyway. Many people concentrate on sqlite3.h, which is what appears are missing in the error output. However, my problem was that gcc wasn't installed correctly. Apparently gcc can fail to install correctly under cygwin. I fixed that and it was fine. Also, make sure you install libsql3-devel in cygwin.
I've been down this road before. I failed installing Ruby in Windows to work with Cygwin and I failed on Ubuntu.
What you do to save yourself the time and trouble is get a VM running with a Linux image (Fedora seemed to work well) and work with Ruby in that.