Skip Menu |

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

Report information
The Basics
Id: 75730
Status: resolved
Priority: 0/
Queue: Math-Cephes

People
Owner: Nobody in particular
Requestors: ian [...] bartonia.net
Cc:
AdminCc:

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



Subject: Build failure on x86_64 Mac
Date: Tue, 13 Mar 2012 00:33:37 -0500
To: bug-Math-Cephes [...] rt.cpan.org
From: Ian Barton <ian [...] bartonia.net>
Perl verson: 5.12.3 Operating System: Mac OS X 10.7.3 (Lion) Darwin 11.3.0 Darwin Kernel Version 11.3.0 x86_64 Math::Cephes appears to build on Mac OS X Lion but many of the tests fail. A review of the build process revealed that the Makefile is not being created properly to handle the x86_64 build type. The following patch appears to resolve the issue: --- Makefile.PL 2009-01-05 18:59:24.000000000 -0600 +++ Makefile.PL 2012-03-10 10:47:55.000000000 -0600 @@ -78,7 +78,7 @@ elsif ($is_dar) { require POSIX; my $machine = (POSIX::uname())[4]; - if ($machine eq 'i386') { + if ($machine eq 'i386' or $machine eq 'x86_64') { $defs{IBMPC} = 1; } else {
I've applied this in Math-Cephes-0.47. This is a module looking for a new maintainer since Randy Kobes, its creator, passed away. If anyone would like to look after it, please contact modules@perl.org.
From: v.n.simeonova [...] me.com
I'm trying to compilate it, but found that there is no such file as mconf.h. That's why I descide to cut a small part from the Makefile.PL about opening the mconf.h. After that I get this message in the terminal: Last login: Tue May 15 21:09:49 on ttys000 Valeriyas-MacBook:~ valerina$ perl /Users/valerina/SciDev/Ported\ Linux\ Installations/Math-Cephes-0.47/Makefile2.PL Could not open 'lib/Math/Cephes.pm': No such file or directory at /sw/lib/perl5/5.12.3/ExtUtils/MM_Unix.pm line 2639. Valeriyas-MacBook:~ valerina$ So, removing part of the code doesn't lead to compillation. If somebody could send it to me, I'll appreciate that.
On Tue Mar 13 01:33:48 2012, ian@bartonia.net wrote: Show quoted text
> Perl verson: 5.12.3 > Operating System: Mac OS X 10.7.3 (Lion) Darwin 11.3.0 Darwin Kernel > Version 11.3.0 x86_64 > > Math::Cephes appears to build on Mac OS X Lion but many of the tests > fail. A review of the build process revealed that the Makefile is > not being created properly to handle the x86_64 build type. The > following patch appears to resolve the issue: > > --- Makefile.PL 2009-01-05 18:59:24.000000000 -0600 > +++ Makefile.PL 2012-03-10 10:47:55.000000000 -0600 > @@ -78,7 +78,7 @@ > elsif ($is_dar) { > require POSIX; > my $machine = (POSIX::uname())[4]; > - if ($machine eq 'i386') { > + if ($machine eq 'i386' or $machine eq 'x86_64') { > $defs{IBMPC} = 1; > } > else { >
Thanks for the patch. It was now applied in the git repository here: https://github.com/shlomif/Math-Cephes I'll upload it to CPAN soon. Regards, -- Shlomi Fish
Hi Valerina, On Tue May 15 15:10:11 2012, valerina wrote: Show quoted text
> I'm trying to compilate it, but found that there is no such file as > mconf.h. That's why I > descide to cut a small part from the Makefile.PL about opening the > mconf.h. After that > I get this message in the terminal: > > Last login: Tue May 15 21:09:49 on ttys000 > Valeriyas-MacBook:~ valerina$ perl /Users/valerina/SciDev/Ported\ > Linux\ > Installations/Math-Cephes-0.47/Makefile2.PL
1. You should run Makefile.PL/etc. from the module's directory. So cd there first and run the "perl Makefile.PL" command verbatim. 2. It's not a good idea to build Perl modules (or anything UNIXy) in paths that contain spaces. So please don't do that. Regards, -- Shlomi Fish
Resolving because fixed in the repository.