RE: EXTERNAL: Re: NSS Module

2014-06-26 Thread Steele, Raymond
Just wanted to let you know that I resolved this by pointing xmlsecurity to the 
local NSS libraries installed with firefox. This was done  by adding it to  the 
LD_LIBRARY_PATH env variable.

-Original Message-
From: Herbert Duerr [mailto:h...@apache.org] 
Sent: Thursday, June 26, 2014 4:11 AM
To: dev@openoffice.apache.org
Subject: Re: EXTERNAL: Re: NSS Module

On 26.06.2014 02:32, Steele, Raymond wrote:
> Where is the build output located?

It is emitted to stdout unless you used the --html option in your build 
command. To capture stdout either redirect it with e.g.
   build --all -P2 >stdout.log -- -P2
or use a pipe and the tee command
   build --all -P2 -- -P2 | tee stdout.log to capture it and watch the progress 
at the same time.

>  I have NSS on my system, but the --with-system-nss flag is not an option. If 
> I use --with-system-libs, wouldn't that enable system-libs for all software?

I'm no expert on AOO's configure system but as far as I know the option 
--with-system-libs should only enable the system libs where development headers 
and libraries are available on the build system.

There is still the question on whether the system-nss is being used: 
The makefile output ("NSS is not being built because...") would be one 
important piece of information containing the relevant environment variables 
"ENABLE_NSS_MODULE" and "SYSTEM_NSS". The environment variables are of course 
also visible in the... environment once you sourced the platform specific file 
mentioned by the configure script.

Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: EXTERNAL: Re: NSS Module

2014-06-26 Thread Steele, Raymond
After source SolarisX86Env.Set.sh
env|grep -I nss  displays the following:

NSS_LIB=-L/usr/lib/mps
OPENSSL_LIBS=-lssl -lcrypto
MOZ_NSS_CFLAGS=-I/usr/include/mps
OPENSSL_CFLAGS=
ENABLE_NSS_MODULE=NO
SYSTEM_OPENSSL=YES

I no longer want AOO to build it since I have it installed on my system. 
However, when I build xmlsecurity, it cannot find the NSS libraries. 

-Original Message-
From: Herbert Duerr [mailto:h...@apache.org] 
Sent: Thursday, June 26, 2014 4:11 AM
To: dev@openoffice.apache.org
Subject: Re: EXTERNAL: Re: NSS Module

On 26.06.2014 02:32, Steele, Raymond wrote:
> Where is the build output located?

It is emitted to stdout unless you used the --html option in your build 
command. To capture stdout either redirect it with e.g.
   build --all -P2 >stdout.log -- -P2
or use a pipe and the tee command
   build --all -P2 -- -P2 | tee stdout.log to capture it and watch the progress 
at the same time.

>  I have NSS on my system, but the --with-system-nss flag is not an option. If 
> I use --with-system-libs, wouldn't that enable system-libs for all software?

I'm no expert on AOO's configure system but as far as I know the option 
--with-system-libs should only enable the system libs where development headers 
and libraries are available on the build system.

There is still the question on whether the system-nss is being used: 
The makefile output ("NSS is not being built because...") would be one 
important piece of information containing the relevant environment variables 
"ENABLE_NSS_MODULE" and "SYSTEM_NSS". The environment variables are of course 
also visible in the... environment once you sourced the platform specific file 
mentioned by the configure script.

Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: EXTERNAL: Re: NSS Module

2014-06-26 Thread Herbert Duerr

On 26.06.2014 02:32, Steele, Raymond wrote:

Where is the build output located?


It is emitted to stdout unless you used the --html option in your build 
command. To capture stdout either redirect it with e.g.

  build --all -P2 >stdout.log -- -P2
or use a pipe and the tee command
  build --all -P2 -- -P2 | tee stdout.log
to capture it and watch the progress at the same time.


 I have NSS on my system, but the --with-system-nss flag is not an option. If I 
use --with-system-libs, wouldn't that enable system-libs for all software?


I'm no expert on AOO's configure system but as far as I know the option 
--with-system-libs should only enable the system libs where development 
headers and libraries are available on the build system.


