Re: pl/perl won't build under 7.1.3

Поиск
Список
Период
Сортировка
От Jim Buttafuoco
Тема Re: pl/perl won't build under 7.1.3
Дата
Msg-id 200111261707.fAQH7c026854@server3.spectrumtelecorp.com
обсуждение исходный текст
Ответ на pl/perl won't build under 7.1.3  ("-wiseguy" <no-one@all.net>)
Список pgsql-general
Hi,

I "fixed" the Makefile.PL script under src/pl/plperl and
removed the if ($Config{'useshrplib'} ne 'true') { ... } code.

This will link in the static libperl.a file.  The only down side
of this is your libplperl.so file is going to be larger.

Let me know if this works for you also.

Jim

PS. Running on RedHat Linux version 4.x to 7.2 with the above hack.




> "-wiseguy" <no-one@all.net> writes:
>
> > Hi:
> >
> > Why won't pl/perl build under the install for postgresql 7.1.3?  My
perl
> > installation only has libperl in the archive format (libperl.a) and
the perl
> > makefile calls for libperl.so...building perl form scratch is not an
option.
> > Is there a quick hack to allow pl/perl to build using libperl.a?
>
> You need a dynamic library for dynamic extensions, you can't use a
> static library.
>
> --
> Trond Eivind Glomsrød
> Red Hat, Inc.
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>



В списке pgsql-general по дате отправления:

Предыдущее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: pl/perl won't build under 7.1.3
Следующее
От: kdebisschop
Дата:
Сообщение: Re: pl/perl won't build under 7.1.3