----- Original Message ----- 
From: "Maggie X" <[email protected]>

> Hi Rob,
>
> Thank you! I've made the changes accordingly. The updated source is
> here https://sourceforge.net/projects/pdl-stats/

No problems with that at all.

> I've also added a couple simple tests for CDF (I somehow had missed it
> previously in the MANIFEST).

All tests in the test suite pass for me.

> The pop vs. unshift thing is very
> strange. Sure glad you caught it!

I'm still not sure that replacing 'pop' with 'unshift' is the correct thing 
to do. (I'm thinking that there might be situations where the library 
location really does need to be *pushed* onto the *end* of the list.)

I find that the following will find and link to /my/path/libmylib.a:
LIBS => [undef, '-L/my/path -lmylib'],
and so will:
LIBS => ['', '-L/my/path -lmylib'], # 1st element is 2 single quotes
but the following fails:
LIBS => [' ', '-L/my/path -lmylib'],

For me, the call (in your Makefile.PL) to
 %hash = pdlpp_stdargs($package);
creates a hash that specifies
 LIBS => [' '],

Perhaps it ought instead specify either:
LIBS => [], # My preferred option
or
LIBS => [''], # Element is 2 single quotes.

Then one would be able to push() instead of unshift().

Is it a bug in MakeMaker that allows a first array element of undef or '', 
but not ' ' ?
Or is it a bug in PDL that has pdlpp_stdargs() create a LIBS value of [' '] 
instead of [] ?
Either way, I think the best thing to do would be to have pdlpp_stdargs() 
create a libs value of [] when it wants to specify the empty array.
Anyone have any thoughts on this ?

> No my Strawberry Perl didn't come with a fortran compiler. Thanks for
> the tip about ActivePerl. I use Windows mainly for entertainment so I
> haven't cared to have full-powered PDL on there. I really should fix
> it up now for the modules.

Strawberry is also quite good - you could alternatively download and install 
the g77 package if you ever wanted. (I don't know why they don't include g77 
to begin with.)

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to