http://qs321.pair.com?node_id=536849


in reply to Re^2: Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally
in thread Installing Perl Wrapper Module for a C Library (Tree::Suffix) Locally

Okay, so it would appear that Makefile.PL and CPAN are not honoring your cflags environment setting. Furthermore, it appears that you need to pass extra C flag arguments to Makefile.PL as "CCFLAGS", not "CFLAGS". So, I would suggest trying this:

perl Makefile.PL CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
That should produce a Makefile that you can use with "make".
--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/