Re: wxPython build

2007-09-17 Thread Steve Holden

Morgan Gangwere wrote:

are you sure that the lihe breaks are the same consistantly? thats
what happened to me once...


Thanks, that's a worthwhile idea.

Unfortunately an examination of several files (not conclusive, I know, 
but indicative) reveals no carriage returns. The source I downloaded was 
a .tar.gz, unpacked with tar -xzf, and mount confirms that all mounts 
are binmode.


regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-16 Thread Steve Holden

Yaakov (Cygwin Ports) wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Steve Holden wrote:

Does anyone have a ready-made recipe for building wxPython (and, if
necessary, wxWidgets) under Cygwin? I'd like to use the msw back-end
rather than the gtk back-end.


These use gtk2, but they may be helpful as a starting point:

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/wxwidgets/26/

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/python/wx26/

I haven't packaged wxPython 2.8 yet, although wxWidgets itself I have
done, and Ports' perl-Wx uses it.

Hmm, I'm a little bamboozled now. Having made one successful 2.8.5 
wxWidgets build I cannot make another as I am getting syntax errors, 
typified by:


/c/Steve/Projects/wxWidgets-2.8.5/bld-cygwin/bk-deps g++ -c -o 
basedll_appbase.o -D__WXMSW__ -I../src/tiff -I../src/jpeg -I../src/png 
 -I../src/regex  -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I/c/Steve/Projects/wxWidgets-2.8.5/bld-cygwin/lib/wx/include/msw-unicode-release-2.8 
-I../include -Wall -Wundef -Wno-ctor-dtor-privacy -O2 
-fno-strict-aliasing ../src/common/appbase.cpp

In file included from ../include/wx/memory.h:16,
 from ../include/wx/object.h:20,
 from ../include/wx/list.h:33,
 from ../src/common/appbase.cpp:31:
../include/wx/string.h:181: error: expected init-declarator before 
wxStdString


../include/wx/string.h:181: error: expected `,' or `;' before wxStdString
../include/wx/string.h:714: error: expected `,' or `...' before '' token
../include/wx/string.h:715: error: ISO C++ forbids declaration of 
wxStdString' with no type
../include/wx/string.h:715: error: `wxString::wxString(int)' and 
`wxString::wxString(int)' cannot be overloaded

../include/wx/string.h: In constructor `wxString::wxString(int)':
../include/wx/string.h:715: error: `s' undeclared (first use this function)
../include/wx/string.h:715: error: (Each undeclared identifier is 
reported only

once for each function it appears in.)
make: *** [basedll_appbase.o] Error 1

The configure line was:

../configure --prefix=/home/wx28/ --enable-rpath=/home/wx28 --enable-unicode

but the same error occurs without specifying a Unicode build.

Since I am using the same sources as before I am puzzled as to why this 
error has now put in an appearance. I don't *think* I did anything to 
change the build environment (but then we never do, do we?). I have even 
restored the source tree from the Internet to ensure that an inadevrtent 
edit wasn't responsible.


Strikes me it has to be a bozo error, but I don't see it.

regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-16 Thread Morgan Gangwere
are you sure that the lihe breaks are the same consistantly? thats
what happened to me once...

-- 
Morgan gangwere

Please Excuse TOFU. Gmail/Mobile has no Power.

Space does not reflect society, it expresses it. -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-15 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Steve Holden wrote:
 Does anyone have a ready-made recipe for building wxPython (and, if
 necessary, wxWidgets) under Cygwin? I'd like to use the msw back-end
 rather than the gtk back-end.

These use gtk2, but they may be helpful as a starting point:

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/wxwidgets/26/

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/python/wx26/

I haven't packaged wxPython 2.8 yet, although wxWidgets itself I have
done, and Ports' perl-Wx uses it.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7KH+piWmPGlmQSMRCIB2AJ9gK8nkRTii70FLXFNH6hFsAWjV+gCg2jQd
C+S5Agzw5LRqdKsTGaovL14=
=FZz8
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-15 Thread René Berber
Yaakov (Cygwin Ports) wrote:
 Steve Holden wrote:
 Does anyone have a ready-made recipe for building wxPython (and, if
 necessary, wxWidgets) under Cygwin? I'd like to use the msw back-end
 rather than the gtk back-end.
 
 These use gtk2, but they may be helpful as a starting point:
 
 http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/wxwidgets/26/
 
 http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/python/wx26/
 
 I haven't packaged wxPython 2.8 yet, although wxWidgets itself I have
 done, and Ports' perl-Wx uses it.

Since you say they depend on GTK2, that means GTK2-X11 as distributed for
Cygwin, anyone planning one for GTK+ for Windows?

BTW wouldn't it be a good convention to add the X11 to the name?  I installed
pygtk2 and it really is pygtk2-x11.
-- 
René Berber


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-15 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

René Berber wrote:
 Since you say they depend on GTK2, that means GTK2-X11 as distributed for
 Cygwin, anyone planning one for GTK+ for Windows?

Why would anyone want to do that, wxWidgets can be built with native
Windows support.

 BTW wouldn't it be a good convention to add the X11 to the name?  I installed
 pygtk2 and it really is pygtk2-x11.

No, because:

* Cygwin GUI programs should always be X11, with a few notable exceptions.
* I would rather rename gtk2-x11 to gtk2, as there is no reason for a
gtk2-win32 in the distro, and the latter would have to be installed into
a different prefix in any case.
* There's no sane way to install more than one PyGTK build, so there
could never be a pygtk2-win32 (even if there were a gtk2-win32).


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7MDhpiWmPGlmQSMRCO3SAJ0V8Qm3SB4UMZViuxqiTdmmP9yYXQCff1Jw
p2tGUkucOTzVmJklmYwOyPc=
=GWzd
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wxPython build

2007-09-15 Thread Morgan Gangwere
well, there IS a gtk+ build for windows.. look on the GIMP's offical
webite and you'll find it.

and the reason for having the wxpython package not called wxpyhon-x11
is because of where it is placed in the package tree (X11/wxpython...)

wxpython however can be downloaded as a complete package for windows.
I've written numerous applications depending on wxpython/wxwidgets
under cygwin and then ran then perdectly with a stock python build.

if you are really that concerned, build it under windows., not cygwin,
and then compile it down into a py2exe binary.


-- 
Morgan gangwere

Please Excuse TOFU. Gmail/Mobile has no Power.

Space does not reflect society, it expresses it. -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



wxPython build

2007-09-12 Thread Steve Holden
Does anyone have a ready-made recipe for building wxPython (and, if 
necessary, wxWidgets) under Cygwin? I'd like to use the msw back-end 
rather than the gtk back-end.


regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/