[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AIX & GNU Make Issue

From: tom_honermann
Subject: AIX & GNU Make Issue
Date: Wed, 21 Mar 2001 18:55:47 -0800

I'm running GNU Make 3.79.1 on an AIX system and running into the
following problem.

I'm trying to convert from the system make to GNU make.  I have a Makefile
that does nothing but call a shell script:  (This is a test case scaled
down from the original Makefile)




doit.sh has only one command in it: a command to run an executable called
buildserver from BEA's Tuxedo product.  If I run "doit.sh" from the command
line, it works fine.  If I invoke the Makefile with the system make, it
works fine.  But, when I invoke the Makefile from GNU Make, I get errors

exec(): 0509-036 Cannot load program /path/to/buildserver because of the
following errors:
     0509-150   Dependent module libgp.a(libgp.so.60) could not be loaded.
     0509-022 Cannot load module libgp.a(libgp.so.60)
     0509-026 System error: A file or directory in the path name does not
gmake: *** [all] Error 255

Putting the command in doit.sh directly into the Makefile results in the
exact same behavior.

Obviously, the error is coming from the system, not from GNU Make.  But,
apparently, GNU Make is running the program with the environment somehow
messed up.  The library in question above is in my LIBPATH (and remember,
this works by running doit.sh on the command line and when invoking the
Makefile from the system make).  GNU Make doesn't touch LIBPATH (at least I
found no references to it in the make source).  So, any ideas?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]