rolling my own php 5.2.3 with macports gd2 fails
config succeeds, but make fails. My config command and make errors appear below. If I remove --with-gd from config, make succeeds. Anyone else run into this? config command -------------------------- ./configure \ --with-gd=/opt/local \ --with-png-dir=/opt/local \ --with-jpeg-dir=/opt/local \ --with-freetype-dir=/opt/local \ --enable-ftp \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pgsql \ --with-xml \ --enable-mbstring \ --enable-mbregex \ --enable-exif \ --with-openssl \ --with-openssl-dir=/usr/local/ssl \ --with-pear --with-curl=/usr/local/lib \ --with-mysql=/usr/local/mysql \ --enable-imap \ --with-imap=/usr/local/imap-2004a \ --with-imap-ssl=/usr/local/imap-2004a \ --with-zlib \ --with-zlib-dir=/opt/local/lib make errors -------------------- /usr/bin/ld: Undefined symbols: _gdFontCacheShutdown _gdImageAlphaBlending _gdImageColorAllocateAlpha _gdImageColorClosestAlpha _gdImageColorExactAlpha _gdImageColorResolveAlpha _gdImageCopyResampled _gdImageCreateFromGif _gdImageCreateFromGifCtx _gdImageCreateTrueColor _gdImageFilledArc _gdImageFilledEllipse _gdImageGifCtx _gdImagePngCtxEx _gdImageSaveAlpha _gdImageSetThickness _gdImageStringFTEx _gdImageTrueColorToPalette _gdNewDynamicCtxEx collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 -- Randall Perry
On Jun 30, 2007, at 9:24 AM, Randall Perry wrote:
config succeeds, but make fails. My config command and make errors appear below. If I remove --with-gd from config, make succeeds.
Anyone else run into this?
Yeah, I think that was solved last week. I had some issues with heimdal/kerberos files that were in the way. Search the archives and see if that helps. -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
paul beard wrote:
On Jun 30, 2007, at 9:24 AM, Randall Perry wrote:
config succeeds, but make fails. My config command and make errors appear below. If I remove --with-gd from config, make succeeds.
Anyone else run into this?
Yeah, I think that was solved last week. I had some issues with heimdal/kerberos files that were in the way. Search the archives and see if that helps.
I saw that thread but didn't think it applied to me as I don't have libkrb5.dylib installed in /opt/local/lib, and I'm not including kerberos support in my config command. As I said, I'm rolling my own php outside of macports. -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/
On Jun 30, 2007, at 1:55 PM, Randall Perry wrote: I'm in the process of working through an openldap install. As soon as I get it with Apache2 and MySql5 installed I'm gonna try the Php5. I'll let you know if I get the error when I attempt the build. --Samuel.
paul beard wrote:
On Jun 30, 2007, at 9:24 AM, Randall Perry wrote:
config succeeds, but make fails. My config command and make errors appear below. If I remove --with-gd from config, make succeeds.
Anyone else run into this?
Yeah, I think that was solved last week. I had some issues with heimdal/kerberos files that were in the way. Search the archives and see if that helps.
I saw that thread but didn't think it applied to me as I don't have libkrb5.dylib installed in /opt/local/lib, and I'm not including kerberos support in my config command. As I said, I'm rolling my own php outside of macports.
-- Randall Perry sysTame
Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On 6/30/07, Randall Perry <listsub@systame.com> wrote:
paul beard wrote:
On Jun 30, 2007, at 9:24 AM, Randall Perry wrote:
config succeeds, but make fails. My config command and make errors appear below. If I remove --with-gd from config, make succeeds.
Anyone else run into this?
Yeah, I think that was solved last week. I had some issues with heimdal/kerberos files that were in the way. Search the archives and see if that helps.
I saw that thread but didn't think it applied to me as I don't have libkrb5.dylib installed in /opt/local/lib, and I'm not including kerberos support in my config command. As I said, I'm rolling my own php outside of macports.
Well, if you're rolling your own php outside of MacPorts, maybe the same errors will crop up? Seems kind of presumptuous to email a group list and say, "I'm not using your stuff that works, but can you help me anyway?" -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
paul beard wrote:
On 6/30/07, *Randall Perry* <listsub@systame.com <mailto:listsub@systame.com>> wrote:
paul beard wrote: > > On Jun 30, 2007, at 9:24 AM, Randall Perry wrote: > >> config succeeds, but make fails. My config command and make errors >> appear below. If I remove --with-gd from config, make succeeds. >> >> >> Anyone else run into this? >> > > Yeah, I think that was solved last week. I had some issues with > heimdal/kerberos files that were in the way. Search the archives and > see if that helps. > I saw that thread but didn't think it applied to me as I don't have libkrb5.dylib installed in /opt/local/lib, and I'm not including kerberos support in my config command. As I said, I'm rolling my own php outside of macports.
Well, if you're rolling your own php outside of MacPorts, maybe the same errors will crop up? Seems kind of presumptuous to email a group list and say, "I'm not using your stuff that works, but can you help me anyway?"
I'm asking for help with gd, which is a macport package. I already ask on php-install list -- someone there suggested there might be missing headers for gd. -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/
I'm asking for help with gd, which is a macport package. I already ask
on php-install list -- someone there suggested there might be missing headers for gd.
Well, as noted in the thread from last week it looked a gd problem, then freetype, before it finally was resolved as kerberos/heimdal. If you really want help, it might be a good idea to provide some debug information other than where configure bails out. But if MacPorts says that gd2 is installed and the other ports that have dependencies on it work, you might be barking up the wrong tree. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
Ryan Schmidt wrote:
On Jun 30, 2007, at 15:55, Randall Perry wrote:
I'm rolling my own php outside of macports.
Any particular reason you're not using the MacPorts php5 port? Anything we could change in the php5 port that would make it more useful to you?
Generally, if I can build something myself, I will. I like to have complete control (and I can upgrade when I want, rather than waiting for the latest port to come out). When I run into problems that take too much time then I'll go with a macports or fink build. If the easiest way for me to get gd into php is build a macports php then that's what I'll do. I just thought there might be a known issue that would allow me to continue to roll my own. If I can get all the options shown below in my config command with macports that'd be great (with path changes where appropriate): ./configure \ --with-gd=/opt/local \ --with-png-dir=/opt/local \ --with-jpeg-dir=/opt/local \ --with-freetype-dir=/opt/local \ --enable-ftp \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pgsql \ --with-xml \ --enable-mbstring \ --enable-mbregex \ --enable-exif \ --with-openssl \ --with-openssl-dir=/usr/local/ssl \ --with-pear --with-curl=/usr/local/lib \ --with-mysql=/usr/local/mysql \ --enable-imap \ --with-imap=/usr/local/imap-2004a \ --with-imap-ssl=/usr/local/imap-2004a \ --with-zlib \ --with-zlib-dir=/opt/local/lib -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/
paul beard wrote:
I'm asking for help with gd, which is a macport package. I already ask on php-install list -- someone there suggested there might be missing headers for gd.
Well, as noted in the thread from last week it looked a gd problem, then freetype, before it finally was resolved as kerberos/heimdal. If you really want help, it might be a good idea to provide some debug information other than where configure bails out. But if MacPorts says that gd2 is installed and the other ports that have dependencies on it work, you might be barking up the wrong tree.
Actually, it was make that failed -- config went through fine. I included the make errors in a previous post. -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/
On 6/30/07, Randall Perry <listsub@systame.com> wrote:
Generally, if I can build something myself, I will. I like to have complete control (and I can upgrade when I want, rather than waiting for the latest port to come out). When I run into problems that take too much time then I'll go with a macports or fink build.
If that's all that holds it up, just change the relevant parts (the distfile info) and build it: if it works, you can contribute the diff as a patch. That way, you get what you want and the php maintainer gets a little help. I don't think of MacPorts as a way to stay on the bleeding edge of things, so your mileage will likely vary. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
On Jun 30, 2007, at 20:53, Randall Perry wrote:
Ryan Schmidt wrote:
On Jun 30, 2007, at 15:55, Randall Perry wrote:
I'm rolling my own php outside of macports.
Any particular reason you're not using the MacPorts php5 port? Anything we could change in the php5 port that would make it more useful to you?
Generally, if I can build something myself, I will. I like to have complete control (and I can upgrade when I want, rather than waiting for the latest port to come out). When I run into problems that take too much time then I'll go with a macports or fink build.
If the easiest way for me to get gd into php is build a macports php then that's what I'll do. I just thought there might be a known issue that would allow me to continue to roll my own.
MacPorts php5 builds php with php's built-in gd library, not the gd library provided by the gd2 port. I have not yet attempted to do it the other way. Maybe we would run into the same errors that you did.
If I can get all the options shown below in my config command with macports that'd be great (with path changes where appropriate):
./configure \ --with-gd=/opt/local \ --with-png-dir=/opt/local \ --with-jpeg-dir=/opt/local \ --with-freetype-dir=/opt/local \ --enable-ftp \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pgsql \ --with-xml \ --enable-mbstring \ --enable-mbregex \ --enable-exif \ --with-openssl \ --with-openssl-dir=/usr/local/ssl \ --with-pear --with-curl=/usr/local/lib \ --with-mysql=/usr/local/mysql \ --enable-imap \ --with-imap=/usr/local/imap-2004a \ --with-imap-ssl=/usr/local/imap-2004a \ --with-zlib \ --with-zlib-dir=/opt/local/lib
By looking at the existing php5 portfile, you can see that our configure options are: configure.args \ --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info \ --with-config-file-path=${prefix}/etc \ --enable-calendar \ --with-iconv=${prefix} \ --enable-exif \ --enable-ftp \ --enable-wddx\ --with-zlib=${prefix} \ --without-mysql \ --without-sqlite \ --without-pdo-sqlite \ --with-libxml-dir=${prefix} \ --with-gettext=${prefix} \ --with-xml \ --with-expat-dir=${prefix} \ --with-xmlrpc \ --enable-soap \ --enable-filepro \ --enable-bcmath \ --enable-trans-sid \ --enable-mbstring \ --enable-dbx \ --enable-dba \ --with-openssl=${prefix} \ --with-mhash=${prefix} \ --with-mcrypt=${prefix} \ --with-xsl=${prefix} \ --with-curl=${prefix} \ --with-pcre-regex=${prefix} \ --with-gd \ --with-jpeg-dir=${prefix} \ --with-png-dir=${prefix} \ --enable-gd-native-ttf \ --without-pear \ --with-freetype-dir=${prefix} There are variants to select between apache 1, apache2 and fastcgi modules, and to add imap, tidy, mssql, snmp, mysql, postgresql82, sqlite3, pcntl and pear support. Can you try our php5 and see if anything specific is missing? If so, let us know what. I'm not confident that our +imap variant works at the moment so try that especially.
participants (4)
-
paul beard
-
Randall Perry
-
Ryan Schmidt
-
Samuel V. Green III