[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to build OOo2 in an x86 chroot

Le samedi 05 novembre 2005 à 01:03 +0100, Kurt Roeckx a écrit :
> On Sat, Nov 05, 2005 at 12:02:10AM +0100, Jérôme Warnier wrote:
> > > better solution would be to get it to properly use
> > > dpkg-architecture.
> > Well, I guess that getting it included upstream is excluded, so if would
> > need a Debian patch. But for how many files? There are probably a lot,
> > don't you think?
> Are you using the debian source, or direct upstream source?
debian source.

> Normally what you do is call the configure script with the build
> arch, and that _should_ be all you have to do.  This basicly
> looks something like in a debian/rules file (for autoconf >=
> 2.50):
Well, we are talking about OOo here, it is not fully migrated to
autoconf/automake. There is even a whole lot of use of dmake (and not
GNU make).

>   confflags += --build $(DEB_HOST_GNU_TYPE)
> else
>   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
> endif
It seems really easy like this. But OOo is still not fully using those.

> ./configure $(confflags) other options
> The call with --host is for cross building.  This is not what
> you're doing, and it even behaves different if you do that.
> So the proper way to call it would be:
> ./configure --build i486-linux-gnu
> It seems that the Debian openoffice.org package isn't doing this,
> and it really should.
It is, but the sources of OOo do not necessarily get this information
from the same source. I guess it will go better and better with time...

> Kurt

Reply to: