[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Porters] Re: gLastMacOSErr?





Matthew Langford wrote: Wed, 21 Jun 2000:

> What should I have {MW68KIncludes} set to?
> Ditto for {MWPPCIncludes}...

I think they ought to be mac:paths:to the location of header files like 
stdio.h et alia.  But I am not too sure that they are absolutely necessary.  
They are probed in Configure.MPW because I had a test installation of 
MetroWerks on a Mac once (that may or may not boot any longer - it was 
a while ago) where the MW installation stuffed those variables into the 
MPW Shell environment.  Checking for them seemed like a reasonably 
straightforward way to ascertain that you had a "working" MW C compiler 
without actually doing a test compilation of anything.

It could very well be that the test for those variables is incorrect
in assuming that their presence indicates anything about the quality of
the MW installation.

> I see {MW68KLibraries} is set, as is {MWPPCLibraries} and {MWCIncludes}.
> But not the binary platform includes, which Configure.MPW wants.
> 
> Right after Configure.MPW asks me about this and I continue, I see this:
> 
> # Do you wish to continue?
> # Extracting ::MacPerlConfig.mk with variable substitutions...
> # Rename ::MacPerlConfig.mk ::MacPerlConfig.mk.old.1
> ### Set - Too many parameters were specified.
> # Usage - Set [name [value]]
> 
> Is this related to the earlier error?

I think that this is related (it is definitely a bug even if it is not 
related since Configure.MPW is supposed to trap all trouble and simply
issue a message like "I cannot proceed without a C compiler" or somesuch).  

Unfortunately, it will take me more than a week to get back to MacPerl 
hacking to offer any advice or fixes as
I am in the midst of moving/work-stuff/etc.  If you can work past the
trouble that Configure.MPW is throwing at you (that is, hand edit a
MacPerlConfig.mk appropriate to your compiler) then do a build OK (or 
at least up to the x2p stuff) then that would prove that checking for 
{MW68KIncludes} and/or {MWPPCIncludes} is unnecessary.

Peter Prymmer

 

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org