Re: [dev] soffice.bin crash when start up and return value is 78

2008-03-07 Thread Thorsten Behrens
On Thu, Mar 06, 2008 at 10:52:22PM -0500, Zongyun Lai wrote:
 However, when I want to launch the application, I do the following  
 operations, and it crashes,
 $ . LinuxX86Env.Set.sh
 $ cd solver/680/unxlngi6.pro/bin/
 $ ./soffice.bin -impress
 (.. a quick splash screen, then crash, can't even see what it is...)
 $ echo $?
 78

As you found out, OOo needs to be installed for proper operation -
you can kind of make the build do that for you, by setting
PKGFORMAT=installed. Then,
instsetoo_native/yourplatform/OpenOffice/installed/... will
contain a ready-made OOo installation.

Even easier is using ooo-build
(http://wiki.services.openoffice.org/wiki/Ooo-build), that's a build
system  set of patches around OOo, that basically makes building a 

./configure
./download  (to grab build prerequisites)
make
ooinstall -l target_dir

 So, could anyone give me some hints for this weird situation? Why can't  
 I just launch applications in solver/680/unxlngi6.pro/bin/ directdory? I  
 have googled the problem, some article suggest setting  
 OOO_FORCE_DESKTOP=none, but it is of no use. So, if I have to install  
 those packages after each modifications, it is very inconvenient for  
 testing and debugging.

True. Usually people manually copy libraries from solver to installation 
to avoid this situation - ooo-build's ooinstall conveniently integrates a 
script that symlinks solver  installation, so that's taken care of
there (vanilla OOo's version of that script is currently broken).

HTH,

-- Thorsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Extension not working with open office separately

2008-03-07 Thread Juergen Schmidt

Dinesh Chothe wrote:

On Thu, Mar 6, 2008 at 4:05 PM, Robert Vojta [EMAIL PROTECTED] wrote:


On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe [EMAIL PROTECTED]
wrote:


I have created one oo extension project using Netbeans.
When  I build and run this extension through Netbeans
it works fine

Does this mean that you click on Deploy and Run Extension in
OpenOffice.org?


--Yes. This has done through netbeans progect--right click--deploy and
run application
 in open office.




but after creating its   .oxt   file  through
Netbeans  and  building  it through tools--Extension Manager in open

office(2.3)

not working.

How did you create your extension (.oxt file)? Create OXT in project
context menu?

These steps are equivalent (in extension create  install view) ...

a) Create OXT and manual installation ( Tools - Extension Manager )
b) Deploy OpenOffice.org Extension
c) Deploy and Run Extension in OpenOffice.org

... if not, it is probably a bug and should be reported.



 -- Yes I have tried all bove mentioned possible ways.

Also my extension uses some java classes in which some functions are
 related with jdk1.6 library.  For  this  I  also  set  the  jre1.6
in  open office.
By  this I am getting an error while clicking on new menu item that ...
Open office requires java run time enviornment. Selected jre is
defective.
 Please select another jre...
 For this also I checked jre,  it is selected properly under
tools-optione-
  java--jre1.6  .
 How do I solve this problem?


on which platform are you working? Do you use an office installation 
directly from OO.org or one coming with a distro? That have to mean 
nothing but i try to collect some more info to get a better picture what 
 potentially goes wrong.


It sounds definitely strange and i assume i problem with your office 
installation.


Juergen





--
Robert Vojta

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



Re: [dev] Extension not working with open office separately

2008-03-07 Thread Robert Vojta
On Fri, Mar 7, 2008 at 9:20 AM, Juergen Schmidt [EMAIL PROTECTED] wrote:

  It sounds definitely strange and i assume i problem with your office
  installation.

I was thinking about this yesterday and I probably saw this too. It
has something to do with extension debugging, quick starter and
friends. I can't reproduce the problem now, but it was something like
this ...

 - no instance of running OpenOffice.org, quick starter disabled
 - extension debug starts own OO.o instance with new settings (with enabled QS)
 - extension debug ends
 - new instance of OO.o started (without NetBeans) and it has crippled
