Skip Menu |
 

This queue is for tickets about the Devel-CheckLib CPAN distribution.

Report information
The Basics
Id: 30193
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Devel-CheckLib

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Another parameter form for check_lib_or_exit/assert_lib
Download (untitled) / with headers
text/plain 342b
It would be nice if the functions in Devel::CheckLib would accept exactly the same argument value as for LIBS in a Makefile.PL (e.g. "-L/usr/local/lib -ltiff34 -ljpeg"), so a user does not need to parse and split this line himself. Likewise for Module::Build, if appropriate (I don't know anything about Module::Build). Regards, Slaven
Subject: Re: [rt.cpan.org #30193] Another parameter form for check_lib_or_exit/assert_lib
Date: Mon, 22 Oct 2007 16:01:21 -0400
To: bug-Devel-CheckLib [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
Download (untitled) / with headers
text/plain 472b
On 10/22/07, Slaven_Rezic via RT <bug-Devel-CheckLib@rt.cpan.org> wrote: Show quoted text
> It would be nice if the functions in Devel::CheckLib would accept > exactly the same argument value as for LIBS in a Makefile.PL (e.g. > "-L/usr/local/lib -ltiff34 -ljpeg"), so a user does not need to parse > and split this line himself.
I don't think that string works for MSVC -- so encouraging people to use gcc library strings either means non-portability or having to parse them out. David
Subject: Re: [rt.cpan.org #30193] Another parameter form for check_lib_or_exit/assert_lib
Date: 22 Oct 2007 23:20:01 +0200
To: bug-Devel-CheckLib [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
Download (untitled) / with headers
text/plain 1019b
" via RT" <bug-Devel-CheckLib@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30193 > > > On 10/22/07, Slaven_Rezic via RT <bug-Devel-CheckLib@rt.cpan.org> wrote:
> > It would be nice if the functions in Devel::CheckLib would accept > > exactly the same argument value as for LIBS in a Makefile.PL (e.g. > > "-L/usr/local/lib -ltiff34 -ljpeg"), so a user does not need to parse > > and split this line himself.
> > I don't think that string works for MSVC -- so encouraging people to > use gcc library strings either means non-portability or having to > parse them out.
I found at least one distribution (Win32-GUI-1.05) which used the -l... syntax for LIBS. And I don't find any references in ExtUtils::MakeMaker that -L and -l should not be used for Windows. Those options were used in C compilers long before gcc existed... Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de Tk-AppMaster: a perl/Tk module launcher designed for handhelds http://tk-appmaster.sf.net
Subject: Re: [rt.cpan.org #30193] Another parameter form for check_lib_or_exit/assert_lib
Date: Mon, 22 Oct 2007 19:24:36 -0400
To: bug-Devel-CheckLib [...] rt.cpan.org
From: "David Golden" <xdaveg [...] gmail.com>
Download (untitled) / with headers
text/plain 356b
On 10/22/07, slaven@rezic.de via RT <bug-Devel-CheckLib@rt.cpan.org> wrote: Show quoted text
> I found at least one distribution (Win32-GUI-1.05) which used the > -l... syntax for LIBS. And I don't find any references in > ExtUtils::MakeMaker that -L and -l should not be used for Windows.
Hmm. Maybe EU::MM fiddles them appropriately. Will have to look into it. David
From: pause [...] barnyard.co.uk
Download (untitled) / with headers
text/plain 508b
On Mon Oct 22 19:24:49 2007, xdaveg@gmail.com wrote: Show quoted text
> On 10/22/07, slaven@rezic.de via RT <bug-Devel-CheckLib@rt.cpan.org>
wrote: Show quoted text
> > I found at least one distribution (Win32-GUI-1.05) which used the > > -l... syntax for LIBS. And I don't find any references in > > ExtUtils::MakeMaker that -L and -l should not be used for Windows.
> > Hmm. Maybe EU::MM fiddles them appropriately. Will have to look into it.
I think it's worth doing. It's a very easy usability improvement. I'll get it done tonight.
From: pause [...] barnyard.co.uk
LIBS thingy is now in CVS.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.