On Tuesday, July 2, 2002, at 01:33 AM, Brian Ingerson wrote:
> On 01/07/02 20:05 +1000, Ken Williams wrote: >> Hi, >> >> When I put lines like >> >> LIBS => '-L/sw/lib -lnode -lnle', >> INC => '-I/sw/include', > > Ken, > > I highly doubt that this is the fault of Inline::Makemaker. > ExtUtils is very > picky about the format of LIBS and INC. Try to see if the same > configs fail > in ExtUtils::MakeMaker. Are you sure those libs are present. Yeah, I'm positive - note that it works when I specify directly in the 'use Inline' statement. > Hmmm. I think I see the problem. I would simply leave them out of the > Makefile.PL. When Inline compiles your C code, it generates its own > Makefile.PL. This has nothing to do with the distribution > Makefile.PL. I > probably could make them talk but I don't see what problem it > would solve. Where is the correct place to specify compiler/linker flags like '-lnode -lnle', then? I have to link against these libraries *somehow*, since the whole point of this module is to provide a wrapper to the C libraries. Am I supposed to be doing this a different way? Also, I know I shouldn't put the '-L/sw/lib' and '-I/sw/include' flags right in the code (because this module should work on other platforms), but I don't seem to be able to specify them on the 'perl Makefile.PL' command line either, which is where I think they should probably go. -Ken
