SilvioCVdeAlmeida <[EMAIL PROTECTED]> writes: >4. archive and test: > cd Pack > perl Makefile.PL
The normal thing to do at this point is make make test > make dist That is just creating a tar ball which isn't useful till it works. > make > make test > >It breaks in make test, because generated Pack.c (-- not Pack.cc as I >wanted --) ask for C compilation, which do not find iostream, string, >and other standard C++ headers. I would have expected it to fail at 'make' stage unless you had CC=g++ or whatever. It it really fails at "make test" stage then you probably need LD=g++ or similar to link in the iostream etc. Note that not all C++ implementations are dynamic loading friendly. e.g. if you load a C++ extension and root executable isn't C++ (and perl isn't) then static constuctors for 'cout' may not have been called. > >Any help would be very appreciated. > >Silvio