If you are able to wade back in time on this list there are many good 
suggestions.

darwin.sh, (unless it has been updated without notice) has a couple of 
things you need to look into.

1. it will set the ldflags to -undefined suppress but not also to 
-flat_namespace. you  will need both
on the line where it also says -bundle.  in the manual config you can 
fix this when the question about "what additional flags are required to 
operate your linker?" appears.
NOTE:
   (on a separate note, I just tried to remove those two invocations from 
my configuration and ended up with exactly what David has seen.  No 
dynamic modules will build under (twolevel...the default setting).  
[according to the docs a directive which explains to the compiler what 
to do in the case of (multiple definitions=some instructions) might be 
needed to fix this issue.  I am not yet confident that I even understand 
how to operate or prepare for that issue yet...but working on it...  
Also, what is the ramification of building system Modules as static??? 
Don't know yet.]

2.  Darwin, MaxOSX server, and MacOSX are not exactly equal.  The other 
ones use a /Local/Library/Perl directory
and MacOSX uses /Library/Perl  you should watch for this line if it 
matters to you.
(which means if you are planning to lay the new install in exactly where 
the old one was...change it)

3.  Back in OSX10.0x  and PB  there were several reports that removing 
the /Library/Perl and /System/Library/Perl before "make install" seems 
like a beneficial thing. There were several instances of undefined 
symbols showing up.  However individual mileage might vary.

I found it useful to go through the configuration process manually 
(useful, but tiring, that is...) and fixing what you can during that 
process, and then editing the config.sh when given the opportunity.

4.  you can also get some further information about what settings to use 
by looking at "perl -V" before you blow the old one away.
Apple seems to have added -flat_namespace to the CCFlags as well, but I 
do not think that is necessary.

5. Then, you will have 4 errors in the test when you make test.

6. When you set up CPAN make sure to include the -flat_namespace 
directive in there as well.

It must be all in the archives of this list... hopefully with more 
clarity than I have presented here.


Jim


On Saturday, October 27, 2001, at 08:01  AM, Ken Williams wrote:

>
>
> "David H. Adler" <[EMAIL PROTECTED]> wrote:
>> On Fri, Oct 26, 2001 at 03:32:42PM -0700, Edward Moy wrote:
>>> Just add the line:
>>>
>>> firstmakefile=GNUmakefile
>>>
>>> in hints/darwin.sh and rerun configure.  This is the HFS
>>> case-insensitivity issue (Makefile and makefile equivalent).
>>
>> Is that different from doing "sh Configure 
>> -Dfirstmakefile=GNUmakefile"?
>>
>> If not (if it is, I'll be surprised...), then the problem lies
>> elsewhere.
>
> Yeah, I believe it's different.  If you look at the hints/darwin.sh 
> file, you'll notice that it just blows away all the configuration 
> variables you might have set with -D on the command line.  Compare that 
> with more modern versions of the same file, which only override 
> settings if you haven't modified them.
[---]

---------------------------------------------------------------------------
reply directly to:
Jim Cooper
mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo                            http://www.ai-media.co.jp
---------------------------------------------------------------------------

Reply via email to