[CentOS] Cannot compile metamail

Fajar Priyanto fajarpri at cbn.net.id
Mon Apr 3 12:40:05 UTC 2006


After googling around and around, I've found the binary from:
http://ftp.gui.uva.es/sites/centos.org/2/updates/i386/

So happy :)


On Monday 03 April 2006 06:42 pm, Fajar Priyanto wrote:
> Hello all,
> I've been trying to compile metamail on Centos4.2. But no luck so far.
>
> rpmbuild --rebuild metamail-2.7-30AS.src.rpm
> Installing metamail-2.7-30AS.src.rpm
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.96604
> + umask 022
> + cd /usr/src/redhat/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /usr/src/redhat/BUILD
> + rm -rf mm2.7
> + /bin/gzip -dc /usr/src/redhat/SOURCES/mm2.7.tar.Z
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd mm2.7
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + echo 'Patch #0 (mm-2.7-make.patch):'
> Patch #0 (mm-2.7-make.patch):
> + patch -p1 -b --suffix .make -s
> + echo 'Patch #1 (mm-2.7-fonts.patch):'
> Patch #1 (mm-2.7-fonts.patch):
> + patch -p1 -b --suffix .font -s
> + echo 'Patch #2 (mm-2.7-glibc.patch):'
> Patch #2 (mm-2.7-glibc.patch):
> + patch -p1 -b --suffix .glibc -s
> + echo 'Patch #3 (mm-2.7-csh.patch):'
> Patch #3 (mm-2.7-csh.patch):
> + patch -p1 -b --suffix .csh -s
> + echo 'Patch #4 (mm-2.7-uudecode.patch):'
> Patch #4 (mm-2.7-uudecode.patch):
> + patch -p1 -b --suffix .tmpfiles -s
> + echo 'Patch #5 (mm-2.7-sunquote.patch):'
> Patch #5 (mm-2.7-sunquote.patch):
> + patch -p1 -b --suffix .quote -s
> + echo 'Patch #7 (mm-2.7-ohnonotagain.patch):'
> Patch #7 (mm-2.7-ohnonotagain.patch):
> + patch -p1 -b --suffix .sigh -s
> + echo 'Patch #8 (mm-2.7-arghhh.patch):'
> Patch #8 (mm-2.7-arghhh.patch):
> + patch -p1 -b --suffix .arghhh -s
> + echo 'Patch #9 (mm-2.7-sml.patch):'
> Patch #9 (mm-2.7-sml.patch):
> + patch -p1 -b --suffix .sml -s
> + echo 'Patch #10 (metamail-2.7-nl.patch):'
> Patch #10 (metamail-2.7-nl.patch):
> + patch -p1 -s
> + echo 'Patch #11 (mm-2.7-linux.patch):'
> Patch #11 (mm-2.7-linux.patch):
> + patch -p1 -b --suffix .linux -s
> + echo 'Patch #12 (metamail-2.7-fixpartial.patch):'
> Patch #12 (metamail-2.7-fixpartial.patch):
> + patch -p1 -b --suffix .fixpartial -s
> + echo 'Patch #13 (metamail-2.7-fixawk.patch):'
> Patch #13 (metamail-2.7-fixawk.patch):
> + patch -p1 -b --suffix .fixawk -s
> + echo 'Patch #14 (metamail-2.7-usesox.patch):'
> Patch #14 (metamail-2.7-usesox.patch):
> + patch -p1 -b --suffix .usesox -s
> + pushd src/metamail
> /usr/src/redhat/BUILD/mm2.7/src/metamail /usr/src/redhat/BUILD/mm2.7
> + echo 'Patch #15 (metamail-2.7-ulf.patch):'
> Patch #15 (metamail-2.7-ulf.patch):
> + patch -p0 -b --suffix .ulf -s
> + popd
> /usr/src/redhat/BUILD/mm2.7
> + echo 'Patch #16 (metamail-2.7-boundary_crash.patch):'
> Patch #16 (metamail-2.7-boundary_crash.patch):
> + patch -p1 -b --suffix .boundary_crash -s
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.96604
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd mm2.7
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd src
> + make 'RPM_OPT_FLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' basics
> (cd metamail ; make  CONFIGDIR=../.  CFLAGS="-O2 -g -pipe -m32 -march=i386
> -mtune=pentium4 -I. -DLINUX  " CC="cc"  LDLIBS="")
> make[1]: Entering directory `/usr/src/redhat/BUILD/mm2.7/src/metamail'
> rm -f metamail.o
> cc -c  -I../. -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX
> metamail.c
> metamail.c:105: warning: conflicting types for built-in function 'malloc'
> rm -f codes.o
> cc -c  -I../. -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX
> codes.c
> rm -f uue.o
> cc -c  -I../. -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX
> uue.c
> rm -f shared.o
> cc -c  -I../. -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -I. -DLINUX
> shared.c
> shared.c:14: error: conflicting types for 'malloc'
> shared.c:14: error: conflicting types for 'malloc'
> make[1]: *** [shared.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/mm2.7/src/metamail'
> make: *** [basics] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.96604 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.96604 (%build)
>
> Can someone give me some hints on what's going wrong?
> Thank you,

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
19:39:56 up 7:28, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



More information about the CentOS mailing list