An utility that automates build processes, used mainly to build software on Unix-like systems.

learn more… | top users | synonyms

0
votes
0answers
28 views

Can somebody explain to me what this simple makefile does [migrated]

I'm new to C and Make and was wondering if someone could help me by explaining what this code does. CC = gcc C_FLAGS = -Wall -Wextra all: eecs338 eecs338: eecs338.o $(CC) eecs338.o -o ...
0
votes
0answers
7 views

Can't complete opensips 'make menuconfig' on Xubuntu 15.04

I'm trying to compile and install Opensips-2.1.2 (or 1.11.6). I've installed lots of libraries to make it run (especially ncurses). Now when I try to run following command: make menuconfig I get ...
1
vote
1answer
39 views

Compiling Snort for OpenWRT

I'm trying to install Snort on an OpenWRT VM. I followed the instructions on the Snort homepage and it looks like it requires the make tool for compiling the code: ./configure --enable-sourcefire; ...
1
vote
0answers
26 views

Configure tomato firewall in VM or Debian / CentOs server

I want to use tomato as my internal firewall for accept/block network packets inside my server system. I know that tomato provides firmware for some routers but I want to do some tricky but don't know ...
0
votes
0answers
16 views

Building software on Arch and finding the dependency

I'm relatively new to compiling software. I downloaded a package called gr-scan which uses gnuradio and osmosdr (I have both installed and working via pacman already). The instructions say to edit the ...
1
vote
1answer
65 views

Keep color in less after make and pipe

I would like to keep color in less command after using "make 2>&1" to compile some program. There are similar topics with "grep" and "ls" commands but solutions do not work with this command. For ...
0
votes
1answer
53 views

How do i configure Normalize with Cygwin?

Normalize is a 32-bit windows program installed with Cygwin, according to the Readme. I run 64 bit windows 10. Some files referenced by the Readme are missing, like "Install". I'm instructed to ...
1
vote
1answer
20 views

Different behaviour of the find (parameter not correct) on *nix and windows (ming32) systems

This command called from the Makefile works ok on the various *nix systems, but fails with Windows + Mingw32 bash/makefile: for a in `find libr | grep -e dll$$`; do cp $$a ${WINDIST} ; done This is ...
1
vote
1answer
25 views

Determine what running “make install” changes on most any Linux platform

How can I determine what running make install runs or installs when I have no way of uninstalling from source code? I’d prefer a portable method or at least a software package that can be found in ...
1
vote
1answer
66 views

Need help installing program; can't get `make` to work in src directory

I've been trying very hard to get John the Riper to work. I installed it on Ubuntu and it wouldn't work giving me an error about unknown cipher. Now I'm trying to install it on CentOS. I tried ...
2
votes
2answers
284 views

compilation on cygwin64 doesn't work with g++ 4.9.2

I have GNU make version 4.0 g++/gcc version 4.9.2 Command make clean works perfectly But when I use command make to compile I got this error ...
0
votes
1answer
201 views

OpenSSL 1.0.1g errors when trying to compile Apache 2.4.16 from source on SUSE Linux Enterprise Server 11 (x86_64)

Server info: # cat /etc/*-release SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 0 ...
0
votes
1answer
61 views

Varnish-Agent installation breaks while make

I have install varnish in ubuntu 14.04 using this. Varnish Version: varnishd -V varnishd (varnish-4.0.3 revision b8c4a34) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 Varnish Software ...
0
votes
0answers
33 views

Makefile doesn't work with “modules”

I have this makefile of WrapFS. My problem is that make doesn't work when I add "modules" to all part. When I delete "modules", make works, yet doesn't generate wrapfs.ko. WRAPFS_VERSION="0.1" ...
1
vote
2answers
73 views

Issues installing “One-Way Ping (OWAMP)” on Mac OS X

I am looking for a tool to measure one way delay. I have found a tool One-Way Ping (OWAMP). But I am unable to install on my machine. I am using Mac OS X. I have been searching on Google but having ...
1
vote
2answers
54 views

Conditional variables in Makefile

I am trying to compile source code in various ways. For example, suppose I want to compile a fortran program with source code main.f90, file1.f90, and file2.f90 as inputs. To generate hello.exe, I ...
0
votes
1answer
65 views

