From: Ed H. <ed...@do...> - 2006-08-11 16:29:14
|
Hullo! I've decided that I am going to start working with home-compiled versions of wxwidgets and wxperl, so that when I ask about a bug and Mattia says "fix is in CVS" I can go get that fix. I've got a mingw/msys system together. I compiled wxWidgets using it and confirmed the samples worked on a testbed "clean install" of Win XP. (I followed the steps here: http://jupiter.dnsalias.net/howto/wxWidgets/wxWidgets_MinGW.jsp ) Now I'd like to roll me up some wxPerl. I'm using ActiveState perl 5.8.8 build 817 (the latest stable version from activestate). My mingw is configured to see that perl in its PATH as /perl/bin/perl. I'm not exactly sure where to go from here. My next step would be to install Alien-wxWidgets I guess. I can't get the cpan shell working from within my msys environment. It says "Set up gcc environment" and hangs. So I downloaded the tarball of Alien-wxWidgets in my msys home directory. I ran perl Build.pl and said "no" I don't want to build wxWidgets. (I already built it, and wx-config is in my path). It created a Build script, which gave me some of the following output (apologies for its incompleteness -- I haven't yet figured out how to cut and paste from a msys window!) -- Build: blib\lib\Alien\wxWidgets.pm: cannot resolve L<Alien> in paragraph 8. (some more stuff that doesn't look like errors, then...) Configuration error: could not find libraries for this configuration at inc/My/Build/Win32.pm line 63. Hmmm, I thought. I'll try saying I *do* want to build the toolkit. I removed the unpacked tarball and unpacked it again, and this time said "yes" to the "Do you want to build WxWidgets?" question. I ran the build script and ended up with the exact same "cannot resolve L<Alien> in paragraph 8" and then a "Fetch failed! 404 not found " trying to fetch \pub\2.6.3\wxWidgets-2.6.3.yes from biolpc22.york.ac.uk' It then printed "Fetching wxWidgets..." and quit. I'm going to go back, for now, to the pre-Alien version of wxPerl, but I would like to find out how to do this right. I am very new to msys/mingw, but things have gone very well except for the Alien business. I ran it again and said "yes" I want to build it. |
From: <an...@fr...> - 2006-08-11 17:13:37
|
Ed Heil wrote: > Hullo! > > I've decided that I am going to start working with home-compiled > versions of wxwidgets and wxperl, so that when I ask about a bug and > Mattia says "fix is in CVS" I can go get that fix. > > I've got a mingw/msys system together. I compiled wxWidgets using it > and confirmed the samples worked on a testbed "clean install" of Win > XP. (I followed the steps here: > http://jupiter.dnsalias.net/howto/wxWidgets/wxWidgets_MinGW.jsp ) > > Now I'd like to roll me up some wxPerl. > > I'm using ActiveState perl 5.8.8 build 817 (the latest stable version > from activestate). > > My mingw is configured to see that perl in its PATH as /perl/bin/perl. > > I'm not exactly sure where to go from here. My next step would be to > install Alien-wxWidgets I guess. I can't get the cpan shell working > from within my msys environment. It says "Set up gcc environment" and > hangs. So I downloaded the tarball of Alien-wxWidgets in my msys home > directory. > > I ran perl Build.pl and said "no" I don't want to build wxWidgets. (I > already built it, and wx-config is in my path). It created a Build > script, which gave me some of the following output (apologies for its > incompleteness -- I haven't yet figured out how to cut and paste from a > msys window!) -- > > Build: blib\lib\Alien\wxWidgets.pm: cannot resolve L<Alien> in paragraph 8. > > (some more stuff that doesn't look like errors, then...) > > Configuration error: could not find libraries for this configuration at > inc/My/Build/Win32.pm line 63. > Have you tried to build with mingw? May I ask how did you do that? > > Hmmm, I thought. I'll try saying I *do* want to build the toolkit. I > removed the unpacked tarball and unpacked it again, and this time said > "yes" to the "Do you want to build WxWidgets?" question. > > I ran the build script and ended up with the exact same "cannot resolve > L<Alien> in paragraph 8" and then a "Fetch failed! 404 not found " > trying to fetch \pub\2.6.3\wxWidgets-2.6.3.yes from > biolpc22.york.ac.uk' It then printed "Fetching wxWidgets..." and quit. > > I'm going to go back, for now, to the pre-Alien version of wxPerl, but I > would like to find out how to do this right. I am very new to > msys/mingw, but things have gone very well except for the Alien business. > > > > > I ran it again and said "yes" I want to build it. > > > > Hi! You seem to be doing the same as I do. I have tried to compile it as you do. As I see there are several ways to go. I have spent a day on it and I have found out couple of things. I don't have a complete solution but someone may be able to finish it. These may work. 1. Compile WxWidgets in its own and make an entry for it in perl\site\lib\Alien\wxWidgets\Config\ and build/make Wx. I have tried this but I am stuck because the makefile.pl does not seem to be able to find the new mingw configuration. 2. Do as you do. I downloaded Visual C++ Studio Express 2005 and set up the path like this before calling cpan.bat set path=C:\WINXP\system32;c:\Program Files\Microsoft Visual Studio 8\vc\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;d:\m\perl\bin\; set INCLUDE=<Microsoft Platform SDK>\Include;C:\Programs\Microsoft Platform SDK\Include\crt set LIB=<Microsoft Platform SDK>\lib;C:\Program Files\Microsoft Visual Studio 8\VC\lib then ,, "install M/MB/MBARBON/Alien-wxWidgets-0.19.tar.gz" Then I built it That was ok... but the generated dlls did not run properly... 3. There is a install guide here http://search.cpan.org/~mbarbon/Wx-0.55/docs/INSTALL.pod It looks simple... For mingw, it says set WXDIR=z:\path\to\wx set WXWIN=z:\path\to\wx cd z:\path\to\wx\src\msw make -f makefile.g95 FINAL=1 WXMAKINGDLL=1 cd %WXDIR%\contrib\src\stc make -f makefile.g95 FINAL=1 WXUSINGDLL=1 cd %WXDIR%\contrib\src\xrc make -f makefile.g95 FINAL=1 WXUSINGDLL=1 # now build wxPerl # get dmake from http://www.cpan.org/authors/id/GSAR/dmake-4.1pl1-win32.zip perl Makefile.PL dmake dmake test I tried that too but it failed at perl Makefile.PL because it was trying to use CL configuration given by Alien::Widgets. The problem is Alien::Widgets knows only CL...?? I don!t know how to make it use gcc configuration, I can see the code is there, I have not managed to activate it.. Maybe if Alien::Widgets were removed.. Regards Márton Papp |
From: Mark D. <mar...@zn...> - 2006-08-11 17:23:31
|
Ed, I think you need to build wxWidgets in the native environment - NOT under MSYS. As far as I am aware, you won't be able to build anything for ActivePerl under MSYS. Apparantly, the native mingw should work just fine. I'm sure Mattia will be able to give you correct instructions when he next replies to the list. It should be simple with Alien::wxWidgets. But I'm sure you are wasting your time compiling under MSYS. Regards Mark Ed Heil wrote: > Hullo! > > I've decided that I am going to start working with home-compiled > versions of wxwidgets and wxperl, so that when I ask about a bug and > Mattia says "fix is in CVS" I can go get that fix. > > I've got a mingw/msys system together. I compiled wxWidgets using it > and confirmed the samples worked on a testbed "clean install" of Win > XP. (I followed the steps here: > http://jupiter.dnsalias.net/howto/wxWidgets/wxWidgets_MinGW.jsp ) > > Now I'd like to roll me up some wxPerl. > > I'm using ActiveState perl 5.8.8 build 817 (the latest stable version > from activestate). > > My mingw is configured to see that perl in its PATH as /perl/bin/perl. > > I'm not exactly sure where to go from here. My next step would be to > install Alien-wxWidgets I guess. I can't get the cpan shell working > from within my msys environment. It says "Set up gcc environment" and > hangs. So I downloaded the tarball of Alien-wxWidgets in my msys home > directory. > > I ran perl Build.pl and said "no" I don't want to build wxWidgets. (I > already built it, and wx-config is in my path). It created a Build > script, which gave me some of the following output (apologies for its > incompleteness -- I haven't yet figured out how to cut and paste from a > msys window!) -- > > Build: blib\lib\Alien\wxWidgets.pm: cannot resolve L<Alien> in paragraph 8. > > (some more stuff that doesn't look like errors, then...) > > Configuration error: could not find libraries for this configuration at > inc/My/Build/Win32.pm line 63. > > > Hmmm, I thought. I'll try saying I *do* want to build the toolkit. I > removed the unpacked tarball and unpacked it again, and this time said > "yes" to the "Do you want to build WxWidgets?" question. > > I ran the build script and ended up with the exact same "cannot resolve > L<Alien> in paragraph 8" and then a "Fetch failed! 404 not found " > trying to fetch \pub\2.6.3\wxWidgets-2.6.3.yes from > biolpc22.york.ac.uk' It then printed "Fetching wxWidgets..." and quit. > > I'm going to go back, for now, to the pre-Alien version of wxPerl, but I > would like to find out how to do this right. I am very new to > msys/mingw, but things have gone very well except for the Alien business. > > > > > I ran it again and said "yes" I want to build it. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |
From: Mattia B. <mat...@li...> - 2006-08-11 20:09:59
|
On Fri, 11 Aug 2006 12:29:08 -0400 Ed Heil <ed...@do...> wrote: Hi. do not use MSYS, just plain old MinGW. Make sure to install the native mingw32-make.exe. - Unpack Alien::wxWidgets somewhere. - copy the wxWidgets archive to that directory (or let A::wx download it) - perl Build.PL - yes: you want to build wxWidgets! let Alien do it for you unless you *really* know you do not want to - specify the correct extension for the archive (tar.gz works for me even under Windows) - perl Build - perl Build install - unpack wxPerl - perl Makefile.PL - nmake - nmake install Report any failure here. It can work inside CPAN, but first make sure you are able to build a simple XS module from CPAN, to check your setup is sane. HTH Mattia |
From: Ed H. <ed...@do...> - 2006-08-15 01:52:35
|
I've been working on this a little more. What seems to keep happening is that patches don't get made. Perhaps I'm missing some patch-related functionality here? Where a file should be patched, it seems to be moved to a .bak file and an empty file is left in its place. Right now I'm applying patches by hand and seeing if that helps. (I had a patch utility in cygwin but I made cygwin go away so it wouldn't get in the way of MINGW.) Mattia Barbon wrote: > On Sat, 12 Aug 2006 19:36:44 -0400 > Ed Heil <ed...@do...> wrote: > > >> mingw32-make: *** No rule to make target `all'. Stop. >> system: mingw32-make -f makefile.gcc all UNICODE=0 MSLU=0 BUILD=release >> SHARED= >> 1: 512 at inc/My/Build/Win32.pm line 246 >> > > Could you stick a 'print cwd, "\n"' at that line to see where > is it trying to chdir to, and if is there a makefile.gcc in that > directory. > > Thanks! > Mattia > |
From: Mattia B. <mat...@li...> - 2006-08-15 12:29:56
|
On Fri, 11 Aug 2006 22:14:41 +0200 Mattia Barbon <mat...@li...> wrote: Hi again, > do not use MSYS, just plain old MinGW. Make sure to install the > native mingw32-make.exe. >=20 > - Unpack Alien::wxWidgets somewhere. > - copy the wxWidgets archive to that directory (or let A::wx download it) > - perl Build.PL > - yes: you want to build wxWidgets! let Alien do it for you > unless you *really* know you do not want to > - specify the correct extension for the archive (tar.gz works for me > even under Windows) > - perl Build > - perl Build install >=20 > - unpack wxPerl > - perl Makefile.PL > - nmake > - nmake install >=20 > Report any failure here. >=20 > It can work inside CPAN, but first make sure you are able to build > a simple XS module from CPAN, to check your setup is sane. Hi discovered (after M=E1rton Papp reported some more problems in private mail) that ActivePerl build 817 has a glitch in the way the MinGW build environment is set up that causes Alien::wxWidgets, wxPerl and I suspect other nontrivial XS modules to fail. To work around this you should install ExtUtils::FakeConfig 0.06 (make sure MinGW is in path, then do the ususal 'Perl Makefile.PL; make; make install' dance), then set PERL5OPT=3D-MConfig_m <build and install Alien> <build and install wxPerl> HTH Mattia =20 |
From: Ed H. <ed...@do...> - 2006-08-15 14:28:38
|
Mattia Barbon wrote: > To work around this you should install ExtUtils::FakeConfig 0.06 > (make sure MinGW is in path, then do the ususal 'Perl Makefile.PL; > make; make install' dance), then > > set PERL5OPT=-MConfig_m > <build and install Alien> > <build and install wxPerl> > This worked for me! I had tried using FakeConfig once before, I believe, but that was back when I was mistakenly using MSYS. I'm grateful for all your help. |
From: Ed H. <ed...@do...> - 2006-08-15 02:41:28
|
After extensive hand-patching I gave things another try. I've got a copy of wxWidgets-2.6.3 unzipped and hand-patched in my Alien-WxWidgets-0.19 directory. C:\src\Alien-wxWidgets-0.19> C:\src\Alien-wxWidgets-0.19>perl Build.PL Deleting _build Creating custom builder _build\lib\My\Build\new_from_context_is_broken.pm in _bu ild\lib\My\Build Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Do you want to build wxWidgets? [no] yes Which archive type? [tar.gz] zip Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Alien-wxWidgets' version '0.19' C:\src\Alien-wxWidgets-0.19>perl Build Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) Set up gcc environment - 3.4.2 (mingw-special) if not exist ..\..\lib\gcc_dll\msw mkdir ..\..\lib\gcc_dll\msw gcc -c -o gcc_mswdll\wxregex_regexec.o -O2 -mthreads -DHAVE_W32API_H -I..\..\i nclude -I..\..\lib\gcc_dll\msw -D__WXMSW__ -MTgcc_mswdll\wxregex_regexec.o -M Fgcc_mswdll\wxregex_regexec.o.d -MD ../../src/regex/regexec.c In file included from ../../include/wx/platform.h:271, from ../../include/wx/defs.h:21, from ../../src/regex/regcustom.h:39, from ../../src/regex/regguts.h:38, from ../../src/regex/regexec.c:32: ../../include/wx/chkconf.h:85:9: #error "wxUSE_DYNLIB_CLASS must be defined." ../../include/wx/chkconf.h:93:9: #error "wxUSE_EXCEPTIONS must be defined." ../../include/wx/chkconf.h:101:9: #error "wxUSE_FILESYSTEM must be defined." ../../include/wx/chkconf.h:114:9: #error "wxUSE_DYNAMIC_LOADER must be defined." ../../include/wx/chkconf.h:122:9: #error "wxUSE_LOG must be defined." ../../include/wx/chkconf.h:130:9: #error "wxUSE_LONGLONG must be defined." ../../include/wx/chkconf.h:138:9: #error "wxUSE_MIMETYPE must be defined." ../../include/wx/chkconf.h:154:9: #error "wxUSE_PROTOCOL must be defined." ../../include/wx/chkconf.h:196:9: #error "wxUSE_REGEX must be defined." ../../include/wx/chkconf.h:204:9: #error "wxUSE_STDPATHS must be defined." ../../include/wx/chkconf.h:212:9: #error "wxUSE_XML must be defined." ../../include/wx/chkconf.h:220:9: #error "wxUSE_SOCKETS must be defined." ../../include/wx/chkconf.h:228:9: #error "wxUSE_STREAMS must be defined." ../../include/wx/chkconf.h:236:9: #error "wxUSE_STOPWATCH must be defined." ../../include/wx/chkconf.h:244:9: #error "wxUSE_TEXTBUFFER must be defined." ../../include/wx/chkconf.h:252:9: #error "wxUSE_TEXTFILE must be defined." ../../include/wx/chkconf.h:268:9: #error "wxUSE_URL must be defined." ../../include/wx/chkconf.h:286:9: #error "wxUSE_ACCEL must be defined." ../../include/wx/chkconf.h:294:9: #error "wxUSE_BMPBUTTON must be defined." ../../include/wx/chkconf.h:302:9: #error "wxUSE_BUTTON must be defined." ../../include/wx/chkconf.h:310:9: #error "wxUSE_CALENDARCTRL must be defined." ../../include/wx/chkconf.h:318:9: #error "wxUSE_CARET must be defined." ../../include/wx/chkconf.h:326:9: #error "wxUSE_CHECKBOX must be defined." ../../include/wx/chkconf.h:342:9: #error "wxUSE_CHOICE must be defined." ../../include/wx/chkconf.h:350:9: #error "wxUSE_CHOICEBOOK must be defined." ../../include/wx/chkconf.h:358:9: #error "wxUSE_CHOICEDLG must be defined." ../../include/wx/chkconf.h:366:9: #error "wxUSE_CLIPBOARD must be defined." ../../include/wx/chkconf.h:374:9: #error "wxUSE_COLOURDLG must be defined." ../../include/wx/chkconf.h:382:9: #error "wxUSE_COMBOBOX must be defined." ../../include/wx/chkconf.h:390:9: #error "wxUSE_DATAOBJ must be defined." ../../include/wx/chkconf.h:398:9: #error "wxUSE_DATEPICKCTRL must be defined." ../../include/wx/chkconf.h:406:9: #error "wxUSE_DISPLAY must be defined." ../../include/wx/chkconf.h:414:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be de fined." ../../include/wx/chkconf.h:422:9: #error "wxUSE_FILEDLG must be defined." ../../include/wx/chkconf.h:430:9: #error "wxUSE_FONTDLG must be defined." ../../include/wx/chkconf.h:438:9: #error "wxUSE_FONTMAP must be defined." ../../include/wx/chkconf.h:446:9: #error "wxUSE_GAUGE must be defined." ../../include/wx/chkconf.h:454:9: #error "wxUSE_GRID must be defined." ../../include/wx/chkconf.h:462:9: #error "wxUSE_HELP must be defined." ../../include/wx/chkconf.h:470:9: #error "wxUSE_HTML must be defined." ../../include/wx/chkconf.h:478:9: #error "wxUSE_XRC must be defined." ../../include/wx/chkconf.h:499:9: #error "wxUSE_ICO_CUR must be defined." ../../include/wx/chkconf.h:507:9: #error "wxUSE_IFF must be defined." ../../include/wx/chkconf.h:515:9: #error "wxUSE_IMAGLIST must be defined." ../../include/wx/chkconf.h:523:9: #error "wxUSE_JOYSTICK must be defined." ../../include/wx/chkconf.h:531:9: #error "wxUSE_LISTBOOK must be defined." ../../include/wx/chkconf.h:539:9: #error "wxUSE_LISTBOX must be defined." ../../include/wx/chkconf.h:547:9: #error "wxUSE_LISTCTRL must be defined." ../../include/wx/chkconf.h:555:9: #error "wxUSE_LOGGUI must be defined." ../../include/wx/chkconf.h:563:9: #error "wxUSE_LOGWINDOW must be defined." ../../include/wx/chkconf.h:571:9: #error "wxUSE_LOG_DIALOG must be defined." ../../include/wx/chkconf.h:579:9: #error "wxUSE_MDI must be defined." ../../include/wx/chkconf.h:587:9: #error "wxUSE_MDI_ARCHITECTURE must be defined ." ../../include/wx/chkconf.h:595:9: #error "wxUSE_MENUS must be defined." ../../include/wx/chkconf.h:603:9: #error "wxUSE_MSGDLG must be defined." ../../include/wx/chkconf.h:611:9: #error "wxUSE_NOTEBOOK must be defined." ../../include/wx/chkconf.h:619:9: #error "wxUSE_PALETTE must be defined." ../../include/wx/chkconf.h:627:9: #error "wxUSE_POPUPWIN must be defined." ../../include/wx/chkconf.h:635:9: #error "wxUSE_PRINTING_ARCHITECTURE must be de fined." ../../include/wx/chkconf.h:643:9: #error "wxUSE_RADIOBOX must be defined." ../../include/wx/chkconf.h:651:9: #error "wxUSE_RADIOBTN must be defined." ../../include/wx/chkconf.h:659:9: #error "wxUSE_SASH must be defined." ../../include/wx/chkconf.h:667:9: #error "wxUSE_SCROLLBAR must be defined." ../../include/wx/chkconf.h:675:9: #error "wxUSE_SLIDER must be defined." ../../include/wx/chkconf.h:683:9: #error "wxUSE_SOUND must be defined." ../../include/wx/chkconf.h:691:9: #error "wxUSE_SPINBTN must be defined." ../../include/wx/chkconf.h:699:9: #error "wxUSE_SPINCTRL must be defined." ../../include/wx/chkconf.h:707:9: #error "wxUSE_SPLASH must be defined." ../../include/wx/chkconf.h:715:9: #error "wxUSE_SPLITTER must be defined." ../../include/wx/chkconf.h:723:9: #error "wxUSE_STATBMP must be defined." ../../include/wx/chkconf.h:731:9: #error "wxUSE_STATBOX must be defined." ../../include/wx/chkconf.h:739:9: #error "wxUSE_STATLINE must be defined." ../../include/wx/chkconf.h:747:9: #error "wxUSE_STATTEXT must be defined." ../../include/wx/chkconf.h:755:9: #error "wxUSE_STATUSBAR must be defined." ../../include/wx/chkconf.h:763:9: #error "wxUSE_TAB_DIALOG must be defined." ../../include/wx/chkconf.h:771:9: #error "wxUSE_TEXTCTRL must be defined." ../../include/wx/chkconf.h:779:9: #error "wxUSE_TIPWINDOW must be defined." ../../include/wx/chkconf.h:787:9: #error "wxUSE_TOOLBAR must be defined." ../../include/wx/chkconf.h:795:9: #error "wxUSE_TOOLTIPS must be defined." ../../include/wx/chkconf.h:803:9: #error "wxUSE_TREECTRL must be defined." ../../include/wx/chkconf.h:811:9: #error "wxUSE_VALIDATORS must be defined." ../../include/wx/chkconf.h:819:9: #error "wxUSE_WXHTML_HELP must be defined." ../../include/wx/chkconf.h:1544:9: #error "wxMessageBox is always needed" mingw32-make: *** [gcc_mswdll\wxregex_regexec.o] Error 1 system: mingw32-make -f makefile.gcc all UNICODE=0 MSLU=0 BUILD=release SHARED= 1: 512 at inc/My/Build/Win32.pm line 246 C:\src\Alien-wxWidgets-0.19> I'll keep poking at this for my own sake until/unless you point me in another direction, Mattia. :) Ed Heil wrote: > I've been working on this a little more. > > What seems to keep happening is that patches don't get made. Perhaps > I'm missing some patch-related functionality here? Where a file > should be patched, it seems to be moved to a .bak file and an empty > file is left in its place. > > Right now I'm applying patches by hand and seeing if that helps. (I > had a patch utility in cygwin but I made cygwin go away so it wouldn't > get in the way of MINGW.) > > > Mattia Barbon wrote: >> On Sat, 12 Aug 2006 19:36:44 -0400 >> Ed Heil <ed...@do...> wrote: >> >> >>> mingw32-make: *** No rule to make target `all'. Stop. >>> system: mingw32-make -f makefile.gcc all UNICODE=0 MSLU=0 BUILD=release >>> SHARED= >>> 1: 512 at inc/My/Build/Win32.pm line 246 >>> >> >> Could you stick a 'print cwd, "\n"' at that line to see where >> is it trying to chdir to, and if is there a makefile.gcc in that >> directory. >> >> Thanks! >> Mattia >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Mattia B. <mat...@li...> - 2006-08-15 13:57:27
|
On Mon, 14 Aug 2006 22:41:20 -0400 Ed Heil <ed...@do...> wrote: > After extensive hand-patching I gave things another try. I've got a > copy of wxWidgets-2.6.3 unzipped and hand-patched in my > Alien-WxWidgets-0.19 directory. if you download patch.exe from gnuwin32.sf.net (or another Win32-survival-kit-for-Unix-users site of your choice) you should be able to replace inc/bin/patch with inc/bin/patch.exe. I will give it a try and release Alien::wxWidgets 0.20. Regards Mattia |
From: Ed H. <ed...@do...> - 2006-08-15 04:47:29
|
You know, I'd like to maybe go in a different direction right now -- if I /could /get myself a copy of a compiled, working wxWidgets installation, one way or another, how could I get Alien::wxWidgets to see it and accept it as what it needs? I've got a mingw (no msys) compile of wxWidgets from native makefiles going right now. If that ends well I'm going to see if I can figure out for myself how to tell Alien::wxWidgets how to find it. :) Ed Heil wrote: > After extensive hand-patching I gave things another try. I've got a > copy of wxWidgets-2.6.3 unzipped and hand-patched in my > Alien-WxWidgets-0.19 directory. > > C:\src\Alien-wxWidgets-0.19> > C:\src\Alien-wxWidgets-0.19>perl Build.PL > Deleting _build > Creating custom builder > _build\lib\My\Build\new_from_context_is_broken.pm in _bu > ild\lib\My\Build > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Checking whether your kit is complete... > Looks good > > Checking prerequisites... > Looks good > > Do you want to build wxWidgets? [no] yes > Which archive type? [tar.gz] zip > Deleting Build > Removed previous script 'Build' > > Creating new 'Build' script for 'Alien-wxWidgets' version '0.19' > > C:\src\Alien-wxWidgets-0.19>perl Build > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > Set up gcc environment - 3.4.2 (mingw-special) > if not exist ..\..\lib\gcc_dll\msw mkdir ..\..\lib\gcc_dll\msw > gcc -c -o gcc_mswdll\wxregex_regexec.o -O2 -mthreads -DHAVE_W32API_H > -I..\..\i > nclude -I..\..\lib\gcc_dll\msw -D__WXMSW__ > -MTgcc_mswdll\wxregex_regexec.o -M > Fgcc_mswdll\wxregex_regexec.o.d -MD ../../src/regex/regexec.c > In file included from ../../include/wx/platform.h:271, > from ../../include/wx/defs.h:21, > from ../../src/regex/regcustom.h:39, > from ../../src/regex/regguts.h:38, > from ../../src/regex/regexec.c:32: > ../../include/wx/chkconf.h:85:9: #error "wxUSE_DYNLIB_CLASS must be > defined." > ../../include/wx/chkconf.h:93:9: #error "wxUSE_EXCEPTIONS must be defined." > ../../include/wx/chkconf.h:101:9: #error "wxUSE_FILESYSTEM must be defined." > ../../include/wx/chkconf.h:114:9: #error "wxUSE_DYNAMIC_LOADER must be > defined." > > ../../include/wx/chkconf.h:122:9: #error "wxUSE_LOG must be defined." > ../../include/wx/chkconf.h:130:9: #error "wxUSE_LONGLONG must be defined." > ../../include/wx/chkconf.h:138:9: #error "wxUSE_MIMETYPE must be defined." > ../../include/wx/chkconf.h:154:9: #error "wxUSE_PROTOCOL must be defined." > ../../include/wx/chkconf.h:196:9: #error "wxUSE_REGEX must be defined." > ../../include/wx/chkconf.h:204:9: #error "wxUSE_STDPATHS must be defined." > ../../include/wx/chkconf.h:212:9: #error "wxUSE_XML must be defined." > ../../include/wx/chkconf.h:220:9: #error "wxUSE_SOCKETS must be defined." > ../../include/wx/chkconf.h:228:9: #error "wxUSE_STREAMS must be defined." > ../../include/wx/chkconf.h:236:9: #error "wxUSE_STOPWATCH must be defined." > ../../include/wx/chkconf.h:244:9: #error "wxUSE_TEXTBUFFER must be defined." > ../../include/wx/chkconf.h:252:9: #error "wxUSE_TEXTFILE must be defined." > ../../include/wx/chkconf.h:268:9: #error "wxUSE_URL must be defined." > ../../include/wx/chkconf.h:286:9: #error "wxUSE_ACCEL must be defined." > ../../include/wx/chkconf.h:294:9: #error "wxUSE_BMPBUTTON must be defined." > ../../include/wx/chkconf.h:302:9: #error "wxUSE_BUTTON must be defined." > ../../include/wx/chkconf.h:310:9: #error "wxUSE_CALENDARCTRL must be > defined." > ../../include/wx/chkconf.h:318:9: #error "wxUSE_CARET must be defined." > ../../include/wx/chkconf.h:326:9: #error "wxUSE_CHECKBOX must be defined." > ../../include/wx/chkconf.h:342:9: #error "wxUSE_CHOICE must be defined." > ../../include/wx/chkconf.h:350:9: #error "wxUSE_CHOICEBOOK must be defined." > ../../include/wx/chkconf.h:358:9: #error "wxUSE_CHOICEDLG must be defined." > ../../include/wx/chkconf.h:366:9: #error "wxUSE_CLIPBOARD must be defined." > ../../include/wx/chkconf.h:374:9: #error "wxUSE_COLOURDLG must be defined." > ../../include/wx/chkconf.h:382:9: #error "wxUSE_COMBOBOX must be defined." > ../../include/wx/chkconf.h:390:9: #error "wxUSE_DATAOBJ must be defined." > ../../include/wx/chkconf.h:398:9: #error "wxUSE_DATEPICKCTRL must be > defined." > ../../include/wx/chkconf.h:406:9: #error "wxUSE_DISPLAY must be defined." > ../../include/wx/chkconf.h:414:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE > must be de > fined." > ../../include/wx/chkconf.h:422:9: #error "wxUSE_FILEDLG must be defined." > ../../include/wx/chkconf.h:430:9: #error "wxUSE_FONTDLG must be defined." > ../../include/wx/chkconf.h:438:9: #error "wxUSE_FONTMAP must be defined." > ../../include/wx/chkconf.h:446:9: #error "wxUSE_GAUGE must be defined." > ../../include/wx/chkconf.h:454:9: #error "wxUSE_GRID must be defined." > ../../include/wx/chkconf.h:462:9: #error "wxUSE_HELP must be defined." > ../../include/wx/chkconf.h:470:9: #error "wxUSE_HTML must be defined." > ../../include/wx/chkconf.h:478:9: #error "wxUSE_XRC must be defined." > ../../include/wx/chkconf.h:499:9: #error "wxUSE_ICO_CUR must be defined." > ../../include/wx/chkconf.h:507:9: #error "wxUSE_IFF must be defined." > ../../include/wx/chkconf.h:515:9: #error "wxUSE_IMAGLIST must be defined." > ../../include/wx/chkconf.h:523:9: #error "wxUSE_JOYSTICK must be defined." > ../../include/wx/chkconf.h:531:9: #error "wxUSE_LISTBOOK must be defined." > ../../include/wx/chkconf.h:539:9: #error "wxUSE_LISTBOX must be defined." > ../../include/wx/chkconf.h:547:9: #error "wxUSE_LISTCTRL must be defined." > ../../include/wx/chkconf.h:555:9: #error "wxUSE_LOGGUI must be defined." > ../../include/wx/chkconf.h:563:9: #error "wxUSE_LOGWINDOW must be defined." > ../../include/wx/chkconf.h:571:9: #error "wxUSE_LOG_DIALOG must be defined." > ../../include/wx/chkconf.h:579:9: #error "wxUSE_MDI must be defined." > ../../include/wx/chkconf.h:587:9: #error "wxUSE_MDI_ARCHITECTURE must be > defined > ." > ../../include/wx/chkconf.h:595:9: #error "wxUSE_MENUS must be defined." > ../../include/wx/chkconf.h:603:9: #error "wxUSE_MSGDLG must be defined." > ../../include/wx/chkconf.h:611:9: #error "wxUSE_NOTEBOOK must be defined." > ../../include/wx/chkconf.h:619:9: #error "wxUSE_PALETTE must be defined." > ../../include/wx/chkconf.h:627:9: #error "wxUSE_POPUPWIN must be defined." > ../../include/wx/chkconf.h:635:9: #error "wxUSE_PRINTING_ARCHITECTURE > must be de > fined." > ../../include/wx/chkconf.h:643:9: #error "wxUSE_RADIOBOX must be defined." > ../../include/wx/chkconf.h:651:9: #error "wxUSE_RADIOBTN must be defined." > ../../include/wx/chkconf.h:659:9: #error "wxUSE_SASH must be defined." > ../../include/wx/chkconf.h:667:9: #error "wxUSE_SCROLLBAR must be defined." > ../../include/wx/chkconf.h:675:9: #error "wxUSE_SLIDER must be defined." > ../../include/wx/chkconf.h:683:9: #error "wxUSE_SOUND must be defined." > ../../include/wx/chkconf.h:691:9: #error "wxUSE_SPINBTN must be defined." > ../../include/wx/chkconf.h:699:9: #error "wxUSE_SPINCTRL must be defined." > ../../include/wx/chkconf.h:707:9: #error "wxUSE_SPLASH must be defined." > ../../include/wx/chkconf.h:715:9: #error "wxUSE_SPLITTER must be defined." > ../../include/wx/chkconf.h:723:9: #error "wxUSE_STATBMP must be defined." > ../../include/wx/chkconf.h:731:9: #error "wxUSE_STATBOX must be defined." > ../../include/wx/chkconf.h:739:9: #error "wxUSE_STATLINE must be defined." > ../../include/wx/chkconf.h:747:9: #error "wxUSE_STATTEXT must be defined." > ../../include/wx/chkconf.h:755:9: #error "wxUSE_STATUSBAR must be defined." > ../../include/wx/chkconf.h:763:9: #error "wxUSE_TAB_DIALOG must be defined." > ../../include/wx/chkconf.h:771:9: #error "wxUSE_TEXTCTRL must be defined." > ../../include/wx/chkconf.h:779:9: #error "wxUSE_TIPWINDOW must be defined." > ../../include/wx/chkconf.h:787:9: #error "wxUSE_TOOLBAR must be defined." > ../../include/wx/chkconf.h:795:9: #error "wxUSE_TOOLTIPS must be defined." > ../../include/wx/chkconf.h:803:9: #error "wxUSE_TREECTRL must be defined." > ../../include/wx/chkconf.h:811:9: #error "wxUSE_VALIDATORS must be defined." > ../../include/wx/chkconf.h:819:9: #error "wxUSE_WXHTML_HELP must be > defined." > ../../include/wx/chkconf.h:1544:9: #error "wxMessageBox is always needed" > mingw32-make: *** [gcc_mswdll\wxregex_regexec.o] Error 1 > system: mingw32-make -f makefile.gcc all UNICODE=0 MSLU=0 BUILD=release > SHARED= > 1: 512 at inc/My/Build/Win32.pm line 246 > C:\src\Alien-wxWidgets-0.19> > > I'll keep poking at this for my own sake until/unless you point me in > another direction, Mattia. :) > > > Ed Heil wrote: > >> I've been working on this a little more. >> >> What seems to keep happening is that patches don't get made. Perhaps >> I'm missing some patch-related functionality here? Where a file >> should be patched, it seems to be moved to a .bak file and an empty >> file is left in its place. >> >> Right now I'm applying patches by hand and seeing if that helps. (I >> had a patch utility in cygwin but I made cygwin go away so it wouldn't >> get in the way of MINGW.) >> >> >> Mattia Barbon wrote: >> >>> On Sat, 12 Aug 2006 19:36:44 -0400 >>> Ed Heil <ed...@do...> wrote: >>> >>> >>> >>>> mingw32-make: *** No rule to make target `all'. Stop. >>>> system: mingw32-make -f makefile.gcc all UNICODE=0 MSLU=0 BUILD=release >>>> SHARED= >>>> 1: 512 at inc/My/Build/Win32.pm line 246 >>>> >>>> >>> Could you stick a 'print cwd, "\n"' at that line to see where >>> is it trying to chdir to, and if is there a makefile.gcc in that >>> directory. >>> >>> Thanks! >>> Mattia >>> >>> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> wxperl-users mailing list >> wxp...@li... >> https://lists.sourceforge.net/lists/listinfo/wxperl-users >> >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Mattia B. <mat...@li...> - 2006-08-15 13:54:36
|
On Tue, 15 Aug 2006 00:47:20 -0400 Ed Heil <ed...@do...> wrote: > You know, I'd like to maybe go in a different direction right now -- > > if I /could /get myself a copy of a compiled, working wxWidgets > installation, one way or another, how could I get Alien::wxWidgets to > see it and accept it as what it needs? > > I've got a mingw (no msys) compile of wxWidgets from native makefiles > going right now. If that ends well I'm going to see if I can figure out > for myself how to tell Alien::wxWidgets how to find it. :) set WXDIR=C:\path\to\wxWidgets the same way it was done with wxPerl < 0.50. HTH Mattia |