<div dir="ltr"><div><div><div>Hi,<br><br></div>Thank you.<br></div>The problem was that I used the latest Geany master branch and b4n:pairtaghighligher/less-deprecated branch, which was incompatible.<br></div>After downloading fresh geany-plugins master and cherry-picking the single change everything was built successfully.<br><div class="gmail_extra"><br><div class="gmail_quote">On 11 March 2016 at 19:52, Colomban Wendling <span dir="ltr"><<a href="mailto:lists.ban@herbesfolles.org" target="_blank">lists.ban@herbesfolles.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span><br>
Le 11/03/2016 18:40, Volodymyr Kononenko a écrit :<br>
> Hi folks,<br>
><br>
> I am trying to build PairTagHighlighter to verify PR<br>
> <a href="https://github.com/geany/geany-plugins/pull/359" rel="noreferrer" target="_blank">https://github.com/geany/geany-plugins/pull/359</a><br>
><br>
> But I am getting undefined references to all Scintilla functions:<br>
</span>>  CCLD     <a href="http://pairtaghighlighter.la" rel="noreferrer" target="_blank">pairtaghighlighter.la</a> <<a href="http://pairtaghighlighter.la" rel="noreferrer" target="_blank">http://pairtaghighlighter.la</a>><br>
<span>> .libs/pair_tag_highlighter.o: In function `findBracket':<br>
> /home/kononenv/devel/geany-plugins/pairtaghighlighter/src/pair_tag_highlighter.c:85:<br>
> undefined reference to `sci_get_char_at'<br>
</span>> […]<br>
<span>><br>
> The way how I build Geany:<br>
><br>
</span>>   * ./autogen.sh<br>
>   * ./configure --prefix=<geany-install-dir><br>
>   * make<br>
>   * make install<br>
<br>
Which version of Geany?  It looks like you'd be building a relatively<br>
old one, and a recent version of Geany-Plugins or something like this.<br>
<span><br>
> The way how I build geany-plugins:<br>
><br>
</span>>   * export PKG_CONFIG_PATH=<geany-install-dir>/lib/pkgconfig<br>
>   * ./configure --prefix=<geany-install-dir><br>
<span>>     --with-geany-libdir=<geany-install-dir>/lib --disable-addons<br>
>     --disable-autoclose  --disable-automark --disable-codenav<br>
>     --disable-commander --disable-debugger --disable-defineformat<br>
>     --disable-devhelp --disable-geanyctags --disable-geanydoc<br>
>     --disable-geanyextrasel --disable-geanygendoc<br>
>     --disable-geanyinsertnum --disable-geanylatex --disable-geanylipsum<br>
>     --disable-geanylua --disable-geanymacro --disable-geanyminiscript<br>
>     --disable-geanynumberedbookmarks --disable-geanyprj<br>
>     --disable-geanypy --disable-geanysendmail --disable-geanyvc<br>
>     --disable-geanypg --disable-largefile --disable-geniuspaste<br>
>     --disable-gitchangebar --disable-lineoperations --disable-markdown<br>
>     --disable-multiterm --disable-overview --disable-pohelper<br>
>     --disable-pretty_printer --disable-projectorganizer --disable-scope<br>
>     --disable-shiftcolumn --disable-spellcheck --disable-treebrowser<br>
>     --disable-tableconvert --disable-updatechecker --disable-webhelper<br>
>     --disable-xmlsnippets<br>
<br>
</span>You could use --disable-all-plugins --enable-pairtaghighlighter to avoid<br>
having to list all --disable options ;)<br>
<span><br>
> Please suggest, how to make standalone installation in a proper way.<br>
<br>
</span>Your way looks good, and all I can imagine is trying to build against an<br>
old version of Geany not using libgeany and a recent enough version of<br>
GP with<br>
<a href="https://github.com/geany/geany-plugins/commit/25e3c8851a5113423ce16a6b80085925ebac2e13" rel="noreferrer" target="_blank">https://github.com/geany/geany-plugins/commit/25e3c8851a5113423ce16a6b80085925ebac2e13</a><br>
applied.<br>
<br>
Regards,<br>
Colomban<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org" target="_blank">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Best regards,<br>Volodymyr Kononenko<br><a href="http://kononenko.ws" target="_blank">http://kononenko.ws</a><br></div>
</div></div>