Thoughts on the age-old cyradm thingie

Luca Olivetti luca at wetron.es
Thu Nov 21 03:07:23 EST 2002


Jay Levitt wrote:
> Interesting.  That patch just installs Shell.pm into vendor_perl instead of
> site_perl.  But when I ran the stock Cyrus configure on MDK 9.0, I had no
> problem with it running in site_perl; the problem I had was just that
> site_perl is not actually under PREFIX, and Makefile.PL passes PREFIX
> explicitly.  What problems did you have under 9.0?

site_perl isn't used by default in mdk 9.0 (or perl 5.8.0, look at the 
changelog for perl-base, search vendor_perl), so it would generate bogus 
dependencies when creating the rpm (files under site_perl would depend 
on perl-base >= 5.800 --which doesn't exist, rendering the resulting rpm 
impossible to install-- while files under vendor_perl depend on 
perl-base >= 2:5.8.0).


> 
> Conversely, it doesn't seem like your RPM changes PREFIX, so do you know

in the build part the %configure macro will automatically call configure 
--prefix=/usr (and other standard parameters) while in the install part 
make install is called with PREFIX=/current/build/root


BTW: my message won't reach you directly since your ISP, in a misguided 
attempt to block spam, will bounce my messages. Please tell your ISP not 
to use methods that, while ineffective against spam, are blocking 
legitimate email, i.e. by making internet communication not functional 
they're worse than the problem they're trying to solve.

See http://slashdot.org/article.pl?sid=01/05/21/1944247 or even 
http://www.dotcomeon.com (if you filter through the bullshit there are 
many good points and links there).

Bye

-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007





More information about the Info-cyrus mailing list