dmake installation issue on linux - makefile

I'm trying to build openssl 1.0.1h on linux, when I ran 'make' seems it looks for dmake and its not found on my system.
bash# make
making all in crypto...
/bin/sh: dmake: command not found
make: *** [build_crypto] Error 1
so I downloaded dmake 4.12 and tried to build it as well, but I encountered another strange issue.
I was manage to ran ./configure and it seems to be ok, but when running 'make' I'm getting:
dmake all-recursive
**make: dmake: Command not found**
make: *** [all] Error 127
I'm trying to build and install dmake but 'make' command is using dmake in my env.
What is the solution here? how can I build it?

echo $MAKE showed 'dmake'
some env script changed it from 'gmake' to 'dmake'
solution: export MAKE=gmake

Related

Booting xv6 on macbook OSX High Sierra (10.13.3)

I am following the instructions in the most popular answer to the post here and when I attempt to run
make TOOLCHAIN=i386-elf- qemu
it refuses to run giving me the following error...
***
*** Error: Couldn't find an i386-*-elf version of GCC/binutils.
*** Is the directory with i386-jos-elf-gcc in your PATH?
*** If your i386-*-elf toolchain is installed with a command
*** prefix other than 'i386-jos-elf-', set your TOOLPREFIX
*** environment variable to that prefix and run 'make' again.
*** To turn off this error, run 'gmake TOOLPREFIX= ...'.
***
gcc -m32 -gdwarf-2 -Wa,-divide -c -o usys.o usys.S
clang: error: unsupported argument '-divide' to option 'Wa,'
make: *** [usys.o] Error 1
I am unsure how to resolve this and unsure where to find the texinfo that the person was refering to in their answer to the linked post. I am also unsure where i386 installed itself. I am aware that I am omitting the -nox command from the command line instruction, but I tried that as well. We have setup a window manager for xv6 that works properly and I was wanting to be able to run it on my machine but cannot get it to work.
Thanks for any help!

install mpfr: get into multiple errors

I want to install mpfr package as a non root user. I built it using this:
./configure --with-gmp-lib=/data/home/parisa/gmp-6.1.2/lib
, but after make I got the following error
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
<http://www.gnu.org/software/texinfo/>
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
<http://www.gnu.org/software/make/>
make[1]: *** [mpfr.info] Error 127
make[1]: Leaving directory `/data/home/parisa/mpfr-3.1.5/doc'
make: *** [all-recursive] Error 1
I searched this error in Internet, but I couldn't find something useful and easy to understand. So, I tried to install texinfo, but after configuring this warning message appears:
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [aclocal.m4] Error 127
I also tried autoreconf -f -i before configuring, but with no success. I tried to use automake installed on our cluster by using LD_LIBRARY_PATH but again nothing changed.

Using mingw-w64 and ./configure --host=i686-w64-mingw32.static, make fails and Makefile CC variable looks wrong

I am new to compiling.
I am trying to compile iperf3 for Windows 10 because there is no official Windows distribution of iperf3 and for the learning experience. I am trying to do so on the new Windows Subsystem for Linux feature via Bash on Ubuntu on Windows, also for the learning experience.
I installed mingw-w64, which should give me the proper compiler and environment necessary for cross-compiling:
sudo apt-get install mingw-w64
This put two directories into my /usr directory:
i686-w64-mingw32
x86_64-w64-mingw32
It also put a bunch of things that look like compilers into /usr/bin.
I unzipped the .tar.gz file from iperf3 and navigated into it. Then, I run ./configure --host=i686-w64-mingw32.static and it completes without errors.
I note that the output of the command has a worrisome line: checking for i686-w64-mingw32.static-gcc... no
I note that the Makefile's CC variable is set to gcc, which doesn't sound like the proper compiler.
Then, I run make. It fails with errors:
collect2: error: ld returned 1 exit status
make[2]: *** [iperf3] Error 1
make[2]: Leaving directory `/home/snip/iperf3/iperf-3.1.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/snip/iperf3/iperf-3.1.4/src'
make: *** [all-recursive] Error 1
I also see the line: libtool: warning: undefined symbols not allowed in i686-w64-mingw32.static shared libraries; building static only
I think that the ./configure is not working correctly since it appears to have not found the right compiler for my --host argument and put it in the Makefile.
What am I doing wrong?
EDIT:
I changed the command to ./configure --host=i686-w64-mingw32 per comments and it completes without error. But no makefile is created so make yields make: *** No targets specified and no makefile found. Stop.
What am I doing wrong, now?
EDIT 2:
Looks like the ./configure actually is failing. Last line of its output is nanosleep() required for timing operations., which seems to mean that its missing a library for nanosleep.
How do I get nanosleep?
mingw doesn't support nanosleep. So programs using it cannot be compiled using mingw-w64.

miktex installation error: make: *** No targets specified and no makefile found. Stop

I am trying to install miktex on Ubuntu 14.04. I am following the instructions at http://miktex.org/howto/build-unx. But when I type the command make, the following error is shown:
make: *** No targets specified and no makefile found. Stop.
I tried the command ./configure, but it resulted in the following error:
bash: ./configure: No such file or directory
Anyone knows how to solve it??

VLC win32Compile error

I'm trying to compile the latest release of vlc for Windows using this tutorial: https://wiki.videolan.org/Win32Compile/
I'm compiling with Ubuntu 13.04 and using the host triplet i686-w64-mingw32.
Everything runs fine until "Building VLC". This is the error:
make[4]: Entering directory `/home/nuno/tpplugins/vlc/win32/modules'
CCLD libavio_plugin.la
/home/nuno/tpplugins/vlc/contrib/i686-w64-mingw32/lib/libavutil.a(time.o): In function `av_usleep':
/home/funman/vlc-git/contrib/win32/ffmpeg/libavutil/time.c:60: undefined reference to `_nanosleep'
collect2: ld returned 1 exit status
make[4]: * [libavio_plugin.la] Error 1
Any ideas how to solve this? My gcc version is 4.8.1.
Recently had the same issue.
To resolve, try the following steps:-
sudo apt-get install yasm
cd contrib/win32
make .ffmpeg
make .gnutls
Then try to continue your make of vlc and hopefully all will be well.

Resources