Re: [dev] Re: where is the openoffice binary located

2010-02-10 Thread Stephan Bergmann

On 02/10/10 07:05, Wei Zhang wrote:

I was just wondering if the binary needs to be extracted from the tar.gz ,
as mentioned in
ttp://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
, then when we do the configure script, what is the point of setting the
prefix ?


IIRC, configure scripts by convention ignore any switches they do not 
handle, and the OOo configure script happens to not handle the 
conventional -prefix switch.


-Stephan

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



RE: [dev] Re: where is the openoffice binary located

2010-02-10 Thread Toufique, Imam
(If I may add a comment here)

Stephan,

I think the documentation should be updated with detailed instructions on 
installation.

Thanks!

-Original Message-
From: stephan.bergm...@sun.com [mailto:stephan.bergm...@sun.com] 
Sent: Wednesday, February 10, 2010 12:59 AM
To: dev@openoffice.org
Subject: Re: [dev] Re: where is the openoffice binary located

On 02/10/10 07:05, Wei Zhang wrote:
 I was just wondering if the binary needs to be extracted from the tar.gz ,
 as mentioned in
 ttp://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
 , then when we do the configure script, what is the point of setting the
 prefix ?

IIRC, configure scripts by convention ignore any switches they do not 
handle, and the OOo configure script happens to not handle the 
conventional -prefix switch.

-Stephan

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


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



Re: [dev] Re: where is the openoffice binary located

2010-02-09 Thread Wei Zhang
Hello,

I was just wondering if the binary needs to be extracted from the tar.gz ,
as mentioned in
ttp://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
, then when we do the configure script, what is the point of setting the
prefix ?

Thanks,

Wei

On Mon, Feb 8, 2010 at 8:34 AM, Wei Zhang wei.w...@gmail.com wrote:

 Oh, I see. Thanks a lot Stephan!

 Wei


 On Mon, Feb 8, 2010 at 8:29 AM, Stephan Bergmann stephan.bergm...@sun.com
  wrote:

 On 02/08/10 15:12, Wei Zhang wrote:

 I am wondering if there is a way when building it, statically link all
 the
 libraries together instead of using shared libraries (i know it sounds
 stupid) to get a big fat soffice.bin ?


 No, not easily.  For example, many of the shared libraries implement UNO
 services and export a component_getFactory C function to instantiate the UNO
 services implemented by the library.  If you combine libraries (or even fold
 them into the executable) you have to adapt those component_getFactory
 functions.

 -Stephan


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





[dev] Re: where is the openoffice binary located

2010-02-08 Thread Michael Stahl
On 08/02/2010 05:23, Wei Zhang wrote:
 However, I don't know where is the openoffice binaries located(such like
 swriter, etc). I am wondering where is that located ? Or, do I need to take
 some other procedures after dmake?

please look at this mail for the answer:
http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512

-- 
For every complex problem, there is a solution that is simple, neat,
 and wrong. -- H. L. Mencken


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



Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Wei Zhang
Hi Michael,

Thank you very much! I have got the binary as you suggested. I can start the
swriter binary without problems. However when I ran objdump on it to get a
disassemble, it said the swriter binary is not recognized format. I am
wondering why is that.

Thanks,

Wei

On Mon, Feb 8, 2010 at 4:52 AM, Michael Stahl michael.st...@sun.com wrote:

 On 08/02/2010 05:23, Wei Zhang wrote:
  However, I don't know where is the openoffice binaries located(such like
  swriter, etc). I am wondering where is that located ? Or, do I need to
 take
  some other procedures after dmake?

 please look at this mail for the answer:
 http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512

 --
 For every complex problem, there is a solution that is simple, neat,
  and wrong. -- H. L. Mencken


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




Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Cédric Bosdonnat
Hi Wei,

Did you see by chance that swriter is only a script file calling
soffice.bin?

Regards,

--
Cedric

On Mon, 2010-02-08 at 07:55 -0600, Wei Zhang wrote:
 Hi Michael,
 
 Thank you very much! I have got the binary as you suggested. I can start the
 swriter binary without problems. However when I ran objdump on it to get a
 disassemble, it said the swriter binary is not recognized format. I am
 wondering why is that.
 
 Thanks,
 
 Wei
 
 On Mon, Feb 8, 2010 at 4:52 AM, Michael Stahl michael.st...@sun.com wrote:
 
  On 08/02/2010 05:23, Wei Zhang wrote:
   However, I don't know where is the openoffice binaries located(such like
   swriter, etc). I am wondering where is that located ? Or, do I need to
  take
   some other procedures after dmake?
 
  please look at this mail for the answer:
  http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
 
  --
  For every complex problem, there is a solution that is simple, neat,
   and wrong. -- H. L. Mencken
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
  For additional commands, e-mail: dev-h...@openoffice.org
 
 





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



Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Wei Zhang
Hi Cedric,

Thanks a lot! My bad, yeah, soffice.bin is the real binary, thank you very
much!

I am wondering if there is a way when building it, statically link all the
libraries together instead of using shared libraries (i know it sounds
stupid) to get a big fat soffice.bin ?

Thank you very much,

Wei

2010/2/8 Cédric Bosdonnat cedric.bosdonnat@free.fr

 Hi Wei,

 Did you see by chance that swriter is only a script file calling
 soffice.bin?

 Regards,

 --
 Cedric

 On Mon, 2010-02-08 at 07:55 -0600, Wei Zhang wrote:
  Hi Michael,
 
  Thank you very much! I have got the binary as you suggested. I can start
 the
  swriter binary without problems. However when I ran objdump on it to
 get a
  disassemble, it said the swriter binary is not recognized format. I am
  wondering why is that.
 
  Thanks,
 
  Wei
 
  On Mon, Feb 8, 2010 at 4:52 AM, Michael Stahl michael.st...@sun.com
 wrote:
 
   On 08/02/2010 05:23, Wei Zhang wrote:
However, I don't know where is the openoffice binaries located(such
 like
swriter, etc). I am wondering where is that located ? Or, do I need
 to
   take
some other procedures after dmake?
  
   please look at this mail for the answer:
   http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
  
   --
   For every complex problem, there is a solution that is simple, neat,
and wrong. -- H. L. Mencken
  
  
   -
   To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
   For additional commands, e-mail: dev-h...@openoffice.org
  
  





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




Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Stephan Bergmann

On 02/08/10 15:12, Wei Zhang wrote:

I am wondering if there is a way when building it, statically link all the
libraries together instead of using shared libraries (i know it sounds
stupid) to get a big fat soffice.bin ?


No, not easily.  For example, many of the shared libraries implement UNO 
services and export a component_getFactory C function to instantiate the 
UNO services implemented by the library.  If you combine libraries (or 
even fold them into the executable) you have to adapt those 
component_getFactory functions.


-Stephan

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



Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Wei Zhang
Oh, I see. Thanks a lot Stephan!

Wei

On Mon, Feb 8, 2010 at 8:29 AM, Stephan Bergmann
stephan.bergm...@sun.comwrote:

 On 02/08/10 15:12, Wei Zhang wrote:

 I am wondering if there is a way when building it, statically link all the
 libraries together instead of using shared libraries (i know it sounds
 stupid) to get a big fat soffice.bin ?


 No, not easily.  For example, many of the shared libraries implement UNO
 services and export a component_getFactory C function to instantiate the UNO
 services implemented by the library.  If you combine libraries (or even fold
 them into the executable) you have to adapt those component_getFactory
 functions.

 -Stephan


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