Bug 43920 - Libre Office MacOS needs Zlib and Zip perl modules
Summary: Libre Office MacOS needs Zlib and Zip perl modules
Status: CLOSED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
Version: Master old -3.6
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 00:35 UTC by James
Modified: 2011-12-21 22:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description James 2011-12-18 00:35:36 UTC
Hello All,

This page:
http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies#Step_2:_There_is_no_step_2
says that there is no step 2.

I disagree.  In order to configure, I had to:

Download Compress::Raw::Zlib from here:
http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.045/lib/Compress/Raw/Zlib.pm
unzip it in a build tree, and inside it:
perl Makefile.PL
make
(as root) make install

Download Archive::Zip.pm from here:
http://search.cpan.org/~adamk/Archive-Zip-1.30/lib/Archive/Zip.pm
and do likewise.

Regards,
James.
Comment 1 Christian Lohmaier 2011-12-20 04:29:32 UTC
No, this definitely is not needed. When you get XCode as described, you are ready to build on Mac (with --disable-mozilla) only when on 10.4 you need newer version of make an unzip (as described on the page).

I suspect you got macports/fink/darwinports or whatever installed that mess up your build-environment.

on 10.4 system:
$ locate Zip.pm
/System/Library/Perl/Extras/5.8.6/Archive/Zip.pm
$ locate Zlib.pm/System/Library/Perl/Extras/5.8.6/IO/Zlib.pm/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level/Compress/Zlib.pm

Also LO is being  build on 10.5 and later systems without non-Apple-provided stuff (except for building mozilla, as also described on the dependencies page).

Thus worksforme.

Feel free to reopen if you can provide more details, but probably its faster/easier to join irc-channels or use the mailing-list to get you setup with a "proper" buildsystem.
Comment 2 James 2011-12-20 12:33:10 UTC
Hi Christian,

I've had macports, so let's assume I'm exercising a macports symptom.

For the benefit of future people with similar symptoms:

I am using MacOS 10.6.8.  My default perl is 5.8.9, contrary to the manual page, and I haven't worked out why yet.

locate finds the system-installed Zlib and Zip:

$ locate Zlib.pm
/System/Library/Perl/5.10.0/IO/Zlib.pm
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/Compress/Raw/Zlib.pm
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/Compress/Zlib.pm
/System/Library/Perl/Extras/5.8.9/IO/Zlib.pm
/System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level/Compress/Zlib.pm
James-MacBook:perl5 jamescone$ locate Zip.pm
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/IO/Compress/Zip.pm
/System/Library/Perl/Extras/5.10.0/Archive/Zip.pm
/System/Library/Perl/Extras/5.8.9/Archive/Zip.pm
$ 

I have no idea why LO does not find the Zip and Zlib in Extras.

The software that I described installing, was installed into /opt/local/lib/perl5/site_perl/5.8.9/ and was found by LO.  I plan to tiptoe away and continue using it.

No further action.

Regards,
James.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.