View previous topic :: View next topic |
Author |
Message |
krisse Guru
Joined: 15 Mar 2005 Posts: 325 Location: Sweden
|
Posted: Fri Jul 20, 2007 1:40 pm Post subject: texlive 2007, howto? [SOLVED] |
|
|
I've been installing a fresh gentoo, and thought I'd try to move from (the no-longer-being-developed) tetex to texlive.
To be honest, I didn't even try the (masked) 2005 ebuild that's in the tree, but gave 2007 a go; using ebuilds from Bugzilla Bug 168177.
However, I can't get it to work. I've tried different ebuilds -- namely the one in comment 40, and the one in comment 39. Neither worked. (The former ends with an error as explained below, the latter starts downloading 2005 sources, even though I've renamed the (patched) 2005 ebuild to 2007.)
The ebuild from comment 40, after being patched to working SRC_URI:s, ends with an error quite like the one mentioned in comment 21, however I fail to see how to resolve it.
Could anyone write up a short howto build texlive 2007? Maybe it'd even be enough to just point me to a ebuild that works?
Which ebuild to use and how to go about it. (Yes, I've seen the howto for doing it manually -- i e not by portage -- in gentoo-wiki; I'd like to use portage /paludis though.)
Last edited by krisse on Sun Jul 22, 2007 5:40 pm; edited 1 time in total |
|
Back to top |
|
|
V-Li Retired Dev
Joined: 03 Jan 2006 Posts: 613
|
Posted: Sat Jul 21, 2007 7:32 pm Post subject: |
|
|
http://gentoo-wiki.com/TeX_Live_2007 and a dev is working on TeXLive 2007..but it is such a beast, that it needs a lot of work. So be patient. |
|
Back to top |
|
|
Stormkings Guru
Joined: 27 Sep 2002 Posts: 352 Location: Europe
|
Posted: Sat Jul 21, 2007 10:19 pm Post subject: |
|
|
Hi,
I got it to work yesterday. I used the last ebuild from the bug report, the three patches and the extract script. I didn't use any ebuild diff only the plain ebuild from Dmitry S. Kulyabov.
It is important to download the livedvd iso and not the install iso as mentioned in the extract script.
Here is what i did:
- copy all files in your portage overlay, patches in ebuild directory/files/2007
- copy texmf-update from texlive 2005 in ebuild directory/files
- extract the necessary bz2 files from iso and copy them into distfiles
- create digest from ebuild
- unmask texlive in package.unmask
- emerge texlive
good luck
dk |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Sun Jul 22, 2007 1:27 am Post subject: |
|
|
An alternative as I did get it to work ~2 weeks ago and not the same way than Stormkings.
I put everything in a personal overlay of course. I'll refer to the root of the overlay as $OVERLAY.
So in your overlay create "app-text", "app-text/texlive/", "app-text/texlive/files" and "app-text/texlive/files/2007".
I use this ebuild from the bug report:https://bugs.gentoo.org/attachment.cgi?id=122965.
I use the three patches from the bug:
1)https://bugs.gentoo.org/attachment.cgi?id=120479 and save it with the name
Code: | $OVERLAY/app-text/texlive/files/2007/texlive-2007-use-system-libtool.patch |
2)https://bugs.gentoo.org/attachment.cgi?id=120480 and save it with the name
Code: | $OVERLAY/app-text/texlive/files/2007/texlive-2007-gentoo-texmf.patch |
3)https://bugs.gentoo.org/attachment.cgi?id=120920 and save it with the name
Code: | $OVERLAY/app-text/texlive/files/2007/texlive-2007-mpware-libtool.patch |
Then don't forget to copy Code: | /usr/portage/app-text/texlive/files/texmf-update | to
Code: | $OVERLAY/app-text/texlive/files/texmf-update | Otherwise it will build with errors but it won't be functional.
Then I download the various tarballs from the address mentioned in comment #46:
http://dev.gentoo.gr.jp/~hiyuh/misc/, you need the 3 files with the name starting
with "texlive-2007" and put them into your /usr/portage/distfiles directory (or wherever you
told portage/paludis/whatever to find source files). No funky extraction needed.
You can now create the digest for the ebuild. Once it is done edit package.unmask package.keyword
appropriately and emerge away!
EDITED because I forgot about texmf-update - don' forget texmf-update! |
|
Back to top |
|
|
krisse Guru
Joined: 15 Mar 2005 Posts: 325 Location: Sweden
|
Posted: Sun Jul 22, 2007 9:51 am Post subject: |
|
|
Thanks for all replies!
I believe that what I had missed, was to copy the patch-files to ${my-overlay}/app-text/texlive/files/2007/!
Thanks for taking the time to write the short howto:s. Emerging as we speak. |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Mon Jul 23, 2007 12:13 am Post subject: |
|
|
krisse wrote: | Thanks for all replies!
I believe that what I had missed, was to copy the patch-files to ${my-overlay}/app-text/texlive/files/2007/!
Thanks for taking the time to write the short howto:s. Emerging as we speak. |
Been there done that myself the first time.
I used grep on the ebuild to find out what the patch files where expected to be,
got annoyed but got over it and it worked. |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Mon Jul 23, 2007 1:45 pm Post subject: |
|
|
Code: | [U] www-client/pybugz
Available versions: (~)0.6.11 (~)0.7.0
Installed versions: 0.6.11(03:02:41 PM 06/22/2007)
Homepage: http://www.liquidx.net/pybugz/
Description: Command line interface to (Gentoo) Bugzilla |
This helps you messing around with bugzilla... _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today! |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Tue Jul 24, 2007 12:27 am Post subject: |
|
|
Master_Of_Disaster wrote: | Code: | [U] www-client/pybugz
Available versions: (~)0.6.11 (~)0.7.0
Installed versions: 0.6.11(03:02:41 PM 06/22/2007)
Homepage: http://www.liquidx.net/pybugz/
Description: Command line interface to (Gentoo) Bugzilla |
This helps you messing around with bugzilla... |
Sorry but I have to ask:
Your point being? |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
labba Apprentice
Joined: 01 Oct 2004 Posts: 178 Location: 127.0.0.1
|
Posted: Sat Aug 04, 2007 6:17 pm Post subject: |
|
|
Just wanna say thanks to fb!
You pointed me to the right direction with your post... I missed the texmf-update part
Now everything works |
|
Back to top |
|
|
|