Kile is a LaTeX Editor for KDE (http://kile.sf.net). As far as the documentation is concerned, Kile should work with any LaTeX distribution. But when installing Kile via rpm, the system tells me that tetex and some other TeX-related packages (dviutils, e.g.) are required. However, I am using TeX live and I don't want to install a second LaTeX system. (The same problem occurs when installing Lyx - http://www.lyx.org/) How can I suggest Kile and/or Lyx to install using TeX live instead of tetex as LaTeX program? Dominik ___________________________________ Dominik Sack Theodor Heuss Ring 60, D-50668 Köln (0221) 913 09 12 * (0177) 804 23 22 ------------------ Powered by NetMail
Dominik, I also don't think you need tetex and dviutils to run kile. My guess is that they are set as requires in kile.spec. You could modify this file accordingly and generate your own rpm (or just install from the tarball). You can use mc to go through the source rpm and extract kile.spec. Then 'rpm -ba -target=i586 kile.spec' should work. Also, dviutils can be usefull to you, whichever latex you use. Best, Pere
Kile is a LaTeX Editor for KDE (http://kile.sf.net). As far as the documentation is concerned, Kile should work with any LaTeX distribution. But when installing Kile via rpm, the system tells me that tetex and some other TeX-related packages (dviutils, e.g.) are required. However, I am using TeX live and I don't want to install a second LaTeX system. (The same problem occurs when installing Lyx - http://www.lyx.org/)
How can I suggest Kile and/or Lyx to install using TeX live instead of tetex as LaTeX program?
Dominik
Dominik, I also don't think you need tetex and dviutils to run kile. My guess is that they are set as requires in kile.spec. You could modify this file accordingly and generate your own rpm (or just install from the tarball). You can use mc to go through the source rpm and extract kile.spec.
Unfortunately I was not able to extract file kile.spec. When viewing the .rpm using mc, I get /INFO HEADER *INSTALL *UPGRADE but in /INFO I don't find kile.spec. (Should I modify REQUIRENAME which points to tetex? But how to build the new rpm based on the modifications?)
Also, dviutils can be usefull to you, whichever latex you use.
dviutils also requires tetex. Dominik ___________________________________ Dominik Sack Theodor Heuss Ring 60, D-50668 Köln (0221) 913 09 12 * (0177) 804 23 22 ------------------ Powered by NetMail
Domink, kile.spec contains this line: Requires: tetex gnuplot xfig te_pdf dviutils which is the one responsible of forcing you to install tetex. The spec files are not on the rpm, but on the src.rpm ( the rpm source). In any case this is my kile.spec. It works for me, though I'm not a package expert. Is below, within ------- lines (not included). Then, 1) copy it to /usr/src/packages/SPECS 2) copy/download kile-1.6.1.tar.gz to /usr/src/packages/SOURCES 2) cd /usr/src/packages/SPECS 3) rpm -qa --target=i686 kile.spec And thats it, if succesfull, goto /usr/src/packages/RPMS/i686 and you'll find your rpm there (also, at /usr/src/packages/SRPMS you will find kile-1.6.1-2.src.rpm, the rpm source) (my specs wan't delete /usr/src/packages/BUILD/kile...etc authomatically :-( I think you need/want dviutils (contain kde dvi viewer, and perhaps some kparts used for the embeded kile viewers). But also, I don't think they need tetex. I think Suse's pakagers put these requires just to make life easier in most cases. Best, Pere ------------------------- Name: kile Summary: Latex envirionment Version: 1.6.1 Release: 2 License: GPL Group: Productivity/Utils Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/build-root-%{name} Provides: kile Packager: me Distribution: none %description Latex envirionment %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup -q . /etc/opt/kde3/common_options update_admin %build . /etc/opt/kde3/common_options ./configure $configkde \ %if %suse_version > 810 --enable-resmgr \ %endif --disable-final make %install make DESTDIR=$RPM_BUILD_ROOT install-strip cd $RPM_BUILD_ROOT find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list. %{name}.dirs > $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.files >> $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.libs >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/file.list.%{name} rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs rm -rf $RPM_BUILD_DIR/file.list.%{name}.files rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs %files -f ../file.list.%{name} %defattr(-,root,root,0755) ------------------------- A Divendres Març 5 2004 02:53, Dominik Sack va escriure:
Dominik, I also don't think you need tetex and dviutils to run kile. My guess is that they are set as requires in kile.spec. You could modify this file accordingly and generate your own rpm (or just install from the tarball). You can use mc to go through the source rpm and extract kile.spec.
Unfortunately I was not able to extract file kile.spec. When viewing the .rpm using mc, I get /INFO HEADER *INSTALL *UPGRADE but in /INFO I don't find kile.spec. (Should I modify REQUIRENAME which points to tetex? But how to build the new rpm based on the modifications?)
Also, dviutils can be usefull to you, whichever latex you use.
dviutils also requires tetex.
participants (2)
-
Dominik Sack
-
Pere Constans