Build Errors

Hello,
I'm brand new to Python and wxPython. I'm trying to build wxPython on my
Slackware 10 system. I downloaded wxPythonSrc-2.5.2.8. When trying to build
it, the configure went off without any errors, but when I ran make, I got
these errors:

src/common/datetime.cpp: In member function `wxString wxDateTime::Format(const
   wxChar*, const wxDateTime::TimeZone&) const':
src/common/datetime.cpp:2329: error: `Append' undeclared (first use this
   function)
src/common/datetime.cpp:2329: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
make: *** [basedll_datetime.o] Error 1

Can someone please tell me what the problem is?

Thanks

···

--
The KING is coming!..................Rev. 1:7
Linux User #153217..................http://counter.li.org

Jerry Van Brimmer wrote:

Hello,
I'm brand new to Python and wxPython. I'm trying to build wxPython on my Slackware 10 system. I downloaded wxPythonSrc-2.5.2.8. When trying to build it, the configure went off without any errors, but when I ran make, I got these errors:

src/common/datetime.cpp: In member function `wxString wxDateTime::Format(const
   wxChar*, const wxDateTime::TimeZone&) const':
src/common/datetime.cpp:2329: error: `Append' undeclared (first use this
   function)
src/common/datetime.cpp:2329: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
make: *** [basedll_datetime.o] Error 1

Did you make an empty build dir and run configure/make from there as described in the build instructions?

···

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

Yes, I did.

···

On Tuesday 26 October 2004 12:50, Robin Dunn wrote:

Jerry Van Brimmer wrote:
> Hello,
> I'm brand new to Python and wxPython. I'm trying to build wxPython on my
> Slackware 10 system. I downloaded wxPythonSrc-2.5.2.8. When trying to
> build it, the configure went off without any errors, but when I ran
> make, I got these errors:
>
> src/common/datetime.cpp: In member function `wxString
> wxDateTime::Format(const wxChar*, const wxDateTime::TimeZone&) const':
> src/common/datetime.cpp:2329: error: `Append' undeclared (first use this
> function)
> src/common/datetime.cpp:2329: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> make: *** [basedll_datetime.o] Error 1

Did you make an empty build dir and run configure/make from there as
described in the build instructions?

Jerry Van Brimmer wrote:

Jerry Van Brimmer wrote:

Hello,
I'm brand new to Python and wxPython. I'm trying to build wxPython on my
Slackware 10 system. I downloaded wxPythonSrc-2.5.2.8. When trying to
build it, the configure went off without any errors, but when I ran
make, I got these errors:

src/common/datetime.cpp: In member function `wxString
wxDateTime::Format(const wxChar*, const wxDateTime::TimeZone&) const':
src/common/datetime.cpp:2329: error: `Append' undeclared (first use this
  function)
src/common/datetime.cpp:2329: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make: *** [basedll_datetime.o] Error 1

Did you make an empty build dir and run configure/make from there as
described in the build instructions?

The reason I asked is that I would have expected the above to say "../src/common/datetime.cpp" if you had.

That line is calling the Append method on a wxString object, and it definitly has an Append method so I'm not sure why it could complain about it. I guess the next step is to make sure that there is not another set of wx header files on your system that it is finding instead of the local set in the tarball.

···

On Tuesday 26 October 2004 12:50, Robin Dunn wrote:

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

The correct build procedure is:

$ ./configure
$ make
su
# make install

isn't it?

···

On Wednesday 27 October 2004 16:22, Robin Dunn wrote:

>>
>>Did you make an empty build dir and run configure/make from there as
>>described in the build instructions?

The reason I asked is that I would have expected the above to say
"../src/common/datetime.cpp" if you had.

That line is calling the Append method on a wxString object, and it
definitly has an Append method so I'm not sure why it could complain
about it. I guess the next step is to make sure that there is not
another set of wx header files on your system that it is finding instead
of the local set in the tarball.

Jerry Van Brimmer wrote:

···

On Wednesday 27 October 2004 16:22, Robin Dunn wrote:

Did you make an empty build dir and run configure/make from there as
described in the build instructions?

The reason I asked is that I would have expected the above to say
"../src/common/datetime.cpp" if you had.

That line is calling the Append method on a wxString object, and it
definitly has an Append method so I'm not sure why it could complain
about it. I guess the next step is to make sure that there is not
another set of wx header files on your system that it is finding instead
of the local set in the tarball.

The correct build procedure is:

$ ./configure
$ make
su
# make install

isn't it?

See http://wxpython.org/builddoc.php

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