Search Postgresql Archives

Re: Compilate problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yadisnel Galvez Velazquez wrote:
> I am working actually in an replication project. I need a trigger function but when I compile this, the C compilator return the log message:
> 
> # cc -fpic -c main.c

You're missing some -I directives (among other things).  I suggest you
compile this way:

cc $(pg_config --cflags) -I$(pg_config --includedir)/server -c main.c

You need pg_config to be in PATH for this to work.

PS: I suggest you use the pgsql-es-ayuda list for spanish help.  There's
people from @uci.cu there too.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux