Hi Yasuo,
I had a look at the README you suggested but couldn't get my head
around the complexities of building it. I use this command line in
the newly created extension directory, per the README.
./configure --with-php-config=/usr/local/src/php-
4.1.0/pear/scripts/php-config
It bombs out with:
checking for XpmFreeXpmImage in -lXpm... no
configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please
check config.log for more information.
And I can't figure out how to get it past this - no matter what "--
without" option combination I try it still glitches on this.
I should add that this problem (gd.a getting created instead of
gd.so) occurs on all our varied development machines.
Any other ideas?
Jason.
On 13 Dec 2001 at 11:51, Yasuo Ohgaki wrote:
> Jason Donald wrote:
>
> > Hi,
> >
> > Under php4.0.6 my configure/make/makeinstall created a gd.so file
> > (which is picked up when using <? dl("gd.so"); ?>).
> >
> > Under php4.1.0 my install creates a gd.a file, and <? dl("gd.so"); ?>
> > doesn't work anymore.
> >
> > If I compile it in as non shared, it works just fine. I am using it as
> > .so to keep the httpd size down and performance up as we don't use GD
> > very much on our server.
>
>
> Most UNIX like system supports shard text segment for binary,
> you don't have to worry much about memory usage for including
> modules.... dl() has some known problems also (It works most for
> cases, so you probably don't have to worry)
>
> Anyway, you can try to build gd module as self contained module.
> Read README.SELF-CONTAINED-EXTENSION in PHP source root to build
> it as self contained module. It may work.
>
> --
> Yasuo Ohgaki
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]