Sam Varshavchik wrote:

| sergey ivanov writes:
|
|>    Hi All!
|>   With courier-imap-1.5.1.20020702.tar.gz  I do on my development
|> machine
|> ./configure; make; make check; sudo make install-strip and sudo make
|> install-configure
|> and get a working IMAP Server.
|>    But when I do rpm -ta I get:
|> --------
|> RPM build errors:
|>    File not found:
|>
/var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man1/maildirmake.
|> 1.gz
|>    File not found:
|>
/var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man7/authlib.7.gz
|>
|>    File not found:
|>
/var/tmp/courier-imap-buildroot/usr/lib/courier-imap/man/man8/makeuserdb.8
|> .gz
|> --------
|>    What should I check to build valid RPM packages to avoid
|> rebuilding courier-imap on my server machine?
|
|
| Check that you have a stable development environment.  The spec file
| does not list man pages explicitly.  The spec file only lists:
| %{_mandir}
|
~    I use ALTLinux distribution, and it chooses bzip2 or gzip method to
compress for obtaining best compression ratio. I can add to spec macros
%set_compress_method(gzip) but I think the spec should better be
improved to be independent of compressing method gzip, bzip2 or some
supercompressor.
~    BTW, you said spec is not dependent on man filenamesz But it
contains the following lines:
===========
#
# Compress everything in man
#

find $RPM_BUILD_ROOT%{_mandir} ! -type d -print | %{__perl} -e '

~        while (<>)
~        {
~                chop if /\n$/;
~                next if /\.gz$/;
~                $file=$_;
~                if ( -l $file)
~                {
~                        symlink readlink("$file")
~                                . ".gz", "$file.gz";
~                        unlink($file);
~                }
~                else
~                {
~                        system("gzip <$file >$file.gz");
~                        unlink($file);
~                }
~        }
'
===========

~        Sergey





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to