On Jul 23, 2004, at 4:13 AM, Mamoru KOMACHI wrote:
> Hi,
>
> At Thu, 22 Jul 2004 09:57:59 -0400,
> Joe Jezak wrote:
>
>> So it builds now, but there are a few issues remaining:
>
>> 2. Perl installs to /usr, overwriting the apple install. I didn't
>> even notice at first, so there's no apparent ill effects, yet I'm
>> still a little wary about just going ahead and doing this. Does
>> anyone have any suggestions or comments on this?
Following Joe Jezak's patches, I have built a working perl-5.8.5 on OS
X 10.3.5 that uses the Perl distribution install process to install
into Darwin system dirs ( such as /System/Library...)
Basically, we need to trust the Perl distribution more; it correctly
recognizes Mac OS X, but Gentoo ebuild specifies an arch of "-linux"
everywhere...
Another problem is gentoo ebuilds specifying "*.so" for shared libs
everywhere. Should be ".dylib" for Darwin.
Finally, the perl-module.eclass installs into "vendorarch" paths rather
than "sitearch" paths -- so we get an install into
/Network/Library/Perl instead of the site-specific /Library/Perl ---
actually, it was worse than that; perl-module.eclass was pre-pending an
extra "/usr" to the front of the paths for Perl modules, so I was
getting things installed into "/usr/usr/share/man" and
"/usr/Network/Library/Perl"...
I hacked things to get them working. Stupid patches are attached --
they should explain what I'm talking about, but they should NOT be
applied; we should have some sort of "if arch == macos" conditionals...
> Hi,
>
> At Thu, 22 Jul 2004 09:57:59 -0400,
> Joe Jezak wrote:
>
>> So it builds now, but there are a few issues remaining:
>
>> 2. Perl installs to /usr, overwriting the apple install. I didn't
>> even notice at first, so there's no apparent ill effects, yet I'm
>> still a little wary about just going ahead and doing this. Does
>> anyone have any suggestions or comments on this?
Following Joe Jezak's patches, I have built a working perl-5.8.5 on OS
X 10.3.5 that uses the Perl distribution install process to install
into Darwin system dirs ( such as /System/Library...)
Basically, we need to trust the Perl distribution more; it correctly
recognizes Mac OS X, but Gentoo ebuild specifies an arch of "-linux"
everywhere...
Another problem is gentoo ebuilds specifying "*.so" for shared libs
everywhere. Should be ".dylib" for Darwin.
Finally, the perl-module.eclass installs into "vendorarch" paths rather
than "sitearch" paths -- so we get an install into
/Network/Library/Perl instead of the site-specific /Library/Perl ---
actually, it was worse than that; perl-module.eclass was pre-pending an
extra "/usr" to the front of the paths for Perl modules, so I was
getting things installed into "/usr/usr/share/man" and
"/usr/Network/Library/Perl"...
I hacked things to get them working. Stupid patches are attached --
they should explain what I'm talking about, but they should NOT be
applied; we should have some sort of "if arch == macos" conditionals...