configure error (warning) - about coffee ??? - configure

Got the warning from configure (last line):
checking for getpagesize... yes
checking for working mmap... yes
checking for ftruncate... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking whether overlapping arrays are copied correctly... yes
checking the coffee machine... empty - operator may not work as expected
What is it about?
Source is a libelf from debian packages.
PS: From configure.in
AC_CACHE_CHECK([the coffee machine], mr_cv_coffee_machine,
[mr_cv_coffee_machine='empty - operator may not work as expected'])

You forget to switch on the coffee machine or maybe the cable used to operate the machine is broken.
How do you want that all theses script kept working day and night without a good shot of caffeine ?

Related

NRPE on solaris 8

Hi there I was trying to install nrpe in solaris 8. I know that is very old hahah. But when I run ./configure, it shows me this.
./configure
checking for a BSD-compatible install... ./install-sh -c
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc...no
checking for cc...no
checking for cc...no
checking for cl...no
configure: error: no aceptable C compiler found in $PATH
There is a way to get this compilers or somenthing like that?
Thanks for support.

Ruby build failed with rbenv - cannot locate make?

I have just wasted 2 days of my life trying to figure this out, and I need some help please!
I am a complete noob to ruby, and all I want to do is install octopress so that I can have a blog. I think I messed up my mac dev environment somehow - when I try to install ruby with rbenv, it fails and tells me that it cannot find make? How do I fix this?
Thanks for your help in advance.
Mike
Installing ruby-2.4.0...
BUILD FAILED (OS X 10.12.3 using ruby-build 20170201)
Inspect or clean up the working tree at /var/folders/d7/xhd01lr92rvglw0vw9hzkx1m0000gn/T/ruby-build.20170214143528.84918
Results logged to /var/folders/d7/xhd01lr92rvglw0vw9hzkx1m0000gn/T/ruby-build.20170214143528.84918.log
Last 10 log lines:
checking for sigsetjmp as a macro or function... yes
checking for setjmp type... _setjmp
checking for prefix of external symbols... _
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... ./configure: /usr/local/bin/make: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory
no
checking for safe null command for make... configure: error: no candidate for safe null command
/usr/local/bin/ruby-build: /usr/local/bin/make: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory
Here is the output of the following commands:
$ which ruby
/usr/bin/ruby
head /usr/local/bin/make
#!/usr/local/opt/ruby/bin/ruby
#
# This file was generated by RubyGems.
#
# The application 'make' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'rubygems'
And here is the output of echo $PATH:
/Users/michaelhenry/.rbenv/shims:/Users/michaelhenry/.rbenv/bin:/usr/local/bin:/Users/michaelhenry/.rbenv/shims:/Users/michaelhenry/.rbenv/bin:/usr/local/Cellar/coreutils/8.26/libexec/gnubin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands

Compile Vim with GTK2 in Cygwin

I am trying to compile Vim on Cygwin, for Ruby and Python scripting support.
vim.exe --which is the terminal vim- compiles and runs fine, but gvim.exe does not. The problem is in the GTK+ 2 libraries, but I have them installed --from setup.exe of cygwin. I tried with higher and lower versions of GTK also.
Here is the relevant part from configure script. Any ideas are welcomed...
checking --enable-gui argument... GTK+ 2.x GUI support
checking --disable-gtktest argument... gtk test enabled
checking for GTK - version >= 2.2.0... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking for XIMText in X11/Xlib.h... yes
no GUI selected; xim has been disabled
Install all the -devel packages required, including
gtk2
glib2
pangoo
atk
cairo
pixman
x11
libXt-devel
Install gcc4 cygwin package (solves libffi problem)
Run
./configure --prefix=/usr --enable-multibyte --enable-pythoninterp --enable-gui=gtk2 --enable-rubyinterp --disable-gtktest
gtktest has problems on cygwin, I didn't dig for the reasons
make && make install

install mcrypt for phpMyAdmin on Mac Lion with Xcode 4.3

I try to install phpMyAdmin on my Mac running Lion (10.7.3). It required mcrypt.
I found the link:
http://www.glenscott.co.uk/blog/2011/08/29/install-mcrypt-php-extension-on-mac-os-x-lion/
On my friend's Mac, the link is good. But on my Mac, it cannot run. I encounter the error from the statement of installing libmcrypt:
./configure
The command run as below:
sh-3.2# ./configure
checking build system type... i686-apple-darwin11.3.0
checking host system type... i686-apple-darwin11.3.0
checking target system type... i686-apple-darwin11.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
I see that my friend use Xcode 4.2, and I use Xcode 4.3. I'm not sure whether it's the reason. Any suggestion? Thank you!
Open Xcode, go to preferences and go to the 'Downloads' Tab, there you will find a list, find the one that says 'Command Line Tools' and click on Install and -> Done.
You would need an account as a developer to install that though, if you don't have one, create it, its free.

ruby can't find readline on OS X 10.6

I'm running ruby 1.9.2 on OS X 10.6, and mostly things are working fine. But readline doesn't seem to be working, either in IRB or in the rails console. A few different posts suggested building readline as an extension, like this
cd <ruby-source-dir>/ext/readline
ruby extconf.rb
make
make install
So I did that, and here's what I get:
checking for tgetnum() in -lncurses... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... no
checking for readline() in -ledit... no
checking for editline/readline.h... yes
checking for readline() in -ledit... no
and then
make: Nothing to be done for `all'
This makes me think it's not finding my readline install. Any ideas on how to get it to find readline?
I re-compiled readline and then tried the steps above again and everything worked fine. I think this may be because I had originally compiled readline for osx 10.5, when ruby was still 32 bits.

Resources