public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] OpenOffice compiled from sources, in french ...
       [not found] <20020808044903.0846BAC800@chiba.3jane.net>
@ 2002-10-19 23:18 ` Sylvain
  2002-10-23  0:18   ` [gentoo-dev] " Thomas de Grenier de Latour
  2002-10-23  7:23   ` [gentoo-dev] " Paul de Vrieze
  2002-10-22 16:26 ` Sylvain Meilard
  1 sibling, 2 replies; 7+ messages in thread
From: Sylvain @ 2002-10-19 23:18 UTC (permalink / raw
  To: gentoo-dev

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 1514 bytes --]

Hello !

I am trying to get open office working, compiled from sources.
To do that, i've changed 2 lines in the ebuild :
1) i changed the configure option '--with-lang=ENUS' by this
   one : '--with-lang=ALL' (FREN doesn't compile)
2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
   where i replaced 01 by 33 (which is the right code for France)

I've read informations at http://www.openoffice.org/dev_docs/source/build_linux.html

I've merged oo this way : 
ebuild openoffice-1.0.1-r1.ebuild unpack
ebuild openoffice-1.0.1-r1.ebuild compile
[ here i unzipped files corresponfing to the french manual, as
described in build_linux.html]
ebuild openoffice-1.0.1-r1.ebuild install
ebuild openoffice-1.0.1-r1.ebuild qmerge

Everything seems good, but when i launch oowrite (for example),
all what i get is a very short message : "Aborted"
Then, an "echo $?" tells me "134"

I've also tried to make it launched with strace as described here (4th msg)
http://forums.gentoo.org/viewtopic.php?t=14220&highlight=openoffice+aborted
But the resulting strace's logs doesn't help me :-(

I have already compiled oo without changing the ebuil, so i suppose it
comes from 'my french manipulations'.

If someone knows something about it, i would be very interested :-)

sylvain
___________________________________________________________________
Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] OpenOffice compiled from sources, in french ...
  2002-10-23  7:23   ` [gentoo-dev] " Paul de Vrieze
@ 2002-10-20  4:22     ` Sylvain
  0 siblings, 0 replies; 7+ messages in thread
