Hello, here is my second problem I realised with playing with Inline::CPP.
Consider this example: BEGIN { $INCDIR = '../lib'; $LIBDIR = '../lib'; $lib = 'euler'; } use Inline (CPP => Config, LIBS => "-L../../../$LIBDIR -l$lib", INC => "-I../../../$INCDIR", DISABLE => CLEAN_AFTER_BUILD, ); use Inline CPP => q { #include "get_time.h" char* get_time() { return get_time_ws(); } // class a { }; }; $_ = get_time(); print; Function get_time_ws() is declared in get_time.h and realised in libeuler.a. This works weel for me. But when I delete the comment in front of the line declaring a trivial class a, the Makefile.PL is generated without the -I path. Why? What is wrong? This is the difference of Makefile.PL files: 4,5c4,5 < 'INC' => '-I/home/hans/Diplomka.E2/Euler/Perl -I../../../../lib', < 'NAME' => 'euler_pl_bde4', --- > 'INC' => '-I/home/hans/Diplomka.E2/Euler/Perl', > 'NAME' => 'euler_pl_5d7b', 11c11,12 < '/usr/share/perl/5.6.1/ExtUtils/typemap' --- > '/usr/share/perl/5.6.1/ExtUtils/typemap', > '/home/hans/Diplomka.E2/Euler/Perl/.Inline/build/euler_pl_5d7b/CPP.map' Thanks and regards Hans -- You can find a Vim desktop calendar here: http://www.moolenaar.net/ Happy Vimming in 2003!