There is still the question on whether the system-nss is being used: 
The makefile output ("NSS is not being built because...") would be one 
important piece of information containing the relevant environment 
variables "ENABLE_NSS_MODULE" and "SYSTEM_NSS". The environment 
variables are of course also visible in the... environment once you 
sourced the platform specific file mentioned by the configure script.


Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: EXTERNAL: Re: NSS Module

2014-06-25 Thread Steele, Raymond
Herbert, 

Where is the build output located?  I have NSS on my system, but the 
--with-system-nss flag is not an option. If I use --with-system-libs, wouldn't 
that enable system-libs for all software?

-Original Message-
From: Herbert Duerr [mailto:h...@apache.org] 
Sent: Monday, June 23, 2014 11:52 PM
To: dev@openoffice.apache.org
Subject: EXTERNAL: Re: NSS Module

Hi Raymond,

On 23.06.2014 18:42, Steele, Raymond wrote:
> After running the configure, the ENABLE_NSS_MODULE environment variable is 
> set to yes, but for some reason NSS is not built. The build fails in 
> xmlsecurity because the NSS libraries were not built and copied over to 
> solver. I have to manually run dmake on NSS then copy them to the lib 
> directory in solver. Any ideas why?

Looking into main/nss/makefile.mk the logic on whether the builtin nss is built 
is right there: If nss is disabled or if the system-provided nss is selected, 
then the builtin nss will not be built. In that case there would be an info: 
"NSS will not be built because..." I guess this was the case. Please search the 
build output for this line.

The system provided nss is preferred over the builtin nss if you configured 
with --with-system-nss or --with-system-libs. Please check whether any of these 
configure options were active.

Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: EXTERNAL: RE: NSS Module

2014-06-25 Thread Απόστολος Συρόπουλος
Hello,

I am still running OpenSolaris 134. Basically, the system fails to open docx 
files (no
problem with doc files as far as I remember) and it fails to save files. 

A.S.

--
Apostolos Syropoulos
Xanthi, Greece
http://asyropoulos.eu
http://asyropoulos.wordpress.com
http://hypercomputation.blogspot.com/


> From: raymond.ste...@lmco.com
> To: dev@openoffice.apache.org
> Subject: RE: EXTERNAL: RE: NSS Module
> Date: Wed, 25 Jun 2014 16:40:03 +
> 
> Thanks for the information. What platform are you compiling for? What problem 
> are you having at runtime?
> 
> -Original Message-
> From: Απόστολος Συρόπουλος [mailto:asyropoulos...@hotmail.com] 
> Sent: Wednesday, June 25, 2014 12:24 AM
> To: dev@openoffice.apache.org
> Subject: EXTERNAL: RE: NSS Module
> 
> Hello,
> 
> I have found a "solution" to  this and other problems:
> 
> http://asyropoulos.wordpress.com/2014/02/05/compiling-openoffice4/
> 
> Of course the final binaries do nor run but this is something I will resume 
> working on this autumn.
> 
> A.S.
> 
> --
> Apostolos Syropoulos
> Xanthi, Greece
> http://asyropoulos.eu
> http://asyropoulos.wordpress.com
> http://hypercomputation.blogspot.com/
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
  

RE: EXTERNAL: RE: NSS Module

2014-06-25 Thread Steele, Raymond
Thanks for the information. What platform are you compiling for? What problem 
are you having at runtime?

-Original Message-
From: Απόστολος Συρόπουλος [mailto:asyropoulos...@hotmail.com] 
Sent: Wednesday, June 25, 2014 12:24 AM
To: dev@openoffice.apache.org
Subject: EXTERNAL: RE: NSS Module

Hello,

I have found a "solution" to  this and other problems:

http://asyropoulos.wordpress.com/2014/02/05/compiling-openoffice4/

Of course the final binaries do nor run but this is something I will resume 
working on this autumn.

A.S.

--
Apostolos Syropoulos
Xanthi, Greece
http://asyropoulos.eu
http://asyropoulos.wordpress.com
http://hypercomputation.blogspot.com/



  

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org