Thread: Compiling contrib module - intarray

Compiling contrib module - intarray

From
Jonathan Tse
Date:
Hi list,

    I just downloaded 8.03 source and try to compile the contrib module
intarray by following the instruction in readme. However, I got the
following error:

$ gmake
Makefile:15: ../../src/Makefile.global: No such file or directory
Makefile:16: /contrib/contrib-global.mk: No such file or directory
gmake: *** No rule to make target `/contrib/contrib-global.mk'.  Stop.

    Could someone point me the correct way? Many many thanks in advance.

Best regards,
Jonathan




Re: Compiling contrib module - intarray

From
Tom Lane
Date:
Jonathan Tse <dev@tsez.net> writes:
>     I just downloaded 8.03 source and try to compile the contrib module
> intarray by following the instruction in readme. However, I got the
> following error:

You need to run "configure" at the top of the distribution tree first.
Be sure to give configure the same arguments that were used to build
the installation you want to add the contrib module to.  (pg_config
can remind you of them.)

            regards, tom lane