Questions relating to makefiles, (The file that contains the instructions for make)

learn more… | top users | synonyms

1
vote
2answers
463 views

Cannot build deb package

I have followed this tutorial on how to make a .deb package from source(tar.gz) and at the final build command dpkg-buildpackage -rfakeroot However I get this error at the bottom: make[2]: Entering ...
0
votes
2answers
277 views

Space escape character in Debian Makefiles

I'm currently trying to upload a package onto Launchpad's PPA service but I'm having problems with a path name which includes a space character. I'm trying to make a file install into a directory with ...
0
votes
1answer
232 views

x11 directory specified in makefile doesn't exist, but project compiles and runs perfectly

So the x11 directory defined in the makefile is: usr/X11R6/lib64, which does not exist. however, the project compiles perfectly in Kdevelop and runs with no problems. If I take out all inclusions of ...
0
votes
1answer
3k views

How to edit makefile?

I want to add -std=c99 flag to make command but I have no idea how to do it. Where is related file located? @Andrejs Cainikovs But I have not found related file or files yet.
1
vote
3answers
581 views

qmake error when trying to build qwbfs

I'm trying to install qwbfs application but when i enter the command : make i get this: tools.c:8:25: fatal error: openssl/md5.h: No such file or directory compilation terminated. make[1]: *** ...
5
votes
2answers
3k views

Which file is changed after I do “make menuconfig”?

In linux, I thought that the file Makefile is changed after I run make menuconfig. But when I diff Makefile, I don't see any difference. Which file is changed after I do make menuconfig?
0
votes
1answer
753 views

Need to use sudo -s for make command depending on Ubuntu version

We have a Makefile for compiling a network interface's driver. When calling the Makefile in an Ubuntu 9.04 installation, we need to call just 'make'. However, when calling the Makefile in an Ubuntu ...
3
votes
3answers
49k views

Error when installing Makefile: “make: *** No targets specified and no makefile found. Stop.”

In short while I run the make command it says: nir@nir:~/Downloads/xf86-video-intel-2.17.0$ make make: *** No targets specified and no makefile found. Stop. I looked inside the ...
0
votes
3answers
3k views

How do i install with makefile? I get erorr while typing `./configure` [closed]

I'm trying to install Intel driver from here: http://intellinuxgraphics.org/2011Q4.html However when running ./configure and then make I get the following output: $ ./configure checking for a ...
1
vote
0answers
170 views

dh_auto_install not working in ppa [closed]

trying to build a package in the ppa that works in local it gives an error because it doesn't find usr/include/* it seems like dh_auto_install is doing nothing while in local it's executing the ...
1
vote
1answer
723 views

Bash is abnormal in Makefile!

all, I have found that the same Makefile works well in Mac OS X, but does not work in Ubuntu. The snippet is as following: start: @echo $(seperator) @if [[ "$(PROJECT)" == "" ]]; then \ ...
0
votes
1answer
1k views

Assign standard exit status to a makefile variable

I'm trying to save the standard exit status of a command in a variable of my makefile, but I don't know how to do it. I've tried this: pruebas: @A= $(ls) ...but it doesn't work.
1
vote
1answer
1k views

How to install Hercules Webcam Deluxe

I am trying to install a Hercules Webcam Deluxe on my Ubuntu 11.10 (64 bits). I followed this guide: https://help.ubuntu.com/community/Ov51x Step by step, only changing wget ...
2
votes
0answers
2k views

What are the differences between concurrency=shell and concurrency=makefile? [closed]

I feel that 11.10 boots very slow on my netbook. Many people said that changing concurrency method to shell in /etc/init.d/rc will speed up boot process, but the comment in the file said that the ...
5
votes
4answers
10k views

Writing a “Hello World” Device Driver for kernel 2.6 using Eclipse

Goal I am trying to write a simple device driver on Ubuntu. I want to do this using Eclipse (or a better IDE that is suitable for driver programming). Here is the code: #include ...
2
votes
4answers
55 views

Why do some commands execute properly only when the file being called is inside the working directory

I'm unable to successfully make a file when I do the following command make /home/me/Desktop/folderWithMakefile However an executable is created when I do the following cd ...
5
votes
1answer
53 views

Checking which options were passed to ./configure

Is it possible to find out which options of the ./configure script were used to create the Makefile?
2
votes
1answer
137 views

Launchpad dailybuild source in subdirectory of branch

I have a repo branch that i have mirrored in Launchpad that I am trying to setup a daily build. The problem is that the source directory of the package is a subdirectory in the branch. When building ...
0
votes
2answers
13k views

'Make' error - glib.h no such file or directory

I have never built a project in Ubuntu before and I am trying to come to grips with the GNU build tools and process. When I try to make I get the glib.h - no such file or directory. This is the ...
1
vote
1answer
2k views

fakeroot debian/rules binary error

I have a package I'm maintaining. When I issue "fakeroot debian/rules binary" I get this error: dh_install --sourcedir=debian/tmp cp: cannot stat `debian/tmp/usr/share/prg/1.svg': No such file or ...
-3
votes
1answer
2k views

make command not work - Assembler messages [duplicate]

Possible Duplicate: I can't install Thunderbird *whats this message? user1@ubuntu:~$ make KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r/build M=pwd make[1]: Entering directory ...
16
votes
4answers
25k views

Cannot find install-sh, install.sh, or shtool in ac-aux

This is my first time trying to compile and install anything on a linux machine. I got the latest version of https://github.com/processone/exmpp via git and read the instructions which state: 2. ...
1
vote
0answers
176 views

Adding my own pattern rules to gmake's “catalog of implicit rules” [closed]

On maverick... $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick ... using make 3.81 ... $ make -version GNU ...
4
votes
4answers
7k views

Cannot install glib-dev

I tried to build dasher, but I got it needs glib. So doing so this came up: Checking for GLIB... configure: error: Package requirements (glib-2.0>= 2.6) were not met: No package 'glib-2.0' ...
1
vote
2answers
2k views

“$MAKEOPTS” ignored, why?

I have defined export MAKEOPTS="-j4" in my ~/.profile file. But when I do a compilation with make, this option is ignored. I've consulted the GNU Make manual but it says nothing about this ...
10
votes
1answer
2k views

How to have Debian packaging generate two packages given an upstream source archive?

I am packaging something for my PPA. The upstream source is a .tar.gz archive which is Makefile-based. Since this package has a significant amount of architecture-independent data, it would be wise ...