Thread: Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules

Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules

From
Lou Picciano
Date:
'Wacko', indeed, no?

It's make 3.81, as packaged with OpenIndiana.  gcc is 3.4.3.

Though I've been traditionally very reliant on Steve Christensen's 'Good Works' over at SunFreeware, the gang at OI are working hard to be very current.  Do you think it's a version thing?

Am about to re-do the build using above SunFreeware packages.  Will issue further action reports from The Front.

Regards, Lou Picciano 

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Lou Picciano" <loupicciano@comcast.net>
Cc: "pgsql-testers" <pgsql-testers@postgresql.org>, "pgsql-admin" <pgsql-admin@postgresql.org>
Sent: Sunday, October 10, 2010 11:45:47 AM
Subject: Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules

Lou Picciano <loupicciano@comcast.net> writes:
> Build from scratch of 9.0.1 (and 9.1-alpha1) is not building modules for some reason... All of core builds/installs fine. OpenIndiana (Solaris) x86.

> # cd ../contrib
> # make
> make: Fatal error in reader: ../src/Makefile.global, line 39: Unexpected end of line seen

That seems pretty wacko.  What version of make is that?

                        regards, tom lane

Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules

From
Tom Lane
Date:
Lou Picciano <loupicciano@comcast.net> writes:
> 'Wacko', indeed, no?
> It's make 3.81, as packaged with OpenIndiana. gcc is 3.4.3.

Hm, 3.81 is a pretty popular version, so that doesn't seem to be the
answer.  Did you look at exactly what was on the complained-of line?
It looks to me like it should be

    top_srcdir = $(top_builddir)

which seems unobjectionable.  But maybe there's something wrong
with your copy of Makefile.global.in.

BTW, was this a vpath build, or not?

            regards, tom lane