Re: HP-UX Makefile doubt
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxxxx>
- Date: Sat, 11 Nov 2006 08:59:49 -0800
shan_rish@xxxxxxxxx writes:
I built a pice of software
in one server(HP-UX) with Purify installed and it was successful. I
tried to build the same software in another server which is meant to be
the replica of the previous server, and the build failed.
In that case, either the build environment on the second server is
different, or the second server is not an exact replica.
Error: cannot find purify.h
What part of that error don't you understand?
We have installed purify in the server. The Makefile specifies the
PURIFYHOME as /opt/pure/purify.
Is that were purify is installed on the second server?
There is another variable, in the Makefile, called -DNO_PURIFY which is
used with CXXFLAGS and CFLAGS. The line is as follows
The CXXFLAGS is indeed a (make) variable. The '-DNO_PURIFY' is *not*
a variable; it's a *value*.
I dont understand the variable -DNO_PURIFY, as i cant find the value of
it.
It doesn't have a value, it *is* a value.
The meaning of that value is probably to not use purify.
However, since your build failed, your code doesn't use that
setting correctly. What you probably want to do is:
grep -l '#include .*purify\.h' *.cpp
Then examine all files that grep above gives you, and make sure
that all instances of '#include "purify.h"' are conditional:
#ifndef NO_PURIFY
# include "purify.h"
#endif
Alternatively, install purify on the second server, or at least copy
its purify.h header into the same place as it is on the first one.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- Follow-Ups:
- Re: HP-UX Makefile doubt
- From: shan_rish
- Re: HP-UX Makefile doubt
- From: shan_rish
- Re: HP-UX Makefile doubt
- References:
- HP-UX Makefile doubt
- From: shan_rish
- HP-UX Makefile doubt
- Prev by Date: Re: Spricht man deutsch
- Next by Date: HP-UX "mksysb" ?
- Previous by thread: HP-UX Makefile doubt
- Next by thread: Re: HP-UX Makefile doubt
- Index(es):
Relevant Pages
|