troubble with contrib compile
hi all
i downloaded postgres8.2.4 sources , expand and
./configure and install with success.
Now i need one module from contrib directory ,
fuzzystrmatch
cd /postgres/contrib/fuzzymatchstr [ ok ]
make
throws
make
Makefile:15: ../../src/Makefile.global: No such file
or directory
Makefile:16: /contrib/contrib-global.mk: No such file
or directory
make: *** No rule to make target
`/contrib/contrib-global.mk'. Stop.
i'm wrong?
any clue?
best regards
mdc
more data : ( from select version() ).
"PostgreSQL 8.2.4 on i686-pc-linux-gnu, compiled by
GCC gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)"
__________________________________________________
Pregunt�. Respond�. Descubr�.
Todo lo que quer�as saber, y lo que ni imaginabas,
est� en Yahoo! Respuestas (Beta).
�Probalo ya!
http://www.yahoo.com.ar/respuestas
marcelo Cortez <jmdc_marcelo@yahoo.com.ar> writes:
i downloaded postgres8.2.4 sources , expand and
./configure and install with success.
Now i need one module from contrib directory ,
fuzzystrmatch
cd /postgres/contrib/fuzzymatchstr [ ok ]
make
throws
make
Makefile:15: ../../src/Makefile.global: No such file
or directory
You seem to have removed the results of configure. As a general rule
it's best to build the contrib modules in the same tree where you just
built the Postgres core --- they definitely need configure's outputs
and I think some of them require other files that get built along the
way.
If you are trying to match a previously built core system, be sure to
re-configure with the exact same configure options, else the contrib
modules may not work. pg_config --configure will help refresh your
memory if you forgot what you used ...
regards, tom lane
Tom
Thanks works fine!
best regards
mdc
--- Tom Lane <tgl@sss.pgh.pa.us> escribi�:
marcelo Cortez <jmdc_marcelo@yahoo.com.ar> writes:
i downloaded postgres8.2.4 sources , expand and
./configure and install with success.
Now i need one module from contrib directory ,
fuzzystrmatch
cd /postgres/contrib/fuzzymatchstr [ ok ]
make
throwsmake
Makefile:15: ../../src/Makefile.global: No suchfile
or directory
You seem to have removed the results of configure.
As a general rule
it's best to build the contrib modules in the same
tree where you just
built the Postgres core --- they definitely need
configure's outputs
and I think some of them require other files that
get built along the
way.If you are trying to match a previously built core
system, be sure to
re-configure with the exact same configure options,
else the contrib
modules may not work. pg_config --configure will
help refresh your
memory if you forgot what you used ...regards, tom lane
---------------------------(end of
broadcast)---------------------------
TIP 6: explain analyze is your friend
__________________________________________________
Pregunt�. Respond�. Descubr�.
Todo lo que quer�as saber, y lo que ni imaginabas,
est� en Yahoo! Respuestas (Beta).
�Probalo ya!
http://www.yahoo.com.ar/respuestas