From: Sylvain @ 2002-10-20  4:22 UTC (permalink / raw
  To: gentoo-dev

Hi !

I have had a closer look at the log file from strace. I found 4 'potential' problems :
+ library xiiimp.so.2 failled to be loaded (file not found)
+ the socket /var/run/.nscd_socket isn't found
+ connection to /tmp/OSL_PIPE_1000_SingleOfficeIPC_-1527540359 is refused
+ a lot of files in $OO_HOME/program/ or $OO_HOME/program/resource/ can't be found
  (oo search for them in the 2 paths). Files missing are iso*.res (iso64199.res for example)

Maybe the missing locale files you speak about are those files *.res ?
But according to http://www.openoffice.org/dev_docs/source/build_linux.html, in the paragraph
"Building Localised Versions of OpenOffice.org", french resources should be build (and also other
resources) when the '--with-lang=ALL' option is given to the ./configure script.

Anyway, i've unmerged openoffice, and cleaned the work directory where it has been build...
So i'll try a new building another night :-)

sylvain



Le Wed, 23 Oct 2002 09:23:39 +0200
Paul de Vrieze <gentoo-user@devrieze.net> a écrit:

> On Sunday 20 October 2002 01:18, Sylvain wrote:
> > Hello !
> >
> > I am trying to get open office working, compiled from sources.
> > To do that, i've changed 2 lines in the ebuild :
> > 1) i changed the configure option '--with-lang=ENUS' by this
> >    one : '--with-lang=ALL' (FREN doesn't compile)
> > 2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
> >    where i replaced 01 by 33 (which is the right code for France)
> 
> export LANGUAGE=33 should be enough.
> 
> > Everything seems good, but when i launch oowrite (for example),
> > all what i get is a very short message : "Aborted"
> > Then, an "echo $?" tells me "134"
> 
> I believe the problem is that you don't have the french locale files. I don't 
> know how to install them. But I do know the default sources come only with 
> the german and english locales. (The 200+ languages in this world would 
> really really bloat the source package)
> 
> Paul
> 
> -- 
> Paul de Vrieze
> Junior Researcher
> Mail: pauldv@cs.kun.nl
> Homepage: http://www.devrieze.net
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
___________________________________________________________________
Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-dev] OpenOffice compiled from sources, in french ...
       [not found] <20020808044903.0846BAC800@chiba.3jane.net>
  2002-10-19 23:18 ` [gentoo-dev] OpenOffice compiled from sources, in french Sylvain
@ 2002-10-22 16:26 ` Sylvain Meilard
  2002-10-23 13:21   ` Paul de Vrieze
  1 sibling, 1 reply; 7+ messages in thread
From: Sylvain Meilard @ 2002-10-22 16:26 UTC (permalink / raw
  To: gentoo-dev

Hello !

I am trying to get open office working, compiled from sources.
To do that, i've changed 2 lines in the ebuild :
1) i changed the configure option '--with-lang=ENUS' by this
   one : '--with-lang=ALL' (FREN doesn't compile)
2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
   where i replaced 01 by 33 (which is the right code for France)

I've read informations at http://www.openoffice.org/dev_docs/source/build_linux.html

I've merged oo this way : 
ebuild openoffice-1.0.1-r1.ebuild unpack
ebuild openoffice-1.0.1-r1.ebuild compile
[ here i unzipped files corresponfing to the french manual, as
described in build_linux.html]
ebuild openoffice-1.0.1-r1.ebuild install
ebuild openoffice-1.0.1-r1.ebuild qmerge

Everything seems good, but when i launch oowrite (for example),
all what i get is a very short message : "Aborted"
Then, an "echo $?" tells me "134"

I've also tried to make it launched with strace as described here (4th msg)
http://forums.gentoo.org/viewtopic.php?t=14220&highlight=openoffice+aborted
But the resulting strace's logs doesn't help me :-(

I have already compiled oo without changing the ebuil, so i suppose it
comes from 'my french manipulations'.

If someone knows something about it, i would be very interested :-)

sylvain


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-dev] Re: OpenOffice compiled from sources, in french ...
  2002-10-19 23:18 ` [gentoo-dev] OpenOffice compiled from sources, in french Sylvain
@ 2002-10-23  0:18   ` Thomas de Grenier de Latour
  2002-10-23  7:23   ` [gentoo-dev] " Paul de Vrieze
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas de Grenier de Latour @ 2002-10-23  0:18 UTC (permalink / raw
  To: gentoo-dev

Hi,

I don't have specific solution for your problem, but a suggestion:
maybe you could have a look on what was done in other linux
distribution ;)
   For example, in Mandrake, they were able to build a core package plus
several localization (l10n) packages... but it was not that simple:

http://rpmfind.net//linux/RPM/mandrake/9.0/SRPMS/OpenOffice.org-1.0.1-9mdk.src.html

(in fact, I'm really thinking of porting this solution to portage, when
I have time...)

-- Thomas.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] OpenOffice compiled from sources, in french ...
  2002-10-19 23:18 ` [gentoo-dev] OpenOffice compiled from sources, in french Sylvain
  2002-10-23  0:18   ` [gentoo-dev] " Thomas de Grenier de Latour
@ 2002-10-23  7:23   ` Paul de Vrieze
  2002-10-20  4:22     ` Sylvain
  1 sibling, 1 reply; 7+ messages in thread
