View previous topic :: View next topic |
Author |
Message |
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Tue Mar 11, 2003 6:09 am Post subject: Can Mozilla CVS live concurrently with emerged mozilla? |
|
|
So here's the dilemma: I emerged mozilla so that I can emerge evolution, which is my mail client of choice. Now, I don't use mozilla 1.2.1, because I like to be more bleeding edge :) So I fastupdate the mozilla cvs tree I have, and build it. It doesn't build properly. After the build, I have symbolic links in the cvs version that are pointing to /usr/lib/mozilla/xxxxx.so
I think the problem is that in the mozilla emerge, it creates the env variable MOZILLA_FIVE_HOME=/usr/lib/mozilla
and also
LDPATH=/usr/lib/mozilla
So the question is, can I disable MOZILLA_FIVE_HOME and remove /usr/lib/mozilla from ld.so.conf temporarily while the cvs version builds?
I would then have to replace /usr/lib/mozilla in the ld path, otherwise I believe evolution would break.
Anyway, thanks for any info. I'm going to go ahead and try this tonight...see if it works properly.
-Crip |
|
Back to top |
|
|
duff Guru
Joined: 19 Jun 2002 Posts: 466 Location: Clemson, SC
|
Posted: Tue Mar 11, 2003 5:02 pm Post subject: |
|
|
emerge --help wrote: | inject (-i short option)
Add a stub entry for a package so that Portage thinks that it's
installed when it really isn't. Handy if you roll your own
packages. Example:
emerge inject sys-kernel/gentoo-sources-2.4.19
|
Are you familiar with this option? I've never used it myself, but you should be safe to unmerge your ebuilt version of Mozilla, inject it back into portage (since you have the CVS version built), and Evolution should be able to emerge. You may have to fiddle around with come environment variables or paths to make sure Evo can find what it needs. |
|
Back to top |
|
|
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Tue Mar 11, 2003 6:09 pm Post subject: |
|
|
duff wrote: | emerge --help wrote: | inject (-i short option)
Add a stub entry for a package so that Portage thinks that it's
installed when it really isn't. Handy if you roll your own
packages. Example:
emerge inject sys-kernel/gentoo-sources-2.4.19
|
Are you familiar with this option? I've never used it myself, but you should be safe to unmerge your ebuilt version of Mozilla, inject it back into portage (since you have the CVS version built), and Evolution should be able to emerge. You may have to fiddle around with come environment variables or paths to make sure Evo can find what it needs. |
No, I was not familiar with that particular option. Thanks for pointing it out. It will definitely come in handy.
I found that evolution needs libplc4.so from mozilla as a library. So some version of mozilla does need to be installed so that evolution will work. What I did was compile a cvs version of moz, and put it in /opt. Then I edited /etc/env.d/10mozilla to contain:
MOZILLA_FIVE_HOME=/opt/mozilla/dist/bin
LDPATH=/opt/mozilla/dist/bin
and did an env-update
Everything seems to be working ok now...have a nice shiny new mozilla 1.4alpha running! Evolution works properly too!
I was considering making an ebuild for this, but is there any way that portage can download directly from cvs? |
|
Back to top |
|
|
duff Guru
Joined: 19 Jun 2002 Posts: 466 Location: Clemson, SC
|
Posted: Tue Mar 11, 2003 6:28 pm Post subject: |
|
|
hoarycripple wrote: |
I was considering making an ebuild for this, but is there any way that portage can download directly from cvs? |
Sure! Plenty of ebuilds do.
Code: | # emerge -s ".*-cvs$" |
Here's 11 examples. |
|
Back to top |
|
|
relyt Apprentice
Joined: 29 Aug 2002 Posts: 238 Location: Massachusetts
|
Posted: Tue Mar 11, 2003 6:38 pm Post subject: |
|
|
duff wrote: | hoarycripple wrote: | I was considering making an ebuild for this, but is there any way that portage can download directly from cvs? |
Sure! Plenty of ebuilds do.
Code: | # emerge -s ".*-cvs$" |
Here's 11 examples. |
Note though that Mozilla is different from most, since it is made up of several modules, and some of them you wouldn't want to grab the trunk of (hence client.mk). So the cvs.eclass (that all the other cvs ebuilds use) isn't all that useful for this. |
|
Back to top |
|
|
hoarycripple n00b
Joined: 11 Mar 2003 Posts: 42
|
Posted: Tue Mar 11, 2003 8:07 pm Post subject: mozilla cvs ebuild |
|
|
Thanks guys, i'm going to be experimenting with this...if there's any interest in the ebuild let me know |
|
Back to top |
|
|
relyt Apprentice
Joined: 29 Aug 2002 Posts: 238 Location: Massachusetts
|
Posted: Tue Mar 11, 2003 8:33 pm Post subject: Re: mozilla cvs ebuild |
|
|
hoarycripple wrote: | Thanks guys, i'm going to be experimenting with this...if there's any interest in the ebuild let me know |
Take a look at the Phoenix-CVS thread for an example that might help you out. |
|
Back to top |
|
|
|