Gentoo Forums
Gentoo Forums
Quick Search: in
TEXMFSITE [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
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Fri Dec 28, 2007 12:29 pm    Post subject: TEXMFSITE [Solved] Reply with quote

Though I set up the appropriate variable "TEXMFSITE" in the file "/usr/share/texmf/web2c/texmf.cnf" ,
Code:
 TEXMFSITE=/usr/share/texmf-site

emerging "maxima" keeps on failing:
Code:
 >>> Emerging (1 of 1) sci-mathematics/maxima-5.13.0-r1 to /
 * maxima-5.13.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                       [ ok ]
 * checking maxima-5.13.0.tar.gz ;-) ...                                                                     [ ok ]
kpsewhich: unrecognized option `-var-value=TEXMFSITE'
 * You haven't defined the TEXMFSITE variable in your TeX config.
 * Please do so in the file /usr/share/texmf/web2c/texmf.cnf
 *
 * ERROR: sci-mathematics/maxima-5.13.0-r1 failed.

What am I doing wrong?


Last edited by pesenti on Fri Dec 28, 2007 10:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2472
Location: Hinter den Materiequellen

PostPosted: Fri Dec 28, 2007 12:37 pm    Post subject: Reply with quote

I guess there is a bug in the ebuild or the installer scripts of the maxima package; the option '-var-value' is not recognized. You should file a bug.
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Fri Dec 28, 2007 1:49 pm    Post subject: Reply with quote

I reported the bug to http://bugs.gentoo.org/show_bug.cgi?id=203558 .
However, it seems to be related to the command "kpsewhich".
According to http://www.digipedia.pl/man/kpsewhich.1.html , a command such as
Code:
 kpsewhich -var-value=TEXMFSITE

is correct. But in my case i gives the same error of unrecognized option. Do you mind just trying on your gentoo?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2472
Location: Hinter den Materiequellen

PostPosted: Fri Dec 28, 2007 8:00 pm    Post subject: Reply with quote

I emerged maxima without setting TEXMFSITE first, in the conf file I have
Code:
TEXMFSITE = $SELFAUTODIR/share/texmf-site

where SELFAUTODIR=/usr. Everything went flawlessly. I'm using texlive-2007, not tetex-3. In case you want to try it, add this to /etc/portage/package.keywords:

Code:
=app-text/texlive-2007*
=app-text/texlive-core-2007*
=dev-tex/latex-beamer-3.0*
=dev-tex/pgf-1.18*
=app-text/ps2eps-1.64*
=dev-tex/xcolor-2.11*
=app-text/jadetex-3.13*
dev-tex/tex4ht
=app-text/dvipdfm-0.13*
=app-text/lcdf-typetools-2.66*
dev-texlive/texlive-documentation-base
dev-texlive/texlive-formatsextra
dev-texlive/texlive-pstricks
dev-texlive/texlive-fontsrecommended
dev-texlive/texlive-texinfo
dev-texlive/texlive-psutils
dev-texlive/texlive-science
dev-texlive/texlive-games
dev-texlive/texlive-music
dev-texlive/texlive-metapost
dev-texlive/texlive-omega
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-basic
dev-texlive/texlive-pictures
dev-texlive/texlive-context
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-htmlxml
dev-texlive/texlive-mathextra
dev-texlive/texlive-latex3
dev-texlive/texlive-fontsextra
dev-texlive/texlive-xetex
dev-texlive/texlive-humanities
dev-texlive/texlive-latex
dev-texlive/texlive-genericrecommended
dev-texlive/texlive-publishers
dev-texlive/texlive-latexextra
dev-texlive/texlive-plainextra
dev-texlive/texlive-genericextra
dev-texlive/texlive-langgerman
dev-texlive/texlive-langukenglish
dev-texlive/texlive-documentation-english
dev-texlive/texlive-documentation-german


EDIT: Something else just occured to me: Try to change the conf file line to
Code:
TEXMFSITE = /usr/share/texmf-site

with spaces before and after the '='.
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Fri Dec 28, 2007 8:34 pm    Post subject: Reply with quote

I tried adding spaces but nothing changed. I'm using "tex-2.0.2-r9" because higher releases are not compatible with "dev-tex/memoir". Could you please try executing
Code:
 kpsewhich --version

and
Code:
kpsewhich --var-value=TEXMFSITE

to see if the issue comes from this command?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2472
Location: Hinter den Materiequellen

PostPosted: Fri Dec 28, 2007 8:53 pm    Post subject: Reply with quote

OK, I get
Code:
#kpsewhich --version
kpathsea version 3.5.6
[...]

and further
Code:
#kpsewhich --var-value=TEXMFSITE
/usr/share/texmf-site

By the way:
Code:
#qfile /usr/bin/kpsewhich
app-text/texlive-core
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Fri Dec 28, 2007 9:12 pm    Post subject: Reply with quote

In my case:
Code:
> qfile /usr/bin/kpsewhich
app-text/tetex (/usr/bin/kpsewhich)

> kpsewhich --version
kpathsea version 3.4.5
Copyright (C) 1997 - 2002 K. Berry & O. Weber.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

> kpsewhich --var-value=TEXMFSITE
kpsewhich: unrecognized option `--var-value=TEXMFSITE'

I'll unmerge "memoir" and emerge tetex-3 and see if kpsewhich behaves differently.
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Fri Dec 28, 2007 10:16 pm    Post subject: Reply with quote

there we go:
Code:
>kpsewhich --version
kpathsea version 3.5.5
Copyright 2005 Karl Berry & Olaf Weber.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named GPL and LGPL.

> kpsewhich --var-value=TEXMFSITE
/usr/share/texmf-site


and maxima emerged flawlessly. I therefore have to give up with the "memoir" package.
Back to top
View user's profile Send private message
pesenti
n00b
n00b


Joined: 22 Sep 2005
Posts: 37
Location: Switzerland

PostPosted: Sat Dec 29, 2007 8:54 am    Post subject: Reply with quote

actually, it seems that memoir in now integrated in tetex-3.
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