I am attempting to install rexec into Redhat Enterprise Release 4. Everytime I attempt to use the make command I get the following error.
Makefile:15: *** missing separator. Stop.
I have looked elsewhere on the net and line 15 of the Makefile has the below:
.include (I am unsure why but this website is blanking out what comes af...
GNU Make version 3.81 introduced a special variable named .DEFAULT_GOAL that can be used to tell Make which goal (or target) should be built if no target was specified on the command line. Otherwise Make will simply make the first target it encounters.
Consider:
bar: a b c
${MAKE_BAR_COMMANDS}
foo: x y z
${MAKE_FOO_CO...
How I can make a Makefile, because it's the best way when you distribute a program by source code. Remember that this is for a C++ program and I'm starting in the C development world. But is it possible to make a Makefile for my Python programs?
...
Sometimes, when I look through my header files I'd like to add something little to the (doxygen) documentation. That might be a quick note about the use of some function parameter, or just fixing a little typo.
But then I think: Oh no, that'll trigger a recompile on the next make call! And for certain basic headers the whole project wou...
We have an automated build, managed by Hudson (1.312), that's got a few layers. On the slaves:
codewarrior cc/ld and other tools (some in-house), run by
a few recursive Cygwin GNU make 3.81 instances, run by
Hudson "execute windows batch command" (so cmd.exe running a batch file that hudson creates, as near as I can tell), run by
Huds...
I currently have 10 tests in my autotoolset project. Any time I make a change to one of my src/ files and recompile, each test is rebuilt and linked. This is starting to have a considerable impact on my development time.
What is the best way to conditionally build binary programs, tests or otherwise, with GNU autotoolset? For instance, ...
Hello,
I am having a problem compiling pdcurses 3.4 in my machine. My OS is windows XP SP3.
My mingw32-make is version 3.81.
According to the readme file all I had to do was go and issue a make command to get it done. And so I did.
mingw32-make -f mingwin32.mak
This starts the make process but it fails somewhere along the way in t...
Is there any difference in the two ways GREP is invoked in my Makefile? Any reason I should use one or the other? Both seem to produce the same result.
define GREP
$(word 3,$(shell echo "#define FOO 0xfff00100"))
endef
all:
@echo $(GREP)
@echo $(call GREP)
...
I'm attempting to build mercurial 1.3.1. I've attempted this thus far on my Mac OS X machine and on a Linux Ubuntu virtual machine that I'm running.
I keep getting errors while running the make. I know there are binaries availble for both Linux and Mac, but I want to build my own copy. I've always skipped out on building and I want to ...
I'm trying to install a piece of software (moddims) that depends on "Imagemagick 6.3.9+" - I tried installing the latest version of ImageMagick (6.5.4-5) but got the following error when I tried to "make" moddims:
mod_dims_ops.c: In function ‘dims_smart_crop_operation’:
mod_dims_ops.c:34: error: too few arguments to function ‘ParseGravi...
I'm trying to install moddims on OS X (see previous question), an Apache module with a dependency on ImageMagick.
As far as I can tell, the OS X Apache is compiled as 64 bit. My previous attempt to run the moddims module I had compiled gave the following error:
httpd: Syntax error on line 117 of /private/etc/apache2/httpd.conf:
Canno...
I've just started using Eclipse for Python development since we can make use of a lovely plugin I've found to enable distributed pair-programming. Anyway, the next step to getting Eclipse to integrate properly with our existing environment, would be finding a way to drive our current build tool (Waf) from within the IDE.
So the questio...
I'm using code similar to the following in a Makefile:
empty:=
space:= $(empty) $(empty)
path_escape = $(subst $(space),\$(space),$(1))
TOP=$(call path_escape,$(abspath .))
TARGET=$(TOP)/foo
$(info TOP='$(TOP)')
$(info TARGET='$(TARGET)')
all: $(TARGET)
$(TARGET):
touch '$(notdir $@)'
.PHONY: $(TARGET)
If I use this in a dire...
I am trying to understand the difference between 'gmake' and 'make'?
On my linux box they are identical:
% gmake --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOS...
Hi all,
I've got a really strange error and any light that anyone can shed on this would be greatly appreciated. We're under the gun (as usual) and I need to find an answer for this quickly.
I made some changes to some VB6 source which builds a COM object. The automated build which builds our app returned an error. No problem I thou...
Hello all. I am trying to compile CDRTools using Cygwin. The build process requires 'smake' which is available in source format from:
ftp://ftp.berlios.de/pub/smake/alpha/smake-1.2a41.tar.gz.
The kicker is I cannot build smake using the (recommended) Cygwin make. The process falls over whilst configure is running with an endless loop ...
I have the following GNU makefile:
.PHONY a b c d
a: b c
b: d
c: d
d:
echo HI
I would like the target 'd' to be run twice -- since it is specified as a dependency by both b & c. Unfortunately, the target 'd' will be executed only once. The output of running make will simply be 'HI', instead of 'HI HI'.
How can I fix this?
Th...
I have a question regarding the GNU makefile example below:
.PHONY: $(subdirs) build x y
subdirs = a b c
build: x y
x: target=prepare
x: $(subdirs)
y: target=build
y: $(subdirs)
$(subdirs):
$(make) -f $@/makefile $(target)
When I run make, I expect make to be called for each sub-directory specifying the target 'prepare' then...
I have a makefile, and a snippet looks like this (files and targets renamed for clarity):
target1 : OtherLib.o MyProg.h MyProg.cpp
g++ -c ./MyProg.cpp -o $(BUILD_DIR)/MyProg.o
When I run 'make target1', I want make to check to see that MyProg.h and MyProg.cpp are up to date and run target1 if not. However, I am getting the error ...
I must be missing something really obvious, but for some reason, the command-line version of the Microsoft C++ compiler (cl.exe) does not seem to support reporting just its version when run. We need this to write makefiles that check the compiler version a user of our tool has installed (they get makefiles with code they are to compile ...