Compiling wxPython

Hello,

I'm trying to compile wxPython on a Sun SPARC system running Solaris 8
using GNU tools. I hope someone will be kind enough to offer some
assistance.

I am following the instrucitons of README.1st.txt.

My configure line:
../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
             --with-opengl --enable-geometry --enable-optimise \
             --enable-debug_flag --enable-gtk2

The configure step seems to work correctly. But the make step fails right
away:

../src/generic/filedlgg.cpp: In method `wxFileData::wxFileData(const
wxString &, const wxString &)':
../src/generic/filedlgg.cpp:455: type `stat' is not a base type for type
`stat64'
make: *** [filedlgg.o] Error 1

Does anyone have any ideas?

Thanks a lot,

···

--
Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88
  .-"~~~"-. On the menu of a Swiss restaurant:
/ O O \ "Our wines leave you nothing to hope for"
: s :
\ \___/ / Sign outside a Hong Kong tailor shop:
  `-.___.-' "Ladies may have a fit upstairs"

Could someone please help me install wxPython?

···

On Thu, Aug 14, 2003 at 05:57:09PM -0400, Daniel Carrera wrote:

Hello,

I'm trying to compile wxPython on a Sun SPARC system running Solaris 8
using GNU tools. I hope someone will be kind enough to offer some
assistance.

I am following the instrucitons of README.1st.txt.

My configure line:
../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
             --with-opengl --enable-geometry --enable-optimise \
             --enable-debug_flag --enable-gtk2

The configure step seems to work correctly. But the make step fails right
away:

../src/generic/filedlgg.cpp: In method `wxFileData::wxFileData(const
wxString &, const wxString &)':
../src/generic/filedlgg.cpp:455: type `stat' is not a base type for type
`stat64'
make: *** [filedlgg.o] Error 1

Does anyone have any ideas?

Thanks a lot,
--
Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88
  .-"~~~"-. On the menu of a Swiss restaurant:
/ O O \ "Our wines leave you nothing to hope for"
: s :
\ \___/ / Sign outside a Hong Kong tailor shop:
  `-.___.-' "Ladies may have a fit upstairs"

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

--
Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88
  .-"~~~"-. On the menu of a Swiss restaurant:
/ O O \ "Our wines leave you nothing to hope for"
: s :
\ \___/ / Sign outside a Hong Kong tailor shop:
  `-.___.-' "Ladies may have a fit upstairs"

Daniel Carrera wrote:

Hello,

I'm trying to compile wxPython on a Sun SPARC system running Solaris 8 using GNU tools. I hope someone will be kind enough to offer some assistance.

I am following the instrucitons of README.1st.txt.

My configure line:
../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
             --with-opengl --enable-geometry --enable-optimise \
             --enable-debug_flag --enable-gtk2

The configure step seems to work correctly. But the make step fails right away:

../src/generic/filedlgg.cpp: In method `wxFileData::wxFileData(const wxString &, const wxString &)':
../src/generic/filedlgg.cpp:455: type `stat' is not a base type for type `stat64'
make: *** [filedlgg.o] Error 1

I havn't seen this error before so you may need to ask about it on wx-users.

Other people have had problems with the --enable-rpath option on Solaris when going on to the wxPython build steps so you may want to get rid of that now to save some headache later. You'll just have to either add $WXPREF/lib to LD_LIBRARY_PATH or change the --prefix to be a standard path.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

>My configure line:
>../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
> --with-opengl --enable-geometry --enable-optimise \
> --enable-debug_flag --enable-gtk2

[snip]

>../src/generic/filedlgg.cpp: In method `wxFileData::wxFileData(const
>wxString &, const wxString &)':
>../src/generic/filedlgg.cpp:455: type `stat' is not a base type for type
>`stat64'
>make: *** [filedlgg.o] Error 1

I havn't seen this error before so you may need to ask about it on wx-users.

Is that the wxWindows main mailing list? (as opposed to wxPython).
Why should I ask there about a problem with wxPython? I can't possibly
expect them to know much about how wxPython is implemented.

···

--
Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88
  .-"~~~"-. On the menu of a Swiss restaurant:
/ O O \ "Our wines leave you nothing to hope for"
: s :
\ \___/ / Sign outside a Hong Kong tailor shop:
  `-.___.-' "Ladies may have a fit upstairs"

Daniel Carrera wrote:

My configure line:
../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib \
           --with-opengl --enable-geometry --enable-optimise \
           --enable-debug_flag --enable-gtk2

[snip]

../src/generic/filedlgg.cpp: In method `wxFileData::wxFileData(const wxString &, const wxString &)':
../src/generic/filedlgg.cpp:455: type `stat' is not a base type for type `stat64'
make: *** [filedlgg.o] Error 1

I havn't seen this error before so you may need to ask about it on wx-users.

Is that the wxWindows main mailing list? (as opposed to wxPython).
Why should I ask there about a problem with wxPython? I can't possibly expect them to know much about how wxPython is implemented.

Because the step where the failure is located is in building wxWindows.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!