Moodle Problem with libgd compiled.

[email protected] (Rodrigo Cunha)
Newsgroups php.general
Message-ID <CAOGexv8B66mTjO2huo=ZSDbckUJAtjfaRrLFdmwetFcyfgBUeA@mail.gmail.com>
Dears,

i make lib-gd with option(./configure) "--with-gd" but not work. I Download
the lib in website and compile this, but

my ./configure php displayed a stdout:

"

If configure fails try --with-vpx-dir=<DIR>

If configure fails try --with-jpeg-dir=<DIR>

configure: error: png.h not found.

"

I installing the lib-gd with command

#apt-get install php5-gd

but i the new configure setting not work to.I find the lib installing in my
environment and

the lib found in path:/usr/lib/x86_64-linux-gnu/.

I want installing this lib easyli with command apt-get and setting the
./configure setting with path for this.

My configure:

./configure --prefix=/usr/local/httpd-2.4.23/php
--with-apxs2=/usr/local/httpd-2.4.23/bin/apxs \

--with-config-file-path=/usr/local/httpd-2.4.23/php --with-mysql
--enable-embedded-mysqli --enable-mbstring \

--enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-ftp
--enable-shmop --enable-soap --enable-sockets \

--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-opcache --enable-zip --enable-pcntl \

--with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
--with-zlib-dir=/usr/local/zlib/ \

--with-mhash=/usr/local/mhash --with-gettext=/usr/local/gettext
--with-curl=/usr/local/curl-7.52.1/ \

--with-gd=/usr/lib/x86_64-linux-gnu/
--with-jpeg-dir=/usr/lib/x86_64-linux-gnu/
--with-vpx-dir=/usr/lib/x86_64-linux-gnu/

PS: The PHP and Apache work fine, i load wikimedia and phpmyadmin in this
enviroment, but my moodle need this gd library.

Regards,


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.