Hi... thanks for your reply...
You are right. Originally it is exactly how I wanted to do it too (not the bundled version) I was trying the bundled version thinking at least maybe that will work. Anyways.. my problem ended up being the following:
jpeg-6b configured and compiled correctly but it was assuming /usr/local for it's prefix while on my machine it should have been /usr .. so somehow that broke the "install" section of make as it would only install about half the libraries and then just stop without giving me any errors so I was thinking it installed correctly. That ofcourse explained why my gd configure was good and the make failed, it couldn't find all the headers it needed during the compilation.
So for those of you that are reading and are having a similar problem.. Solution was this..
configure jpeg-6b with these switches: --prefix=/usr (if that's right for your system, this was on a FC2) --enable-shared
everythign else should be detected ok, then you can make; make install
configure gd-2.0.33 with the switches: --prefix=/usr (if everything else has been installed to the same prefix, it will detect png/jpg/freetype support automatically..
make; make install
and then when compiling php use whatever config switches you need along with: --with-gd=/usr
It's pretty much that simple once you know 🙂 .. Took me 3 days of suffering to get right though.
Thanks for the reply!
cheers