Samuele Giovanni Tonon <[EMAIL PROTECTED]> writes:

> Goswin von Brederlow wrote:
>> Samuele Giovanni Tonon <[EMAIL PROTECTED]> writes:
>> 
>>> apt-get build-dep apcupsd
>>> apt-get source apcupsd
>>> cd apcupsd-3.12.4
>>> debuild
>>>
>>> this worked for me on an amd64.
>>> maybe use make and not pmake ?
>>>
>>> Regards
>>> Samuele
>> 
>> Actually the other way around:
>> 
>> % apt-get build-dep apcupsd 
>> % apt-get source apcupsd 
>> % cd apcupsd-3.12.4 
>> % debuild 
>> 
>> everything works, BUT
>> 
>> % apt-get install pmake
>> % debuild
>> 
>> /usr/bin/install: cannot create regular file `/sbin/apcupsd':
>> Permission denied
>> 
>> 
>> I guess you need to Build-Conflict pmake or change the configure test.
> that is a problem of pmake that divert make and ignore environment, i
> can't do anything about that.
>
> if this work
>  % apt-get build-dep apcupsd
>  % apt-get source apcupsd
>  % cd apcupsd-3.12.4
>  % debuild
>
> then it's not an apcupsd bug and more than that if you install pmake
> i think more than one source should not build.
>
>
> Regards
> Samuele

Note that your configure script does a test for pmake:

checking for gmake... no
checking for pmake... /usr/bin/pmake
checking whether /usr/bin/pmake sets $(MAKE)... yes

I guess that setting gets put into the Makefile somewhere so
/usr/bin/make will invoke pmake for subdirs later on.

Note the pmake call for clean:

(cd examples; /usr/bin/pmake clean)

MfG
        Goswin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to