Java - because debug instance of OO.o has enabled QS, still in memory,
and I don't know how, but it affects normal OO.o instance too (QS
enabled even if it was disabled, Java, ...)

I already described this behavior in this issue

 - http://www.openoffice.org/issues/show_bug.cgi?id=83603

Maybe it has something to do with this issue, because this is the case
when I saw the same error message (about wrong configured Java).

-- 
Robert Vojta

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] RFC: java 1.5

2008-03-07 Thread Stephan Bergmann

Malte Timmermann wrote:

My point of view:

Most people agree that OOo mustn't loose (meta) data when Java is not
available, but plug ins for working with meta data can rely on Java.

Changing OOo's Java base line from 1.4 to 1.5 is fine for most people then.


AFAIK the current Java baseline is 1.3.1.

-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Extension not working with open office separately

2008-03-07 Thread Juergen Schmidt

Robert Vojta wrote:

On Fri, Mar 7, 2008 at 9:20 AM, Juergen Schmidt [EMAIL PROTECTED] wrote:


 It sounds definitely strange and i assume i problem with your office
 installation.


I was thinking about this yesterday and I probably saw this too. It
has something to do with extension debugging, quick starter and
friends. I can't reproduce the problem now, but it was something like
this ...

 - no instance of running OpenOffice.org, quick starter disabled
 - extension debug starts own OO.o instance with new settings (with enabled QS)
 - extension debug ends
 - new instance of OO.o started (without NetBeans) and it has crippled
Java - because debug instance of OO.o has enabled QS, still in memory,
and I don't know how, but it affects normal OO.o instance too (QS
enabled even if it was disabled, Java, ...)

I already described this behavior in this issue

 - http://www.openoffice.org/issues/show_bug.cgi?id=83603

Maybe it has something to do with this issue, because this is the case
when I saw the same error message (about wrong configured Java).


mmh, that sounds reasonable. I will check it ...

Juergen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] ooh680-m9 build problem

2008-03-07 Thread KAMI

Hi!
I tried to build m9 under Ubuntu 7.10 but I got this error:

Making: ../unxlngi6.pro/bin/typesconfig
unx
cat ../unxlngi6.pro/misc/typesconfig.typesconfig_1.cmd
ccache g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs 
-Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new 
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both 
-Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-export-dynamic 
-Wl,--noinhibit-exec -L../unxlngi6.pro/lib -L../lib 
-L/svnroot/go-oo/ooo-build/build/current/solenv/unxlngi6/lib 
-L/svnroot/go-oo/ooo-build/build/current/solver/680/unxlngi6.pro/lib 
-L/svnroot/go-oo/ooo-build/build/current/solenv/unxlngi6/lib 
-L/usr/local/jdk1.5.0_10/lib -L/usr/local/jdk1.5.0_10/jre/lib/i386 
-L/usr/local/jdk1.5.0_10/jre/lib/i386/client 
-L/usr/local/jdk1.5.0_10/jre/lib/i386/native_threads -L/usr/lib -L 
../unxlngi6.pro/obj/typesconfig.o \
-ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -o 
../unxlngi6.pro/bin/typesconfig
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function 
`_start':

(.text+0x18): undefined reference to `main'
-rwxr-xr-x 1 agentk agentk 6826 Mar  7 10:48 ../unxlngi6.pro/bin/typesconfig
-
mkdir ../unxlngi6.pro/inc/sal
../unxlngi6.pro/bin/typesconfig ../unxlngi6.pro/inc/sal/typesizes.h
dmake:  Error code 139, while making '../unxlngi6.pro/inc/sal/typesizes.h'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making 
/svnroot/go-oo/ooo-build/build/current/sal/typesconfig

/svnroot/go-oo/ooo-build/build/current
Commencing main build
build -- version: 1.163


What causes this kind of error?


KAMI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] soffice.bin crash when start up and return value is 78

2008-03-07 Thread Stephan Bergmann

Zongyun Lai wrote:

