Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Need help debugging Wx on Strawberry Perl 5.26.1

by thechartist (Monk)
on Aug 26, 2019 at 03:53 UTC ( [id://11105024]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Need help debugging Wx on Strawberry Perl 5.26.1
in thread Need help debugging Wx on Strawberry Perl 5.26.1

Yes, I am using the compiler bundled with Strawberry perl. I'm running into errors simply using Makefile.PL. I tried that to reproduce the errors obtained when running the CPANM client.

I am installing from CPAN -- so the Wx package provides me with sources only AFAICT. That is why it is so confusing. I'm using GCC 7.1.0.

  • Comment on Re^4: Need help debugging Wx on Strawberry Perl 5.26.1

Replies are listed 'Best First'.
Re^5: Need help debugging Wx on Strawberry Perl 5.26.1
by jcb (Parson) on Aug 26, 2019 at 03:56 UTC

    You have the sources for the Wx XS extension, but are you also building the wxWidgets library from source or are you getting a binary from somewhere?

      I had installed other Wx modules (ie. Ailen::wxWidgets) prior to installing this one. I am operating under the assumption that those installed correctly as that was what the CPAN result told me.

        Is the Makefile.PL file calling the Wx dlls provided by Alien::wxWidgets? Maybe some probing is needed to check what path is being used.

        And FWIW, I cannot get Alien::wxWidgets to compile using Strawberry perl so I cannot test it myself.

        C:\BERRYB~1\526~1.2_6\data\.cpanm\work\1566800678.620\Alien-wxWidgets- +0.69>perl Makefile.PL # running Build.PL Do you want to fetch and build wxWidgets from sources? [yes ] yes Which wxWidgets version? (2.8.10, 2.8.11, 2.8.12, 2.9.0, 2.9.1, 2.9.2, + 2.9.3, 2.9.4, 3.0.0, 3.0.1, 3.0.2) [3.0.2 ] 3.0.2 Which archive type? [tar.bz2 ] tar.bz2 Do you want to include OpenGL support [yes ]no Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.69' C:\BERRYB~1\526~1.2_6\data\.cpanm\work\1566800678.620\Alien-wxWidgets- +0.69>Build Building Alien-wxWidgets if not exist gcc_mswudll mkdir gcc_mswudll process_begin: CreateProcess(NULL, C:/berrybrew/5.26.2_64_PDL/perl/sit +e/bin/ -c "if not exist gcc_mswudll mkdir gcc_mswudll", ...) failed. make (e=5): Access is denied. gmake: [makefile.gcc:5089: gcc_mswudll] Error 5 (ignored) if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll process_begin: CreateProcess(NULL, C:/berrybrew/5.26.2_64_PDL/perl/sit +e/bin/ -c "if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll", . +..) failed. make (e=5): Access is denied. gmake: *** [makefile.gcc:5639: ..\..\lib\gcc_dll] Error 5 system: gmake -f makefile.gcc all UNICODE=1 MSLU=0 BUILD=release SHAR +ED=1 DEBUG_INFO=default DEBUG_FLAG=1 LDFLAGS=" -m64" CPPFLAGS="-m64" +: 512 at inc/My/Build/Win32.pm line 284.

        The error appears to indicate that your wxWidgets library does not match your Wx XSUB. That is all I can say with certainty.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11105024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-25 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found