Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

<compilation problem> cote_expand.c:1:22: postgres.h : Aucun fichier ou répertoire de ce type


  • From: andy petrella <andy(dot)petrella(at)gmail(dot)com>
  • To: pgsql-fr-generale(at)postgresql(dot)org
  • Subject: <compilation problem> cote_expand.c:1:22: postgres.h : Aucun fichier ou répertoire de ce type
  • Date: Mon, 14 Nov 2005 01:54:14 +0100
  • Message-id: <7159e12c0511131654s37249b48w(at)mail(dot)gmail(dot)com>

Bonjour tout le monde,
Comme annoncé dans le  sujet, j'aimerais compiler un fichier .c mais l'include de postgres.h ne passe pas,
pourtant si je fais locate postgres.h => /usr/include/postgresql/8.0/server/postgres.h !
mais aussi :
locate spi.h => /usr/include/postgresql/8.0/server/executor/spi.h
de meme pour trigger.h
je compile un tout petit fichier sans dépendance donc juste comme suit :

gcc-3.4 -l/usr/include/postgresql/8.0/server/ -fpic -c cote_expand.c

résultat :
cote_expand.c:1:22: postgres.h : Aucun fichier ou répertoire de ce type
cote_expand.c:2:26: executor/spi.h : Aucun fichier ou répertoire de ce type
cote_expand.c:3:30: commands/trigger.h : Aucun fichier ou répertoire de ce type

[et tout ce qui s'en suit...]

Comprends po !

Pourtant je sais qu'il doit compiler car je ne fais qu'une migration de ma bd d'une mandrake a une debian (sarge, noyau 2.6)

Merci de votre aide.

andy


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group