| View previous topic :: View next topic |
| Author |
Message |
scoy Tux's lil' helper


Joined: 21 Jun 2002 Posts: 93 Location: USA, PA, Wilkes-Barre
|
Posted: Fri Jun 28, 2002 5:46 pm Post subject: emerge, how to configure packages |
|
|
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 |
|
 |
cyc Tux's lil' helper

Joined: 28 Jun 2002 Posts: 89
|
Posted: Fri Jun 28, 2002 7:15 pm Post subject: |
|
|
some things work with the use flag, but dunno about such special things _________________ http://www.gentoo-de.org
Gentoo userpage |
|
| Back to top |
|
 |
scoy Tux's lil' helper


Joined: 21 Jun 2002 Posts: 93 Location: USA, PA, Wilkes-Barre
|
Posted: Fri Jun 28, 2002 7:31 pm Post subject: |
|
|
| 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 |
|
 |
|
|
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
|
|