Hi all,
I am new to OpenOffice development. I grabed the vanilla source codes 
from development build (build OOH680_m8) today. And I happily compiled 
them with the help of ccache and distcc. Some, compiling is not a great 
pain. However, when I want to launch the application, I do the following 
operations, and it crashes,

$ . LinuxX86Env.Set.sh


This modifies your environment (e.g., LD_LIBRARY_PATH), which can cause 
problems when you start applications from that environment.



$ cd solver/680/unxlngi6.pro/bin/
$ ./soffice.bin -impress


Always start ./soffice, not ./soffice.bin.

-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] how to use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-07 Thread Stephan Bergmann

Oliver Brinzing wrote:

Hi Robert,


.xsd is in the same .jar file as your extension? If yes,


yes it's inside the extension ...


getClass().getResource( /path/in/my/jar/something.xsd ) should work.

i just found:

InputStream is = 
this.getClass().getClassLoader().getResourceAsStream(file);


anyway, i still do not understand why ClassLoader.getSystemResource(file);
does not work inside an extension ...


To quote 
http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html#getSystemResource(java.lang.String): 
 This method locates the resource through the system class loader 
[...].  And the system class loader does not know anything about your 
extension jar, as that is loaded with another class loader.


-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Marcus Silva

What do I think???
Novell is tring to break OOo apart. It was predictable.
-1 to Novell
this site can show some prices to travel. Can show a lot of prices but 
in Brasilian money :(

http://www.submarinoviagens.com.br/
International I don´t know a site :(.

Cor Nouws escreveu:

Charles-H. Schulz wrote (6-3-2008 19:39)

Le 6 mars 08 à 19:24, Michael Meeks a écrit :



The Novell team thought that, what with the next OOoCon being in
Beijing and the cost of travel there (etc.) and of course the broad
focus of that conference; that it would be good to have a very
hacker-focused event in Europe. So, we're inviting all hyper-technical
people (with or without long hair) to join the Novell go-oo team for
part of their annual team face-to-face in Prague.

To re-iterate, this is not an attempt to undermine OOoCon 


Great to read this. I didn't expect anything else of course...

- if you can only afford to go to one conference (money, time, 
spousal -patience / whatever); go to OOoCon.


.. but here I would have expected: choose the great 
multi-international event in Beijing, whenever possible. And if money 
is a problem, look at the special offers. If you have more time and 
interests, don't miss Prague.



Having said that, it should be a fun time to sit and chew over the
latest developments, problems, and opportunities - while getting to 
know

other people.

   Conference site:
   + http://wiki.services.openoffice.org/wiki/GoOOCon_2008
[...]



I am sorry but given the way you describe this event, it seems that:
[...]

In short, you advertise for a Novell event.
Notice that I think a Novell event could be an interesting idea, but, 
as I wrote above, the way it is being pictured looks problematic to me.


I'm not aware (my fault) of guide lines for RegiCons. But I expect it 
to be rather low level to set up. So why not try to do some extra's 
and make a RegiCon of the Go-OOo event?
IMO it's great if the Novell OOo team organizes an event and others 
feel free to join and enjoy. I wouldn't understand why there should be 
X- of Y-only events :-)


Best,
Cor




Marcus de Vasconcelos Diogo da Silva
Instrutor Informática   [EMAIL PROTECTED]
Consultor Software LivreCelular:+55 85 88777045
http://www.broffice.org/blog/7040
[EMAIL PROTECTED]

No caudaloso rio de nossas vidas nos dando as mãos navegaremos mais seguros, pois a 
força da amizade é o maior dos escudos contra as adversidades. (OHeremita)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] how to use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-07 Thread Robert Vojta
On Thu, Mar 6, 2008 at 9:14 PM, Oliver Brinzing [EMAIL PROTECTED] wrote:

  anyway, i still do not understand why ClassLoader.getSystemResource(file);
  does not work inside an extension ...

Search [EMAIL PROTECTED] mailing list, for example thread
[api-dev] Classpath in OO Extensions on Tue, Jan 22, 2008 at 2:13
PM. Or just search for Classpath in this mailing list.

