[Bug 339396] New: texlive should create some useful soft links
https://bugzilla.novell.com/show_bug.cgi?id=339396 Summary: texlive should create some useful soft links Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Documentation AssignedTo: ke@novell.com ReportedBy: jchain3@gmail.com QAContact: ke@novell.com Found By: Customer When I use the latest package of texlive, I find the command *latex* and *pdflatex* cannot be used. Even though they are soft links, they are very useful when compile the auctex source code. These soft links should be kept for a long time. *latex* and *pdflatex* should point to /usr/lib/texmf/bin/x86_64-linux/pdftex Thank you! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@novell.com |werner@novell.com Component|Documentation |Other -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor Status|NEW |NEEDINFO Info Provider| |jchain3@gmail.com --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2007-11-06 03:13:34 MST --- This is exactly what is done after the trigger scripts of texlive-bin or texlive-latex-bin RPM are executed: /suse/werner> which latex /usr/bin/latex /suse/werner> readlink /usr/bin/latex ../lib/texmf/bin/x86_64-linux/latex /suse/werner> readlink -f /usr/bin/latex /usr/lib/texmf/bin/x86_64-linux/pdftex /suse/werner> readlink -f /usr/bin/pdflatex /usr/lib/texmf/bin/x86_64-linux/pdftex this trigger scripts will be executed when the noarch texlive and texlive-latex RPM are installed: /suse/werner> rpm -q --triggers texlive-bin triggerin scriptlet (using /bin/sh) -- texlive . ./var/lib/texmf/link/x86_64-linux/base /suse/werner> rpm -q --triggeredby texlive texlive-bin-2007-70 The texlive-bin and texlive-latex-bin RPM are pre-required by the texlive and texlive-latex noarch RPMs and as you can see on the first few shell command lines this works for me (and the all beta testers during the last half year). To solve your problem you may execute the scriptlets by hand for script in /var/lib/texmf/link/x86_64-linux/* ; do /bin/sh $script done nevertheless I'ds like to know *why* this has failed on your system. Do you have installed the RPM's by hand and forgotten or ignored to solve any dependcy (like noarch texlive requires x86_64 texlive-bin)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c2 Cheng Zhang <jchain3@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jchain3@gmail.com | --- Comment #2 from Cheng Zhang <jchain3@gmail.com> 2007-11-06 12:40:48 MST --- I think the scripts have been executed on my machine. Yes, these scripts created many necessary symbolic links at /usr/bin, but they didn't create the symbolic links for *latex* and *pdflatex*. See the output of grep: //============================================================================== [chengzha@paris] x86_64-linux $ pwd /var/lib/texmf/link/x86_64-linux [chengzha@paris] x86_64-linux $ grep -r latex . [chengzha@paris] x86_64-linux $ grep -r pdflatex . [chengzha@paris] x86_64-linux $ grep -r bbox . /base:ln -sf ../lib/texmf/bin/x86_64-linux/bbox ${CWD}usr/bin/bbox [chengzha@paris] x86_64-linux $ //============================================================================== You see, no scripts for creating *latex* and pdflatex*. Thank you guys! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jchain3@gmail.com --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2007-11-07 03:16:52 MST --- You may install texlive-latex-bin and texlive-latex ... /suse/werner> cd /var/lib/texmf/link/x86_64-linux link/x86_64-linux> grep -r latex . ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/cslatex ${CWD}usr/bin/cslatex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/latex ${CWD}usr/bin/latex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/mllatex ${CWD}usr/bin/mllatex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/pdfcslatex ${CWD}usr/bin/pdfcslatex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/pdflatex ${CWD}usr/bin/pdflatex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/pdfplatex ${CWD}usr/bin/pdfplatex ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/platex ${CWD}usr/bin/platex ./xetex:ln -sf ../lib/texmf/bin/x86_64-linux/xelatex ${CWD}usr/bin/xelatex link/x86_64-linux> grep -r pdflatex . ./latex:ln -sf ../lib/texmf/bin/x86_64-linux/pdflatex ${CWD}usr/bin/pdflatex link/x86_64-linux> grep -r bbox . ./base:ln -sf ../lib/texmf/bin/x86_64-linux/bbox ${CWD}usr/bin/bbox link/x86_64-linux> if you have already installed these packages I'd like to know why the scripts /var/lib/texmf/link/x86_64-linux/latex does not exist on your system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c4 --- Comment #4 from Cheng Zhang <jchain3@gmail.com> 2007-11-07 08:35:22 MST --- Yes, you're right, the script /var/lib/texmf/link/x86_64-linux/latex doesn't exits on my system. [chengzha@paris] x86_64-linux $ ls base devel metapost [chengzha@paris] x86_64-linux $ pwd /var/lib/texmf/link/x86_64-linux I don't know why. If only I have this problem, this bug report should be closed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c5 --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2007-11-07 09:36:34 MST --- The question is: do you have installed texlive-latex and texlive-bin-latex? Please do rpm -qV texlive-bin-latex rpm -qV texlive-latex to verify this and maybe catch the missing file(s). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c6 --- Comment #6 from Cheng Zhang <jchain3@gmail.com> 2007-11-07 11:18:35 MST --- Created an attachment (id=182478) --> (https://bugzilla.novell.com/attachment.cgi?id=182478) yast2 shows me texlive-bin-latex has already been installed. Here is the output on my system chengzha@paris] ~ $ rpm -qV texlive-latex ......T /usr/share/texmf/tex/latex/preview/prauctex.cfg ......T /usr/share/texmf/tex/latex/preview/prauctex.def ......T /usr/share/texmf/tex/latex/preview/prcounters.def ......T /usr/share/texmf/tex/latex/preview/preview.sty ......T /usr/share/texmf/tex/latex/preview/prfootnotes.def ......T /usr/share/texmf/tex/latex/preview/prlyx.def ......T /usr/share/texmf/tex/latex/preview/prshowbox.def ......T /usr/share/texmf/tex/latex/preview/prshowlabels.def ......T /usr/share/texmf/tex/latex/preview/prtightpage.def ......T /usr/share/texmf/tex/latex/preview/prtracingall.def [chengzha@paris] ~ $ rpm -qV texlive-bin-latex [chengzha@paris] ~ $ texlive-bin-latex seems not be installed, but the yast2 tell me it's already been installed. See the attached screenshot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c7 --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2007-11-08 04:07:00 MST --- If texlive-bin-latex would not be installed the message would look like this one: /suse/werner> rpm -qV texlive-bin-latexXXX package texlive-bin-latexXXX is not installed .. question: is there the possibility that you have shadowed the one of the directories /var/, /var/lib/, or /var/lib/texmf by e.g. a symbolic link or due a mount? This because the file /var/lib/texmf/link/x86_64-linux/latex should exist: /suse/werner> rpm -qf /var/lib/texmf/link/x86_64-linux/latex texlive-bin-latex-2007-70 and should be executed. If the file /var/lib/texmf/link/x86_64-linux/latex exist please attach it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c8 --- Comment #8 from Cheng Zhang <jchain3@gmail.com> 2007-11-08 11:59:36 MST --- I installed the separate package of texlive-bin-latex from the opensuse.org's repository. And the symbolic links were created correctly and automatically. Here is the output: [chengzha@paris] ~ $ rpm -q texlive-bin-latex-2007-68 texlive-bin-latex-2007-68 texlive-bin-latex-2007-68 [chengzha@paris] ~ $ rpm -qV texlive-bin-latex-2007-68 [chengzha@paris] ~ $ Since the problem is solved, so I think it can be closed. Thank you for your help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=339396#c9 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|jchain3@gmail.com | Resolution| |WORKSFORME --- Comment #9 from Dr. Werner Fink <werner@novell.com> 2007-11-09 04:59:28 MST --- OK -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com