| Summary: | Can't compile devel/p5-Locale-gettext on 9.0beta | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | oota <ribbon> |
| Component: | Individual Port(s) | Assignee: | Dmitry Sivachenko <demon> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Only Me | CC: | amdmi3, cs, nomalaid |
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
oota
2011-10-14 08:20:02 UTC
Responsible Changed From-To: freebsd-ports-bugs->demon Fix synopsis and assign. This exact problem exists on a fresh install of 8.2 as well. Adding -fstack-protector to the Makefile.PL check for -lintl fixes the issue for me in 8.2. On Thu, Oct 27, 2011 at 11:18:43AM -0500, Bryan Drewery wrote:
> Adding -fstack-protector to the Makefile.PL check for -lintl fixes the
> issue for me in 8.2.
What do I add a parameter to where?
Like this?
L14: $libs = "-fstack-protector -L$ENV{LOCALBASE}/lib -lintl -I$ENV{LOCALBASE}/include";
oota
On 10/28/2011 3:22 AM, ribbon wrote: > On Thu, Oct 27, 2011 at 11:18:43AM -0500, Bryan Drewery wrote: >> Adding -fstack-protector to the Makefile.PL check for -lintl fixes the >> issue for me in 8.2. > What do I add a parameter to where? > > Like this? > > L14: $libs = "-fstack-protector -L$ENV{LOCALBASE}/lib -lintl -I$ENV{LOCALBASE}/include"; > > oota Anywhere in there should work. Though I am using custom /etc/make.conf which uses -fstack-protector, so it may be limited to gettext built with that. On Fri, Oct 28, 2011 at 03:28:46AM -0500, Bryan Drewery wrote:
> >
> > Like this?
> >
> > L14: $libs = "-fstack-protector -L$ENV{LOCALBASE}/lib -lintl -I$ENV{LOCALBASE}/include";
> >
> > oota
>
> Anywhere in there should work. Though I am using custom /etc/make.conf
> which uses -fstack-protector, so it may be limited to gettext built with
> that.
Thanks for your quick reply.
I do "make clean;make extract;make patch" and
I add "-fstack-protector" in Makefile.PL and
I run make, but result was same.
----------------------------------------------------------------------------------------
# make
===> p5-Locale-gettext-1.05_3 depends on file: /usr/local/bin/perl5.14.1 - found
===> p5-Locale-gettext-1.05_3 depends on shared library: intl - found
===> Configuring for p5-Locale-gettext-1.05_3
checking for gettext... no
checking for gettext in -fstack-protector -L/usr/local/lib -lintl -I/usr/local/include... no
gettext function not found. Please install libintl at ./Makefile.PL line 18.
*** Error code 2
----------------------------------------------------------------------------------------
oota
Is this PR still relevant? wrong path.... in configure : /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/auto/Locale/gettext/gettext.so real path : /usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/Locale/gettext/gettext.so 5.16 <-> mach swap location The port had been building without problems for years. |