[Remind-Fans] rem2pdf install doesn't obey prefix specified to configure

Jonathan Kamens jik at kamens.us
Sun Apr 3 11:50:14 EDT 2022


You're half-right. There's also a bug in rem2pdf/Makefile.top.in. The
attached patch fixes that bug and also adds the `use lib` line.

On 4/2/22 23:31, Dianne Skoll via Remind-fans wrote:
> On Sat, 2 Apr 2022 17:59:41 -0400
> Jonathan Kamens via Remind-fans <remind-fans at lists.skoll.ca> wrote:
>
>> I ran `./configure --prefix=/opt/remind` in the current remind source
>> and then `make -j` and then `sudo make install` and it installed
>> rem2pdf in /usr/local instead of /opt/remind.
> Unfortunately, rem2pdf uses Perl's build infrastructure which does not
> cooperate very well with autoconf.  I think you can do this:
>
> INSTALL_BASE=/opt/remind; export INSTALL_BASE
> ./configure --prefix=/opt/remind && make -j && sudo make install
>
> to get it to work, but rem2pdf itself is unlikely to find the
> Perl libaries and work; it will need to be edited to do something
> like:
>
> use lib '/opt/remind/lib/perl5';
>
> or something like that.
>
> Regards,
>
> Dianne.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20220403/34559f76/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Install-rem2pdf-properly-in-non-standard-install-pre.patch
Type: text/x-patch
Size: 1247 bytes
Desc: not available
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20220403/34559f76/attachment.bin>


More information about the Remind-fans mailing list