Difference between revisions of "User:Mano622"

From Apache OpenOffice Wiki
Jump to: navigation, search
(17/07/08: Configuration and begin compilation)
Line 75: Line 75:
  
 
Yes, the mozilla configure detect an i686.
 
Yes, the mozilla configure detect an i686.
 +
 +
== 18/08/08 Finish to build mozilla module ==
 +
 +
After that discover a part of the problem, I go to see the configure of mozilla.
 +
 +
I waste some hours, so I tryed to restore the original patch with :
 +
$ cd moz
 +
$ cvs up
 +
 +
And this time the build is ok (don't know why)
 +
 +
ericb2 told me to create archive of the module moz
 +
$ dmake zip
 +
 +
So next time I will configure with --disable-build-mozilla
 +
 +
I create repertory work in moz and download seamonkey last version 1.1.11 in.
 +
$ mkdir work
 +
 +
Read mozilla-source-1.7.5.patch for the first time, don't understand every things.
 +
Need to revise patch syntax :
 +
+ line which will be add
 +
- line which will be delete
 +
 +
! block which will be replace
 +
---
 +
! by this block

Revision as of 18:33, 19 July 2008

Hi everybody ! My name is Pierre Pasteau. I am new to OpenOffice.org, but I hope help the project.

Here are some information about my work in the project :


Configuration : Gentoo Linux 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+

16/07/08: Download and get information about the project

First get the latest dev souce with cvs:

$ export CVSROOT=":pserver:anoncvs@anoncvs.services.openoffice.org:/cvs"
$ cvs -z4 co -r DEV300_m23 OpenOffice3 swext tomcat apache-commons

Begin to read and to do exercice from this page: http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction

Read some information about all the module in the project, here: http://wiki.services.openoffice.org/wiki/Source_code_directories

17/07/08: Configuration and begin compilation

I do a little meeting in the morning, with ericb2 and chacha_chaudry (contributors).

I try to configure the software, whith this flags enabled :

$ cd DEV300_m23/config_office && ./configure --with-lang=ALL --with-dict=ALL --without-fonts --enable-libsn --with-system-zlib	
--with-lang=ALL     : for every language.
--with-dict=ALL     : dictionary for every language. 
--without-fonts     : no Bitstream Vera police I have already it with X.	
--with-epm=internal : solve the rpm depends

But I have got some errors, I need to install tcsh and rpm so :

$ emerge tcsh rpm 

emerge is the command of the package management system from Gentoo

ericb2 told me after that to don't have depends I must use this flags:

--with-epm=internal
--with-use-shell=bash

I need to download mozilla sources and put it in moz subdir, need the file unowinreg.dll too.

$ cd moz

Missed modules hyphen and hunspell so:

$ cvs -z4 co -r DEV300_m23 hunspell hyphen

Configuration is ok, so save the line.

Now set the setup context, and do bootstrap:

$ cd .. && source linux*.sh
$ ./bootstrap

The linux*.sh script set vars, alias and unset few vars.




Now try to compile:

$ dmake

But quicly :

first error whith moz :
{standard input}: Assembler messages:	
{standard input}:8: Error: suffix or operands invalid for `push'
this error hapenned when i386 assembler code arrive on x86_64.

I go to the moz subdir, and modified patch with :

$ dmake patch
$ dmake create_patch

But the same problem re-appear.

When try to resolv problem seen that in the Makefile x86 field is execute.

Yes, the mozilla configure detect an i686.

18/08/08 Finish to build mozilla module

After that discover a part of the problem, I go to see the configure of mozilla.

I waste some hours, so I tryed to restore the original patch with :

$ cd moz
$ cvs up

And this time the build is ok (don't know why)

ericb2 told me to create archive of the module moz

$ dmake zip

So next time I will configure with --disable-build-mozilla

I create repertory work in moz and download seamonkey last version 1.1.11 in.

$ mkdir work

Read mozilla-source-1.7.5.patch for the first time, don't understand every things. Need to revise patch syntax :

+ line which will be add
- line which will be delete
! block which will be replace
--- 
! by this block
Personal tools