RE: Help with libwinprthread-1.dll

[email protected] (RAPPAZ Francois) Tue, 21 Jun 2016 11:05:42 +0000
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
Thanks for the comment, so practically I should start a msys2 console and u=
sing this pacman tool, I should download an older version of the gk+ stack =
?

I have downloaded Gtk+ some years ago and compiling Cairo from this older v=
ersion:  gtk+-bundle_2.20.0-20100406_win32, is ok and it runs without error=
.

Fran=E7ois

> -----Original Message-----
> From: Chris Marshall [mailto:[email protected]]
> Sent: mardi, 21. juin 2016 12:55
> To: [email protected]
> Subject: Re: Help with libwinprthread-1.dll
>=20
> It appears that this routine was added to mingw-w64 git last year.  I
> don't know if it is in an official release yet...
>=20
> https://sourceforge.net/p/mingw-w64/mingw-
> w64/ci/0d95c795b44b76e1b60dfc119fd93cfd0cb35816/
>=20
> On 6/21/2016 06:51, Chris Marshall wrote:
> > I can't find pthread_setname_np in any of the pthread*.h files in my
> > Strawberry Perl Portable v52211 which suggests that it is not
> > supported by the included pthread support.
> >
> > It is possible that there might be an updated mingw with that
> function
> > included.  Another possibility is you could port the usages of
> > pthread_(set|get)_np to some other implementation.
> >
> > --Chris
> >
> > On 6/21/2016 04:14, RAPPAZ Francois wrote:
> >> Hi there
> >>
> >> I'm trying to compile Cairo for perl (strawberry 5.24) on windows 7.
> >> I have download the package Cairo using msys64.
> >>
> >>  From the CPAN/Build Cairo folder I have created the makefile with
> >>
> >> perl Makefile.pl INC=3D"-IC:/strawberry/c/include/freetype2
> >> -IC:/msys64/mingw32/include/cairo -IC:/msys64/mingw32/include -I.
> >> -I./build" LIBS=3D"-Lc:/msys64/mingw32/lib" verbose
> >>
> >> In the C:\msys64\mingw32\lib folder I have copied *.dll.a on *.a
> >> files to prevent undefined reference errors when running dmake,
> >> following someone's (Rob) suggestion on the mingw-users list.
> >>
> >> dmake executes without error.
> >>
> >> dmake test
> >>
> >> fails with a msgbox "The procedure entry point pthread_setname_np
> >> could not be located in the dynamic link library libwinprthread-
> 1.dll"
> >> and in the console:
> >> t/00-loading.t ....