-- 
Robert Vojta

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Robert Vojta
On Fri, Mar 7, 2008 at 1:21 PM, Marcus Silva [EMAIL PROTECTED] wrote:

 What do I think???
  Novell is tring to break OOo apart. It was predictable.
  -1 to Novell

This is what? Do you want to start some flamewar again? Or what? Just
to refresh your memory, dev@openoffice.org mailing list description:

This list provides a general entry point for developers; it is also
strongly urged that all developers subscribe to this list for
announcements, etc. If you are unsure which project fits your needs
best, ask for redirection here. But do not expect user discussions or
support. Rather, discussions are focused on the development of the
technology.

Do you like this event? Come, meet people and be happy. Don't you? Stay at home.

I don't like these stupid emails about nothing. Do you want to say
something like this to Michael / Novell? Say it, but off-list,
directly to Michael, Novell, in your blog, ...

Anyone else wants to start virtual fight against Sun, Novell, SCA,
JCA, LGPL, GPL, ... for whatever reason here? Me not, so, please, try
to resolve these things off-list. Thanks!

-- 
Robert Vojta

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Marcus Silva

Sorry Robert and every one.
I will not comment about GoOOoCon or any other action related to that.
No flameswar.
Marcus

Robert Vojta escreveu:

On Fri, Mar 7, 2008 at 1:21 PM, Marcus Silva [EMAIL PROTECTED] wrote:

  

What do I think???
 Novell is tring to break OOo apart. It was predictable.
 -1 to Novell



This is what? Do you want to start some flamewar again? Or what? Just
to refresh your memory, dev@openoffice.org mailing list description:

This list provides a general entry point for developers; it is also
strongly urged that all developers subscribe to this list for
announcements, etc. If you are unsure which project fits your needs
best, ask for redirection here. But do not expect user discussions or
support. Rather, discussions are focused on the development of the
technology.

Do you like this event? Come, meet people and be happy. Don't you? Stay at home.

I don't like these stupid emails about nothing. Do you want to say
something like this to Michael / Novell? Say it, but off-list,
directly to Michael, Novell, in your blog, ...

Anyone else wants to start virtual fight against Sun, Novell, SCA,
JCA, LGPL, GPL, ... for whatever reason here? Me not, so, please, try
to resolve these things off-list. Thanks!

  


Re: [dev] Thank you for voting Beijing

2008-03-07 Thread Charles-H. Schulz

Peter, John,

do you happen to know if a specific mailing list for the conference  
(something like [EMAIL PROTECTED]) has opened or will be opened?


Thanks,
Charles.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Charles-H. Schulz

Hello Marcus,

thank you for your last message. I hope you can contribute to  
OpenOffice.org through broffice.org ; if you need more information,  
just let me know.


Best,
Charles.

Le 7 mars 08 à 15:04, Marcus Silva a écrit :


Sorry Robert and every one.
I will not comment about GoOOoCon or any other action related to that.
No flameswar.
Marcus

Robert Vojta escreveu:
On Fri, Mar 7, 2008 at 1:21 PM, Marcus Silva  
[EMAIL PROTECTED] wrote:




What do I think???
Novell is tring to break OOo apart. It was predictable.
-1 to Novell



This is what? Do you want to start some flamewar again? Or what? Just
to refresh your memory, dev@openoffice.org mailing list description:

This list provides a general entry point for developers; it is also
strongly urged that all developers subscribe to this list for
announcements, etc. If you are unsure which project fits your needs
best, ask for redirection here. But do not expect user discussions or
support. Rather, discussions are focused on the development of the
technology.

Do you like this event? Come, meet people and be happy. Don't you?  
Stay at home.


I don't like these stupid emails about nothing. Do you want to say
something like this to Michael / Novell? Say it, but off-list,
directly to Michael, Novell, in your blog, ...

Anyone else wants to start virtual fight against Sun, Novell, SCA,
JCA, LGPL, GPL, ... for whatever reason here? Me not, so, please, try
to resolve these things off-list. Thanks!





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Michael Meeks
Hi Charles,

On Thu, 2008-03-06 at 19:39 +0100, Charles-H. Schulz wrote:
 - it will be 'hackers' only

