#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Veenendaal, The Netherlands
    Posts
    3
    Rep Power
    0
    I installed gd-1.8.3, jpeg-6b and zlib-1.1.3
    I configured php-4.0.1pl2 with following:
    ./configure --with-apache=../apache_1.3.12 --with-gd=../gd-1.8.3 --with-jpeg-dir=../jpeg-6b --with-zlib=/usr/local
    --with-xml --with-ftp

    make
    install

    Then I compiled apache-1.3.12 to use php as a shared modude.
    The ./configure with all the correct options works fine.
    make returns in an error:
    size of symbol gdImageColorResolve changed from 274 to 266 in gd.o.(gd.c)
    Aparently the variable gdImageColorResolve is defined two times but with different sizes.

    Does anyone have ideas on how to get rid of this error?

    It perhaps has to do with the gd.c file in php-4.0.1pl2/ext/gd directory and the gd.c file in gd-1.8.3 directory.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>--with-gd=../gd-1.8.3 --with-jpeg-dir=../jpeg-6b

    Any reason why you doing this? Where is your 'gd2copypal' at? If it's in /usr/local/bin, then --with-gd should be =/usr/local

    The following from line: 434 of configure script:

    --without-gd Disable GD support
    -with-gd[=DIR] Include GD support (DIR is GD's install dir). Set DIR to "shared" to build as a dl, or "shared,DIR" to build as a dl and still specify DIR."

    >>--with-ftp
    Are you sure it's not "--enable-ftp"?

Similar Threads

  1. load data infile PHP parse error
    By georgeatef in forum PHP Development
    Replies: 3
    Last Post: June 8th, 2004, 11:07 PM
  2. 403 error or apache error???????
    By prophercer in forum Apache Development
    Replies: 6
    Last Post: February 26th, 2004, 09:59 AM
  3. PHP Error
    By xellos16 in forum PHP Development
    Replies: 3
    Last Post: February 17th, 2004, 03:38 AM
  4. Apache 2 and PHP 4
    By stanley1610 in forum Apache Development
    Replies: 2
    Last Post: February 12th, 2004, 08:20 PM
  5. php for apache
    By wannabe in forum Beginner Programming
    Replies: 3
    Last Post: February 6th, 2004, 02:28 PM

IMN logo majestic logo threadwatch logo seochat tools logo