Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 4442  / 2 Years ago, thu, october 13, 2022, 7:00:17

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 cded 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?


More From » compiling

 Answers
2

  1. Library necessaries to build the configuration files



    sudo apt-get install intltool libtool

  2. Dependency necessary to compile this plug-ins



    sudo apt-get install gedit-dev

  3. Build the configuration file



    touch config.rpath
    ./autogen.sh

  4. 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/

[#42734] Friday, October 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampolinhad

Total Points: 88
Total Questions: 100
Total Answers: 116

Location: South Georgia
Member since Tue, Feb 1, 2022
2 Years ago
ampolinhad questions
Thu, Sep 8, 22, 15:45, 2 Years ago
Tue, Aug 10, 21, 20:03, 3 Years ago
Sat, Oct 16, 21, 22:44, 3 Years ago
Sat, Oct 23, 21, 03:11, 3 Years ago
Thu, Nov 17, 22, 15:34, 1 Year ago
;