PREFIX in Makefile

I don't really know how to give this question a title, since it is pretty weird to me. I'm gonna try linux form scratch, but I'm doing some research first. I'm stuck with compiling packages from ...
0
votes
1answer
29 views

Is it possible to change prefix after make?

We all know that $./configure --prefix=$SOME_DIR $ make $ sudo make install can install bin, lib to $SOME_DIR. However, I wonder whether I can change the prefix of installation directory after ...
1
vote
2answers
132 views

How to get `make` to recognize alias command

I am installing MOOG, and when I make -f Makefile.maclap I get the error $ make -f Makefile.maclap g77 -w -c -o Abfind.o Abfind.f make: g77: No such file or directory make: *** [Abfind.o] Error 1 ...
0
votes
0answers
24 views

What are the -DPOSIX and -DXWINDOWS flags for in Makefiles?

I see -DPOSIX has something to do with POSIX compliancy...which I can kinda get my head around because my program uses a posix library (pthreads) but I can't dig up anything relevant on what ...
0
votes
0answers
26 views

How do I tell Make to use a library in my home directory?

I'm working on a linux system where I do not have root privileges nor do I have any other means to install additional libraries (that I know of). I'm trying to build a program in my home directory, ...
0
votes
0answers
25 views

are these the same meaning between #!/bin/csh and SHELL = /bin/csh?

I want to know what are these the same meaning between #!/bin/csh and SHELL = /bin/csh? Can i use former instead of further?
1
vote
0answers
54 views

make *** No rule to make target in Makefile

I have problem what makefile does not excute with including file. My Makefile is made like this. SHELL = /bin/csh CURDIR = $(shell pwd) .... .... include $(CURDIR)/device.cfg .... Done. Also ...
0
votes
0answers
7 views

Makefile improvement when intermediate files do not really change

I have a Makefile like this all: *.foo ./finalstep *.foo > $@ %.foo: %.bar ./secondstep < $< > $@ %.bar: %.baz ./firststep < $< > $@ The thing is that often ...
2
votes
1answer
103 views

Avoid “rm” in makefile

