pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedbuild from Source: 9.0.1 / 9.1-alpha1 cannot build modules
8+ messages / 3 participants
[nested] [flat]
* build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-10 13:57 Lou Picciano <loupicciano@comcast.net>
0 siblings, 1 reply; 8+ messages in thread
From: Lou Picciano @ 2010-10-10 13:57 UTC (permalink / raw)
To: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
Hello gang!
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.
Neither # make world nor cd /contrib, make, work.
# cd ../contrib
# make
make: Fatal error in reader: ../src/Makefile.global, line 39: Unexpected end of line seen
OK, so I'm off to check out the Makefile... !
Any ideas?
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-10 15:45 Tom Lane <tgl@sss.pgh.pa.us>
parent: Lou Picciano <loupicciano@comcast.net>
0 siblings, 0 replies; 8+ messages in thread
From: Tom Lane @ 2010-10-10 15:45 UTC (permalink / raw)
To: Lou Picciano <loupicciano@comcast.net>; +Cc: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-10 16:22 Lou Picciano <loupicciano@comcast.net>
0 siblings, 1 reply; 8+ messages in thread
From: Lou Picciano @ 2010-10-10 16:22 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
'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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-10 16:53 Tom Lane <tgl@sss.pgh.pa.us>
parent: Lou Picciano <loupicciano@comcast.net>
0 siblings, 0 replies; 8+ messages in thread
From: Tom Lane @ 2010-10-10 16:53 UTC (permalink / raw)
To: Lou Picciano <loupicciano@comcast.net>; +Cc: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-10 17:14 Lou Picciano <loupicciano@comcast.net>
0 siblings, 1 reply; 8+ messages in thread
From: Lou Picciano @ 2010-10-10 17:14 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
Yes, that's the line. Have even edited to be sure it's got a proper CR, etc.
No, haven't even touched on vpath yet... Happy to try - what to test?
What to check for in Makefile.global.in? Looks pretty good in cursory overview.
Time to move to SunStudio? Better binary performance?
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 12:53:26 PM
Subject: Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: [TESTERS] Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-11 19:01 Josh Berkus <josh@agliodbs.com>
parent: Lou Picciano <loupicciano@comcast.net>
0 siblings, 0 replies; 8+ messages in thread
From: Josh Berkus @ 2010-10-11 19:01 UTC (permalink / raw)
To: Lou Picciano <loupicciano@comcast.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-testers@postgresql.org; pgsql-admin
On 10/10/10 10:14 AM, Lou Picciano wrote:
> Yes, that's the line. Have even edited to be sure it's got a proper CR,
> etc.
>
> No, haven't even touched on vpath yet... Happy to try - what to test?
>
> What to check for in Makefile.global.in? Looks pretty good in cursory
> overview.
Bjorn also warns that you might not have 64-bit perl available, even
when you get the script issue resolved.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-11 21:06 Lou Picciano <loupicciano@comcast.net>
0 siblings, 1 reply; 8+ messages in thread
From: Lou Picciano @ 2010-10-11 21:06 UTC (permalink / raw)
To: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
Tom,
Turns out the make problem was actually one of my issuing 'make'. IE, the resolution was simply issuing 'gmake' explicitly. To add some special sauce to the recipe, the 'make' of the core server went without a hitch; was only the build of modules which did not work.... Kinda misleading.
Back in openSolaris days, by whatever PATH Black Magic, my habitual 'make' commands were actually getting to gnu make. Not so in default current builds of OpenIndiana. This may be of some use to someone.
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 12:53:26 PM
Subject: Re: [ADMIN] build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules
@ 2010-10-11 23:20 Tom Lane <tgl@sss.pgh.pa.us>
parent: Lou Picciano <loupicciano@comcast.net>
0 siblings, 0 replies; 8+ messages in thread
From: Tom Lane @ 2010-10-11 23:20 UTC (permalink / raw)
To: Lou Picciano <loupicciano@comcast.net>; +Cc: pgsql-testers <pgsql-testers@postgresql.org>; pgsql-admin
Lou Picciano <loupicciano@comcast.net> writes:
> Turns out the make problem was actually one of my issuing 'make'. IE, the resolution was simply issuing 'gmake' explicitly. To add some special sauce to the recipe, the 'make' of the core server went without a hitch; was only the build of modules which did not work.... Kinda misleading.
That is interesting. What exactly is plain "make" invoking? In the
past, people trying to use non-GNU make have not gotten anywhere near
getting through a whole build --- and we've certainly not removed any
of our gmake-isms. It seems like you must have something that's sort
of 89% gmake, but not quite all the way there.
regards, tom lane
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2010-10-11 23:20 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-10-10 13:57 build from Source: 9.0.1 / 9.1-alpha1 cannot build modules Lou Picciano <loupicciano@comcast.net>
2010-10-10 15:45 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-10-10 16:22 Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules Lou Picciano <loupicciano@comcast.net>
2010-10-10 16:53 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-10-10 17:14 Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules Lou Picciano <loupicciano@comcast.net>
2010-10-11 19:01 ` Josh Berkus <josh@agliodbs.com>
2010-10-11 21:06 Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules Lou Picciano <loupicciano@comcast.net>
2010-10-11 23:20 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox