Bluehost.com Web Hosting $6.95

Re: [courier-users] Can't compile courier-mta 0.52.1 on Mandriva

This is a discussion on Re: [courier-users] Can't compile courier-mta 0.52.1 on Mandriva within the Courier-Imap forums, part of the Mail Servers and Related category; Federico Baraldi wrote: > Hi all ... When i try to compile courier-mta 0.52.1 on Mandriva 2006.0 ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-26-2005
Jay Lee
 
Posts: n/a
Default Re: [courier-users] Can't compile courier-mta 0.52.1 on Mandriva

Federico Baraldi wrote:
> Hi all ... When i try to compile courier-mta 0.52.1 on Mandriva 2006.0 this
> is what happens:
>
> /usr/bin/make all-am
> make[4]: Entering directory
> `/home/federico/rpm/BUILD/courier-0.52.1/courier/module.esmtp'
> Compiling esmtp.c
> Linking librewrite.la
> Compiling courieresmtp.c
> Compiling esmtpclient.c
> i586-mandriva-linux-gnu-gcc: Internal error: Killed (program cc1)
> Please submit a full bug report.
> See <URL:https://qa.mandriva.com/> for instructions.
> make[4]: *** [esmtpclient.o] Error 1
> make[4]: Leaving directory
> `/home/federico/rpm/BUILD/courier-0.52.1/courier/module.esmtp'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/federico/rpm/BUILD/courier-0.52.1/courier/module.esmtp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/federico/rpm/BUILD/courier-0.52.1/courier'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/federico/rpm/BUILD/courier-0.52.1/courier'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /home/federico/tmp/rpm-tmp.18586 (%build)
>
> Any hints ??


Looks similar to what I've been experiencing recently on Fedora Core 4.
When compiling esmtpclient.c GCC (cc1 process) grabs a *HUGE* chunk of
RAM, on my 1gb RAM desktop, it forces all my desktop apps to swap but
eventually does compile (after eating 3/4 of my physical ram). On my
512mb RAM laptop though, it effectively kills the machine as so much is
forced to swap that I can't even switch VTs anymore. I don't think it's
actually locking up, just non-responsive. My assumption is that this is
an issue with GCC 4.0. I've not used Mandriva but my guess is, like
FC4, it should ship with an older version of GCC for compat reason. On
FC4 I had to install compat-gcc-32 and compat-g++-32 in order to have
GCC v3.2 available. To get the rpmbuild to use 3.2 instead of 4, I did:

CC=gcc32 CXX=gcc32 rpmbuild -ta courier-0.52.1.tar.bz2

Give this a try.

Sam, any thoughts on this? I realize GCC 4.0 is not supported yet and
it won't be until RHEL5 comes out that I'll care to much but there
certainly seems to be a problem between gcc4 and esmtpclient.c

Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0