Skip Menu |

This queue is for tickets about the Algorithm-LBFGS CPAN distribution.

Report information
The Basics
Id: 34034
Status: open
Priority: 0/
Queue: Algorithm-LBFGS

People
Owner: Nobody in particular
Requestors: taro.nishino [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: LIBS parameter in WriteMakefile of Makefile.PL
Hi, Laye, Since 0.01, I've been worrying about LIBS parameter in WriteMakefile of Makefile.PL; that is, LIBS => ['-lm']. "m" library isn't used anywhere, even though such a library existed. As a result, Makefile.PL displays a following message: Note (probably harmless): No library found for -lm Rather, such the message would be harmful. You should delete LIBS parameter, or give LIBS parameter an empty value: LIBS => ['']. Regards, Taro
From: cpan.laye [...] gmail.com
Hi, Taro Thanks for your advice. The one thing I worry about is, if I simply omit -lm, will it cause a link failure on some platform, too? After all, -lm haven't caused anything wrong so far. Could you please explain more about the potential harm? Thanks, Laye On Wed Mar 12 16:53:44 2008, taro-nishino wrote: Show quoted text
> Hi, Laye, > > Since 0.01, I've been worrying about LIBS parameter in WriteMakefile of > Makefile.PL; that is, LIBS => ['-lm']. > "m" library isn't used anywhere, even though such a library existed. > As a result, Makefile.PL displays a following message: > Note (probably harmless): No library found for -lm > > Rather, such the message would be harmful. > You should delete LIBS parameter, or give LIBS parameter an empty > value: LIBS => ['']. > > Regards, > Taro >
Subject: Re: [rt.cpan.org #34034] LIBS parameter in WriteMakefile of Makefile.PL
Date: Sat, 15 Mar 2008 17:23:02 +0900
To: bug-Algorithm-LBFGS [...] rt.cpan.org
From: Taro Nishino <taro.nishino [...] gmail.com>
Hi, Laye Thanks for your reply. Show quoted text
> The one thing I worry about is, if I simply omit -lm, will it cause a > link failure on some platform, too? After all, -lm haven't caused > anything wrong so far.
I recall that in such a case, LIBS => [''] should be merely placed. I'm not sure. Show quoted text
> Could you please explain more about the potential harm?
With -lm, people might search such a library when the building is failed. In fact, oops, I searched "m" library in the dark. That was a waste of time. Regards, Taro On Fri, 14 Mar 2008 23:21:57 -0400 "Laye Suen via RT" <bug-Algorithm-LBFGS@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=34034 > > > Hi, Taro > > Thanks for your advice. > > The one thing I worry about is, if I simply omit -lm, will it cause a > link failure on some platform, too? After all, -lm haven't caused > anything wrong so far. > > Could you please explain more about the potential harm? > > Thanks, > Laye > > On Wed Mar 12 16:53:44 2008, taro-nishino wrote:
> > Hi, Laye, > > > > Since 0.01, I've been worrying about LIBS parameter in WriteMakefile of > > Makefile.PL; that is, LIBS => ['-lm']. > > "m" library isn't used anywhere, even though such a library existed. > > As a result, Makefile.PL displays a following message: > > Note (probably harmless): No library found for -lm > > > > Rather, such the message would be harmful. > > You should delete LIBS parameter, or give LIBS parameter an empty > > value: LIBS => ['']. > > > > Regards, > > Taro