Re: HP-UX Makefile doubt



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.
.



Relevant Pages

  • Problem with ForestPrep Please Help!!!
    ... The second Server is supposed to host the Exchange. ... I am going through the install process and when I got to ForestPrep, ...
    (microsoft.public.exchange.setup)
  • Re: SBS2008 Premium question
    ... I go along with you both that second server is the way ... or go dutch and debate licensing or something equally ... install of Windows+Hyper-V (it does not have to be Core only but does ...
    (microsoft.public.windows.server.sbs)
  • Re: backup server
    ... If you want to set up two domain controllers on your network the process is ... After you have your first one installed and working -- install ... controller also a Global Catalog and additional DNS server for your domain. ... sync data with the second server after it is written to the first one... ...
    (microsoft.public.windows.server.setup)
  • Re: Remote desktop connection failed in windows 2000 for Purify Plus T
    ... If i try to open the rational purify through ... > requires a license server" But if i install the same in the Windows ...
    (microsoft.public.win32.programmer.networks)
  • Re: RPC/HTTP on a second exchange server
    ... I tried to install an enterprise CA on the second server but right after ... Exchange server forming a one org, one AG, two RG exchange system. ...
    (microsoft.public.exchange.design)