make rpm problem was: Antwort: no --rebuild on ppc arch with pdflib-3.02-1


Subject: make rpm problem was: Antwort: no --rebuild on ppc arch with pdflib-3.02-1
From: Dan Kortschak (dan.kortschak@adelaide.edu.au)
Date: Mon Nov 13 2000 - 16:03:26 MST


Hi,
  I have been having problems with a number of rpm rebuilds over the past
few months, all from ix86 SRPMS. I have written to one of the packagers
and this was his reply (below). Is it a problem with make? and Does anyone
have an idea how to fix this? Some of these packages are needed quite
badly and they, AFAIK, haven't been built for ppc.
I will send the output from rpm --rebuild if people think it will help,
but only is people think it's worthwhile (long).

thanks
Dan Kortschak

---------- Forwarded message ----------
Date: Mon, 13 Nov 2000 11:01:49 +0100
From: Henrik.Seidel@schering.de
To: dan.kortschak@adelaide.edu.au
Subject: Antwort: no --rebuild on ppc arch with pdflib-3.02-1

Hi Dan,

there seems to be something wrong with your "make" version. Usually, configure
should create Makefiles which use a variable called "prefix". And usually the
value of that variable can be overridden by adding arguments to the "make
install" call. This is what happens in the SRPM rebuild as well:

make prefix=/tmp/pdflib-root/usr install

Make then enters the pdflib subdirectory and "sub-calls" make in that
subdirectory

cd pdflib && make install

Usually the "prefix=..." argument should set the "prefix" environment variable
to the specified value for all "sub-calls" of make. That's why the "make
install" in the pdflib directory should have set "prefix" to "
/tmp/pdflib-root/usr" as well --- although you can't see it on the command line
(it is just a "make install"), the make in the pdflib subdirectory should know
from the "prefix" environment variable that it has to install the files in
/tmp/pdflib-root/usr instead of the default /usr, and this environment variable
should be set by the initial "parent" make.

So I suppose that for some reason your installation of the make program does not
correctly convey command line arguments of a parent "make" as environment
variables to the child "make"s.

This is not a problem of the pdflib SRPM but rather of your make environment.
Try upgrading the make RPM, or search the Linux PPC news groups if you can find
something about this problem.

Regards

Henrik

-- 
_____________________________________________________________   .`.`o     
                                                         o| ,\__ `./`r
  Dan Kortschak                                          <\/    \_O> O    
  Genetics (DMB)          phone :+61 8 8303 4863          "|`...'.\
  Adelaide University     fax   :+61 8 8303 4399           `      :\ 
  Australia 5005          mailto:dan.kortschak@adelaide.edu.au    : \

Employer required disclaimer (sorry for the bandwidth): If you were not sent this message, please delete and forget it. If you were, be aware that we don't guarantee it free of virus; the health of your system is your own responsibility, do what you feel is necessary.

Check out the Munchkins: http://www.geocities.com/yellow_cake_road/



This archive was generated by hypermail 2a24 : Mon Nov 13 2000 - 16:03:36 MST