To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49548
                  Issue #:|49548
                  Summary:|module libxmlsec Mac OSX / gcc-3.3 breaks : libnss
                          |and libnspr not found
                Component:|porting
                  Version:|OOo 2.0
                 Platform:|PowerPC
                      URL:|
               OS/Version:|Mac OS X
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|ericb
              Reported by:|ericb





------- Additional comments from [EMAIL PROTECTED] Thu May 19 16:36:44 -0700 
2005 -------
Mac OSX / gcc-3.3  -> not sure only Mac OSX is concerned 
Module : libxmlsec
build  : SRC680_m104

configure options for mozilla build  : --with-mozilla-version=1.7.5 
--enable-mozab  
Sources used for the build are 1.7.5

libnss3.dylib and libnspr4.dylib  not found

The log :

checking for size_t... yes
checking size of size_t... 4
checking libxml2   no  ... checking for libxml2 libraries >= 2.4.2.
ibxml2   ./libxml2-config  ... yes ('')
checking for libxslt libraries >= 1.0.20... no
checking for openssl libraries >= 0.9.6... no
checking for gnutls libraries >= 0.8.1... no
checking for nspr libraries >= 4.0... yes
checking for nss libraries >= 3.2... no
checking for crypto library... configure: error: At least one crypt
uld exist for xmlsec1
dmake:  Error code 1, while making './unxmacxp.pro/misc/build/so_co
mlsec1'
'---* tg_merge.mk *---'

I have no patch yet, but just add good prefix for libnss in makefile does it
(cat -n for line numbers):

  112   CONFIGURE_DIR=
   113  CONFIGURE_ACTION=chmod 777 libxml2-config && .$/configure
   114  CONFIGURE_FLAGS=--with-libxslt=no --with-openssl=no --with-gnutls=no
--with-nss=/usr/local/lib \
   115          --with-openssl=/sw
   116  # system-mozilla needs pkgconfig to get the information about nss
   117  # FIXME: This also will enable pkg-config usage for libxml2. It *seems*
   118  # that the internal headers still are used when they are there but....
   119  # (and that pkg-config is allowed to fail...)
   120  # I have no real good idea how to get mozilla (nss) pkg-config'ed and 
libxml2
   121  # not... We need mozilla-nss pkg-config'ed since we can *not* just use
   122  # --with-nss or parse -pkg-config --libs / cflags mozilla-nss since
   123  # the lib may a) be in /usr/lib (Debian) and be not in $with_nss/include
   124  # $with_nss/lib.
   125  .IF "$(SYSTEM_MOZILLA)" != "YES"
   126  CONFIGURE_FLAGS+=--enable-pkgconfig=no

Build can continue with this workaround. I cannot continue now( it's too late),
but something like modifying the library path will probably be the solution.

To be continued...

---------------------------------------------------------------------
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