[MINC-development] Building MINC for OS X 10.6

Burt Crépeault burt.crepeault at crulrg.ulaval.ca
Wed Mar 31 10:00:32 EDT 2010


> Jason Lerch and myself were at one
> stage building monolithic MINC OSX installers that were using the Mac
> packager/installer. (.pkg and .mpkg files)  See:
>
>   http://packages.bic.mni.mcgill.ca/osx-10.4/minc-1.4-20060620.mpkg.tar.gz
>
>
I figured things must have changed since 2006... ;) I must first educate
myself on creating packages but I'll get there eventually.



> >> > mni_perllib-0.08: I get the following error:
> >> Safe to ignore.
> >
> > Certain? The script doesn't seem to finish as no config.h is created.
> Make
> > won't run.
>
> Hrm, perhaps it's a perl 5.1 vs 5.4 thing. In my (often not so humble)
> opinion mni_perllib should die. It's antiquated and VERY BIC specific.
> The tests check for a long.q on shadow for example... (shadow was an
> old SGI O200 system at the BIC 10 years ago....  I think I stubbed
> this bit out a while back but I certainly don't use mni_perllib for
> anything I do and remove it where feasible in all code I maintain.
>
>
Pardon my newbieness with Perl, when I said that no config.h was created,
this is what I meant:

After running the Makefile.PL script, the makefile references the latest
perl installation on this machine which is 5.10.0. When I attempt to make, I
get this error:

make: *** No rule to make target
`/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE/config.h',
needed by `Makefile'.  Stop.

Here's the content of
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE/

-rwxr-xr-x   1 root  wheel  3679344 26 Jun  2009 libperl.dylib
-rw-r--r--   1 root  wheel   168689 26 Jun  2009 perl.h

while /System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE has

-rw-r--r--   1 root  wheel    1751 23 Sep  2007 EXTERN.h
-rw-r--r--   1 root  wheel    1424 23 Sep  2007 INTERN.h
-rw-r--r--   1 root  wheel   18793 23 Sep  2007 XSUB.h
-rw-r--r--   1 root  wheel    3044 23 Sep  2007 av.h
-rw-r--r--   1 root  wheel    2196 23 Sep  2007 cc_runtime.h
-rw-r--r--   1 root  wheel  138389 23 Sep  2007 config.h
-rw-r--r--   1 root  wheel   18737 23 Sep  2007 cop.h
-rw-r--r--   1 root  wheel    7992 23 Sep  2007 cv.h
-rw-r--r--   1 root  wheel    5717 23 Sep  2007 dosish.h
-rw-r--r--   1 root  wheel  150252 23 Sep  2007 embed.h
-rw-r--r--   1 root  wheel   61978 23 Sep  2007 embedvar.h
-rw-r--r--   1 root  wheel    3180 23 Sep  2007 fakesdio.h
-rw-r--r--   1 root  wheel    1822 23 Sep  2007 fakethr.h
-rw-r--r--   1 root  wheel     723 23 Sep  2007 form.h
-rw-r--r--   1 root  wheel    5477 23 Sep  2007 gv.h
-rw-r--r--   1 root  wheel   24923 23 Sep  2007 handy.h
-rw-r--r--   1 root  wheel   13647 23 Sep  2007 hv.h
-rw-r--r--   1 root  wheel   20855 23 Sep  2007 intrpvar.h
-rw-r--r--   1 root  wheel   48335 23 Sep  2007 iperlsys.h
-rw-r--r--   1 root  wheel    6257 23 Sep  2007 keywords.h
-rw-r--r--   1 root  wheel    1484 23 Sep  2007 malloc_ctl.h
-rw-r--r--   1 root  wheel    2083 23 Sep  2007 mg.h
-rw-r--r--   1 root  wheel    3306 23 Sep  2007 nostdio.h
-rw-r--r--   1 root  wheel   16267 23 Sep  2007 op.h
-rw-r--r--   1 root  wheel   46737 23 Sep  2007 opcode.h
-rw-r--r--   1 root  wheel    9351 23 Sep  2007 opnames.h
-rw-r--r--   1 root  wheel    8810 23 Sep  2007 pad.h
-rw-r--r--   1 root  wheel    4711 23 Sep  2007 patchlevel.h
-rw-r--r--   1 root  wheel   37087 23 Sep  2007 perlapi.h
-rw-r--r--   1 root  wheel   10800 23 Sep  2007 perlio.h
-rw-r--r--   1 root  wheel   13734 23 Sep  2007 perliol.h
-rw-r--r--   1 root  wheel    4867 23 Sep  2007 perlsdio.h
-rw-r--r--   1 root  wheel    2537 23 Sep  2007 perlsfio.h
-rw-r--r--   1 root  wheel    2443 23 Sep  2007 perlvars.h
-rw-r--r--   1 root  wheel    1270 23 Sep  2007 perly.h
-rw-r--r--   1 root  wheel    1215 23 Sep  2007 pldtrace.h
-rw-r--r--   1 root  wheel   17703 23 Sep  2007 pp.h
-rw-r--r--   1 root  wheel   10583 23 Sep  2007 pp_proto.h
-rw-r--r--   1 root  wheel   95139 23 Sep  2007 proto.h
-rw-r--r--   1 root  wheel   26087 23 Sep  2007 reentr.h
-rw-r--r--   1 root  wheel   13339 23 Sep  2007 regcomp.h
-rw-r--r--   1 root  wheel    4665 23 Sep  2007 regexp.h
-rw-r--r--   1 root  wheel    9736 23 Sep  2007 regnodes.h
-rw-r--r--   1 root  wheel   13300 23 Sep  2007 scope.h
-rw-r--r--   1 root  wheel   48284 23 Sep  2007 sv.h
-rw-r--r--   1 root  wheel   10353 23 Sep  2007 thrdvar.h
-rw-r--r--   1 root  wheel   14379 23 Sep  2007 thread.h
-rw-r--r--   1 root  wheel  135311 23 Sep  2007 uconfig.h
-rw-r--r--   1 root  wheel    4280 23 Sep  2007 unixish.h
-rw-r--r--   1 root  wheel   12339 23 Sep  2007 utf8.h
-rw-r--r--   1 root  wheel   26969 23 Sep  2007 utfebcdic.h
-rw-r--r--   1 root  wheel    1449 23 Sep  2007 util.h
-rw-r--r--   1 root  wheel    3845 23 Sep  2007 warnings.h


So yes indeed, this looks like a Perl version thing. I'm tempted to manually
edit the makefile and change all references to 5.10.0 back to 5.8.8.

Would that be a reasonable workaround?

Burt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/minc-development/attachments/20100331/ba38064a/attachment-0001.htm>


More information about the MINC-development mailing list