Skip Menu |
 

This queue is for tickets about the Math-GSL CPAN distribution.

Report information
The Basics
Id: 38130
Status: resolved
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: 'Build clean' clobbers the C source files
Download (untitled) / with headers
text/plain 161b
Running 'Build clean' after a successful build results in the removal of all of the C files (BLAS_wrap.c, etc.) in the top level source directory. Cheers, Rob
Download (untitled) / with headers
text/plain 339b
On Sat Aug 02 18:54:20 2008, SISYPHUS wrote: Show quoted text
> Running 'Build clean' after a successful build results in the removal > of all of the C files (BLAS_wrap.c, etc.) in the top level source > directory.
The problem is solved for me if, in Build.PL's sub process_swig(), I remove the line: $self->add_to_cleanup($c_file); Cheers, Rob
Download (untitled) / with headers
text/plain 959b
Howdy, [sarcasm]This is a feature, not a bug.[/sarcasm] The reason for it is so that normal folks don't need SWIG installed to compile GSL, but if you check out the source tree via git, you will. The autogenerated C/XS code (*_wrap.c) is included in the MANIFEST and the distribution, but they are not under source control. That would be really bad. To get back the *_wrap.c files you can just unpack the distro again. Hopefully this helps, if anyone has a suggestion for dealing with this in a better way, I am all ears. Cheers, Jonathan On Wed Aug 06 14:48:26 2008, SISYPHUS wrote: Show quoted text
> On Sat Aug 02 18:54:20 2008, SISYPHUS wrote:
> > Running 'Build clean' after a successful build results in the removal > > of all of the C files (BLAS_wrap.c, etc.) in the top level source > > directory.
> > The problem is solved for me if, in Build.PL's sub process_swig(), I > remove the line: > > $self->add_to_cleanup($c_file); > > Cheers, > Rob


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.