Boa noite
Em 08/11/2012 15:30, [email protected] escreveu:
> Send pgbr-geral mailing list submissions to
>       [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
> or, via email, send a message with subject or body 'help' to
>       [email protected]
>
> You can reach the person managing the list at
>       [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pgbr-geral digest..."
>
>
> Tópicos de Hoje:
>
>     1. Re: Compilar Postgresql-9.0.10 portuguese-brazil com
>        uuid-ossp e, possivel (Flavio Henrique Araque Gurgel)
>     2. Re: Erro Npgsql 2.0.12 + .Net + Framework 2.0 (David Terra Alves)
>     3. PGDay São Paulo 2012 - Agora no IPTV da USP
>        (Fábio Telles Rodriguez)
>     4. Re: Cópia regular do banco (Euler Taveira)
>     5. Re: Fwd: Re: Digest pgbr-geral, volume 47, assunto 7 (JotaComm)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 08 Nov 2012 13:50:05 -0200
> From: Flavio Henrique Araque Gurgel <[email protected]>
> Subject: Re: [pgbr-geral] Compilar Postgresql-9.0.10 portuguese-brazil
>       com     uuid-ossp e, possivel
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Cuidado com as respostas aos resumos diários.
> Quebra o assunto. Edite o assunto ao responder ou use o modo não resumo.
>
> Em 08-11-2012 11:22, Luiz Gonzaga escreveu:
>> Na compilaçao
>>
>> ./configure -with-uuid-ossp -enable-nls=pt_BR
>>
>> retorno
>> configure: WARNING: unrecognized options: --with-uuid-ossp
> Isso não está disponível em tempo de compilação.
>
>> na aplicaçao
>> could not acess file "$libdir/uuid-ossp" Arquivo ou diretorio nao encontrado
> Porque justamente não está instalado.
>
>> Como proceder
> Em PostgreSQL 9.0 ou superior, como superusuário, já conectado no banco
> de dados certo:
> CREATE EXTENSION "uuid-ossp";

Consegui criar a extension
psql create extension uuid-ossp
>
> Em qualquer versão do PostgreSQL, cd para o diretório onde está o código
> fonte primeiro, então:
> cd contrib/uuid-ossp
> make
> make install
No /usr/local/src/postgresql-9.0.10/contrib/uuid-ossp
Make
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing 
-fwrapv -fpic -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o 
uuid-ossp.o uuid-ossp.c
uuid-ossp.c:29:2: error: #error OSSP uuid.h not found
uuid-ossp.c:35:2: error: #error UUID length mismatch
uuid-ossp.c:68: error: expected â)â before ârcâ
uuid-ossp.c:83: warning: type defaults to âintâ in declaration of âuuid_tâ
uuid-ossp.c:83: error: expected â;â, â,â or â)â before â*â token
uuid-ossp.c:99: error: expected declaration specifiers or â...â before 
âuuid_tâ
uuid-ossp.c: In function âstring_to_uuidâ:
uuid-ossp.c:101: error: âuuid_rc_tâ undeclared (first use in this function)
uuid-ossp.c:101: error: (Each undeclared identifier is reported only once
uuid-ossp.c:101: error: for each function it appears in.)
uuid-ossp.c:101: error: expected â;â before ârcâ
uuid-ossp.c:103: error: ârcâ undeclared (first use in this function)
uuid-ossp.c:103: warning: implicit declaration of function âuuid_importâ
uuid-ossp.c:103: error: âuuidâ undeclared (first use in this function)
uuid-ossp.c:103: error: âUUID_FMT_STRâ undeclared (first use in this 
function)
uuid-ossp.c:103: error: âUUID_LEN_STRâ undeclared (first use in this 
function)
uuid-ossp.c:104: error: âUUID_RC_OKâ undeclared (first use in this function)
uuid-ossp.c:105: warning: implicit declaration of function âpguuid_complainâ
uuid-ossp.c: In function âspecial_uuid_valueâ:
uuid-ossp.c:112: error: âuuid_tâ undeclared (first use in this function)
uuid-ossp.c:112: error: âuuidâ undeclared (first use in this function)
uuid-ossp.c:113: warning: ISO C90 forbids mixed declarations and code
uuid-ossp.c:114: error: âuuid_rc_tâ undeclared (first use in this function)
uuid-ossp.c:114: error: expected â;â before ârcâ
uuid-ossp.c:116: error: ârcâ undeclared (first use in this function)
uuid-ossp.c:116: warning: implicit declaration of function âuuid_createâ
uuid-ossp.c:117: error: âUUID_RC_OKâ undeclared (first use in this function)
uuid-ossp.c:119: warning: implicit declaration of function âuuid_loadâ
uuid-ossp.c:122: warning: implicit declaration of function âuuid_to_stringâ
uuid-ossp.c:122: warning: assignment makes pointer from integer without 
a cast
uuid-ossp.c:123: warning: implicit declaration of function âuuid_destroyâ
uuid-ossp.c: At top level:
uuid-ossp.c:167: warning: type defaults to âintâ in declaration of âuuid_tâ
uuid-ossp.c:167: error: expected â;â, â,â or â)â before â*â token
uuid-ossp.c: In function âuuid_generate_v1â:
uuid-ossp.c:191: warning: implicit declaration of function 
âuuid_generate_internalâ
uuid-ossp.c:191: error: âUUID_MAKE_V1â undeclared (first use in this 
function)
uuid-ossp.c: In function âuuid_generate_v1mcâ:
uuid-ossp.c:198: error: âUUID_MAKE_V1â undeclared (first use in this 
function)
uuid-ossp.c:198: error: âUUID_MAKE_MCâ undeclared (first use in this 
function)
uuid-ossp.c: In function âuuid_generate_v35_internalâ:
uuid-ossp.c:205: error: âuuid_tâ undeclared (first use in this function)
uuid-ossp.c:205: error: âns_uuidâ undeclared (first use in this function)
uuid-ossp.c:206: warning: ISO C90 forbids mixed declarations and code
uuid-ossp.c:207: error: âuuid_rc_tâ undeclared (first use in this function)
uuid-ossp.c:207: error: expected â;â before ârcâ
uuid-ossp.c:209: error: ârcâ undeclared (first use in this function)
uuid-ossp.c:210: error: âUUID_RC_OKâ undeclared (first use in this function)
uuid-ossp.c:213: error: too many arguments to function âstring_to_uuidâ
uuid-ossp.c: In function âuuid_generate_v3â:
uuid-ossp.c:233: error: âUUID_MAKE_V3â undeclared (first use in this 
function)
uuid-ossp.c: In function âuuid_generate_v4â:
uuid-ossp.c:240: error: âUUID_MAKE_V4â undeclared (first use in this 
function)
uuid-ossp.c: In function âuuid_generate_v5â:
uuid-ossp.c:250: error: âUUID_MAKE_V5â undeclared (first use in this 
function)
make: ** [uuid-ossp.o] Erro 1
[root@S4 uuid-ossp]# uuid-ossp.c:250: error: âUUID_MAKE_V5â undeclared 
(first use in this function)
bash: erro de sintaxe próximo do `token' não esperado `('
[root@S4 uuid-ossp]# make: ** [uuid-ossp.o] Erro 1
bash: make:: comando não encontrado


Como proceder na sequencia???

Desde ja agradecendo

Luiz Gonzaga





>
> []s
>
> __________________________________
> Flavio Henrique A. Gurgel
> Líder de Projetos Especiais
> Consultoria, Projetos & Treinamentos 4LINUX
> Tel1: +55-11.2125-4747 ou 2125-4748
> www.4linux.com.br
> email: [email protected]
> ______________________________
> FREE SOFTWARE SOLUTIONS
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 Nov 2012 14:00:06 -0200
> From: David Terra Alves <[email protected]>
> Subject: Re: [pgbr-geral] Erro Npgsql 2.0.12 + .Net + Framework 2.0
> To: [email protected],     Comunidade PostgreSQL Brasileira
>       <[email protected]>
> Message-ID:
>       <cacdpwv+igbyhtmhso_wyngjdz_h61ougiyhr93kn5wcarcn...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Estou usando a versão Npgsql 2.0.12 (Npgsql2.0.12.0-bin-ms.net2.0.zip)
>
>
> *Message*: The type initializer for 'NpgsqlTypes.NpgsqlTypesHelper' threw
> an exception.
> *StackTrace*:    at
> NpgsqlTypes.NpgsqlTypesHelper.CreateAndLoadInitialTypesMapping(NpgsqlConnector
> conn)
>     at Npgsql.NpgsqlConnector.Open()
>     at Npgsql.NpgsqlConnectorPool.GetPooledConnector(NpgsqlConnection
> Connection)
>     at
> Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(NpgsqlConnection
> Connection)
>     at Npgsql.NpgsqlConnectorPool.RequestPooledConnector(NpgsqlConnection
> Connection)
>     at Npgsql.NpgsqlConnectorPool.RequestConnector(NpgsqlConnection
> Connection)
>     at Npgsql.NpgsqlConnection.Open()
>     at GeralzaoDosTestes.Form1.button1_Click(Object sender, EventArgs e)
> *Source*: Npgsql
> *InnerException*: System.TypeLoadException: Could not load type
> 'System.DateTimeOffset' from assembly 'mscorlib, Version=2.0.0.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089'.
>     at NpgsqlTypes.NpgsqlTypesHelper.PrepareDefaultTypesMap()
>     at NpgsqlTypes.NpgsqlTypesHelper..cctor()
>
> Obrigado
>
>
> 2012/11/8 Francisco Figueiredo Jr. <[email protected]>
>
>> Que versão do Npgsql vc está usando?
>>
>> Na parte de downloads, temos uma versão que é compilada para ser usada
>> pelo .net 3.5 e 4.0 com Entity Framework.
>>
>> Outro detalhe, vc não postou a exceção que foi gerada. Você só colocou o
>> stacktrace. Você poderia escrever a exceção que foi lançada? Dessa forma a
>> gente pode saber exatamente o erro que foi gerado.
>>
>> Obrigado!
>>
>>
>>
>> 2012/11/8 David Terra Alves <[email protected]>
>>
>>> Se dá pelo fato que tenho 800 pdvs e desses 500 ainda utilizando Windows
>>> Xp sem framework 3.5 e para envio de atualizações automáticas fica inviável.
>>>
>>> É possível que o Npgsql não tenha sido compilado com framework 2.0 e
>>> estas seja a causa do erro?
>>>
>>>
>>> 2012/11/8 Flávio Alves Granato <[email protected]>
>>>
>>>> David Terra Alves writes:
>>>>
>>>>> Bom dia,
>>>>>
>>>>> Estou executando uma aplicação simples em C# com o framework 2.0 e
>>>>> Npgsql2.0.12.0-bin-ms.net2.0.zip<
>>>> http://pgfoundry.org/frs/download.php/3353/Npgsql2.0.12.0-bin-ms.net2.0.zip
>>>>> está
>>>>> retornando erro de NpgsqlTypes.NpgsqlTypesHelper porem quando instalo o
>>>>> framework 3.5 e erro não ocorre. Alguém tem alguma dica?
>>>> É a mesma questão da outra thread, use o framework 3.5. Porque não
>>>> atualizar?
>>>>
>>>>> Obrigado.
>>>>>
>>>>
>>>> --
>>>> Flávio Alves Granato
>>>> gpg: 968F:A938:70B9:82C7:5198:2C74:13CB:2C25:EF1E:726D
>>>> _______________________________________________
>>>> pgbr-geral mailing list
>>>> [email protected]
>>>> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>>>>
>>>
>>> _______________________________________________
>>> pgbr-geral mailing list
>>> [email protected]
>>> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>>>
>>>
>>
>> --
>> Regards,
>>
>> Francisco Figueiredo Jr.
>> Npgsql Lead Developer
>> http://www.npgsql.org
>> http://gplus.to/franciscojunior
>> http://fxjr.blogspot.com
>> http://twitter.com/franciscojunior
>>
>> _______________________________________________
>> pgbr-geral mailing list
>> [email protected]
>> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>>
>>
> -------------- Próxima Parte ----------
> Um anexo em HTML foi limpo...
> URL: 
> http://listas.postgresql.org.br/pipermail/pgbr-geral/attachments/20121108/c42eb10e/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Thu, 8 Nov 2012 14:00:07 -0200
> From: Fábio Telles Rodriguez <[email protected]>
> Subject: [pgbr-geral] PGDay São Paulo 2012 - Agora no IPTV da USP
> To: Comunidade PostgreSQL Brasileira
>       <[email protected]>
> Message-ID:
>       <caay+2jyqzm4nru+rdvyhxxcqbwt_k_7n0yzw5jh96cwyqyk...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Amanhã estará acontecendo o PGDay São Paulo 2012, pela primeira vez
> realizado na USP. O site do evento você já conhece:
> http://www.postgresql.org.br/eventos/2012/pgday/sp
>
> Bom, as inscrições ainda estão abertas no site e da última vez que eu vi,
> ainda tinham algumas vagas, mas já sabemos que o auditório vai praticamente
> lotar. Então, se você quer ir, se inscreva AGORA. Sim, a entrada é franca.
>
> Se você não for lá...
>
>    - Não vai conhecer o campus da Cidade Universitaria da USP, a maior
> universidade da América Latina.
>    - Não vai conhecer os palestrantes e dezenas de profissionais que
> trabalham com PostgreSQL de SP, SC (parece até que tem uma caravana vindo
> de lá...), PR, DF, PI e outros cantos do Brasil
>    - Não vai curtir o coffee break gentilmente oferecido pelos
> patrocinadores;
>    - Não vai poder fazer perguntas nas palestras ou participar do debate no
> encerramento;
>    - Não vai poder tomar cerveja com a turma ou rever velhos amigos de
> outros eventos de Postgres
>
> MAS.... vai poder assistir as palestras ao vivo pelo IPTV da USP no
> http://iptv.usp.br !!!
>
> Portanto, se você não tiver como vir, aproveite para dar uma sapeada no
> site e acompanhar algumas palestras.
>

_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a