Re:Re:Re:[PHP] compile php with GD2
| From: | Hendrik | Date: | Sun, 03 Mar 2002 17:43:37 +0000 |
| Subject: | Re:Re:Re:[PHP] compile php with GD2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86985@lists.php.net to get a copy of this message | ||
hm,
well i allready tried it, but it didnt work, so i chose to add it as a module.
...but the problem is, that i cannot "make" php. I allways get this error:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.1.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.1.2/ext'
make: *** [all-recursive] Error 1
...and i have no idea how to solve it!
Any help more than welcome...
Regards,
Duncan
In article <001001c1c15f$22473370$0100a8c0@red5>, php-general@ring-
wraith.com says...
> hi again,
>
> well sorry about that, it worked when i changed it to:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl
> --with-swf=/usr/local/flash
--enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local --with-xpm-
dir=/usr/X11R6 --with-png-dir=/usr --with-imap --with-ming=/usr/src/ming-
0.2a --enable-magic-quotes --with-mysql --enable-safe-mode --enable-
track-vars --with-ttf --enable-versioning --with-zlib
>
> ...however, now i ran into another problem: Ming!
> The source is located /usr/src/ming-0.2a
> and the installed files are located:
> /usr/lib
> /usr/include
>
> but neither of these 3 is accepted in the configure line.
> Or can i just leave it in the configure line and then just add the php_ming.so file, copy it
> into the extension dir and add it to php.ini file?
>
> Regards,
>
> Duncan
>
Um, lateral thinking here? The same solution that worked for GD should
work for Ming. In other words,
--with-ming=/usr
and configure will look under /usr for the lib and include.
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php