make is a utility that automates the build process by managing dependencies amongst targets.

learn more… | top users | synonyms (1)

0
votes
1answer
7 views

nohup: failed to open 'nohup.out': Permission denied

I am trying to install PHP5 on Openshift using the instructions available here. I have accessed Openshift with SSH, got into the proper directory and executed: nohup /repo/misc/make.sh &. I got ...
1
vote
1answer
22 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
1
vote
1answer
60 views

Compiling sources with a non-default compiler

I need to implement an authentication scheme on an embedded device and require gmp in order to perform large integer operations. After downloading the sources they must be compiled with a proprietary ...
1
vote
1answer
37 views

Can `make` automatically install dependencies?

When I am installing a program with the make and make install method, there are (very often) many dependencies that need to be installed before the installation of the new program can begin. So ...
2
votes
1answer
16 views

Running make for LFS complains about [ and about missing gawk

I'm having a strange error when I'm trying to start the make process for LFS using the LiveCD SVN Trunk. When I go to run make it gives me; $ make /bin/sh: 1: [: -ne: unexpected operator -e Missing ...
1
vote
2answers
29 views

Use a package to install dependency and copy custom conf file

I used dh_make to create a basic Debian package install. I added a dependency which is the actual program I want. All I want to do is overwrite the conf file this package installed, with a new file ...
2
votes
1answer
38 views

Can I resume make after a Ctrl+C?

I am installing gcc version 5.1 on a supercomputer cluster. I configured it and am now running the make command. It has been several hours and is still running as it is a long install, but the work ...
-1
votes
0answers
33 views

Compiling subversion from trunk with serf support

I've been trying to compile Subversion from trunk (https://github.com/apache/subversion.git) but I need libserf enabled to checkout by using http/https protocols. I'm stuck with this dependency. $ ...
0
votes
0answers
19 views

invoking python program for each path in makefile vapth

I have a makefile as follows: VPATH = ../../HWP \ ../../hwsv/server \ ../hwpf PROC_INPUT_FILES = abc.c \ def.c \ xyz.c MEM_INPUT_FILES = ...
1
vote
2answers
44 views

Invoke python script through make command

I have a tool with 5 python scripts say A.py, B.py, C.py, D.py and E.py. I have to run this program in Linux. A.py is the one program I run which imports other files and uses them. For running A.py, I ...
1
vote
0answers
17 views

TelosB mote and TinyOS

I am trying to Blink LED on TelosB mote. I have installed TinyOS but I am having an issue with the make command. Could anybody be able to help?
1
vote
1answer
26 views

gnu make: “:= $(expression)” vs “:= @(expression)”

I am trying to determine what the the difference is between the "$" and "@" when used during expression evaluation (if that is the correct term). For instance, in the Makefile I am trying to ...
3
votes
2answers
44 views

How to determine the maximum number to pass to make -j option?

I want to compile as fast as possible. Go figure. And would like to automate the choice of the number following the -j option. How can I programmatically choose that value, e.g. in a shell script? ...
0
votes
0answers
34 views

makefile woes , attempting to compile libdai

I'd like to compile libDAI. This comes with a Makefile.conf having the line MEXFLAGS:=CXX\#g++ CXXFLAGS\#'$(CCFLAGS)' which seems to cause trouble when i try using 'make' ...
0
votes
1answer
59 views

What changes to be done in Python file when Makefile is being used?

I have a set of python class files. I run the MainProgram.py on the linux as python MainProgram.py which uses the rest of the class files.It reads from an input file and write an output file. Until ...
1
vote
1answer
27 views

In a Makefile, how can I begin processing a file before it has finished building?

I'm using make to automate a project that generates lots of data, then processes it, with recipes roughly like this: processed-data: data data-processing-program $^ > $@ data: output-data ...
1
vote
1answer
26 views

makefile fails when deleting a file [closed]

I am trying to write makefile and check - if a folder exist - delete it : BINUTILS_TAR_GZ := binutils-2.25.tar.gz BINUTILS_ORIG := binutils-2.25 BINUTILS_CHANGES := binutils_changes . . . clean: ...
0
votes
0answers
8 views

Possible? Build on OpenSuse 13.x deploy on SLES 11

I need to build nginx for SLES 11.3 Do I have to build it on the SLES 11.3 Host or could I build it on my local OpenSuse 13.2 Host? The Problem is that, there are a lot of dependencies missing on the ...
0
votes
1answer
30 views

How can i make use of makefile exported values while running script file

How can i make use of makefile exported values while running script file. I have makefile with some exported values. I am running one script file. i need to make use of variables exported in makefile ...
0
votes
1answer
90 views

Dtrace on linux

I am trying to install dtrace on Cent OS 6.4 kernel 2.6.32-358.el6.x86_64 with following error [root@mscserver dtrace-20150306]# make all BUILD_DIR=build-2.6.32-358.el6.x86_64 tools/build.pl ...
0
votes
1answer
36 views

Build gdal with mrsid plugin on fedora 21 server

I've been having an issue for over a week now. The problem is, I can't build gdal source with MrSid DSDK on Fedora 21 Server. I have built and installed gdal with MrSid on Fedora 21 without any ...
-1
votes
2answers
43 views

How to use pass filename without extension to gedit external tool for make?

I am wanting to build and run a program called dbgen using the external tools. I know that this variable holds the filename, ‍‍‍‍‍‍‍‍‍dbgen.c‍‍ : $GEDIT_CURRENT_DOCUMENT_NAME How do I remove the .c ...
2
votes
1answer
65 views

How do I apply a patch?

I need to apply the following patch, and I don't want to mess up what I have so far. Below I have posted the complete content I found online, which was someone's response to a question similar to ...
0
votes
0answers
23 views

does checkinstall uninstall previously installed software?

Originally I installed emacs 24.4 by compiling its source and checkinstall. I use the default install dir --prefix=/usr/local. So /usr/local/bin/emacs. Now I use the same way to install emacs 24.5. ...
1
vote
1answer
17 views

Is there a easy-to-install distribution with all the necessary tools to compile (make, autotools, etc)?

I'm working on a workstation without root privileges. Since I need some tools I cannot install directly, I wish to put them in a vm. The problem is, I cannot connect to the repositories from the vm ...
0
votes
0answers
275 views

libssl undefined reference to symbol 'SSL_load_error_strings@@OPENSSL_1.0.0'

With the following CMakeLists.txt (I tried to snip it AMAP) https://gist.github.com/pbertoni/29200833dc562ab6ee2c I got this error from make at linking time: /usr/bin/ld: ...
0
votes
0answers
29 views

Make fails while installing Node.js on my cPanel server

I've tried all the solutions I've found like make LINK=g++ with no results. It is a cPanel server and I don't have sudo rights. I've tried following tutorials and the tutorial says: wget ...
0
votes
0answers
55 views

Error while building libmtp package :Makefile:446: recipe for target 'libmtp_la-util.lo' failed

I am getting an error while building the libmtp sources from pisi linux: Makefile:446: recipe for target 'libmtp_la-util.lo' failed This is the full output: http://pastebin.com/mXtWmJPJ.
1
vote
1answer
176 views

How to fix “skipping incompatible /usr/lib/libc.a”

I get the following error when I try to build an embedded Linux target on a 64 bit Fedora 16 (Verne): make[3]: Entering directory `/export/home/git/minerva-5.x/third_party/multifiles' ...
2
votes
3answers
191 views

How to take variables from another Makefile in shell script

I want to use the variables from another Makefile under the directory ~/kernelbuild/linux-3.14.37 in my own shell script. Following is the variables that I need: VERSION = 3 PATCHLEVEL = 14 SUBLEVEL ...
2
votes
0answers
88 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
1
vote
1answer
61 views

Switch-case block inside define keyword in a single logical line in a makefile

This is the code excerpt from ghc.mk, part of Haskell source compilation. I find it different, because the author has chosen to write one function block in a single line. Is it a common practice in ...
3
votes
2answers
33 views

File function in makefile takes args prefixed by '@' symbol

This code excerpt is from Chapter 8.6 of GNU makefile manual. What does @$@.in for file function arg in a makefile mean? and why are shell commands like rm prefixed by '@' symbol program: $(OBJECTS) ...
0
votes
1answer
22 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
0
votes
1answer
24 views

Confused about why makefile is not generated

I have a lot of code used by our group. The group gave me a document that explains how to set up the makefile. However, the postdoc entered the commands really fast before and got it to work for a ...
3
votes
1answer
31 views

Target-specific make variables

How can I force a target-specific variable to be set immediately (line 2)? I want the output of make to be release and make debug to be debug. X = release debug: X = debug debug: all # the rest is ...
2
votes
1answer
56 views

Uninstall & remove emacs (installed via “make”)

I have installed emacs24.4 through instructions on this site. Now I want to uninstall and remove it completely, but since I haven't installed emacs via apt-get I can't seem to remove it either via ...
0
votes
1answer
96 views

make: xscale_be-gcc: Command not found

I'm new to embedded and am reading 'Embedded Linux Primer' at the moment. I tried to build an xscale arm kernel: make ARCH=arm CROSS_COMPILE=xscale_be- ixp4xx_defconfig # # configuration written to ...
0
votes
0answers
28 views

Confusing linker error

I'm trying to compile and link something, and make is spitting out the following error message: /usr/local/bin/ld: cannot find -lpolkit-gobject-1 collect2: error: ld returned 1 exit status When I ...
-2
votes
1answer
54 views

What ./configure make and make install does [closed]

I would like to know exact backgounf taks that happen when you install an application from source What happens when you run ./configure What happens when you run make What happens when you run make ...
1
vote
1answer
72 views

use bash to pass 2 variables to a Makefile

I have a bash script which outputs calls to my make file. #!/bin/bash mylist=( 'SAMPLES_OUT=$(call list_samples,AON_9,NT_1,SC_17) ...
1
vote
0answers
212 views

Arch Linux - make: error while loading shared libraries: libunistring

I keep getting this same error when trying to install various packages: make: error while loading shared libraries: libunistring.so.0: cannot open shared object file: No such file or directory It's ...
0
votes
1answer
88 views

Make does not work when invoked from a bash script

So i just asked a question : for loop over a list This works perfectly now and outputs what i need. Now i want to link this to a makefile which should be called per variable in my list like this: ...
4
votes
2answers
306 views

How can I catch a command exit code for later, in a Makefile?

I have a makefile, with a test suite target, like so: rcheck: foo This shows the output from the foo command on stdout, and returns an exit code from foo which is handled by make as normal. ...
-1
votes
1answer
32 views

How is the linking mechanism so fast in the kernel system calls? [closed]

If I open any file in Linux kernel almost every file has many extern functions and many #indef or #ifndef macros so while compiling how exactly does it map all the functions and macros when more than ...
0
votes
0answers
63 views

Problems with kerrighed

I heard about kerrighed and i want to use it for rendering with blender because it is a single system image. I tried to install it over pxe like the installation guide from kerrighed.org says. The ...
1
vote
2answers
263 views

sed:can't read /usr/lib/libltdl.a:No such file or directory

I tried to install the package libgraph but while executing make it says that justin@justin-HP-Pavilion-g6-Notebook-PC ~/Downloads/libgraph-1.0.1 $ make Makefile:781: warning: overriding commands for ...
1
vote
0answers
92 views

cannot locate header while making buildworld in custom kernel source

I'm trying to install a custom kernel in freebsd and here's step I followed: install freebsd 9.1 on vm from the image get the source from hardenedBSD (branch hardened/9/kernsep) execute "make ...
0
votes
0answers
2k views

“Makefile:29: recipe for target 'siplib.o' failed” - SIP installation

I'm trying to install SIP 4.16.5 for Python 3.4 on Ubuntu GNOME 14.10. I type python3 configure.py and I get the following: This is SIP 4.16.5 for Python 3.4.2 on linux. The SIP code generator will ...
0
votes
0answers
59 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...