Minor make bug on AIX

Started by Pete Formanover 25 years ago3 messagespatches
Jump to latest
#1Pete Forman
gsez020@kryten.bedford.waii.com

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Pete Forman
Your email address : pete.forman@westgeo.com

System Configuration
---------------------
Architecture (example: Intel Pentium) : RS6000 POWER3

Operating System (example: Linux 2.0.26 ELF) : AIX 4.3.2

PostgreSQL version (example: PostgreSQL-7.0): PostgreSQL-7.0.3

Compiler used (example: gcc 2.8.0) : xlc 3.6.6

Please enter a FULL description of your problem:
------------------------------------------------

"gmake" with no arguments fails. postgres.imp is made before objects
that it depends on. "gmake all" works.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

gmake

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Makefile.ports (copied from makefiles/Makefile.aix) is included before
the default target in GNUmakefile is reached. This patch calls that
default target.

Attachments:

makefile_aix.patchtext/plainDownload+4-0
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Pete Forman (#1)
Re: Minor make bug on AIX

Pete Forman writes:

"gmake" with no arguments fails. postgres.imp is made before objects
that it depends on. "gmake all" works.

Makefile.ports (copied from makefiles/Makefile.aix) is included before
the default target in GNUmakefile is reached. This patch calls that
default target.

It would be better to just mention the target 'all:' near the top of
Makefile.global.

This is fixed in current sources, in case someone pondered applying the
patch there, too.

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

#3Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#2)
Re: Minor make bug on AIX

Oops, backed out.

Pete Forman writes:

"gmake" with no arguments fails. postgres.imp is made before objects
that it depends on. "gmake all" works.

Makefile.ports (copied from makefiles/Makefile.aix) is included before
the default target in GNUmakefile is reached. This patch calls that
default target.

It would be better to just mention the target 'all:' near the top of
Makefile.global.

This is fixed in current sources, in case someone pondered applying the
patch there, too.

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/3text/plainDownload+4-0