KileA problem with compiling in Kile on Ubuntu

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
DavidM
Posts: 20
Joined: Wed Jul 01, 2009 9:52 pm

Re: A problem with compiling in Kile on Ubuntu

Post by DavidM »

Hi Stefan (and Frabjous),

Thanks! I already looked at that topic, and since I have deinstalled both kile and texlive2007, and just installed texlive 2008, I am going to try the equivs procedure.

Can you explain to me what a control file is, and how to create one and make it big? I don't know that much about ubuntu/linux. Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

A problem with compiling in Kile on Ubuntu

Post by frabjous »

Stefan_K wrote:Hi David,

perhaps this post could be useful for you: Kile and TeX Live 2008 on Ubuntu Linux. You could uninstall TeX Live 2007 before installing v2008 and fulfill the dependencies of Kile using equivs, but have a look at the comments there, make the control file big enough.
You know, I tried this when I was having the same problem, and it didn't work. Even after using equivs, following the instructions at the site linked to above, Synaptic still refused to install Kile without the old version of TeXlive.

It could certainly have been that I didn't do things right. The directions there are pretty vague. (The comments there weren't there when I did it... in fact, they're only a couple days old. I wish panos had gone into detail about what he did.)

I ended up keeping both versions of TeXlive installed. So long as I installed TeXlive 2008 afterwards, and put it first in my path, Kile would use it, but I couldn't install Kile without it there.

Perhaps you'll have better luck, however.
DavidM
Posts: 20
Joined: Wed Jul 01, 2009 9:52 pm

Re: A problem with compiling in Kile on Ubuntu

Post by DavidM »

To be honest, installing TexLive2008 was a bit of trouble for me, so the equivs will be even more work, as I am not very skilled with Linux. Frabjous, when you have installed Kile with the 2007 base, and installed TexLive2008 separately, how do you get Kile to use 2008?

From your post I get two things (1) set path, (2) set symbols?

I tried to set path, but failed, and I don't even know what symbols mean. Can you tell me how to do this?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: A problem with compiling in Kile on Ubuntu

Post by frabjous »

Setting the symbolic links is a matter of choosing a certain option when you run the tl-install program to install TeXlive 2008. I don't remember exactly how it looks, but early in the process a menu will come up with various options, and it's just one of the options. Just make sure it's checked or highlighted or whatever.

For adding TeXlive to my path, I opened a terminal and typed:

gedit .profile

And made the final line:

PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH

(Saved, exited, and restarted Ubuntu.)

So this goes into effect whenever I log into Ubuntu. (If you have multiple user accounts on your system, and they all use LaTeX, you may want to do it a different way.)

I didn't have to do anything else to make Kile use TL2008, I don't think.
DavidM
Posts: 20
Joined: Wed Jul 01, 2009 9:52 pm

Re: A problem with compiling in Kile on Ubuntu

Post by DavidM »

So the final text in gedit is:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

I change:
PATH="$HOME/bin:$PATH"
to:
PATH=/usr/local/texlive/2008/bin/x86_64-linux:$PATH ?

Thanks!

Edit: I did this, and some other path changes I saw on the internet, but it still doesn't give the correct version:P
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

A problem with compiling in Kile on Ubuntu

Post by Stefan Kottwitz »

Hi frabjous,
frabjous wrote: I tried this when I was having the same problem, and it didn't work. Even after using equivs, following the instructions at the site linked to above, Synaptic still refused to install Kile without the old version of TeXlive.

It could certainly have been that I didn't do things right. The directions there are pretty vague. (The comments there weren't there when I did it... in fact, they're only a couple days old. I wish panos had gone into detail about what he did.)
you could have mentioned it within a comment there. ;) After I've read panos comment I've posted another equiv file there tested and fitting to Ubuntu Jaunty.

Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

A problem with compiling in Kile on Ubuntu

Post by Stefan Kottwitz »

Hi David,
DavidM wrote: I did this, and some other path changes I saw on the internet, but it still doesn't give the correct version:P
try the path change on the command line and check if it shows an effect at all.

If the change of .profile doesn't help you could edit ~/.bashrc instead. I've made some changes on my .bashrc file that would be applied when I log in.

Stefan
LaTeX.org admin
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

A problem with compiling in Kile on Ubuntu

Post by frabjous »

Code: Select all

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi
Leave that as is. After it, e.g., the next line after the "fi", add a line reading:

PATH=/usr/local/texlive/2008/bin/x86_64-linux:$PATH

Assuming you're using the x86_64 version.
DavidM
Posts: 20
Joined: Wed Jul 01, 2009 9:52 pm

Re: A problem with compiling in Kile on Ubuntu

Post by DavidM »

Hey guys,

Thanks a lot, again! The path setting didn't make it work. I read somewhere that for the "new" Kile you have to change 3 paths? Anyway, I have a lot of configuration problems like these with Ubuntu, and I also have some deadlines now, so I don't have the time to wait until I configure this right. I am going to work on Windows XP the next weeks, and will try Kile on Ubuntu when I have some more time. I think with the equivs it should work, so I'll try that. Thanks again, and I will be back in a few weeks to tell if it worked out!
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: A problem with compiling in Kile on Ubuntu

Post by frabjous »

Looking again, I guess I have:

PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH
MANPATH=/usr/local/texlive/2008/texmf/doc/man:$MANPATH
INFOPATH=/usr/local/texlive/2008/texmf/doc/info:$INFOPATH

at the end of my .profile, but the others are just for documentation.

But just to be clear about the problem you're having, if you use

tex -v
latex -v
and
pdflatex -v

from a command line terminal in your home directory, what info does it show? 2008? That should be what's in your path. I think kile just calls what's in your path--but maybe someone will correct me if i'm wrong.

What do you mean when you say it doesn't work? You're having the same problems as before? It was never clear to me that the problems you were having stemmed from having the wrong LaTeX system; it was just a place to start. Construct a MWE if need be and we can see what else it might be.
Post Reply