Because I'd like to use the Gedit LaTeX plugin that is unfortunately not available for Gedit 3.2 in the repositories, I want to compile it myself. The most recent version you can get on http://git.gnome.org/browse/gedit-latex does support GNOME 3 's Gedit.
In the documentation it says:
Due to a limitation on reading Settings, the plugin currently must be installed in the same prefix as gedit. For instance if you are using gedit 3 from your distribution, you need to do
./configure --prefix=/usr make sudo make install
If you are using a 64bit distribution, you also need to pass
--libdir=/usr/lib64
to./configure
script.
That's why I cd
ed into the directory that contains the code, and tried to run ./configure --prefix=/usr --libdir=/usr/lib64
. Unfortunately, this does not work, giving the error message:
bash: ./configure: No such file or directory
Having checked the folder, there indeed is no file configure
, but only configure.ac
. What can I do to compile this plugin?
Library necessaries to build the configuration files
Dependency necessary to compile this plug-ins
Build the configuration file
Configure and compile
If you are using a 64bit distribution, you also need to pass
--libdir=/usr/lib64
to./configure script
.With a 64bit distribution, I also had to create two symbolic links, otherwise the plugin would not show up:
Assuming you are using Ubuntu Oneiric 64-bit, you have to download and extract this http://ftp.gnome.org/pub/GNOME/sources/gedit-latex/3.2/gedit-latex-3.2.1.tar.bz2. The intltool and libgtk-dev packages are needed, so you have to install them
Once you've done that,
cd
into the directory gedit-latex-3.2.1 you extracted and runAnd everything should be fine.
P.S. The LaTeX plugin uses rubber by default, so if you are not changing the compilation tools that are already there you should install (or check if installed) the packages: rubber, python-poppler, python-glade2, python-enchant and texlive.