RE: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF

From: "Meskes, Michael" <meskes(at)topsystem(dot)de>
To: "'The Hermit Hacker'" <scrappy(at)hub(dot)org>, Constantin Teodorescu <teo(at)flex(dot)ro>
Cc: "Meskes, Michael" <meskes(at)topsystem(dot)de>, "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: RE: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF
Date: 1998-04-21 12:51:00
Message-ID: 11720CEF3853D011AC0C00A024B7A9E11125F9@einstein.topsystem.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yes, it is. But Marc, you made a small mistake. In configure you have to
check for template/linux-elf not linux-elf:

*** configure.orig Tue Apr 21 14:47:20 1998
--- configure Tue Apr 21 14:48:06 1998
***************
*** 670,676 ****

echo "$ac_t""$TEMPLATE" 1>&6

! if test "$TEMPLATE" = "linux-elf"; then
LINUX_ELF=yes
else
LINUX_ELF=no
--- 670,676 ----

echo "$ac_t""$TEMPLATE" 1>&6

! if test "$TEMPLATE" = "template/linux-elf"; then
LINUX_ELF=yes
else
LINUX_ELF=no

Also ecpg/lib/Makefile.in is not updated.

How about we make linux-elf the default, rename the template files and
check for linux-aout? That way, I wouldn't have to worry about my own
linux-elf-debug template, or the linux-elf-sparc template.

Michael

--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10

> -----Original Message-----
> From: The Hermit Hacker [SMTP:scrappy(at)hub(dot)org]
> Sent: Tuesday, April 21, 1998 2:53 PM
> To: Constantin Teodorescu
> Cc: Meskes, Michael; Thomas G. Lockhart; Bruce Momjian;
> PostgreSQL-development
> Subject: Re: [HACKERS] Re: [QUESTIONS] Configuration problems in
> PostgreSQ L 6.3.2 on Linux-ELF
>
> On Tue, 21 Apr 1998, Constantin Teodorescu wrote:
>
> > The Hermit Hacker wrote:
> > >
> > > There has to be a better method of determining
> this...doesn't
> > > there? Is there a test we can add to configure to auto-determine
> an 'ELF'
> > > system? Then just change the makefile so that it gets rid of the
> > > LINUX_ELF "stuff" with something that configure sets?
> > >
> > > There, try that. I have it so that if 'with-template' is
> > > linux_elf, it sets LINUX_ELF to yes in both Makefile's...let me
> know if
> > > that does it for you...
> >
> > I have experimented right now.
> >
> > I ran ./configure --with-template=linux-elf
> > It says that it will use template/linux-elf configuration file but I
> > looked into Makefiels in libpq and libpgtcl directories and none of
> them
> > contains LINUX_ELF=true
>
> This is with just new CVSup'd code? *raised eyebrow*
>
> There should be (interfaces/libpq/Makefile.in):
>
> # Shared library stuff
> shlib :=
> install-shlib-dep :=
> ifeq ($(PORTNAME), linux)
> LINUX_ELF=(at)LINUX_ELF@
> ifdef LINUX_ELF
> install-shlib-dep := install-shlib
> shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
> LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
> CFLAGS += $(CFLAGS_SL)
> endif
> endif
>
>

Browse pgsql-hackers by date

  From Date Subject
Next Message Constantin Teodorescu 1998-04-21 12:51:29 Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF
Previous Message The Hermit Hacker 1998-04-21 12:39:16 Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF