Installing MailScanner on SuSE 9

Kai Schaetzl maillists at CONACTIVE.COM
Mon Mar 29 17:11:28 IST 2004


Julian Field wrote on         Wed, 24 Mar 2004 13:44:19 +0000:

> I want to fix the problems, but I am getting some very strange errors that
> a SuSE expert may know how to handle. It doesn't want to build the SRPMs at
> all, just gives me "ERROR: EMPTY FILE LIST" errors after getting the build
> paths all wrong.
>

Julian, looking thru my install notes I find exactly that as well, see below. Locate finds that file in 
/usr/src/packages/BUILD/Net-CIDR-0.08/perl-Net-CIDR-0.08-2-filelist
and it's indeed empty. I finally installed it from CPAN.
Don't you think that the empty list is a result of the failed build dependencies? Is this correct: perl 
>= 0:5.00503 ?
Shouldn't that be: perl >= 5.00503 ?
Ah, no, after changing that to >= 5.00503 it still doesn't work. But >= 5 goes thru fine, don't know 
why. But it then fails with the empty file list. The reason is that there are no files under 
/var/tmp/packagename/usr. They are in /var/tmp/packagename-root/var/tmp/usr.

Looks like something is doubling the path here. The problem seems to be created by this line:

+ make DESTDIR=/var/tmp/perl-Net-CIDR-0.08-2-root install

it should just be "make install" I think. I don't know where the DESTDIR comes from. Maybe something 
changed in the rpmbuild?

It creates a reference to a double path in the Makefile because DESTDIR adds to the already created 
correct path. I changed
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix}
to
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL

and it runs thru just fine. I didn't install the created rpm but ran an rpm --test and that looks fine.

I hope that helps.



Kai

-- 

Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org




More information about the MailScanner mailing list