"Q: The configure script is stuck in an infinite loop
A: It's not. Courier is made up of over thirty modular pieces, and each one
has its own configure script. All configure scripts are recursively
executed. configure scripts are generated off a template, and share a lot of
common code, so when configure runs, it seems like the same script is being
executed over and over again."

So I started again the rpmbuild manualy, and everything compiled
succesfully... ( It took a long time ) I had some other problem with package
with "noarch", I had to rpmbuild them by myself and then rpm -Uvh, after
that I was able to use the current install script again.

A rpm -qa | grep toaster | sort show :

autorespond-toaster-2.0.4-1.3.4.i386
clamav-toaster-0.94.2-1.3.24.i386
control-panel-toaster-0.5-1.3.5.noarch
courier-authlib-toaster-0.59.2-1.3.7.i386
courier-imap-toaster-4.1.2-1.3.8.i386
daemontools-toaster-0.76-1.3.4.i386
ezmlm-cgi-toaster-0.53.324-1.3.4.i386
ezmlm-toaster-0.53.324-1.3.4.i386
isoqlog-toaster-2.1-1.3.5.i386
libdomainkeys-toaster-0.68-1.3.4.i386
libsrs2-toaster-1.0.18-1.3.4.i386
maildrop-toaster-2.0.3-1.3.6.i386
maildrop-toaster-devel-2.0.3-1.3.6.i386
qmail-pop3d-toaster-1.03-1.3.16.i386
qmail-toaster-1.03-1.3.16.i386
qmailadmin-toaster-1.2.11-1.3.5.i386
qmailmrtg-toaster-4.2-1.3.4.i386
ripmime-toaster-1.4.0.6-1.3.4.i386
send-emails-toaster-0.5-1.3.5.noarch
simscan-toaster-1.3.1-1.3.7.i386
spamassassin-toaster-3.2.5-1.3.15.i386
ucspi-tcp-toaster-0.88-1.3.6.i386
vpopmail-toaster-5.4.17-1.3.5.i386
vqadmin-toaster-2.3.4-1.3.4.i386
As you can see, zlib is missing, I was not able to compile it :

Installing zlib-1.2.3-1.0.3.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mGFkMm
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf zlib-1.2.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/zlib-1.2.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zlib-1.2.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (zlib-1.1.4-make-test.patch):'
Patch #0 (zlib-1.1.4-make-test.patch):
+ /bin/cat /root/rpmbuild/SOURCES/zlib-1.1.4-make-test.patch
+ /usr/bin/patch -s -p1 -b --suffix .make-test --fuzz=0
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
error: Bad exit status from /var/tmp/rpm-tmp.mGFkMm (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.mGFkMm (%prep)
The pach seems to be for zlib-1.1.4 and I have zlib-1.2.3-18.fc9.i386. Will
qmail work correctly without this patch ?

2009/2/23 Jake Vickers <j...@qmailtoaster.com>

>  BePo wrote:
>
>> Hello,
>>  When I compile qmail toaster on fedora 10 with the current install
>> script, the compilation hang here :
>>
>>  
>> --------------------------------------------------------------------------------------------------------------------------------------------------
>>  Installing courier-imap-toaster-4.1.2-1.3.8.src.rpm
>> error: Failed build dependencies:
>>        courier-authlib-toaster is needed by
>> courier-imap-toaster-4.1.2-1.3.8.src
>> error: File not found by glob:
>> /root/rpmbuild/RPMS/i386/courier-imap-toaster*.rpm
>> Installing autorespond-toaster . . .
>> Shall we continue? (yes, skip, quit) [y]/s/q:
>>
>>  
>> --------------------------------------------------------------------------------------------------------------------------------------------------
>>  I have tried to rebuild the rpm manualy with :
>>  rpmbuild --rebuild --with fedora_10
>> courier-authlib-toaster-0.59.2-1.3.7.src.rpm
>>  But the program is checking again and again :s It's like a neverending
>> loop, when I press ctrl+c, the compilation start and then stop at :
>>
>>  
>> --------------------------------------------------------------------------------------------------------------------------------------------------
>> (...)
>> checking whether -lc should be explicitly linked in... no
>> checking dynamic linker characteristics... GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking whether stripping libraries is possible... yes
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... yes
>> checking whether to build static libraries... yes
>> configure: creating libtool
>> ^CExecuting(%install): /bin/sh -e /var/tmp/rpm-tmp.LlvLeZ
>> + umask 022
>> + cd /root/rpmbuild/BUILD
>> + cd courier-authlib-0.59.2
>> + LANG=C
>> + export LANG
>> + unset DISPLAY
>> + make
>> DESTDIR=/root/rpmbuild/BUILDROOT/courier-authlib-toaster-0.59.2-1.3.7.i386
>> install
>> CONFIG_FILES=authlib.html CONFIG_HEADERS= /bin/sh ./config.status
>> config.status: creating authlib.html
>> config.status: executing depfiles commands
>> echo "#define AUTHLDAPRC \"\"" >authldaprc.h
>> echo "#define AUTHMYSQLRC \"/etc/courier/authlib/authmysqlrc\""
>> >authmysqlrc.h
>> echo "#define AUTHPGSQLRC \"/etc/courier/authlib/authpgsqlrc\""
>> >authpgsqlrc.h
>> echo "#define PIPE_PROGRAM \"/etc/courier/authlib/authProg\""
>> >authpiperc.h
>> echo "#define AUTHDAEMONRC \"/etc/courier/authlib/authdaemonrc\""
>> >authdaemonrc.h
>> echo "#define AUTHDAEMONVAR \"/var/spool/authdaemon\"" >>authdaemonrc.h
>> echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
>> echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
>> echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
>> echo '#include "/home/vpopmail/include/config.h"' >vpopmail_config.h
>> echo '#define PKGVERSION "0.59.2"' >packageversion.h
>> echo '#define AUTHCHANGEPWDIR "/usr/libexec/courier-authlib"'
>> >authchangepwdir.h
>> echo '#define SBINDIR "/usr/sbin"' >sbindir.h
>> echo '#define PKGLIBDIR "/usr/lib/courier-authlib"' >pkglibdir.h
>> echo '#define PKGINCLUDEDIR "/usr/include"' >pkgincludedir.h
>> echo '#define MAILUSER "vpopmail"' >mailusergroup.h
>> echo '#define MAILGROUP "vchkpw"' >>mailusergroup.h
>> CONFIG_FILES=README_authlib.html CONFIG_HEADERS= /bin/sh ./config.status
>> config.status: creating README_authlib.html
>> config.status: executing depfiles commands
>> make  install-recursive
>> make[1]: Entering directory `/root/rpmbuild/BUILD/courier-authlib-0.59.2'
>> Making install in gdbmobj
>> make[2]: Entering directory
>> `/root/rpmbuild/BUILD/courier-authlib-0.59.2/gdbmobj'
>> make[2]: *** No rule to make target `install'.  Stop.
>> make[2]: Leaving directory
>> `/root/rpmbuild/BUILD/courier-authlib-0.59.2/gdbmobj'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/root/rpmbuild/BUILD/courier-authlib-0.59.2'
>> make: *** [install] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.LlvLeZ (%install)
>>
>> RPM build errors:
>>    Bad exit status from /var/tmp/rpm-tmp.LlvLeZ (%install)
>>
>>  
>> --------------------------------------------------------------------------------------------------------------------------------------------------
>>  What Can I do to fix this problem ?
>>
>>
>
> What does 'rpm -qa | grep toaster | sort" show?
> courier-authlib (and courier-imap for that matter) will take a LONG time to
> compile. They're very complicated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>
>

Reply via email to