Well, given the content of the talks and company, I'm
confident it will be much less interesting to non-hackers, so modulo
some really patient people coming, you're prolly right, is that a
problem ?

 - nobody will be able to speak politics (ah, those darned politics
 and, always pointing out awkward things about your employer!
 Why do they even exist?)

Honestly, I'm happy to talk politics[1] vigorously: will you
share an hour slot with me for a debate on the future of OpenOffice in
Beijing ? However, I realise that other people are not; in particular
our friends among the Sun hackers. Indeed, at the last two ESC
meetings, it has been similarly forbidden to discuss so called
'politics', instead focusing on technical issues.

 which in essence means, that discussions will be managed

Sure, self regulated - I agree it sucks at some level, but
don't believe for a moment it's for my benefit.

 - you seem to be ignoring the existence of RegiCons, or regional
 conferences that work very well.

Yep, was unaware of them; on the other hand I want to meet,
talk to and drink beer with hackers from all over the place: is that
what a RegiCon is ? if so, lets call it a RegiCon.

 In short, you advertise for a Novell event. Notice that I think a
 Novell event could be an interesting idea, but, as I wrote above,
 the way it is being pictured looks problematic to me.

Problematic because it tramples on some existing RegiCon ? or
that it is primarily focused at developers[2] ? or because it's (as I
said) tacked onto the end of an existing Novell event, or becuase it's
organised by Novell ? or ... ?

All the best,

Michael.

[1] - eg. I'm still waiting for some a reply that appears to have been
collateral damage in an unrelated end-thread (though perhaps now moot
with the new SCA exemptions, only time will tell):
http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=21708

[2] - If the Native-Lang guys want to have their own
Native-Lang-contributors-only meetings whether virtual, or real I
have no problem with that; why different for developers ?
-- 
 [EMAIL PROTECTED]  , Pseudo Engineer, itinerant idiot



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Pavel Janík

Hi,

Besides, the scheduling -roughly at the same time than the OOoCON  
if I understood things well- is also counterproductive.


no Charles, you haven't even looked at the Wiki to see when it is...  
But you have to say your wors anyway.


