Olá Marcelo...
acho que não é só essa biblioteca que você precisa... está faltando
mais coisa... arquivos .h são arquivos de cabeçalho... pela mensagem
de erro que deu, para continuar a instalação você precisa do arquivo
mysql.h, e muito provavelmente alguns outros...
quais pacotes do Mysql você têm instalado, e quais estão disponíveis
para instalar pelo repositório do Fedora?
Carlos
2008/8/19 Marcelo Gomes <marcelo@...>:
> Olá, Carlos!
>
> Então eu baixei o libevent-1.4.6 e compilou sem problemas...nao seria
> essa a biblioteca?? se não for aonde eu poderia baixar????
> alguem tem uma documentacao bacana para o Fedora, ate pq achei varios só
> que para FreeBSD ou Debian....
>
> Abracos, Marcelo!
>
> On Tue, 2008-08-19 at 16:48 -0300, Carlos Mello Jr wrote:
>> Olá Marcelo.
>>
>> Muito provavelmente você está sem as bibliotecas de desenvolvimento do
>> Mysql.
>> "mysql.h:52:19: mysql.h: No such file or directory".
>>
>> Faça o teste... qualquer coisa poste aqui de novo.
>>
>> Abraços,
>>
>> Carlos
>>
>> 2008/8/19 Marcelo Gomes <marcelo@...>:
>> > Boa Tarde!
>> >
>> > Pessoal alguem poderia me ajudar com relacão a instalacão do
>> > Msn-Proxy...ou seja...estou instalando mas está dando um erro qdo
>> > executo o comando make....alguem poderia me ajudar.???..alias uso o
>> > FEDORA CORE REALEASE 2.....
>> >
>> > [root@firewall msn-proxy]# make |more
>> > cc -g -Wall -O2 -pipe -I/usr/local/include -I/usr/local/include
>> > -fno-builtin-log
>> > -c msn-proxy.c
>> > In file included from config.h:30,
>> > from net-io.h:28,
>> > from msn-proxy.c:33:
>> > mysql.h:52:19: mysql.h: No such file or directory
>> > In file included from config.h:30,
>> > from net-io.h:28,
>> > from msn-proxy.c:33:
>> > mysql.h:68: error: syntax error before "MYSQL"
>> > mysql.h:68: warning: no semicolon at end of struct or union
>> > mysql.h:77: error: syntax error before '}' token
>> > mysql.h:77: warning: type defaults to `int' in declaration of
>> `mysql_'
>> > mysql.h:77: warning: data definition has no type or storage class
>> > mysql.h:79: error: syntax error before "db_fetch_row"
>> > mysql.h:79: error: syntax error before '*' token
>> > mysql.h:79: warning: type defaults to `int' in declaration of
>> > `db_fetch_row'
>> > mysql.h:79: warning: data definition has no type or storage class
>> > mysql.h:80: error: syntax error before '*' token
>> > mysql.h:81: error: syntax error before '*' token
>> > mysql.h:82: error: syntax error before '*' token
>> > mysql.h:83: error: syntax error before '*' token
>> > mysql.h:83: error: syntax error before '*' token
>> > mysql.h:83: warning: type defaults to `int' in declaration of
>> `db_free'
>> > mysql.h:83: warning: data definition has no type or storage class
>> > mysql.h:84: error: syntax error before '*' token
>> > mysql.h:85: error: syntax error before '*' token
>> > mysql.h:85: error: syntax error before '*' token
>> > mysql.h:85: warning: type defaults to `int' in declaration of
>> `db_query'
>> > mysql.h:85: warning: data definition has no type or storage class
>> > mysql.h:86: error: syntax error before '*' token
>> > mysql.h:87: error: syntax error before '*' token
>> > mysql.h:88: error: syntax error before '*' token
>> > mysql.h:89: error: syntax error before '*' token
>> > mysql.h:90: error: syntax error before '*' token
>> > mysql.h:91: error: `db_init' declared as function returning a
>> function
>> > mysql.h:92: error: syntax error before "void"
>> > mysql.h:93: error: syntax error before '*' token
>> > mysql.h:94: error: syntax error before '*' token
>> > In file included from net-io.h:28,
>> > from msn-proxy.c:33:
>> > config.h:76: error: syntax error before "mysql_"
>> > config.h:76: warning: no semicolon at end of struct or union
>> > config.h:90: error: syntax error before '}' token
>> > config.h:90: warning: type defaults to `int' in declaration of
>> `config_'
>> > config.h:90: warning: data definition has no type or storage class
>> > config.h:92: error: syntax error before '*' token
>> > config.h:93: error: syntax error before '*' token
>> > config.h:94: error: syntax error before '*' token
>> > config.h:95: error: syntax error before '*' token
>> > config.h:96: error: syntax error before '*' token
>> > config.h:97: error: syntax error before '*' token
>> > config.h:99: error: syntax error before '*' token
>> > In file included from msn-proxy.c:35:
>> > msn-proxy.h:108: error: syntax error before "config"
>> > msn-proxy.h:108: warning: type defaults to `int' in declaration of
>> > `config'
>> > msn-proxy.h:108: warning: data definition has no type or storage
>> class
>> > msn-proxy.c:38: error: syntax error before "config"
>> > msn-proxy.c:38: warning: type defaults to `int' in declaration of
>> > `config'
>> > msn-proxy.c:38: warning: data definition has no type or storage
>> class
>> > msn-proxy.c: In function `detach':
>> > msn-proxy.c:64: error: request for member `log' in something not a
>> > structure or union
>> > msn-proxy.c: In function `main':
>> > msn-proxy.c:92: error: request for member `log' in something not a
>> > structure or union
>> > msn-proxy.c:115: error: request for member `file' in something not a
>> > structure or union
>> > msn-proxy.c:167: error: request for member `mysql' in something not
>> a
>> > structure or union
>> > msn-proxy.c:171: error: request for member `mysql' in something not
>> a
>> > structure or union
>> > msn-proxy.c:183: error: request for member `backlog' in something
>> not a
>> > structure or union
>> > msn-proxy.c:189: error: request for member `listen_port' in
>> something
>> > not a structure or union
>> > msn-proxy.c:190: error: request for member `backlog' in something
>> not a
>> > structure or union
>> > make: *** [msn-proxy.o] Error 1
>> > [root@firewall msn-proxy]#
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> Carlos Mello Jr
>> Seja Livre, Use Linux!
>>
>>
>>
>>
>
>
--
Carlos Mello Jr
Seja Livre, Use Linux!