Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge, how to configure packages
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
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 93
Location: USA, PA, Wilkes-Barre

PostPosted: Fri Jun 28, 2002 5:46 pm    Post subject: emerge, how to configure packages Reply with quote

i emerged php and i got php-4.2.1-r1

however this did not give me the binary /bin/php, so i looked at the php.net docs and i noticed i have to add "./configure --enable-cli" in order to have the executable built.

how to I append this to "emerge php" ?

i tried to add "myconf=--enable-cgi" to the /var/db/pkg/dev-lang/php-4.2.1-r1/php-4.2.1-r1.ebuild file and then "emerge php" again but the file just get overwritten and my setting lost.

how do i add "./configure --someoption" to any package that i want to emerge?

also if i install from the source, meaning not using "emerge php", then will emerge see my installation?
Back to top
View user's profile Send private message
cyc
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 89

PostPosted: Fri Jun 28, 2002 7:15 pm    Post subject: Reply with quote

some things work with the use flag, but dunno about such special things
_________________
http://www.gentoo-de.org
Gentoo userpage
Back to top
View user's profile Send private message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 93
Location: USA, PA, Wilkes-Barre

PostPosted: Fri Jun 28, 2002 7:31 pm    Post subject: Reply with quote

well i realized that i needed to add the "--enable-cli" to the ebuild file in /usr/portage/dev-lang/php, not the one in /var/db/pkg.
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