[Users] How to compile a plugin with these details?
Dedeco Balaco
dedeco.balaco at yahoo.com
Sun Sep 26 02:24:33 CEST 2021
Em 23/09/2021 19:31, Ricardo Mones escreveu:
> Hi Dedeco,
>
> On Thu, Sep 23, 2021 at 03:14:42PM -0300, Dedeco Balaco via Users wrote:
>>
>> Em 23/09/2021 13:39, Paul escreveu:
>>> On Thu, 23 Sep 2021 13:32:07 -0300
>>> Dedeco Balaco via Users <users at lists.claws-mail.org> wrote:
>>>
>>>> How do i compile just the one plugin i want, and install it in the
>>>> correct relative folder where claws has been installed? All the rest is
>>>> not necessary to me. Can you give me some help with what i should change
>>>> or do, compared to the instructions given in the README file? (why these
>>>> are different from the instructions in the INSTALL file, which says to
>>>> run configure script?)
>>> run configure with the correct prefix, e.g.:
>>>
>>> ./configure --prefix=/usr
>>>
>>> cd to the plugin source directory that you want, e.g.:
>>>
>>> cd src/plugins/fancy
>>>
>>> and run make and sudo make install there.
>>>
>>> with regards
>>>
>> Really easy! I did not imagine it could be that simple. But there is a
>> problem: other plugins (I installed one from the Debian repository) use
>> the folder, and the one i just compiled, with your steps, want to copy
>> it to a different folder.
>>
>> From repository:
>>
>> /usr/lib/x86_64-linux-gnu/claws-mail/plugins/
>>
>> Installing from downloaded source, steps above:
>>
>> /usr/lib/x86_64-linux-gnu/lib/claws-mail/plugins
>>
>> See the difference?
>>
>> /usr/lib/x86_64-linux-gnu/claws-mail/plugins/
>> /usr/lib/x86_64-linux-gnu/lib/claws-mail/plugins
>>
>> There is an extra "lib" folder in the second path. I used
>>
>> $ ./configure --prefix=/usr
>>
>> to obtain that result.
>>
>> In another try, I did:
>>
>> $ ./configure --prefix=/usr/lib/x86_64-linux-gnu/
> This prefix is wrong. If you want to build plugins like the Debian
> packages do, just use the same dir-related flags for configuring:
>
> https://salsa.debian.org/claws-mail-team/claws-mail/-/blob/master/debian/rules#L20
Mmm... i am not so familiar with some things. Are you saying that i
should manually pass, to source configure script, all the folder options
seen from lines 20 to 28 in the link above? If you see images in this
message, the lines i say are:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20210925/d9c56bbe/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abccemmbdbmpeipk.png
Type: image/png
Size: 15259 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20210925/d9c56bbe/attachment-0001.png>
More information about the Users
mailing list