Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 3C4819FB4B7 for ; Sat, 17 Feb 2007 10:18:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 91131-04 for ; Sat, 17 Feb 2007 10:18:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from perth.mailnetwork.co.uk (perth.mailnetwork.co.uk [80.175.28.46]) by postgresql.org (Postfix) with ESMTP id 75E1A9FB4B4 for ; Sat, 17 Feb 2007 10:18:13 -0400 (AST) Received: from user-3e88bf95.telcl18.dsl.pol.co.uk ([62.136.191.149]:2479 helo=[10.100.9.2]) by perth.mailnetwork.co.uk with esmtpa (Exim 4.66) (envelope-from ) id 1HIQOD-0004wD-QM; Sat, 17 Feb 2007 14:18:13 +0000 Message-ID: <45D70EA2.30005@mailnetwork.co.uk> Date: Sat, 17 Feb 2007 14:18:10 +0000 From: "Andy Shellam (Mailing Lists)" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: "Andy Shellam (Mailing Lists)" CC: PostgreSQL Admin Mailing List Subject: Re: 8.2 Admin Pack broken? References: <45D70D36.8020306@mailnetwork.co.uk> In-Reply-To: <45D70D36.8020306@mailnetwork.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.293 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_PASS X-Spam-Level: X-Archive-Number: 200702/256 X-Sequence-Number: 24721 Never mind, I found the problem. FYI: Reports on Google are wrong - they say that you need to use "gmake" to build the PostgreSQL server source. You don't. I had installed GNU make on FreeBSD, but it installs it under "/usr/local/bin/make" - of which the Unix version of make exists under "/usr/bin/make." Just typing "make" builds PostgreSQL just fine with the Unix make. However, the contrib modules *won't* build with the Unix make - I had to run "/usr/local/bin/make" instead of just "make." HTH someone, Andy. Andy Shellam (Mailing Lists) wrote: > I'm trying to compile in the "adminpack" into PostgreSQL 8.2.3, but it > doesn't want to build. > > According to the instructions, I change into "contrib/adminpack" and > run "make" followed by "make install." > > However, make fails: > > [NetServe@byron > /endeavour/software/cache/postgresql-8.2.3/contrib/adminpack]$ make > "Makefile", line 8: Need an operator > "Makefile", line 10: Could not find > "Makefile", line 11: Need an operator > "../../src/Makefile.global", line 38: Missing dependency operator > "../../src/Makefile.global", line 41: Need an operator > > --8<-- lots more of the above line --8<-- > > "../../src/Makefile.global", line 109: Missing dependency operator > "../../src/Makefile.global", line 110: Need an operator > > --8<-- lots more of the above 2 lines --8<-- > > "../../src/Makefile.port", line 3: Need an operator > "../../src/Makefile.port", line 12: Missing dependency operator > > --8<-- more of the above 2 lines --8<-- > > "../../src/Makefile.global", line 324: Missing dependency operator > "../../src/Makefile.global", line 326: Need an operator > > --8<-- lots more of the above 2 lines --8<-- > > "/endeavour/software/cache/postgresql-8.2.3/src/../src/nls-global.mk", > line 25: Could not find > /endeavour/software/cache/postgresql-8.2.3/src/../contrib/adminpack/nls.mk > > "/endeavour/software/cache/postgresql-8.2.3/src/../src/nls-global.mk", > line 29: Need an operator > > --8<-- 4 more of the above line --8<-- > > Error expanding embedded variable. > [NetServe@byron > /endeavour/software/cache/postgresql-8.2.3/contrib/adminpack]$ > > This is on FreeBSD 6.1, I've built and installed PostgreSQL 8.2.3 > (running nicely) - I have Bison and M4 installed - is there anything > else I need? > The "nls-global.mk" and "nls.mk" files don't exist. > > Any help would be appreciated! > > Thanks, > > Andy. > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: You can help support the PostgreSQL project by donating at > > http://www.postgresql.org/about/donate > > !DSPAM:37,45d70d9518515637015809! > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834