The plus and equal need to be together, it's one operator, just like in C.
To debug Makefile, you should look at the command that's executed when you run 'make'. The command that's being run is echoed on stdout. Look carefully at that command -- it should be exactly what you want:
Since you are getting the errors, you will see something else:
it'll be missing either the -L/usr/lib or -lQuantLib.
Also, just to be safe, delete the old object file test.o before recompiling.
Hi everybody!
I would like to set in the makefile a path that should be the path where the program searches for the libraries loaded at run time.
Is there such a variable to be set in makefile?
Thanks in advance! (1 Reply)
I am wondering how I can include external files in a perl script. I'm currently working on a website, and I'd like to put my menu items in a subroutine for example, and put that in another file such as menu.pl. That way, I can call the subroutine from each page (such as news.pl), and if I want to... (2 Replies)
Whats the syntax for including a library file in a shell script?
say my shell script name is <abc.sh> and my library file is present in /user/abc/hello/fsfs/fsfsss/library.lib
Please tell how to include this library file in the shell script????? (6 Replies)
Hi
I am trying to debug a code by including prinf . TO some extended it shows error at one point .
If i include an extra printf it is showing at different point . Can anybody please let em know why it is happening ..
Thaks,
Arun (1 Reply)
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Dear All
I am looking for all the system libraries that are accessed by my application Build script i.e. make which in turn will processes makefile.
Is there any specific command from which i can find all the system libraries used by my build script.
Cheers,
Ankur (1 Reply)
Hi All,
When i am trying to include graphics.h ,dos.h and conio.h, its giving error as follows:
pgm.c:2:17: dos.h: No such file or directory
pgm.c:3:22: graphics.h: No such file or directory
pgm.c:4:19: conio.h: No such file or directory
Whereas stdio.h, stdlib.h and time.h gets... (3 Replies)
I have 2 libraries in 2 different directories that I build with Makefiles.
library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A?
I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies
LEARN ABOUT DEBIAN
math::install
INSTALL(3pm) User Contributed Perl Documentation INSTALL(3pm)NAME
INSTALL Installation instructions for Math::SparseMatrix
DEPENDENCIES
This module requires these other modules and libraries:
Math::SparseVector
SYNOPSIS
To install this module type the following:
perl Makefile.PL
make
make test
make install
The exact location of where Math::SparseMatrix will be installed depends on your system configuration.
If you do not have authority to write into system directories, you can install Math::SparseMatrix in a local directory that you own and
have permissions to read and write into as follows:
perl Makefile.PL PREFIX=/YOUR/DIR
make
make test
make install
This will install the module into
/YOUR/DIR/lib/perl5/site_perl/Math/SparseMatrix.pm
If you install Math::SparseMatrix in a local directory, you will have to explicitly set your PERL5LIB environment variable to include:
/YOUR/DIR/lib/perl5/site_perl
if this directory was not already included.
Authors
Ted Pedersen, University of Minnesota, Duluth. tpederse at d.umn.edu
Mahesh Joshi, Carnegie Mellon University maheshj at cmu.edu
COPYRIGHT
Copyright (c) 2006-2008, Ted Pedersen and Mahesh Joshi
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to
The Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
perl v5.10.1 2008-03-25 INSTALL(3pm)