[Geany-Users] Geany markdown plugin
Matthew Brush
mbrush at xxxxx
Thu Mar 29 02:16:27 UTC 2018
On 2018-03-28 06:51 PM, H wrote:
> On 03/28/2018 09:48 PM, Matthew Brush wrote:
>> On 2018-03-28 06:43 PM, H wrote:
>>> On 03/28/2018 09:37 PM, H wrote:
>>>> On 03/28/2018 09:21 PM, Matthew Brush wrote:
>>>>> On 2018-03-28 06:11 PM, H wrote:
>>>>>> On 03/28/2018 09:09 PM, Matthew Brush wrote:
>>>>>>> On 2018-03-28 05:37 PM, H wrote:
>>>>>>>> On 03/28/2018 10:14 AM, Matthew Brush wrote:
>>>>>>>>> On 2018-03-27 06:46 PM, H wrote:
>>>>>>>>>> [...]
>>>>>>>>>>
>>>>>>>>>> .libs/libgeanypluginutils_la-filelist.o: In function `filelist_scan_directory_int':
>>>>>>>>>> /home/h/geany-plugins/utils/src/filelist.c:95: undefined reference to `utils_get_real_path'
>>>>>>>>>> collect2: error: ld returned 1 exit status
>>>>>>>>>>
>>>>>>>>>> Any idea how to fix the problem?
>>>>>>>>>>
>>>>>>>>> Your Geany is too old, that function was added fairly recently and so the plugin build system isn't finding the symbol in your old Geany. You need to upgrade Geany first, then plugins.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Matthew Brush
>>>>>>>>> _______________________________________________
>>>>>>>>> Users mailing list
>>>>>>>>> Users at lists.geany.org
>>>>>>>>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>>>>>>> But it tests for version 1.29 or later and I have 1.31??
>>>>>>>>
>>>>>>> This symbol was added in Geany 1.32[0], so if it the equivalent plugin release is testing for any less, it's a bug.
>>>>>>>
>>>>>>> The plugin should work fine for all but the most bleeding edge distros, which have removed older webkit-gtk packages.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Matthew Brush
>>>>>>>
>>>>>>> [0]: https://github.com/geany/geany/commit/4a60cdd12727f8f252a3e0d6921e26377ef84904
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at lists.geany.org
>>>>>>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>>>>> So I am running CentOS 7 (not a bleeding-edge distro), does that mean that if I download and compile the plugin package for 1.31, the markdown and preview plugin will work?
>>>>>>
>>>>> Yes, but IMO you might as well build the latest releases of geany and geany-plugins. Compared to compiling geany-plugins, compiling geany is relatively simple and quick.
>>>>>
>>>>> Regards,
>>>>> Matthew Brush
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.geany.org
>>>>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>>> Noted. For now, however, I did compile the plugins - I ran ./configure and make as a regular user but noted that make install needed to be run as root. Do I then need to copy files to the appropriate directory, it does not look like make install does that, correct?
>>>>
>>>> If I need to copy files, do I copy all of them or, if not, which ones?
>>>>
>>> Ok, looks like the files are copied to /usr/lib64/geany, however, markdown files are not to be found in that directory, others are?
>>>
>>
>> If you built the Markdown plugin, it should be installed into the same prefix as Geany/other plugins. I'm not too sure about CentOS's architecture specific directories.
>>
>> Regards,
>> Matthew Brush
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.geany.org
>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
> I can see other files in that directory with today's date but no markdown.la and markdown.so files...
>
> Don't remember that I saw any compile errors for markdown either.
>
When you run the configure script, at the end it prints a report of all
what plugins will be built. If you're missing a dependency, it will skip
building the plugin unless you explicitly pass --enable-markdown=yes, in
which case it will cause an error. You probably didn't build it due to
missing dependency.
Regards,
Matthew Brush
More information about the Users
mailing list