Re: --enable-perl doesn't like Solaris
От | Peter Eisentraut |
---|---|
Тема | Re: --enable-perl doesn't like Solaris |
Дата | |
Msg-id | Pine.LNX.4.30.0103251651480.941-100000@peter.localdomain обсуждение исходный текст |
Ответ на | --enable-perl doesn't like Solaris (pgsql-bugs@postgresql.org) |
Список | pgsql-bugs |
> Justin Clift (jclift@iprimus.com.au) reports a bug with a severity of 3 > It appears that the ./configure script is defining -KPIC somewhere in > the perl interface stuff, and this is causing the "make" to bomb out. > I'm pretty sure from memory that -KPIC is not something that gcc on > Solaris likes, and will need to be -fPIC -shared or something else. The Perl build environment is not provided by us, it comes from the ExtUtils::MakeMaker module. MakeMaker is misdesigned in that it assumes that the user will use the same compiler for building his modules as the one he used for building perl itself. So if you got Perl from Sun, then it's likely to have been compiled by Sun's cc. Solution 1 is to hack MakeMaker and/or the Makefile it generates to fix the options. (Replacing -KPIC by -fPIC might do.) Solution 2 is to recompile Perl with gcc. This would also give you a chance to build a shared libperl, so you can use PL/Perl. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-bugs по дате отправления: