NRPE on solaris 8 - gcc

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.

Related

Configuring ruby 3.1.3 failed

I am installing ruby 3.1 via ruby-install utility on MAC OS (12.6). While execution, I see the following error:
>>>Configuring ruby 3.1.3 ...
checking for ruby... /usr/bin/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-apple-darwin21.6.0
checking target system type... x86_64-apple-darwin21.6.0
checking for cl.exe... no
checking for clang... clang
checking for llvm-ar... no
checking for clang++... clang++
checking for llvm-nm... no
checking for llvm-objcopy... no
checking for llvm-objdump... no
checking for llvm-ranlib... no
checking for llvm-strip... no
checking for gcc... (cached) clang
checking whether the C compiler works... no
configure: error: in `/Users/jay/src/ruby-3.1.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
!!! Configuration of ruby 3.1.3 failed!
Tried with other utilities and other ruby versions.
Make sure your xcode is updated. Installer was not able to find command line tools and therefore the configuration was not getting set - resulting in failure.

Osslsigncode can't locate openssl on Windows

I'm trying to install osslsigncode on a Windows 10 machine. I've installed OpenSSL, and when I run OpenSSL from MinGW I get
OpenSSL>
And I can run genrsa, etc.
But when I run ./configure for osslsigncode, I get this error:
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking for dlopen in -ldl... no
checking termios.h usability... no
checking termios.h presence... no
checking for termios.h... no
checking for getpass... no
checking for GSF... no
checking for OPENSSL... no
checking for OPENSSL... no
checking for RSA_verify in -lcrypto... no
configure: error: OpenSSL 0.9.8 or later is required. http://www.openssl.org/
If I check for the version of OpenSSL,
OpenSSL> version
OpenSSL 1.0.0 29 Mar 2010
Any ideas why?
Check if you have set the global systemvariable OPENSSL.
This variable is requested in the file configure.ac and there in the two blocks named PKG_CHECK_MODULES are still more requirements that are checked during the configure-process.
You can set the variable OPENSSL statically, or for installation you do it like this:
SET OPENSSL=/PATH/TO/OPENSSL/
./configure
make
make install
/PATH/TO/OPENSSL/ has to be replaced by the right existing path.
I don't know if a path for OPENSSL is enough or if you have to assign the path to a binary / extecutable file, you've to try it if you never get a better hint.

Compiling Octave 4.2.1 in linux, can't link to PCRE library with GCC 4.9.3

When running the configure script for Octave, I do:
./configure CFLAGS="-I/customlibs/pcre/gnu/8.40/include -L/customlibs/pcre/gnu/8.40/lib/" LD_LIBRARY_PATH="/customlibs/pcre/gnu/8.40/lib"
I have also tried:
./configure CFLAGS="-I/customlibs/pcre/gnu/8.40/include" LDFLAGS="-L/customlibs/pcre/gnu/8.40/lib/" LD_LIBRARY_PATH="/customlibs/pcre/gnu/8.40/lib"
Both of these produce the same failure:
checking pcre.h usability... yes
checking pcre.h presence... no
configure: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pcre.h: proceeding with the compiler's result
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking whether pcre.h defines the macros we need... no
configure: error: to build Octave, you must have the PCRE library and header files installed
I'm lost as to how it can find pcre.h but fails to do anything else with it. Am I doing something wrong on my configure line or is pcre broken? If it's my configure line, how do I link against pcre correctly?
For reference, here's the pcre path:
ls /customlibs/pcre/gnu/8.40/
bin
include
lib
share
I was struggling with that for a while as well, but the solution was actually very simple. just use CPPFLAGS rather than CFLAGS for include files:
./configure CPPFLAGS="-I/customlibs/pcre/gnu/8.40/include" LDFLAGS="-L/customlibs/pcre/gnu/8.40/lib/"
There's also no need for LD_LIBRARY_PATH upon configuring.

How can I install System.Console.Readline for Haskell GHCi on Windows?

I am trying to run a haskell file from command prompt. I get the following error :
Failed to load interface for `System.Console.Readline'
Perhaps you meant System.Console.Haskeline (from haskeline-0.7.2.3)
Locations searched:
System\Console\Readline.hs
System\Console\Readline.lhs
System\Console\Readline.hsig
System\Console\Readline.lhsig
I thought readline came as part of cabal when you installed the full version of haskell? (which I have done) Does anyone have any idea how I can fix this?
EDIT: I tried >cabal update, followed by >cabal install readline, and I now get this:
Resolving dependencies...
Configuring readline-1.0.3.0...
Failed to install readline-1.0.3.0
Build log ( C:\Users\Dan\AppData\Roaming\cabal\logs\readline-1.0.3.0.log ):
Configuring readline-1.0.3.0...
bash.exe: warning: could not find /tmp, please create!
checking for gcc... C:\PROGRA~1\HASKEL~1\802E01~1.1\mingw\bin\gcc.exe
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether C:\PROGRA~1\HASKEL~1\802E01~1.1\mingw\bin\gcc.exe accepts -g... yes
checking for C:\PROGRA~1\HASKEL~1\802E01~1.1\mingw\bin\gcc.exe option to accept ISO C89... none needed
checking for GNUreadline.framework... checking for readline... no
checking for tputs in -lncurses... no
checking for tputs in -ltermcap... no
checking for tputs in -lcurses... no
checking for rl_readline_version... no
configure: error: readline not found, so this package cannot be built
See `config.log' for more details.
cabal: Leaving directory 'C:\Users\Dan\AppData\Local\Temp\cabal-tmp-884\readline-1.0.3.0'
cabal: Error: some packages failed to install:
readline-1.0.3.0 failed during the configure step. The exception was:
ExitFailure 1

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.

Resources