Compiling mcrypt fails (gaa: Command not found) - makefile

I have to compile PHP with mcrypt, but for some reason i cannot compile mcrypt using the make command. I´m getting the following error:
gaa -o gaaout.c -i gaa.h mcrypt.gaa
make[2]: gaa: Command not found
make[2]: *** [gaaout.c] Error 127
make[2]: Leaving directory `/usr/local/src/mcrypt-2.6.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mcrypt-2.6.7'
make: *** [all] Error 2
I´m compiling it on Centos 6.6, and the mcrypt version is 2.6.7
Before i compiled i installed the Development Tools packaged via yum.
yum groupinstall "Development Tools"
Also installed: mhash (v 0.9.9.9), libmcrypt (v 2.5.8)
What is the gaa command, and how do i make i available?

FWIW: don't know gaa either, but since src/gaaout.c exists:
touch src/gaaout.c
did the trick for me.

Related

make [2]: **** [Makefile:44: envi_slc_decode] Error 1, while installing gmtsar in fedora 32

This is my first question in stack overflow and hope I make it clear.
I am trying to install a program (gmtsar) in fedora 32. However, the compilation was not complete and two errors return at the end.
I ran the following commands:
sudo -i
cd /usr/local
git clone --branch 6.0 https://github.com/gmtsar/gmtsar GMTSAR
cd GMTSAR
autoconf
./configure --with-orbits-dir=/usr/local/orbits
make
make install
after make and mak install the following errors return:
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: envi_slc_decode] Error 1
make[2]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc/ENVI_SLC_decode'
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/local/GMTSAR/preproc/ENVI_preproc'
make: *** [Makefile:37: preprocess] Error 2
I followed the same procedures in ubuntu 16.04 and the compilation was complete without errors.
Can anyone help me understand why I got these errors and how to fix them, please?

Mulval: installation setup

I am trying to install mulval on my machine following this doc:
http://people.cis.ksu.edu/~xou/argus/software/mulval/readme.html
However, I am not exactly sure how to make changes to the path of XSB, dot and Mulval.
I get the following error when I try to run "make":
~/mulval$ make
(cd src/adapter; make; make install)
make[1]: Entering directory '/home/aditya/mulval/src/adapter'
javac GetCVEID.java -cp :/lib/dom4j-1.6.1.jar:/lib/jaxen-1.1.1.jar:/lib/mysql-connector-java-5.1.8-bin.jar
make[1]: javac: Command not found
Makefile:9: recipe for target 'GetCVEID.class' failed
make[1]: *** [GetCVEID.class] Error 127
make[1]: Leaving directory '/home/aditya/mulval/src/adapter'
make[1]: Entering directory '/home/aditya/mulval/src/adapter'
javac GetCVEID.java -cp :/lib/dom4j-1.6.1.jar:/lib/jaxen-1.1.1.jar:/lib/mysql-connector-java-5.1.8-bin.jar
make[1]: javac: Command not found
Makefile:9: recipe for target 'GetCVEID.class' failed
make[1]: *** [GetCVEID.class] Error 127
make[1]: Leaving directory '/home/aditya/mulval/src/adapter'
Makefile:6: recipe for target 'adapter' failed
make: *** [adapter] Error 2
Any help on getting this installation completed?
Thanks in advance!
Set your MULVALROOT env variable before make:
for instance: export MULVALROOT=/home/aditya/mulval
this error is related to javac, not installed properly:
"make[1]: javac: Command not found"
you can check the version with: javac -version
if not installed, install again with sudo apt install default-jdk
if you have other issues related to lex and/or bison later, install them too:
lex: sudo apt install flex
bison: sudo apt install bison

Octave install error on Mac El Capitan

When I tried to install Octave (brew install octave --with-gui --HEAD) on OS X 10.11.2 I got this error:
==> ./configure --prefix=/usr/local/Cellar/octave/HEAD --enable-dependency-tracking --enable-link-al
==> make all DOC_TARGETS=
Last 15 lines from /Users/macbookpro/Library/Logs/Homebrew/octave/03.make:
GEN scripts/plot/util/gnuplot_binary.m
GEN doc/interpreter/contributors.texi
GEN etc/icons/octave-logo-256.png
./build-aux/missing: line 81: rsvg-convert: command not found
WARNING: 'rsvg-convert' is missing on your system.
You might have modified some files without having the proper
tools for further handling them. Check the 'README' file, it
often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in
case some other package contains this missing 'rsvg-convert' program.
make[2]: *** [etc/icons/octave-logo-256.png] Error 127
make[2]: *** Waiting for unfinished jobs....
Updating ./doc/liboctave/version-liboctave.texi
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Just install this lib:
brew install librsvg

Building F# on a mac... mcs: No such file or directory

I am building F# from source on my mac (yosemite).
I followed these steps.
git clone https://github.com/mono/mono
cd mono
./autogen.sh --prefix=/mono64 --enable-nls=no
make
During make I get an error
cd /Users/abhishek.srivastava/mono/mcs && /Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_x xbuild_12 xbuild_14 ' CC='gcc' all-profiles
mkdir -p -- build/deps
make[6]: mcs: No such file or directory
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
*** The compiler 'mcs' doesn't appear to be usable.
*** You need Mono version 3.8 or better installed to build MCS
*** Check mono README for information on how to bootstrap a Mono installation.
/bin/sh: mcs: command not found
*** The version of 'mcs' is: .
make[5]: *** [do-profile-check] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
LBURMAC603TG8WM:mono (master *=)$
Do make get-monolite-latest after autogen.sh and before making the rest.
Alternatively, any recent binary mono release can be installed and used for bootstrapping.

Debian "make" error

I'm trying to install ufasoft miner on my Debian machine, but after entering make it shows this message:
make[1]: Entering directory `/root/ufasoft_coin-0.75'
CXX el/libext/bignum.o
In file included from el/libext/bignum.cpp:18:0:
./el/bignum.h: In member function ?void Ext::BigInteger::swap(Ext::BigInteger&)?:
./el/bignum.h:310:8: error: ?mpz_class? has no member named ?swap?
make[1]: *** [el/libext/bignum.o] Error 1
make[1]: Leaving directory `/root/ufasoft_coin-0.75'
make: *** [all] Error 2
Check your installed GMP version.
For me, ufasoft_coin-0.75 compiles fine against the latest gmp-5.1.3 (With --enable-cxx)

Resources