From: Mattia B. <mb...@ds...> - 2001-09-26 16:57:52
|
> > hi all, > > > > this Q is for anyone using wxMSW under cygwin.. > > > > i managed to compile wxMSW 2.2.7 from source > > and test examples work fine.. OK, but have you installed it? I didn't test wxPerl under cygwin, but here is what I would do: $ cd wxWindows-source $ ./configure --option1 --option2 ... $ make $ maek install <<< did you do that The last command places all include files, libraries and wx-config under /usr/local ( you can change it using --prefix ) > > > > for those who have done the same, i am curious on where > > you have placed it in your cygwin enviroment as im having troubles > > compiling wxPerl. > > > > i downloaded and the read docs that came with wxPerl and it Good! > > mentions compilation with mingw, but i am having troubles > > seeing there is no wx-config, i tried perl makefile.pl with; Is the directory where wx-config lies in your path if not, do $ PATH=/usr/local/bin:$PATH $ wx-config --version 2.2.7 <<< this is wx-config output $ > > perl Makefile.PL > > > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > > -O2 -fno-rtti -fno-exceptions" This should not be needed > > and mounted the include/wx in /usr/include/wx, but i am This should not be necessaru > > getting previous decleration errors all over the place. Usually posting a small example cut'n'pasted from the output helps a lot > > i feel this would work if i new how to set up the wxMSW enviroment > > properly, any pointers, any one tried/failed/completed it? Hope this helps Regards Mattia |
From: Mattia B. <mb...@ds...> - 2001-09-26 21:11:18
|
> i dont have configure, i used the src pkg > wxMSW-2.2.7.zip, i used cygwin, but it compiled > with mingw prefab makefiles, i could try downloading > the unix src pkg?, its just that i saw cygwin has been > tested with the wxMSW*.zip pkg so that is the one > i used.. Hmm... yes, I am too used to CVS sources; you don't have configure... mmmh... Will experiment with that setup, and let you know ASAP > perhaps i will try wxGTK as i have GTK setup Not what I meant, sorry > properly in my cygwin enviroment (i assume that > will use configure), but i didnt want the gtk.dll cygwin.dll > overhead? > or hopefully wxPerl will start shipping with > cygwin perl binaries :) instead of active perl. Maybe in addition to, not instead of ( imagine *who* will have to do the upload :( ) ;) Regards Mattia |
From: <sw...@at...> - 2001-09-27 04:15:31
|
i tried wxGTK-2.2.7.tar.gz, i had to tweak references in configure and configure.in from *-*-cygwin32 to *-*-cygwin* as my host is shown as i686-pc-cygwin, and insert "/usr/local/w32api" into SEARCH_INCLUDES..then <snip> ./configure --with-cygwin --prefix=/usr/local/wxMSW </snip> configure ran fine! until i ran make where it croaked on <snip> $ make Makefile:178: src/msw/files.lst: No such file or directory make: *** No rule to make target `src/msw/files.lst'. Stop. </snip> the msw tree is missing (natrually i guess seeing its wxGTK), is there anyway i can get the full source tree with the configure script? or at least wxMSW*.zip? im not fimilar with CVS, but i take it the full source lies there.. i dont think its a "neat" idea copying the src/msw from wxMSW-2.2.7.zip into wxGTK-2.2.7.. eeek regards dan ----- Original Message ----- From: "Mattia Barbon" <mb...@ds...> To: "...2«..." <sw...@at...> Cc: <wxp...@li...> Sent: Thursday, September 27, 2001 7:11 AM Subject: Re: [wxperl-users] (cygwin) Fw: wxMSW perl bindings > > i dont have configure, i used the src pkg > > wxMSW-2.2.7.zip, i used cygwin, but it compiled > > with mingw prefab makefiles, i could try downloading > > the unix src pkg?, its just that i saw cygwin has been > > tested with the wxMSW*.zip pkg so that is the one > > i used.. > Hmm... yes, I am too used to CVS sources; you don't have configure... > mmmh... > Will experiment with that setup, and let you know ASAP > > > perhaps i will try wxGTK as i have GTK setup > Not what I meant, sorry > > > properly in my cygwin enviroment (i assume that > > will use configure), but i didnt want the gtk.dll cygwin.dll > > overhead? > > > or hopefully wxPerl will start shipping with > > cygwin perl binaries :) instead of active perl. > Maybe in addition to, not instead of ( imagine > *who* will have to do the upload :( ) ;) > > Regards > Mattia > |
From: <sw...@at...> - 2001-09-26 18:12:28
|
i dont have configure, i used the src pkg wxMSW-2.2.7.zip, i used cygwin, but it compiled with mingw prefab makefiles, i could try downloading the unix src pkg?, its just that i saw cygwin has been tested with the wxMSW*.zip pkg so that is the one i used.. perhaps i will try wxGTK as i have GTK setup properly in my cygwin enviroment (i assume that will use configure), but i didnt want the gtk.dll cygwin.dll overhead? or hopefully wxPerl will start shipping with cygwin perl binaries :) instead of active perl. regards dan ----- Original Message ----- From: "Mattia Barbon" <mb...@ds...> To: "...2«..." <sw...@at...> Cc: <wxp...@li...> Sent: Thursday, September 27, 2001 2:58 AM Subject: Re: [wxperl-users] (cygwin) Fw: wxMSW perl bindings > > > hi all, > > > > > > this Q is for anyone using wxMSW under cygwin.. > > > > > > i managed to compile wxMSW 2.2.7 from source > > > and test examples work fine.. > OK, but have you installed it? > I didn't test wxPerl under cygwin, but here is what I would do: > $ cd wxWindows-source > $ ./configure --option1 --option2 ... > $ make > $ maek install <<< did you do that > > The last command places all include files, libraries and wx-config > under /usr/local ( you can change it using --prefix ) > > > > > > > for those who have done the same, i am curious on where > > > you have placed it in your cygwin enviroment as im having troubles > > > compiling wxPerl. > > > > > > i downloaded and the read docs that came with wxPerl and it > Good! > > > > mentions compilation with mingw, but i am having troubles > > > seeing there is no wx-config, i tried perl makefile.pl with; > Is the directory where wx-config lies in your path > if not, do > > $ PATH=/usr/local/bin:$PATH > $ wx-config --version > 2.2.7 <<< this is wx-config output > $ > > > > perl Makefile.PL > > > > > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > > > -O2 -fno-rtti -fno-exceptions" > This should not be needed > > > > and mounted the include/wx in /usr/include/wx, but i am > This should not be necessaru > > > > getting previous decleration errors all over the place. > Usually posting a small example cut'n'pasted from the output > helps a lot > > > > i feel this would work if i new how to set up the wxMSW enviroment > > > properly, any pointers, any one tried/failed/completed it? > Hope this helps > > Regards > Mattia > |
From: Mattia B. <mb...@ds...> - 2001-09-28 19:32:51
|
> > i dont have configure, i used the src pkg > > wxMSW-2.2.7.zip, i used cygwin, but it compiled > > with mingw prefab makefiles, i could try downloading > > the unix src pkg?, its just that i saw cygwin has been > > tested with the wxMSW*.zip pkg so that is the one > > i used.. > Hmm... yes, I am too used to CVS sources; you don't have configure... > mmmh... > Will experiment with that setup, and let you know ASAP :( it seems to require quite a lot of modifications. Could you please point me to the prebuilt binary you use ( if you use a prebuilt one, of course ) so I can test what people use? But I need to advise you that full out-of-the-box support for Cygwin needs to wait the next wxPerl release :( ( which is not far away, though ) Sorry Mattia |