Erro ao compilar PDO_DBLIB [RESOLVIDO]

1. Erro ao compilar PDO_DBLIB [RESOLVIDO]

Renato
renatoxtr

(usa Outra)

Enviado em 13/06/2013 - 16:07h

Estou tentando compilar o PDO_DBLIB-1.0 e esá apresentando o erro abaixo:

PDO_DBLIB-1.0]# ./configure --with-pdo-dblib --with-lib=lib64
configure: WARNING: unrecognized options: --with-lib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for PDO_DBLIB support via FreeTDS... yes, shared
configure: error: Cannot find FreeTDS in known installation directories


já tentei fazer inúmeras coisas, mas não consigo resolver, alguém já teve esse problema e resolveu?

Estou usando o RedHat 6.4


  


2. Re: Erro ao compilar PDO_DBLIB [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 13/06/2013 - 16:12h

tu tem o FreeTDS instalado ?


3. Re: Erro ao compilar PDO_DBLIB [RESOLVIDO]

Renato
renatoxtr

(usa Outra)

Enviado em 13/06/2013 - 16:37h

sim, está instalado


4. Re: Erro ao compilar PDO_DBLIB [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 13/06/2013 - 16:40h

usa o comando ./configure --help e verifica ai se não tem como adicionar também o parâmetro do FreeTDS no ./configure acho que é isso que falta pois acho que ele procura no diretório errado e acho tem que especificar o diretório do FreeTDS


5. Re: Erro ao compilar PDO_DBLIB [RESOLVIDO]

Renato
renatoxtr

(usa Outra)

Enviado em 13/06/2013 - 17:35h

nada feito, continua do mesmo jeito, mesmo fazendo o que vc falou.


6. Re: Erro ao compilar PDO_DBLIB [RESOLVIDO]

Renato
renatoxtr

(usa Outra)

Enviado em 17/06/2013 - 11:26h

Alguem pode me ajudar?






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts