View previous topic :: View next topic |
Author |
Message |
catalYst Tux's lil' helper
Joined: 02 May 2002 Posts: 119 Location: Appleton, WI USA
|
Posted: Fri Sep 20, 2002 4:42 am Post subject: PHP with EXIF support |
|
|
Hmmm....I posted this under a slightly more cryptic topic earlier...sorry to clutter the board, but I'd really like an answer, as I've searched the portage docs for a way to enable obscure config options during an ebuild (perhaps not hard enuf)...
Ok, here goes again...I'm trying to emerge php with --enable-exif (it's a configure script option) but I don't know how. I suppose I could just compile it myself, but I'd rather keep my gentoo install clean and use emerge.
Any response would be much appreciated, as I'm sure there's a way to do this...
Thanks in advance,
Colin |
|
Back to top |
|
|
chardros Tux's lil' helper
Joined: 18 Apr 2002 Posts: 136 Location: Andromeda
|
Posted: Tue Sep 24, 2002 5:50 am Post subject: |
|
|
Well, the way I do it (may not be the correct way), is I edit the ebuild file and perform a slight modification. In my portage tree, I would edit /usr/portage/dev-php/mod_php/mod_php-4.2.3.ebuild and on line 98 (reads myconf="--without-readline ") within the "src_compile()" routine, add in the --enable-exif config option so that the lin would read:
myconf="--without-readline --enable-exif "
The trailing space within the quotes would be important as the ret of the script will append to that.
Anyway - might be a better way, but this works. Anytime you upgrade php, you'll need to perform the minor modification... unless the ebuild starts looking for it or it becomes a USE option. |
|
Back to top |
|
|
catalYst Tux's lil' helper
Joined: 02 May 2002 Posts: 119 Location: Appleton, WI USA
|
Posted: Fri Sep 27, 2002 8:31 pm Post subject: GREAT! |
|
|
Rad! Thanks so much, I knew there had to be a way to custom tailor the build process, but the portage docs that are immediatly accesible assume the average user wouldn't need to do that and I didn't really have time to dig through the 'other' portage docs...i know, i know...always rtfm...but sometimes I have slightly more important things to do.
Again, thanks that was what I was looking for.
-colin |
|
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
|
|