To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105926
                 Issue #|105926
                 Summary|nss cannot be built on Linux machines without the zlib
                        |-dev package
               Component|tools
                 Version|DEV300m61
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jl
             Reported by|fs





------- Additional comments from [email protected] Thu Oct 15 12:43:15 +0000 
2009 -------
Trying to build module nss on a linux machine which does not have zhe zlib
developer package installed fails with the following error:
  make: *** No rule to make target -lz.  Stop.

The problem is in mozilla/security/coreconf/Linux.mk (inside the extracted nss
sources, i.e. in the module's output tree):
  USE_SYSTEM_ZLIB = 1
So, NSS is always compiled/linked with system-zlib.

For one, this leads to a potentially inconsistent build, since now different
libs might be linked against different zlibs: nss agains the one from the
system, other libs in OOo against OOo's own version.

Second, the build of the nss module fails on systems without a system-zlib. In
particular, we encountered this with the Sun-internal Linux build bot.


So, nss' makefile should be patched to rely on the system-zlib only when
--with-system-zlib is given, and otherwise direct the linker to the zlib used in
the rest of OOo.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to