make is a utility that automates the build process by managing dependencies amongst targets.
1
vote
2answers
3k views
Adding directory to PATH through Makefile
I'm having some trouble in exporting the PATH I've modified inside the Makefile into the current Terminal. I'm trying to add to the PATH, the bin folder inside wherever the Makefile directory is.
...
1
vote
1answer
272 views
Install newer version of application in $HOME without root access and linking to installed app
I am new to installing application from source and just learning the best practices to do so.
I have this linux box without root access with a quite old emacs, so I downloaded the latest version and ...
1
vote
1answer
40 views
Problem compiling a driver : “No rule to make target”
First of all I am running a CentOS 6.4 installation.
My computer is a laptop and I am trying to install the drivers for my ethernet card, because this week end I lost my ability to connect to the ...
1
vote
2answers
205 views
How to install LuaJIT on FreeBSD without using Gmake?
Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)?
If so how?
When I attempt to use freebsd-make, LuaJIT doesn't build.
1
vote
2answers
166 views
How to avoid “make” redoing a library
I have a project for school.
In the root dir, I have 3 subdirs which all have a makefile (because there will be 3 executable files), and there is 1 lib dir.
This dir contains my library source files ...
1
vote
1answer
24 views
Cannot make anyfs-tools. My e2fslibs package seems not to be the compatible version
anyfs-tools promises to convert a ntfs partition into ext3. That's what I want to do. (I have backed up what was necessary).
But when I try to compile anyfs-tools I get a make compilation error ...
1
vote
2answers
49 views
Files created by 'make' aren't getting executable permissions by default
I'm trying to build a project, and when I use the command make, I get the following errors:
/bin/sh: line 4: .deps/ipset_bitmap_ipmac.Tpo: Permission denied
make[2]: *** [ipset_bitmap_ipmac.lo] Error ...
1
vote
1answer
633 views
Does `make install` overwrite files?
I've taken some time to install a newer version of Apache2.x on my Mac Os X 10.6.8.
When configuring apache through ./configure I specified the Darwin layout. This layout assumes the path setup of ...
1
vote
1answer
67 views
Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build
I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu.
Build instructions: Ubuntu:
make ( your cp210x driver )
cp cp210x.ko ...
1
vote
1answer
166 views
linux-sunxi - make failed, undefined references clk_*
I try to build uImage for linux-sunxi on a Debian box, which is prepared like this (How To Build Debian From Source Code for Mele):
apt-get install emdebian-archive-keyring
apt-get install ...
1
vote
1answer
53 views
help installing checkinstall locally
I'm trying to install checkinstall locally in my home directory. Though, in the INSTALL file is only described how to do a system wide installation:
Simple enough:
make
su
make install
checkinstall
...
1
vote
2answers
1k views
Cannot Compile Apache: “Error, SSL/TLS libraries were missing or unusable”
Arch Linux 2011.08.19 (Linux 3.4.2 i686)
Apache 2.2.22 → 2.2.22 (recompile & reinstall)
OpenSSL 1.0.1.c-1
These details are likely irrelevant, but: I’m using yaourt with customizepkg to build ...
1
vote
1answer
126 views
Compiling a kernel module with some options
I have a bug in a driver (iwlwifi/iwlagn), which I have reported, and the developers are asking me to "build the driver with debug options enabled." More specifically:
Debugging output is enabled ...
1
vote
1answer
378 views
Autocompletion for Makefile rules in tcsh
I'm using tcsh in a SUSE 11 box and I realized that when typing
makeTab
it allows me to auto-complete the rules available within the Makefile, not the files that are inside the current directory.
...
1
vote
1answer
102 views
Make errors when compiling hulahop
When I cloned hulahop I had a few possibilities to install it.
I have chosen the path with autogen.sh
I used commands:
$ sh autogen.sh # -> OK
$ ./configure # -> OK
But make fails:
$ ...
1
vote
2answers
384 views
Ocaml compilation error in AIX 6.1
I meet the following error when I try to compile Ocaml on my server running AIX 6.1 :
"../Makefile.shared", line 39: make: 1254-055 Dependency line needs colon or double colon operator.
...
1
vote
1answer
72 views
What do I install into a given install prefix
Which directories should I expect to have in an install prefix when I'm writing makefiles? I've noticed that in the common prefix /usr, there is no /etc, yet there is an /include dir, which isn't in ...
1
vote
2answers
717 views
Cannot find libgmp when compiling GCC 4.5.2
I'm attempting to compile GCC 4.5.2 as part of the Linux from Scratch book (http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html). My configure is as follows:
./configure \
...
1
vote
1answer
143 views
configure not adding line-continuation characters to makefile
This is, perhaps, a bit of a bizarre one but I don't even know where to start looking so if anyone can point me in the right direction, I'll be very grateful.
I've just done a fresh install of my ...
1
vote
1answer
53 views
Only output errors / warnings when compile kernel?
When you compile kernel you normally see lines like
CC XX.o or LD XX
So, can I skip these messages? Only output errors or warnings generated by gcc
1
vote
0answers
41 views
obfsproxy fails to build because it can't find event2/util.h
I'm trying to build obfsproxy. These steps all work fine:
# git clone https://git.torproject.org/obfsproxy.git
# cd obfsproxy
# ./autogen.sh
# ./configure
But then I get to:
# make
make all-am
...
1
vote
0answers
49 views
No make target “uImage” with Buildroot 2013.05
After enabling Linux Kernel option and setting the Kernel binary format to uImage, I always get the following error:
make[1]: * No rule to make target `uImage'. Stop.
My buildroot configuration is ...
1
vote
0answers
81 views
CMake Error: The current directory is different than
I'm trying to compile the source code for Shrewsoft VPN. The instructions say to compile the source on step 4. However... I get this error:
user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo ...
1
vote
1answer
62 views
How to flash U-Boot to a Devkit8500?
When I try running this:
make CROSS_COMPILE=/root/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- omap3devkit8000_config
I get this error:
make: *** No rule to make target ...
1
vote
0answers
41 views
Trying to install DIP (Dialup Networking) package for SLIP protocol
We are trying to interface with a wireless modem that connects to a computer via a com-port DB-9 connection. It uses SLIP in the sense that the modem hosts a SLIP server and requires the interfacing ...
1
vote
0answers
246 views
CFLAGS in Linux kernel makefiles: which one is used when?
I'm not familiar with Makefiles, I can kinda understand them, but with the Linux Kernel I have a question.
(Using 3.7.1, Patched with BFS so line numbers may be a bit off)
On line 248
HOSTCFLAGS ...
1
vote
0answers
242 views
Make and apt-get Have Stopped Working
So I downloaded the non-free broadcom driver(b44) for my debian install, however when I try to make it I get the following error:
make
make -C /lib/modules/2.6.32-5-amd64/build ...
1
vote
0answers
167 views
error: implicit declaration of function ‘rt_dev_socket’
The developer says: http://comments.gmane.org/gmane.linux.real-time.rtnet.user/2546
Now how can I tell the Makefile to look for headers in
/usr/local/rtnet/include respectively ...
1
vote
0answers
344 views
ssh: “Error reading response length from authentication socket”
I have a Makefile with some ssh and rsync commands. All of them are executed correctly, but give the following error message:
Error reading response length from authentication socket.
I don't like ...
1
vote
2answers
607 views
How to change the install path of my Linux Source tree?
I was trying to bring up my custom kernel. I did the following :
$ make menuconfig && make modules && make modules_install && make install
I would like to change the ...
1
vote
3answers
165 views
I want to run commands like make, make install, python setup install without changing directories
I have written a script which will download software from the internet to the current user's home directory and then untar it. And then I have to make and make install it and in some software I have ...
0
votes
3answers
483 views
No targets specified and no makefile found. Stop. Makefile ubuntu
When I execute the command sudo make I get this error:
No targets specified and no makefile found. Stop.
0
votes
1answer
63 views
What is the default jobs argument for make?
How many jobs does make use by default when you don't pass it the -j flag?
0
votes
2answers
42 views
Cleaning after installation
Is it safe to remove the downloaded tar once the program is installed (once I run ./configure, make, make install)?
0
votes
2answers
292 views
If I run ./configure, then make again, then will it ruin things if I want to run make a 2nd time?
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html#Quick-Instructions
is what I'm trying to install. Anyways, I ran ./configure and make but then I ran make ...
0
votes
1answer
128 views
Unable to install libevent without admin priviledges
I just downloaded libevent-2.0.21-stable, which I am hoping to compile so that I can use tmux. However, when I run:
./configure --prefix=/path/to/libevent-2.0.21-stable/
make
make install
...
0
votes
1answer
3k views
fatal error: linux/smp_lock.h: No such file or directory
I'm trying to build some drivers for a TV tuner and I am getting this error when I build:
make -s -C /lib/modules/3.2.0-23-generic/build SUBDIRS=/home/jtp/IT9135_SRC modules
In file included from ...
0
votes
1answer
166 views
make install - how to use wget, not curl
I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed.
Can I use wget instead if this is a ...
0
votes
3answers
163 views
Building from Source on CentOS 5 or newer
I've got a few applications of which I've got to build from source files in order to make it work on CentOS (the programs do not exist in the yum repos).
I may be missing something, but unlike Debian ...
0
votes
1answer
544 views
Looping over directory entries in bash and saving to an array
(See update at the foot of the question).
This is a followup question to "Make directory copies using
find".
This question involved manipulating a bunch of directories, This got
too complicated to ...
0
votes
2answers
1k views
Problems with CMake in CentOS 6
I try to install a software in CentOS 6.2, without success. In README file it says:
Requirements:
- qt4 gui lib version >= qt4.6.x
Note that many linux distributions split packages into a ...
0
votes
1answer
65 views
Use of .. in Linux scripting and makefiles [closed]
what is the use of .. in linux scripting and in the following makefile?
MODULE =
EQUALIZER = ..
SRCS =
include ${EQUALIZER}/xyz.mak
include ${EQUALIZER}/pqr.mak
0
votes
1answer
36 views
Why is make unavailable on the default Gentoo liveCD?
Whilst attempting to install Gentoo on my desktop, I ran into some trouble getting my wireless card to work. This is the card I am using. The modules included with the Live CD didn't detect my card, ...
0
votes
1answer
104 views
Compiling multiple source file with arm-ulinucxeabi-gcc including -o -c option
I am compiling multiple c source which depend on multiple header files.
Makefile
SHELL=cpp2
...
0
votes
1answer
245 views
make: *** No targets. Stop while building linux kernel module [closed]
I am just trying to learn how to driver modules for Linux Kernel. I followed Linux Device drivers 3rd edition book and started my work. I created a sample program and makefile. Please find my makefile ...
0
votes
2answers
38 views
How come “make install” can only be done on my target?
I have been given a customized kernel by a customer and asked to build it using the following commands:
make
sudo su
make modules_install
make install
This has to be done on my host machine, ...
0
votes
1answer
516 views
Why is this make file not working?
I have tried to simplify this makefile to the bare minimum, but cannot get it to use an executable to convert one type of file to another if the timestamps have changed. I'm sure there is a stupidly ...
0
votes
1answer
598 views
Building monotools-server, gtk+, pango - bizarre path issues
I'm attempting to build the monotools-server app from source. After days of hunting down missing dependencies (and in one case (xsp) having to manually modify a generated Makefile to remove a ...
0
votes
1answer
1k views
Something to convert a makefile.am to project in Visual Studio (2005)
I'm interested in porting a library to Windows so that I can contribute to this library's project. This library has a Makefile.am, and I can sort of figure out how the library should be built (but I'm ...
0
votes
1answer
355 views
Make failing while trying to install SoX (spectrogram - libpng)
I'm trying to install SoX, and get through configure fine, but it fails on make with the following:
/bin/sh ../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. ...

