I am not sure what you mean by the demo doesn't contain the buggy file. I merely mentioned the demo working as it indicates, to me, that Wx compiled successfully with my manual steps.

There is a problem building Wx for Strawberry Perl, and I detailed how I worked around that problem. There is no time consuming process, there is:

1) Install the PPM I mentioned
2) Do the manual steps I detailed

If neither of those work for you then there is a different problem. Perhaps selecting OpenGL support causes additional problems, I don't know.

You seem to think that the error message you included indicates a problem in math.h but that message is a warning whereas the relevant error is:

dmake.EXE:  Error: -- `XS\ItemContainer.xs' not found, and can't be made

which is the error I detailed how to correct.

Good luck,

Brad Embree

Matt Schmalzigan wrote:
Brad,

The demo probably doesn't contain the buggy file.  I can go through the
time-consuming process of tracking it down, but I figure that whoever wrote
it would be able to spot the bug faster than I can.
FYI:  I successfully installed Alien:wxWidgets, but I selected OpenGL
support.

----------------------------------------------------------------------------
--------
Matt Schmalzigan
Electrical Engineer
Peregrine Group
8850 West 38th Avenue Suite A
Wheat Ridge, Colorado 80033
Phone:  303.670.9388
Fax:  303.384.0867

-----Original Message-----
From: Bradley K. Embree [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 10:35 AM
To: Matt Schmalzigan; [email protected]
Subject: Re: Wx-0.76 make error (on Strawberry Perl)

Matt Schmalzigan wrote:
Hello,

I am trying to install Wx for perl, a CGI interface module.  Apparently
dmake failed and the error is in math.h

I know that Mark Dootson tested the Wx PPMs that he maintains (http://www.wxperl.co.uk/) and they worked, so that would be a shortcut if you don't mind manually putting the files where they need to go.

Regardless, I have been meaning to detail my experiences getting wxPerl compiling on Strawberry Perl to see if Mattia had any input on what is going wrong (I am not saying all these steps are necessary, eg I am sure you can safely skip installing Bundle::CPAN, just this is what I did):

- Install Strawberry Perl (http://vanillaperl.com/files/strawberry-perl-5.8.8-alpha-2.exe)

- 'perl -MCPAN -e shell' inside cmd shell
        - configure CPAN
        - install Bundle::CPAN
        - install Alien::wxWidgets:

Do you want to build wxWidgets? [yes ]
yes
Which archive type? [tar.gz ]
tar.gz
Do you want to include OpenGL support [yes ]
no

        - get Wx

- quit CPAN and navigate to Wx build directory
        - perl Makefile.PL
        - dmake (which results in following error):

dmake:  Error: -- `XS\ItemContainer.xs' not found, and can't be made

        - run the following commands:

perl script/wx_xspp.pl -t typemap.xsp XS/ItemContainer.xsp > XS/ItemContainer.xs perl script/wx_xspp.pl -t typemap.xsp XS/ItemContainerImmutable.xsp > XS/ItemContainerImmutable.xs perl script/wx_xspp.pl -t typemap.xsp XS/VarScrollHelperBase.xsp > XS/VarScrollHelperBase.xs perl script/wx_xspp.pl -t typemap.xsp XS/VarVScrollHelper.xsp > XS/VarVScrollHelper.xs perl script/wx_xspp.pl -t typemap.xsp XS/VarHScrollHelper.xsp > XS/VarHScrollHelper.xs perl script/wx_xspp.pl -t typemap.xsp XS/VarHVScrollHelper.xsp > XS/VarHVScrollHelper.xs

        -dmake test
        -dmake install

It seems like something is going wrong in the build process, but I am not sure what.

I then installed and ran the Wx::Demo and it seems to work without issue (not sure I tested everything contained in the demo).

Brad Embree


Reply via email to