Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tetex: fails with "!!! failed to properly create symlin
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
Woland
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 248
Location: Russian Jack, Alaska

PostPosted: Thu Mar 10, 2005 6:41 pm    Post subject: tetex: fails with "!!! failed to properly create symlin Reply with quote

I have seen a similar problem with a different package here, but did not see a solution. When I try to emerge tetex, I get the folowing error:
Code:

>>> /usr/share/texmf/web2c/tex.pool
>>> /usr/share/texmf/web2c/texmf.cnf
>>> /usr/share/texmf/web2c/updmap.cfg
--- /usr/share/texmf/xdvi/
>>> /usr/share/texmf/xdvi/XDvi
--- /var/
--- /var/cache/
--- /var/cache/fonts/
!!! failed to properly create symlink:
!!! /usr/share/man/man1/cont-de.1 -> pdftex.1
!!! [Errno 2] No such file or directory: '/usr/share/man/man1/cont-de.1'
!!! Failed to move file.
!!! /usr/share/man/man1/cont-de.1 -> pdftex.1

Checking for "cont.de.1" I get
Code:

root# ls -l /usr/share/man/man1/cont-de.1
lrwxrwxrwx  1 kwaku  kwaku  8 10 Mar 11:17 /usr/share/man/man1/cont-de.1 -> pdftex.1

So, I am mystified. I tried
Code:

root# FEATURES="-collision-protect -doc" emerge -v tetex


But with the same result.
Any tips greatly appreciated. I just moved from Gentoo Linux to Gentoo OS X, and am really starting to miss my old Linux box.
_________________
|
|_______________________________________
And some days the Universe just gives you the finger.
Back to top
View user's profile Send private message
FT
n00b
n00b


Joined: 01 Apr 2005
Posts: 4
Location: Japan

PostPosted: Fri May 06, 2005 7:30 am    Post subject: Reply with quote

My emerge tetex of today gave something similar:
Code:

>>> /usr/share/texmf/web2c/tex.pool
>>> /usr/share/texmf/web2c/texmf.cnf
>>> /usr/share/texmf/web2c/updmap.cfg
>>> /usr/share/texmf/xdvi/
>>> /usr/share/texmf/xdvi/XDvi
--- /var/
--- /var/cache/
>>> /var/cache/fonts/
>>> /usr/bin/amstex -> /usr/bin/tex
>>> /usr/bin/cont-en -> /usr/bin/pdfetex
>>> /usr/bin/einitex -> etex
>>> /usr/bin/elatex -> /usr/bin/etex
>>> /usr/bin/fdf2tan -> texexec
>>> /usr/bin/inimf -> mf
>>> /usr/bin/inimpost -> mpost
>>> /usr/bin/iniomega -> omega
>>> /usr/bin/initex -> tex
>>> /usr/bin/kpsepath -> kpsetool
>>> /usr/bin/lambda -> /usr/bin/omega
>>> /usr/bin/latex -> /usr/bin/tex
>>> /usr/bin/makempy -> texexec
>>> /usr/bin/metafun -> /usr/bin/mpost
>>> /usr/bin/mptopdf -> texexec
>>> /usr/bin/ofm2opl -> omfonts
>>> /usr/bin/pdfamstex -> /usr/bin/pdftex
>>> /usr/bin/pdfeinitex -> pdfetex
>>> /usr/bin/pdfelatex -> /usr/bin/pdfetex
>>> /usr/bin/pdfinitex -> pdftex
>>> /usr/bin/pdflatex -> /usr/bin/pdftex
>>> /usr/share/texmf/dvips/config/dvipdfm.map -> dvipdfm_ndl14.map
>>> /usr/share/texmf/dvips/config/pdftex.map -> pdftex_ndl14.map
>>> /usr/share/texmf/dvips/config/psfonts.map -> psfonts_t1.map
>>> /usr/share/texmf/source/generic/make.rules -> ../latex/make.rules
>>> /usr/share/texmf/dvips/base/psfonts.map -> ../config/psfonts.map
!!! failed to properly create symlink:
!!! /usr/share/man/man1/allec.1 -> allcm.1
!!! [Errno 2] No such file or directory: '/usr/share/man/man1/allec.1'
!!! Failed to move file.
!!! /usr/share/man/man1/allec.1 -> allcm.1

And texconfig conf reported that tcdialog and xdvi are not found.
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sat May 28, 2005 11:08 pm    Post subject: Reply with quote

I think I figured out the problem. it looks to me like the ebuild isn't copying all the files into the image in /var/tmp/portage/tetex-.../image/ so when it goes to merge, it can't find the files that are the targets of the symbolic links.

I have to leave right now, but when I get back, I'm going to try copying all the targets over into the image dir, then try using the 'qmerge' command to ebuild to see if it will just merge the stuff in the image into the system...
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sun May 29, 2005 1:40 pm    Post subject: Reply with quote

never mind, the missing link problem I had was just because I had tried to install tetex before. I unmerged tetex to remove the record of the old files, then merged it again. now it hangs at 'Configuring teTeX...' which is in the texmf-update script which is produced by the ebuild.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sun May 29, 2005 2:32 pm    Post subject: Reply with quote

I changed the script so the output no longer goes to /dev/null.

got this output:

Code:

texconfig has found the following environment variables set:

 TEXINPUTS = .:/usr/share/texmf//

This path prohibits a default expansion. as it contains no : at either
end, nor :: somewhere in the middle.  Please make sure, that these paths
are ok, and otherwise change or unset them.  If you continue with wrong
values for the above variables, texconfig might run into trouble when
locating files on the disk.

Note that you can refer to the default path by giving an "empty" path
component (i.e. a colon in front or in the end, or a doubled colon
somewhere in the middle).

If you set TEXINPUTS, e.g. to :~/TeX/macros, (La)TeX will search along
the default path and then in ~/TeX/macros.

For more information, see the Kpathsea and the teTeX manual.

Press RETURN to continue (or Control-C to abort)...


doh! I had TEXINPUTS exported in my shell rc files for work. trying again with TEXINPUTS unset. (emerge unmerge tetex && emerge tetex)
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sun May 29, 2005 3:28 pm    Post subject: Reply with quote

so tetex-2.0.2-r5 emerged for me on OS X now. the key was making sure the TEXINPUTS env variable was not exported, and also if the emerge fails once, it must be unmerged before trying again.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
FT
n00b
n00b


Joined: 01 Apr 2005
Posts: 4
Location: Japan

PostPosted: Thu Jun 02, 2005 5:07 am    Post subject: Reply with quote

Dear zojas, do you get xdvi work?
Actually, Latex also fails to work for me, although at least it runs.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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