View previous topic :: View next topic |
Author |
Message |
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Thu Aug 29, 2002 3:54 pm Post subject: Compiling Mozilla 1.1 with gcc 3.2 (updated) |
|
|
*UPDATE* Read down a few posts and you'll see how I (finally) got mozilla 1.1 release to compile using gcc 3.2
--
Anyone done it. From modifying the 1.1beta ebuild to downloading and trying it myself from source tarball (like in the pre-gentoo days), i cannot get mozilla 1.1 to compile using gcc 3.2. I've found lots of threads about getting plugins to work with mozilla 1.0 on gcc3.2, but i cant get that far.
my compiler flags are as follows:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx"
I also noticed that the 1.1beta ebuild disables the -fomit-frame-pointer flag, so when i exported my flags to try manually compiling, i left it out.
Unfortunately I am not typing this on the machine in question (due to the lack of a browser, mainly), and had also closed the terminal, so i cant remember quite where it stopped. It was NSS something, anyway. I think it may have to do with the personal security manager.
I copied the tarball to another machine and compiled with gcc 2.95, it worked fine (as one would expect).
Any help will be muchly appreciated. _________________ --
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Last edited by Sequentious on Thu Aug 29, 2002 7:00 pm; edited 1 time in total |
|
Back to top |
|
|
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Thu Aug 29, 2002 5:15 pm Post subject: |
|
|
ALright, as an update:
I deleted everything in /usr/portage/distfiles and /var/tmp/portage, and the modified ebuild. I then copied the ebuild again, and made the change so it grabbed "mozilla-whatever.tar.gz" instead of tar.bz2. then i made a digest for it, and sent it on its way emerging.
This time it stopped at "nsNativeAppRunner.o". I've seen this error before, but havent seen a fix (ive heard it in the context of "but once i disabled nsNativeAppRUnner ...") _________________ --
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/ |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Aug 29, 2002 5:23 pm Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments. Quote: | Installing Gentoo
If you've finished the install guide, look somewhere else. But if you're still working your way through it, or just need some info before you start your install, this is the place. |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Thu Aug 29, 2002 6:08 pm Post subject: |
|
|
kanuslupus wrote: | Moved from Installing Gentoo to Desktop Environments. Quote: | Installing Gentoo
If you've finished the install guide, look somewhere else. But if you're still working your way through it, or just need some info before you start your install, this is the place. |
| Oops! sorry, i guess i only caught the "finished the install guide"... _________________ --
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/ |
|
Back to top |
|
|
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Thu Aug 29, 2002 6:59 pm Post subject: |
|
|
Well, I got it going. If anyone else wants to know how, heres what i did:
copy mozilla-1.1_beta.ebuild to mozilla-1.1.ebuild
edit mozilla-1.1.ebuild and do the following:
-change "${MY_PV2}.tar.bz2" to "${MY_PV2}.tar.gz" (without the quotes -- just change the extension)
-find section for the "ABI compat patch for gcc-3.x" and comment out the "abi-compat-wrappers" patch a few lines below.
Mozilla 1.1 will now compile fine on gcc 3.2. My main difficulties were with that abi patch. Now that it is not applied, certain plugins wont work (flash, etc). There is a fix I read on the forums here that should fix that. I wont post it since its already on here somewhere, a search should find it. _________________ --
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/ |
|
Back to top |
|
|
grandpajive n00b
Joined: 17 Jun 2002 Posts: 46
|
Posted: Fri Aug 30, 2002 1:09 am Post subject: yay! |
|
|
Thanks so much.. works quite well with the Crossover Plugins also. Thanks for the info! _________________ -gj |
|
Back to top |
|
|
TheHaas n00b
Joined: 13 Jun 2002 Posts: 61
|
|
Back to top |
|
|
Tuxisuau Apprentice
Joined: 04 May 2002 Posts: 213 Location: Catalunya (Europe)
|
Posted: Fri Aug 30, 2002 3:54 pm Post subject: |
|
|
What about Galeon? It doesn't build against Mozilla 1.1, and i've tried with the trunk use flag, but it doesn't work too :/. _________________ IM me at tuxisuau@jabber.7a69ezine.org |
|
Back to top |
|
|
sisob Apprentice
Joined: 28 Jun 2002 Posts: 274 Location: Ireland
|
Posted: Fri Aug 30, 2002 8:55 pm Post subject: |
|
|
Tuxisuau wrote: | What about Galeon? It doesn't build against Mozilla 1.1, and i've tried with the trunk use flag, but it doesn't work too :/. |
You need to get galeon 2 from cvs to use it with the new mozilla _________________ Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum |
|
Back to top |
|
|
|