From: Paul de Vrieze @ 2002-10-23  7:23 UTC (permalink / raw
  To: gentoo-dev

On Sunday 20 October 2002 01:18, Sylvain wrote:
> Hello !
>
> I am trying to get open office working, compiled from sources.
> To do that, i've changed 2 lines in the ebuild :
> 1) i changed the configure option '--with-lang=ENUS' by this
>    one : '--with-lang=ALL' (FREN doesn't compile)
> 2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
>    where i replaced 01 by 33 (which is the right code for France)

export LANGUAGE=33 should be enough.

> Everything seems good, but when i launch oowrite (for example),
> all what i get is a very short message : "Aborted"
> Then, an "echo $?" tells me "134"

I believe the problem is that you don't have the french locale files. I don't 
know how to install them. But I do know the default sources come only with 
the german and english locales. (The 200+ languages in this world would 
really really bloat the source package)

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] OpenOffice compiled from sources, in french ...
  2002-10-22 16:26 ` Sylvain Meilard
@ 2002-10-23 13:21   ` Paul de Vrieze
  2002-10-27  1:45     ` Sylvain
  0 siblings, 1 reply; 7+ messages in thread
From: Paul de Vrieze @ 2002-10-23 13:21 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 22 October 2002 18:26, Sylvain Meilard wrote:
> Hello !
>
> I am trying to get open office working, compiled from sources.
> To do that, i've changed 2 lines in the ebuild :
> 1) i changed the configure option '--with-lang=ENUS' by this
>    one : '--with-lang=ALL' (FREN doesn't compile)
> 2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
>    where i replaced 01 by 33 (which is the right code for France)
>
> I've read informations at
> http://www.openoffice.org/dev_docs/source/build_linux.html

They call the french resource RES_FREN, not FREN. So set this in --with-lang

And don't forget to export LANGUAGE=33
Then install

Paul

-- 
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] OpenOffice compiled from sources, in french ...
  2002-10-23 13:21   ` Paul de Vrieze
@ 2002-10-27  1:45     ` Sylvain
  0 siblings, 0 replies; 7+ messages in thread
From: Sylvain @ 2002-10-27  1:45 UTC (permalink / raw
  To: gentoo-dev

Hello !

Sorry for being so long to reply :(
the right french --with-lang option is really FREN.
RES_FREN is another variable, set in the LinuxIntelEnv.set file, which seems
to be produced by the ./configure script.
The option --with-lang=FREN doesn't compile, since it'll lack ENUS resources
which seems to be required for a proper compilation. I was using --with-lang=ALL
but --with-lang=ENUS,FREN is enougth.

I am having a look at the OpenOffice.org.spec file in the SRPM archive
http://rpmfind.net//linux/RPM/mandrake/9.0/SRPMS/OpenOffice.org-1.0.1-9mdk.src.html
as suggered by Thomas de Grenier de Latour, and i'm quite impressed by the amount
of patchs they apply...

still searching...

sylvain

Le Wed, 23 Oct 2002 15:21:36 +0200
Paul de Vrieze <gentoo-user@devrieze.net> a écrit:

> On Tuesday 22 October 2002 18:26, Sylvain Meilard wrote:
> > Hello !
> >
> > I am trying to get open office working, compiled from sources.
> > To do that, i've changed 2 lines in the ebuild :
> > 1) i changed the configure option '--with-lang=ENUS' by this
> >    one : '--with-lang=ALL' (FREN doesn't compile)
> > 2) i change the line '[ -z "${LANGUAGE}" ] && LANGUAGE=01'
> >    where i replaced 01 by 33 (which is the right code for France)
> >
> > I've read informations at
> > http://www.openoffice.org/dev_docs/source/build_linux.html
> 
> They call the french resource RES_FREN, not FREN. So set this in --with-lang
> 
> And don't forget to export LANGUAGE=33
> Then install
> 
> Paul
> 
> -- 
> Paul de Vrieze
> Junior Researcher
> Mail: pauldv@cs.kun.nl
> Homepage: http://www.devrieze.net
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
___________________________________________________________________
Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-27  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20020808044903.0846BAC800@chiba.3jane.net>
2002-10-19 23:18 ` [gentoo-dev] OpenOffice compiled from sources, in french Sylvain
2002-10-23  0:18   ` [gentoo-dev] " Thomas de Grenier de Latour
2002-10-23  7:23   ` [gentoo-dev] " Paul de Vrieze
2002-10-20  4:22     ` Sylvain
2002-10-22 16:26 ` Sylvain Meilard
2002-10-23 13:21   ` Paul de Vrieze
2002-10-27  1:45     ` Sylvain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox