How to compile gedit LaTeX plugin?
Solution 1:
-
Library necessaries to build the configuration files
sudo apt-get install intltool libtool
-
Dependency necessary to compile this plug-ins
sudo apt-get install gedit-dev
-
Build the configuration file
touch config.rpath ./autogen.sh
-
Configure and compile
./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
.
./configure --prefix=/usr --libdir=/usr/lib64
With a 64bit distribution, I also had to create two symbolic links, otherwise the plugin would not show up:
sudo ln -s /usr/lib64/gedit/plugins/latex.plugin /usr/lib/gedit/plugins/
sudo ln -s /usr/lib64/gedit/plugins/latex /usr/lib/gedit/plugins/