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

Re: <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: Re: <compilation problem> cote_expand.c:1:22: postgres.h : Aucun fichier ou répertoire de ce type
  • Date: Mon, 14 Nov 2005 02:02:56 +0100
  • Message-id: <7159e12c0511131702j6b509a85w(at)mail(dot)gmail(dot)com>

heuuuuu, ca va c'est régler... ce sont des headers et pas des librairies !!!!!

avait oublié :-D => -i et pas -l

dsl

bonne nuit a tous


Le 14/11/05, andy petrella <andy(dot)petrella(at)gmail(dot)com> a écrit :
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



--
/**\_____/**\_____/**\_____/**\_____/**\
]                        Signature :
]                    Andy Petrella
]             Rue dessous l'église, 17
]                      4450 Slins                              
]       mail: andy(dot)petrella(at)gmail(dot)com
]            <licencié en math, info>
]             dea S.I.G. (2005-2006)
\**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/

Home | Main Index | Thread Index

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