I have a question concerning a line in a Makefile. I have a target to "clean" my locally installed test/staging-server. Currently it looks like this: clean: rm -rf $(LOCAL_SERVER_PATH)/* As ...
1
vote
1answer
491 views

Jenkins Docker image has no make or sudo

I'm trying to set up CI on AWS using the Jenkins image from the Docker hub. I've gotten a few hours into the process (configuring for a Node project), and I've now realized that a few of my npm ...
1
vote
0answers
74 views

Netbeans remote existing project doesn't compile

I'm trying to create a remote existing project in NetBeans. For some reasons, the project is built this way on the remote Linux machine: Project's sources: /home/bob/workspace/myprojectFolder ...
1
vote
0answers
76 views

Is it considered safe to suspend/hibernate a computer while it's compiling some code?

Will it continue the process where left off? I'm using gcc on a GNU/Linux machine.
1
vote
2answers
86 views

GNU Make Pattern rules on Windows

I am interested in using GNU Make on Windows. I created a tiny Makefile using a Pattern Rule: all: abcd.o %.o : %.c echo hi However, when I attempt to make all, D:\test>"C:\Program Files ...
3
votes
1answer
190 views

Is it safe to install newer Python and Git versions from source?

I wanted to install newer versions of Python and Git to my system. I eventually used the commands below to compile and install new versions. However, I was informed that it would have been better to ...
0
votes
1answer
295 views

FreeBSD make error - File 5.19 supports only version 12 magic files. /usr/share/misc/magic.mgc is version 8?

I'm having trouble reinstalling ProFTPD on a FreeBSD 10.1 setup. The server is newly upgraded from 10.0 to 10.1. When I start the make install clean process, these warnings first shows on screen. ...
2
votes
1answer
711 views

Autosave PDF in MS Word

This question is inspired by my use of LaTeX, where you usually share the generated PDF, not the source file. I want my .docx documents to be source files, with PDFs being the files to share. Thus I ...
2
votes
0answers
33 views

How to add a 'greek' character in the path using cURL?

I have a Makefile where one of many tasks is to upload a file using cURL, one of these files, has a greek character in the name and when I try to upload using cURL, I receive this error: curl: (43) A ...
1
vote
1answer
397 views

gcc configure --disable-shared fails to disable shared libraries during compilation, libgmp and libmpc conflict

I'm compiling GCC on a build server to get access to the latest version of gfortran; after building gmp, mpfr, and mpc into specially-prefixed directories in usr/local, I configured and make'd gcc, ...
1
vote
1answer
176 views

Cannot 'make' program in Linux (autoreconf failure)

I want to compile a program called crisprtools. I am supposed to run ./autogen.sh but it says: Preparing the crisprtools build system...please wait Found GNU Autoconf version 2.69 Found ...
1
vote
0answers
318 views

GCC option : Unrecognized command line

I am trying to build my project with gcc compiler but I get this error: gcc: error: unrecognized command line option '-mthumb' Isn't -mthumb a default option for gcc? Why he couldn't recognize it?
1
vote
1answer
2k views

Using make from Windows PowerShell

Under Linux, sources of projects commonly come with Makefile's. Makefiles contain directives to build these projects using the command make. I am currently forced to use Windows, and so as to be able ...
1
vote
2answers
83 views

Recompile vim with the same features

I want to recompile vim with the same features for a different linux distro. I only kept the source tar and I don't remember any of the arguments I gave ./configure the first time. What's the easiest ...
0
votes
1answer
176 views

Linux - make install without replacing symlinks

I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the ...
2
votes
2answers
777 views

Variables in GNU Make recipes, is that possible?

Is it possible to have variables in GNU Make recipes? Something like this doesn't work: %_t.mkd : %.mkd REV=$$(svn info $<|grep 'Last Changed Rev'|cut -f4 -d\ ) echo $${REV} Is there ...
2
votes
2answers
42 views

If I remove the installation files for a make program in Linux, how do I remove those programs I built from source?

In Ubuntu I installed Node and accidentally removed the folder where I built the program. Now I have node installed, but I have no way of uninstalling it. I looked around online but couldn't find ...
0
votes
0answers
39 views

ccache make recompiling whole program again and again

I have two projects on Linux mint 16, I switch between. I am using ccache make so that i can compile only changes in the program but It is recompiling from scratch. build system is cmake. If I ...
0
votes
0answers
13 views

prevent make full re-run between two projects

I am working on Linux Mint 16 and I have working with two copies of a git project in two different directories. Every time I run make in one of the project it and I switch to other project, it will ...
0
votes
1answer
229 views

Installing lapacke using make on Mac

I have downloaded and unzipped lapacke-3.5.0. The installation instructions say to use make in order to install. It goes on to say that configurations must be set in the make.inc file. I am a complete ...
1
vote
1answer
1k views

How to make apt-offline on windows

Apt-offline claims to be a utility that allows you to install packages on Debian without internet connection. It can be downloaded from the git repository. As with many free software, the problem is ...
1
vote
3answers
10k views

How will I make a pendrive write protected?

I just want to make my pendrive write protected just to make sure, when I insert it public PCs like in cyber cafes in order to just read the files, it doesn't get virus affected. How can I do this?
0
votes
1answer
127 views

How to uninstall software by the Linux shell?

I am yet not a "Linux Guy" and I have the following problem I installed some software from the source (compiling it), now I have to uninstall it. What have I to do in the command line to uninstall ...
1
vote
0answers
53 views

With which files does Eclipse start to compile and how to change it

I'm importing a different project into mine - that has not been properly coded when it comes to include files. When compiling, it generates random errors that some functions/variables etc. are not ...
0
votes
0answers
798 views

Why I obtain this error message when I try to compile cgminer? autoreconf error

I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0 In particular the ...
0
votes
1answer
612 views

Compiling CUPS: undefined reference to `dnssdDeregisterAllPrinters'

I'm trying to build CUPS 1.7.3 on Ubuntu Server 14.04. configure didn't produce any errors, but make dies with: Making all in ppdc... Making all in scheduler... Linking cupsd... dirsvc.o: In function ...