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

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: 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:52:48
Message-ID: Pine.NEB.3.95.980421085203.11180M-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Maarten Boekhold 1998-04-21 13:49:46 Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF
Previous Message Constantin Teodorescu 1998-04-21 12:51:29 Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQ L 6.3.2 on Linux-ELF