On Tue, 2005-06-14 at 09:06 +0100, Gavin Henry wrote: > > > > You need to add something like the following at the top of your spec file: > > %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo > > $installvendorlib) > > %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo > > $installvendorarch) > > > > (it should be 2 lines, not 4) > > > > An example in another spec file: > > http://dries.ulyssis.org/rpm/packages/perl-DBD-CSV/perl-DBD-CSV-spec.html > > http://dries.ulyssis.org/rpm/packages/perl-DBD-CSV/info.html > > > > Then you can compile it also on rhel3 normally. > > Excellent! Worked a treat. > > Should I file a bug, or is this RHEL3 specific? I believe those macros are defined in FC3/FC4 rpm w/o needing to be defined in the spec file itself, so it wouldn't be a bug unless the specfile you are using is suppose to build on RHEL3. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-devel-list