I am using Cygwin to compile Vim, but the configure script tells me that there is no terminal library in the Cygwin environment. Which terminal library could be installed in Cypwin?
You can install ncurses in Cygwin.
(You can also install vim; I presume you have a reason to build it from source rather than using the provided version.)
I just installed vim 7.3 under Cygwin. Here's what I did (approximately):
Download vim-7.3.tar.bz2
tar xf vim-7.3.tar.bz2
cd vim73
./configure --prefix=/path/to/installation/directory
make
make install
Related
I want to run sqlite natively in MinGW as I do in Linux.
Tried downloading SQLite3 for Windows. Though it runs in Windows Command prompt, just like it does in Linux, in MinGW terminal the console hangs.
What can I do to ensure the MinGW plays as nice as Windows?
Compile against a version of readline that works properly on Windows.
I build sqlite3 against readline from http://tiswww.case.edu/php/chet/readline/rltop.html and have no issues.
I searched online about how to install gdb on macOS Sierra 10.12.2 but failed on the methods I could find. Then I figure out the following way which is easy and works fine on my machine. hope it may help you too:)
download the most recent GDB from https://www.sourceware.org/gdb/download/
expand the gdb-7.12.1.tar.xz file: tar xopf gdb-7.12.1.tar.xz
cd gdb-7.12.1 in terminal to open the gdb folder
then follow the instructions in the README file in the gdb folder, or simply follow the following steps:
./configure, wait for the terminal
make and wait again (which can take some time)
sudo make install
Now gdb is installed at /usr/local/bin/
Note that you might want to try/use LLDB (lldb) instead. This is now the default (don't know about 10.12, but on 10.13 it is installed, when you install the Xcode utilities). It even comes with a nice curses GUI, but otherwise a shell very similar to GDB.
You can also use homebrew to get gdb in mac os:
install-gdb-macos-sierra
Surprised no one mentioned:
brew install gdb
How to install brew?
When I try to build openssl on windows with msys.bat, ./configure mingw shared reports an error.
Perl v5.10.0 required--this is only v5.8.8, stopped at ./configure line 12.
The MinGW Installation Manager lists 5.8.8 as a repository version.
How can I get a more recent version of perl? I already installed strawberry perl, but I don't know if it's possible to connect it to msys.
There are a couple of things you could try:
Perl-MinGW project, which seems to be an update of perl for MinGW: https://sourceforge.net/projects/perl-mingw/?source=navbar
Or try to use MSYS2, which already uses a newer version of perl: https://www.msys2.org/
I have currently switched to mac from linux and am missing xcowsay
xcoway requires X, for linux that is x11 for mac you will ned toinstall Xquartz.
According to http://www.doof.me.uk/2008/03/04/xcowsay-on-os-x/, xcowsay is suported in mac since 2008.
Download and install XQuartz from https://www.xquartz.org/. Then download and compile xcowsay from https://github.com/nickg/xcowsay/
I had to install XQuartz on Mac OS X and build from source.
I used homebrew to install the dependencies and cloned from the source at https://github.com/nickg/xcowsay/. I ran into an issue with autoreconf finding the autopoint command from gettext. Adding the gettext bin folder to my path solved it.
See steps below
brew install autoconf gettext gdk-pixbuf gtk+
export PATH="/usr/local/opt/gettext/bin:$PATH"
./configure
make
make install
You should look at Homebrew for OSX.
cowsay is available via the homebrew package manager. I do not see the X-Server version of cowsay.
https://github.com/Homebrew/legacy-homebrew/blob/master/Library/Formula/cowsay.rb
I have only used Mac in the past to compile, so I am a little lost with the following issue.
I am trying to compile a program in Windows 7 through cygwin. Svn co to get the source code works, but upon $ ccmake. the error "command not found" appears. I have the devel. tools from the cygwin setup, as well as cmake and MinGW-64 installed. Where can be the bug? Is ccmake. command supported at all in cygwin?
Any hints are appreciated.
If you are using Cygwin, you should install Cmake using Cygwin as well. The package should be called "cmake". Once that is done you should find ccmake at
/usr/bin/ccmake
AKA
C:\cygwin\bin\ccmake.exe
and you should make sure your PATH contains /usr/bin
ref