From: James M. <ja...@ja...> - 2007-07-02 00:16:00
|
I have a wxPerl app I created on Windows / Ubuntu using wxGlade. It worked fine on Ubuntu and windows. I now have a Fedora 7 box with the following wx environment. wxGTK-2.8.3-2.fc7 wxPython-2.8.3.0-1.fc7 perl-Alien-wxWidgets-0.31-1.fc7 wxGTK-gl-2.8.3-2.fc7 perl-Wx-0.74-1.fc7 wxGlade-0.5-5.fc7 Now when I run the script on Fedora 7 I get Can't locate Wx/Media.pm in @INC Looking on my system I don't have a Media.pm rpm -q perl-Wx --list | grep Media.pm I have tried to download and install wxWidgets-2.8.4 and compile with export CXXFLAGS=-DSQL_WCHART_CONVERT |../configure --enable-unicode --with-sdl| Then compiling and install perl Wx-0.74. But I can't seem to get either wxWidgets to generate a wxMedia dll or what ever it needs and the wxPerl install has a skeleton makefile in Wx-0.74/ext/media with the following as it's contents all: clean: install: makemakerdflt: test: So it appears that I am missing something. I have tried to use --enable-mediactrl when compiling wxWidgets and it creates some extra objects with mmedia in the name but wxPerl still will not compile the Media.pm & object it needs. Anyone know how I can get myself a working environment? The script I am having trouble with has the following content on line one and it's failing on line one.... Seems the definition allclasses is trying to pull wxMedia which I obviously don't have. use Wx 0.15 qw[:allclasses]; |