Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Custom configure parameter?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Root Moose
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 112

PostPosted: Tue Nov 28, 2006 7:51 pm    Post subject: Custom configure parameter? Reply with quote

How do you emerge a package with a custom ./configure parameter? I need to emerge mailman with a configure step something like:

./configure --with-mail-gid=mail

Is there a way to make this change with portage? A file in /etc/portage I can add this info into? I did a man portage but nothing jumps out at me.

TIA
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Nov 28, 2006 7:57 pm    Post subject: Reply with quote

If the ebuild uses econf (which it likely does), you can try setting ${EXTRA_ECONF} as you want it to appear in the configure line. Read 'man 5 ebuild' for more info under the econf section.
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Tue Nov 28, 2006 7:57 pm    Post subject: Reply with quote

which application exactly?
you could possibly edit the ebuild or the makefile or maybe simply add a USE flag :)
Back to top
View user's profile Send private message
Root Moose
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 112

PostPosted: Tue Nov 28, 2006 9:10 pm    Post subject: Reply with quote

Scratalacha wrote:
If the ebuild uses econf (which it likely does), you can try setting ${EXTRA_ECONF} as you want it to appear in the configure line. Read 'man 5 ebuild' for more info under the econf section.


Thanks!

This worked:

Code:
EXTRA_ECONF="--with-mail-gid=mail" emerge -avt mailman


On to correcting configuration stuff.

Is there a way to make this a permanent setting for net-mail/mailman? I didn't see anything in the man page.

Sendmail is in place. Here is what i was trying to correct:

Code:
   ----- The following addresses had permanent fatal errors -----
"|/usr/local/mailman/mail/mailman post xjpilot"
    (reason: 2)
    (expanded from: <xjpilot@somedomain>)

   ----- Transcript of session follows -----
451 4.0.0 putbody: write error: Broken pipe
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group "mailman", but
the system's mail server executed the mail script as
group "mail".  Try tweaking the mail server to run the
script as group "mailman", or re-run configure,
providing the command line option `--with-mail-gid=mail'.
554 5.3.0 unknown mailer error 2
Reporting-MTA: dns; somedomain
Received-From-MTA: DNS; otherdomain
Arrival-Date: Tue, 28 Nov 2006 14:28:08 -0500
Back to top
View user's profile Send private message
Scratalacha
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 127

PostPosted: Tue Nov 28, 2006 9:23 pm    Post subject: Reply with quote

I'm afraid there is no easy way that I am aware of to make that setting permanent aside from editing the ebuild itself and putting it into a portage overlay.
_________________
Anime ate my computer
Back to top
View user's profile Send private message
Root Moose
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 112

PostPosted: Wed Nov 29, 2006 4:09 pm    Post subject: Reply with quote

Scratalacha wrote:
I'm afraid there is no easy way that I am aware of to make that setting permanent aside from editing the ebuild itself and putting it into a portage overlay.


Ok, thanks.

I've added the package to package.provided to control the emerge of new versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum