10 More Discussions You Might Find Interesting
1. Programming
I am trying to create a makefile to build a program and am getting the following error:
make -f tsimplex.mk
make: *** No rule to make target `/main/tsimplex_main.cpp', needed by `tsimplex_main.o'. Stop.
OPSYS = $(shell uname -s )
TARGET = tsimplex
ROOTDIR = ../../..
GTSDIR =... (1 Reply)
Discussion started by: kristinu
1 Replies
2. Programming
I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk,
trunk/bld
trunk/src/
trunk/src/src_server
trunk/makefile.linux
In the make file, I have compile rules
SOURCELOC = src
# compile src c++... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
3. UNIX for Dummies Questions & Answers
Suppose I have a Makefile like this:
x/Ax: x/Bx
touch x/Ax
y/Ay: y/By
touch y/Ay
z/Az: z/Bz
touch z/Az
It does not look like a proper style for make. I would like to write something like
%/A%: %/B%
touch %/A%
but make does not accept it.
What is a right way to shorten such a... (1 Reply)
Discussion started by: ybelenky
1 Replies
4. UNIX for Dummies Questions & Answers
Suppose executable X produces files A and B from nothing, Y produces C from A, Z produces D from B, and my final goal is to produce C and D. I wrote the following makefile:
.PHONY: all
all: C D
C: A
Y A
D: B
Z B
A B:
X
This makefile seems to reflect all dependencies, as it should... (2 Replies)
Discussion started by: ybelenky
2 Replies
5. Programming
hello all,
attached you can find a tool (written in C) that i really need to make it compile under linux
i am able to compile and run it successfully in mac os x, but in linux the compilation fails
the only thing that i did so far is to change the following
#include <sys/malloc.h> to... (13 Replies)
Discussion started by: OneDreamCloser
13 Replies
6. Shell Programming and Scripting
I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
Discussion started by: pazzy
2 Replies
7. UNIX for Advanced & Expert Users
Write a quick shell snippet to find all of the IPV4 IP addresses
in any and all of the files under /var/lib/output/*, ignoring
whatever else may be in those files. Perform a reverse lookup on
each, and format the output neatly, like "IP=192.168.0.1,
... (0 Replies)
Discussion started by: choco4202002
0 Replies
8. UNIX for Dummies Questions & Answers
hi,
i am trying to run make command in solaris 9.
its giving the error:
make:Fatal error:Command failed for target 'obj/gp_unix.o'
i came to know X11 should be inastalled for gp_unix.o.But it is already installed.still the same error.
./configure worked fine.
can anybody please suggest... (3 Replies)
Discussion started by: rosalina
3 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone
first of all you should know that I've been working with solaris for a few days only. :)
I need to install some programs and I have had the following troubles:
1. When I used /.configure it showed the following message:
"no acceptable C compiler found in $PATH"
I included... (2 Replies)
Discussion started by: eldiego
2 Replies
10. UNIX for Dummies Questions & Answers
We need to add our remote office to our linux routing table.
Our internal office ip addresses are all in the range of 198.9.200.x
with an subnet mask of 255.255.255.0
the remote office has ip addresses in the range of 192.168.0.0 and also a subnet mask of 255.255.255.0
when i use the... (3 Replies)
Discussion started by: progressdll
3 Replies
Module::Install::Makefile(3) User Contributed Perl Documentation Module::Install::Makefile(3)
NAME
Module::Install::MakeMaker - Extension Rules for ExtUtils::MakeMaker
SYNOPSIS
In your Makefile.PL:
use inc::Module::Install;
WriteMakefile();
DESCRIPTION
This module is a wrapper around ExtUtils::MakeMaker. It exports two functions: "prompt" (an alias for "ExtUtils::MakeMaker::prompt") and
"WriteMakefile".
The "WriteMakefile" function will pass on keyword/value pair functions to "ExtUtils::MakeMaker::WriteMakefile". The required parameters
"NAME" and "VERSION" (or "VERSION_FROM") are not necessary if it can find them unambiguously in your code.
CONFIGURATION OPTIONS
This module also adds some Configuration parameters of its own:
NAME
The NAME parameter is required by ExtUtils::MakeMaker. If you have a single module in your distribution, or if the module name indicated by
the current directory exists under lib/, this module will use the guessed package name as the default.
If this module can't find a default for "NAME" it will ask you to specify it manually.
VERSION
ExtUtils::MakeMaker requires either the "VERSION" or "VERSION_FROM" parameter. If this module can guess the package's "NAME", it will
attempt to parse the "VERSION" from it.
If this module can't find a default for "VERSION" it will ask you to specify it manually.
MAKE TARGETS
ExtUtils::MakeMaker provides you with many useful "make" targets. A "make" target is the word you specify after "make", like "test" for
"make test". Some of the more useful targets are:
o all
This is the default target. When you type "make" it is the same as entering "make all". This target builds all of your code and stages
it in the "blib" directory.
o test
Run your distribution's test suite.
o install
Copy the contents of the "blib" directory into the appropriate directories in your Perl installation.
o dist
Create a distribution tarball, ready for uploading to CPAN or sharing with a friend.
o clean distclean purge
Remove the files created by "perl Makefile.PL" and "make".
o help
Same as typing "perldoc ExtUtils::MakeMaker".
This module modifies the behaviour of some of these targets, depending on your requirements, and also adds the following targets to your
Makefile:
o cpurge
Just like purge, except that it also deletes the files originally added by this module itself.
o chelp
Short cut for typing "perldoc Module::Install".
o distsign
Short cut for typing "cpansign -s", for Module::Signature users to sign the distribution before release.
SEE ALSO
Module::Install, CPAN::MakeMaker, CPAN::MakeMaker::Philosophy
AUTHORS
Adam Kennedy <adamk@cpan.org>
Audrey Tang <autrijus@autrijus.org>
Brian Ingerson <INGY@cpan.org>
COPYRIGHT
Some parts copyright 2008 - 2012 Adam Kennedy.
Copyright 2002, 2003, 2004 Audrey Tang and Brian Ingerson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2012-03-01 Module::Install::Makefile(3)