Re: [dev] getting started hacking openoffice.org

2008-10-27 Thread eric b

Hi,


Le 25 oct. 08 à 06:45, Eric Anopolsky a écrit :


Hi,

I've noticed that OpenOffice.org Calc doesn't support a feature  
that Excel does. I'd like to fix this, but I've never hacked on
OpenOffice.org before so I started with the Building and Hacking  
instructions in the wiki.




Ok


When I tried to follow the My first hack instructions in
http://wiki.services.openoffice.org/wiki/Hacking I ran into  
problems. (Building and running OpenOffice.org according to the  
Building page went

relatively smoothly.)



Thanks for the information.



Here is what happens when I modify the menu.cxx file and rebuild OOO:


[EMAIL PROTECTED]:~/Desktop/openoffice.org/OOO300_m9/vcl$ build debug=true
build -- version: 1.171




After a quick look, I see nothing bad during the build.



-
/home/eric/Desktop/openoffice.org/OOO300_m9/vcl/workben
-
rmdir /tmp/7738



What did you in the middle ?  Did you replace the old lib in the  
install set .. or  ?   FYI, symlink no longer work (excepted some  
rare cases)




[EMAIL PROTECTED]:~/Desktop/openoffice.org/OOO300_m9/vcl$ soffice -writer
/home/eric/Desktop/openoffice.org/OOO300_m9/solver/300/unxlngx6.pro/ 
bin/soffice: 125: /home/eric/Desktop/openoffice.org/OOO300_m9/ 
solver/300/unxlngx6.pro/bin/../basis-link/program/pagein: not found


^^

Something is indeed not found.

Missing vcl resource. This indicates that files vital to  
localization are missing. You might have a corrupt installation.

[EMAIL PROTECTED]:~/Desktop/openoffice.org/OOO300_m9/vcl$



I know a possible cause: services.rdb can be corrupted (e.g. when  
trying to register a new lib, while OOo is alive).




Am I doing something wrong?



I think the change and the build do not cause trouble, but only the  
final step. Did you deliver the lib, repackage new archives ... or ?   
I think we need more info about the end of your hack.


FYI, there are IRC channels existing, where you can find alive  
information, and discuss synchronously can help a lot.


We do #education.openoffice.org ( server is irc.freenode.net ) , but  
you can try on #dev.openoffice.org first. It is up to you.



Regards,
Eric Bachard


--
qɔᴉɹə






Re: [dev] getting started hacking openoffice.org

2008-10-27 Thread Eike Rathke
Hi Eric,

On Friday, 2008-10-24 22:45:03 -0600, Eric Anopolsky wrote:

 [EMAIL PROTECTED]:~/Desktop/openoffice.org/OOO300_m9/vcl$ soffice -writer
 /home/eric/Desktop/openoffice.org/OOO300_m9/solver/300/unxlngx6.pro/bin/soffice:
  125: 
 /home/eric/Desktop/openoffice.org/OOO300_m9/solver/300/unxlngx6.pro/bin/../basis-link/program/pagein:
  not found
 
 Am I doing something wrong?

You ran soffice from within the build environment's solver. You need an
installed office instead. Either copy the changed libraries to an
existing office (of the same master!) installation's program path and
*.res files to the program/resource path, or create a new install set in
module instsetoo_native and install that.

  Eike

P.S.: As you're not subscribed to the mailing list you were posting to,
you will miss replies that are directed to the list only. When answering,
please reply only to the list (Reply-To header is set), not to my
personal account. Thanks.

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] 
Thanks.


pgpOoams69UiT.pgp
Description: PGP signature