:-(
--
Pavel Janík



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-07 Thread Charles-H. Schulz


Le 7 mars 08 à 16:09, Pavel Janík a écrit :


Hi,

Besides, the scheduling -roughly at the same time than the OOoCON  
if I understood things well- is also counterproductive.


no Charles, you haven't even looked at the Wiki to see when it is...  
But you have to say your wors anyway.


:-(


My fault, wasn't sure of the dates as I wrote.

Best,
Charles.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Re: Implementation details of spreadsheet function TEXT

2008-03-07 Thread Andreas Saeger
Eike Rathke wrote:
 Both return the same ISO date-string of a number in A1.
 Can I take English format codes for granted with all locales?
 
 Yes, for the TEXT function English date format codes do work with all
 locales.
 

Sorry, I found an inconsistancy with this feature:
=TEXT(A1;-MM-DD) works just fine
=TEXT(A1;-MM-DD HH:MM:SS) returns -03-DD 08:17:40

It needs to be
=TEXT(A1;-MM-TT HH:MM:SS)
with German locale.

May I file an issue?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Re: Implementation details of spreadsheet function TEXT

2008-03-07 Thread Andreas Saeger
Hi,
It's me again.

Andreas Saeger wrote:
 Eike Rathke wrote:
 Both return the same ISO date-string of a number in A1.
 Can I take English format codes for granted with all locales?
 Yes, for the TEXT function English date format codes do work with all
 locales.

 
 Sorry, I found an inconsistancy with this feature:
 =TEXT(A1;-MM-DD) works just fine
 =TEXT(A1;-MM-DD HH:MM:SS) returns -03-DD 08:17:40
 
 It needs to be
 =TEXT(A1;-MM-TT HH:MM:SS)
 with German locale.
 
 May I file an issue?


Not shure if this is related to the TEXT function issue, but there seems
to be something wrong with a similar API function.

REM  *  BASIC  *
Sub Main
d = 38541.173

oNumberFormatter = createUnoService(com.sun.star.util.NumberFormatter)
oNumberFormatter.attachNumberFormatsSupplier(ThisComponent)

oLocale  = createUnoStruct(com.sun.star.lang.Locale)
oLocale.Language = de
oLocale.Country = DE

msgbox oNumberFormatter.convertNumberToPreviewString (-MM-DD
HH:MM:SS, d, oLocale, TRUE)


end sub

The message box reports -07-DD 04:09:07.
If I understand convertNumberToPreviewString correctly, the last boolean
argument allows for English format strings.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Re: soffice.bin crash when start up and return value is 78

2008-03-07 Thread Zongyun Lai

Stephan Bergmann wrote:

Zongyun Lai wrote:

Hi all,
I am new to OpenOffice development. I grabed the vanilla source 
codes from development build (build OOH680_m8) today. And I happily 
compiled them with the help of ccache and distcc. Some, compiling is 
not a great pain. However, when I want to launch the application, I do 
the following operations, and it crashes,

$ . LinuxX86Env.Set.sh


This modifies your environment (e.g., LD_LIBRARY_PATH), which can cause 
problems when you start applications from that environment.



$ cd solver/680/unxlngi6.pro/bin/
$ ./soffice.bin -impress


Always start ./soffice, not ./soffice.bin.

-Stephan

Hi Stephan,
Thanks for your idea. But if I don't source the LinuxX86Env.Set.sh file, 
the command runs as follows,

$ sh soffice -writer
/home/zlai/ooo/OOH680_m8/solver/680/unxlngi6.pro/bin/soffice.bin: error 
while loading shared libraries: libvcl680li.so: cannot open shared 
object file: No such file or directory


Then, I do sh -x soffice -writer, and check LD_LIBRARY_PATH variable. 
The variable doesn't contain correct path for libvcl680li.so. Then, I 
manually specify the correct path for libvcl680li.so, then the same 
thing happen: program crash and return value is 78. The same as sourcing 
the LinuxX86Env.Set.sh file.


Any idea? Thanks.

Zach


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] RFC: java 1.5

2008-03-07 Thread Caolan McNamara
On Tue, 2008-03-04 at 16:39 +0100, Rony G. Flatscher wrote:
 Taking all of this into account it seems to be a very attractive goal to 
 create (or employ thired party) libraries in Java as that would truly 
 help to cut down porting costs, as usually you won't have no porting 
 costs with Java. E.g. look at the XML processing Java libraries that are 
 also used in OOo.

A minimum base-line of java 1.5 for the java bits of OOo should be no
problem for libgcj, so there's no problem (in theory at least) for the
various ports of OOo to platforms that either don't have a port of or
cannot use the traditional sun java or free icedtea version. e.g.
fedora on arm-eabi, debian on mips, s390 etc where gcj is the only
solution. Just keep away from the sun.* classes which are documented in
the sun java api itself as not to be used and all should be good wrt.
portability between those java implementations.

But the launch time for our java-based wizards isn't exactly speedy and
helpcontent2 when it was moved from the java app to the libxslt based 
c++ one slashed multi-language build times, so using java ain't without
some pitfalls :-)

C.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: soffice.bin crash when start up and return value is 78

2008-03-07 Thread Thorsten Behrens
On Fri, Mar 07, 2008 at 12:24:26PM -0500, Zongyun Lai wrote:
 By the way, since I only want to hack some new features for 
 Impress, is there any way I can check out and compile codes only
 for Impress? I knew the concept of 'solver' from  
 http://www.openoffice.org/dev_docs/source/solver.html, which seems 
 just what I want.

This didn't really work for Linux - too much variation in libs,
compiler, compile-time options, etc. And it would be a large chunk 
to download...
...besides, debugging in an OOo application sometimes has the
tendency to drag you into lower levels quickly - you'll then be
happy you have all the code. ;-)

 Is there any smart way to avoid downloading all the source tree? 

No, everything else is less smart. And likely bigger than the
sources.

Cheers,

-- Thorsten


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]