I am new to unix,and need your advice on the below.
I am using aix5.3 and have installed make-3.82 on the server.
I need to use gmake for configuring and installing a package ,but it is giving error at the below
Configuration script for Xymon
This script asks a few questions and builds a Makefile to compile Xymon
I checked the code where its causing the error and tee the output
Its not picking up the GNU version of make,I have alreadys set the gmake environment variable etc..
Please suggest on the above,Let me know if u need anymore info
Moderator's Comments:
Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks.
Last edited by zaxxon; 04-21-2011 at 05:14 AM..
Reason: code tags
Sonal - in your OP you say that you have "installed" make 3.82.....could you please ellaborate on how you installed it.?
pakage / source? where did you get it from? AIX cd?
The GNU version of make responds to the --version flag, so it looks (to me at least) like the make you have installed is a propriatry AIX version thats simply been renamed to gmake.
i'm just trying to understand your process so far.
hi,
regarding the make installation.i downloaded make-3.82.tar.gz package from site gnu.org/gnu/make
then after doing gunzip and untar, i gave ./configure then make ,then make install
Please don't bump up threads if your questions aren't answered immediately.
Did you receive any errors during any of the compilation steps? Also, did you change any of the configuration options? I'm asking this because GNU software by defaults installs to /usr/local/bin, instead of /usr/bin/
I need some help.
I use variables and conditionals to build with or without specic libraries. I set
USEAL ?= 1 # get value from cmd, defaults to 1
(see comment)
the conditional is:
ifeq ($(USEAL),1)
LIBS = <any libs>
else
LIBS =
endif
Its amazing that this works when invoked... (4 Replies)
Hi,
I have made a snake game on below bash version. But it is not backward compatible. Can someone suggest a version which is most commonly used and
is backward compatible so that i can change my code and share again?
I have attached the game script. If someone can run it please also suggest... (5 Replies)
Hi,
I do "touch poub.mlc"
Download my Makefile,
But when I try : make -f Makefile.txt(.txt in order my file to be accepted for upload), it says:"no rule for poub.mlo target"
What is wrong in my Makefile(test yourself please before posting)? (1 Reply)
It's been a while since I had to write a Makefile, but I've managed to clobber this together:
SRC=module1.c module2.c
OBJS=$(SRC:%.c=%.o)
HDR=include1.h include2.h
CC=gcc
CFLAGS=-Wall -ggdb -D_XOPEN_SOURCE -I. -ansi
all: program
program: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS)
... (3 Replies)
Installed GNU make and the GNU C/C++ compiler on SCO Openserver 5.0.7 recently.
Only a normal user is able to run make and compile programs - root is not able to.
Under root, make do run, but root can't access the compiler at all, even tho I set root's path to point to the compiler.... (0 Replies)
Is this possible? Right now I'm developing some code for Linux, Windows and OS X. To build on each of the systems I've currently got separate build targets for each platform. Ideally I'd like to set up a single make rule that can detect the appropriate target and build it.
I know this is... (2 Replies)
Hi,
I often encounter make errors. Many a times, a corresponding error code is also shown, like
make: Error 56 (ignored)
make: Error 91 (ignored)
make: Error 96 (ignored)
et al.
I tried google'ing as well as searching this forum for what these error codes mean.
I know, make... (1 Reply)
I am running a make file through the gnu make tool and i am getting the following error
jsh1035c:/users/egate453/admegate/kapil/samples $ make -f GNUmakefile queue_c
make -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples
make: Entering directory... (2 Replies)