-1

Strawberry Perl is distributed with its own winlibs distribution. E.g., if the perl distribution is placed in c:/strawberry, the winlibs distribution is placed in c:/strawberry/c. May I replace this winlibs distribution with a different, newer winlibs distribution placed in c:/winlibs (for example)? Would changes other than the path be necessary? Thank you!

I tried the following: d:\prog\strawberry with strawberry perl 5.38.2.2 but with the c folder removed; d:\prog\mingw64 with winlibs 13.2.0 release 6. I worked the path accordingly. I get errors when trying to install packages. These errors were not there with the original setup.

6
  • I get errors ..." - please share the error message(s) you get.
    – Filburt
    Commented Mar 25, 2024 at 16:39
  • If you need to compile packages, they must be compiled by the same compiler as the perl itself, otherwise they won't be compatible.
    – choroba
    Commented Mar 25, 2024 at 16:51
  • @choroba: Yes, indeed. I noticed the c\version-info.txt file mentioning "winlibs personal build version gcc-13.1.0-mingw-w64msvcrt-11.0.0-r5" and "This build was compiled with GCC 13.1.0 and packaged on 2023-06-04." The same winlibs download, i.e. exactly matching this file, is not absolutely identical to the winlibs included here. The difference is certainly relevant. Commented Mar 25, 2024 at 17:04
  • @Filburt: with the original setup I tried to install via CPAN PDF::API2. It worked flawlessly. But with the substitution I tried, it failed, with dependency errors. Commented Mar 25, 2024 at 17:17
  • Also asked on /r/perl. When cross-posting, it's polite to let people know that there already be an answer somewhere else. Commented Mar 26, 2024 at 11:02

1 Answer 1

1

Strawberry Perl is a bear of a project: it brings together many components, compiles them together, links all the objects, and gives you a tidy package. If you wanted to replace part of that, all the other parts must be redone too. And, all of that has to done with the same compiler the original package used.

You could compile your own Strawberry Perl, but why? Are you running into some problem that you think a different winlibs would solve?

Have you considered raising an issue with Strawberry Perl for the problem you think you have?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.