----- Original Message ----- From: "Randy Harmon" . . > > When I run make disttest, I get this: > > /home/y/bin/perl -I/home/y/lib/perl5/5.6.1/i386-freebsd > -I/home/y/lib/perl5/5.6.1 -MExtUtils::Manifest=manicopy,maniread -e > "manicopy(maniread(),'Referrals-0.06', 'best');" > mkdir Foo-0.06 > cd Foo-0.06 && /home/y/bin/perl -I/home/y/lib/perl5/5.6.1/i386-freebsd > -I/home/y/lib/perl5/5.6.1 Makefile.PL > Writing Makefile for Foo > cd Foo-0.06 && make > cp Foo.pm blib/lib/Foo.pm > Running Mkbootstrap for Foo () > chmod 644 Foo.bs > rm -f blib/arch/auto/Foo/Foo.so > LD_RUN_PATH="/usr/lib:/home/y/lib" gcc -shared -L/home/y/lib > -L/usr/local/lib Foo.o -o blib/arch/auto/Foo/Foo.so -lstdc++ > -L/home/y/lib -lboost_regex > gcc: Foo.o: No such file or directory > > Any recommendations? >
You haven't shown us all of the files, so it makes it a liitle hard (for me, anyway). What happens if you just manually create the distro instead of having 'make disttest' do it ? Can you then run 'perl Makefile.PL', and 'make test' successfully ? Does it matter that Foo.xs is not listed in MANIFEST ? Would it matter if 'Foo.xs' was named 'foo.xs' (as you appear to have done) ? I'm also a little puzzled to see a gcc error message there (at the end of the output you quoted) - given that Makefile.PL specifically states that 'CC' is to be 'g++'. If you can post the remaining files (test.pl, foo.cpp, foo.h) I'll have a play and see if I can come up with something. In addition to not being particularly knowledgeable about MakeMaker, I'm *especially* dumb when it comes to C++ - so don't get too hopeful :-) Cheers, Rob