Peter Fosseus wrote:
> Hi,
>
> I am ready to give up on Firefox and OpenOffice. I have an AMD Pure64 system,
> with X 7.1 and Kde 3.5.2 but no way of opening .doc's other than dchroot,
> which works, but I feel that is a serious work-around. Does anyone have the
> time to write a bit on how to get firefox and openoffice to complile, please.
>
> -pete
>
> On Tuesday 11 July 2006 22:46, Mark Gesing wrote:
>> Both open-office and firefox can be built from source... I have built
>> the latest version of firefox, it wasen't trivial but it is possible,
>> you just have to do a bit of digging on the firefox and
>> <http://openoffice.org> openoffice.org websites to find the source
>> tarballs.
>>
>>
>> On 7/11/06, Rob Landley < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
>> wrote:
>>
>> On Monday 10 July 2006 12:31 pm, Jim Gifford wrote:
>>> Peter Fosseus wrote:
>>>> Hi,
>>>>
>>>> I have a pure-64 AMD system and would like to run some 32bit apps,
>> like
>>
>>>> OpenOffice, Skype and Firefox.
>>>>
>>>> Is it an easy task to add 32bit binary support or do I have to do
>> the
>>
>>>> whole thing over again?
>>>>
>>>> -pete
>>>>
>>>> _______________________________________________
>>>> Clfs-support mailing list
>>>> <mailto:[email protected]>
>> [email protected]
>>
>>>> http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support
>> <http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support>
>>
>>> Peter,
>>> This is a tricky situation. Those particular applications expect
>>> 32bit in /lib, so it won't work. But normally you could build the
>> 32bit
>>
>>> stuff in a pure 64 environment in lib32. But you will need to build a
>>> glibc into that directory also.
>> It sounds like the _easy_ way to do this involves --bind mounts with the
>> new
>> per-process flag thingy. So you can make your 32 bit app see /lib as 32
>> bit
>> libraries by running it under a wrapper script...
>>
>> Rob
>> --
>> Never bet against the cheap plastic solution.
>>
>> _______________________________________________
>> Clfs-support mailing list
>> [email protected]
>> <mailto:[email protected]>
>> http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support
>> <http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support>
>
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support
>
>
Rob,
I have the same setup going and it took me about a week to get
OpenOffice to build successfully. I will tell you what I did. I will
start with Firefox. To get it to build on x86_64, you need to add a
line to the mozconfig file that says:
ac_cv_visibility_pragma=no
Be warned, however, that my 64-bit Firefox segfaults constantly and I
haven't been able to get a functioning build, but it is enough to get a
functioning OpenOffice built against it. I should also note that you
need to build NSS and uncomment the lines in the BLFS mozconfig file to
build against the system nss and nspr libraries. Now for OpenOffice, I
have installed the following optional dependencies:
libxml2
JDK (must be a beta release of version 1.6, I couldn't get it build from
source, only used binaries)
Startup Notifications (not necessary)
boost (this was necessary)
Make sure that the build can find the nspr libraries by putting a
symlink into the firefox include folder:
ln -svf ../nspr/prtypes.h /usr/include/firefox-1.5.0.3
I needed four patches. The first two you can google for, the last two
are in the BLFS book:
64bit-jdk-server-paths.diff
disable-regcomp-java.diff
OOo_2.0.3-system_mozilla_fixes-1.patch
OOo_2.0.3-xauth-1.patch
Do the sed from BLFS:
sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi,lngx6}.mk
Then I used the following configure command from within the
office_config folder:
./configure --prefix=/opt/openoffice-2.0.3 --enable-libart
--disable-fontooo --disable-gnome-vfs --without-fonts
--with-system-stdlibs --with-system-freetype --with-system-expat
--with-system-libxml --with-system-zlib --enable-libsn
--with-system-mozilla --with-firefox --with-build-version=BLFS
--with-package-format=native --disable-binfilter --disable-cairo
Move back out of that folder and do the ./bootstrap and source the
SetEnv.sh script that the configure command tells you (it is different
from the one in the book for x86_64). Then run dmake and wait a few
hours. Follow the installation commands in the book. This worked for
me, your mileage may vary.
If anyone has any other suggestions on getting a working Firefox build
for 64-bit, I am all ears. I have created a 32-bit chroot environment
to hold Firefox (as well as Thunderbird, just so that links between
firefox and thunderbird work properly) with all of its plugins (Java,
Flash, Acrobat Reader, mplayer). It isn't the most elegant solution and
I probably don't have it implemented in the best way, but it works for me.
Joel
_______________________________________________
Clfs-support mailing list
[email protected]
http://ninja.linux-phreak.biz/mailman/listinfo/clfs-support