trouble building on Sparc Solaris 8

Hi,

I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what is going
on here...
I'm using:
glib-1.2.9 and
gtk+-1.2.9

Here is the output:

# python2.4 setup.py build_ext --inplace --debug

Found wx-config: /opt/wx/2.5/bin/wx-config
    Using flags: --toolkit=gtk --unicode=no --version=2.5
Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
Preparing GIZMOS...
running build_ext
building '_core_' extension
gcc -DNDEBUG -O -fpic -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib
-1.2 -I/usr/local/lib/glib/include -g -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_US
E_THREAD=1 -UNDEBUG -D__WXMOTIF__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iin
clude -Isrc -I/opt/wx/2.5/lib/wx/include/motif-2.5 -I/opt/wx/2.5/include/wx-
2.5 -I/usr/dt/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib
-1.2 -I/usr/local/lib/glib/include -I/opt/ASpy24/include/python2.4 -c
src/gtk/_core_wrap.cpp -o
build/temp.solaris-2.8-sun4u-2.4/src/gtk/_core_wrap.o -g -O0
In file included from src/gtk/_core_wrap.cpp:381:
include/wx/wxPython/pyclasses.h:112: parse error before `{'
include/wx/wxPython/pyclasses.h:127: destructors must be member functions
include/wx/wxPython/pyclasses.h:129: `wxDragResult' was not declared in this
scope
include/wx/wxPython/pyclasses.h:129: parse error before `)'
include/wx/wxPython/pyclasses.h:129: `wxDragResult' was not declared in this
scope
include/wx/wxPython/pyclasses.h:129: parse error before `)'
include/wx/wxPython/pyclasses.h: In function `void _setCallbackInfo(PyObject
*, PyObject *, int = 1)':
include/wx/wxPython/pyclasses.h:130: `m_myInst' undeclared (first use this
function)
include/wx/wxPython/pyclasses.h:130: (Each undeclared identifier is reported
only once
include/wx/wxPython/pyclasses.h:130: for each function it appears in.)
include/wx/wxPython/pyclasses.h: At top level:
include/wx/wxPython/pyclasses.h:130: parse error before `private'
include/wx/wxPython/pyclasses.h:134: base class `wxDropTarget' has
incomplete type
include/wx/wxPython/pyclasses.h:144: syntax error before `('
include/wx/wxPython/pyclasses.h:144: syntax error before `('
include/wx/wxPython/pyclasses.h:148: syntax error before `('
include/wx/wxPython/pyclasses.h:148: syntax error before `('
include/wx/wxPython/pyclasses.h:155: syntax error before `('
include/wx/wxPython/pyclasses.h: In method
`wxPyDropTarget::wxPyDropTarget(wxDataObject * = 0)':
include/wx/wxPython/pyclasses.h:137: type `wxDropTarget' is not an immediate
basetype for `wxPyDropTarget'
src/gtk/_core_wrap.cpp: In function `struct PyObject *
_wrap_Window_SetToolTip(PyObject *, PyObject *, PyObject *)':
src/gtk/_core_wrap.cpp:27815: no matching function for call to
`wxWindow::SetToolTip (wxToolTip *&)'
/opt/wx/2.5/include/wx-2.5/wx/window.h:912: candidates are: void
wxWindowBase::SetToolTip(const wxString &)
src/gtk/_core_wrap.cpp: In function `struct PyObject *
_wrap_Window_GetToolTip(PyObject *, PyObject *, PyObject *)':
src/gtk/_core_wrap.cpp:27841: no matching function for call to
`wxWindow::GetToolTip () const'
src/gtk/_core_wrap.cpp:27847: type `wxObject' is not a base type for type
`wxToolTip'
src/gtk/_core_wrap.cpp: In function `struct PyObject *
_wrap_Window_SetDropTarget(PyObject *, PyObject *, PyObject *)':
src/gtk/_core_wrap.cpp:27872: no matching function for call to
`wxWindow::SetDropTarget (wxPyDropTarget *&)'
src/gtk/_core_wrap.cpp: In function `struct PyObject *
_wrap_Window_GetDropTarget(PyObject *, PyObject *, PyObject *)':
src/gtk/_core_wrap.cpp:27898: no matching function for call to
`wxWindow::GetDropTarget () const'
error: command 'gcc' failed with exit status 1

···

----------------------------
Mike J. Hopkins
Solidigm Systems, Inc.

Try add WXPORT=gtk like this:
# python2.4 setup.py build_ext --inplace --debug WXPORT=gtk

by default the gtk2 is used to build wxPython

Ricardo

···

On Tue, 2005-09-20 at 12:37 -0500, Mike Hopkins wrote:

Hi,

I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what is going
on here...
I'm using:
glib-1.2.9 and
gtk+-1.2.9

Here is the output:

# python2.4 setup.py build_ext --inplace --debug

Ricardo,

I had already set WXPORT=gtk as an environment variable.
I also tried it on the command line as you suggested, but with the same
results.

Still stuck...

Mike

···

----- Original Message -----
From: "Ricardo Pedroso" <ricardo.pedroso@netvisao.pt>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Tuesday, September 20, 2005 1:26 PM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

On Tue, 2005-09-20 at 12:37 -0500, Mike Hopkins wrote:
> Hi,
>
> I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what is

going

> on here...
> I'm using:
> glib-1.2.9 and
> gtk+-1.2.9
>
> Here is the output:
>
> # python2.4 setup.py build_ext --inplace --debug
>
Try add WXPORT=gtk like this:
# python2.4 setup.py build_ext --inplace --debug WXPORT=gtk

by default the gtk2 is used to build wxPython

Ricardo

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

Hi,

After several days (!) I still have not been able to get wxPython to build
on a Sparc Solaris machine. Has anyone been able to do so? Is anyone using
wxPython on Sparc Solaris?

Thanks,
Mike

···

----- Original Message -----
From: "Mike Hopkins" <mike@solidigm.com>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Tuesday, September 20, 2005 1:52 PM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

Ricardo,

I had already set WXPORT=gtk as an environment variable.
I also tried it on the command line as you suggested, but with the same
results.

Still stuck...

Mike
----- Original Message -----
From: "Ricardo Pedroso" <ricardo.pedroso@netvisao.pt>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Tuesday, September 20, 2005 1:26 PM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

> On Tue, 2005-09-20 at 12:37 -0500, Mike Hopkins wrote:
> > Hi,
> >
> > I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what is
going
> > on here...
> > I'm using:
> > glib-1.2.9 and
> > gtk+-1.2.9
> >
> > Here is the output:
> >
> > # python2.4 setup.py build_ext --inplace --debug
> >
> Try add WXPORT=gtk like this:
> # python2.4 setup.py build_ext --inplace --debug WXPORT=gtk
>
> by default the gtk2 is used to build wxPython
>
> Ricardo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
>

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

I've been using wxPython on Solaris 8 and 9 (sparc) for over a year now. I
did have trouble with several of the 2.5.x versions, but 2.6.0+ has worked
perfectly.

However, I have not tried to get wxPython working with the gtk1.x version
that comes with Solaris. I custom compiled gtk+ 2.8 (and it's
dependencies). It wasn't hard to get compiled (only one source patch to
cairo needed to compile everything) and I get the benefit of using gtk2
and the cairo back-end.

Since I can't offer any help on compiling with gtk1, can I offer you my
makefile for compiling gtk2?

Thanks,

james evans

Mike Hopkins said:

···

Hi,

After several days (!) I still have not been able to get wxPython to
build
on a Sparc Solaris machine. Has anyone been able to do so? Is anyone
using
wxPython on Sparc Solaris?

Thanks,
Mike

----- Original Message -----
From: "Mike Hopkins" <mike@solidigm.com>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Tuesday, September 20, 2005 1:52 PM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

Ricardo,

I had already set WXPORT=gtk as an environment variable.
I also tried it on the command line as you suggested, but with the same
results.

Still stuck...

Mike
----- Original Message -----
From: "Ricardo Pedroso" <ricardo.pedroso@netvisao.pt>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Tuesday, September 20, 2005 1:26 PM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

> On Tue, 2005-09-20 at 12:37 -0500, Mike Hopkins wrote:
> > Hi,
> >
> > I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what
is
going
> > on here...
> > I'm using:
> > glib-1.2.9 and
> > gtk+-1.2.9
> >
> > Here is the output:
> >
> > # python2.4 setup.py build_ext --inplace --debug
> >
> Try add WXPORT=gtk like this:
> # python2.4 setup.py build_ext --inplace --debug WXPORT=gtk
>
> by default the gtk2 is used to build wxPython
>
> Ricardo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org
>

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

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

James,

That would be great...I was trying to get 2.5.2.8 working, but 2.6 would be
ok. Also, what compiler etc. are you using?

Thanks,
Mike

···

----- Original Message -----
From: "James Evans" <milamber@clark-evans.com>
To: "Mike Hopkins" <mike@solidigm.com>
Cc: <wxpython-users@lists.wxwidgets.org>
Sent: Wednesday, September 21, 2005 8:19 AM
Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8

I've been using wxPython on Solaris 8 and 9 (sparc) for over a year now. I
did have trouble with several of the 2.5.x versions, but 2.6.0+ has worked
perfectly.

However, I have not tried to get wxPython working with the gtk1.x version
that comes with Solaris. I custom compiled gtk+ 2.8 (and it's
dependencies). It wasn't hard to get compiled (only one source patch to
cairo needed to compile everything) and I get the benefit of using gtk2
and the cairo back-end.

Since I can't offer any help on compiling with gtk1, can I offer you my
makefile for compiling gtk2?

Thanks,

james evans

Mike Hopkins said:
> Hi,
>
> After several days (!) I still have not been able to get wxPython to
> build
> on a Sparc Solaris machine. Has anyone been able to do so? Is anyone
> using
> wxPython on Sparc Solaris?
>
> Thanks,
> Mike
>
> ----- Original Message -----
> From: "Mike Hopkins" <mike@solidigm.com>
> To: <wxPython-users@lists.wxwidgets.org>
> Sent: Tuesday, September 20, 2005 1:52 PM
> Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8
>
>
>> Ricardo,
>>
>> I had already set WXPORT=gtk as an environment variable.
>> I also tried it on the command line as you suggested, but with the same
>> results.
>>
>> Still stuck...
>>
>> Mike
>> ----- Original Message -----
>> From: "Ricardo Pedroso" <ricardo.pedroso@netvisao.pt>
>> To: <wxPython-users@lists.wxwidgets.org>
>> Sent: Tuesday, September 20, 2005 1:26 PM
>> Subject: Re: [wxPython-users] trouble building on Sparc Solaris 8
>>
>>
>> > On Tue, 2005-09-20 at 12:37 -0500, Mike Hopkins wrote:
>> > > Hi,
>> > >
>> > > I'm trying to build wxPython 2.5.2.8 on Solaris 8...not sure what
>> is
>> going
>> > > on here...
>> > > I'm using:
>> > > glib-1.2.9 and
>> > > gtk+-1.2.9
>> > >
>> > > Here is the output:
>> > >
>> > > # python2.4 setup.py build_ext --inplace --debug
>> > >
>> > Try add WXPORT=gtk like this:
>> > # python2.4 setup.py build_ext --inplace --debug WXPORT=gtk
>> >
>> > by default the gtk2 is used to build wxPython
>> >
>> > Ricardo
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:

wxPython-users-unsubscribe@lists.wxwidgets.org

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

wxPython-users-help@lists.wxwidgets.org

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

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