Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
texlive 2007, howto? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
krisse
Guru
Guru


Joined: 15 Mar 2005
Posts: 325
Location: Sweden

PostPosted: Fri Jul 20, 2007 1:40 pm    Post subject: texlive 2007, howto? [SOLVED] Reply with quote

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
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Sat Jul 21, 2007 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Sat Jul 21, 2007 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Jul 22, 2007 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
krisse
Guru
Guru


Joined: 15 Mar 2005
Posts: 325
Location: Sweden

PostPosted: Sun Jul 22, 2007 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 23, 2007 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Mon Jul 23, 2007 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Tue Jul 24, 2007 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Wed Jul 25, 2007 5:06 am    Post subject: Reply with quote

eh - nevermind...
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
labba
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 178
Location: 127.0.0.1

PostPosted: Sat Aug 04, 2007 6:17 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum