[GRASS-user] 6.5: Build Error

   Not sure where to report this so I'll do so here.

   Building 6.5 failed with an error in gui/wxpython/vdigit. Per the
instructions, I cd'd to that directory and re-ran make with the attached
results (812 lines).

Rich

(attachments)

error.log.gz (4.8 KB)

On Mon, 2009-11-16 at 15:09 -0800, Rich Shepard wrote:

Not sure where to report this so I'll do so here.

   Building 6.5 failed with an error in gui/wxpython/vdigit. Per the
instructions, I cd'd to that directory and re-ran make with the attached
results (812 lines).

Rich

Hi!

On which OS? I think I have seen similar error(s) lately under Ubuntu
Karmic 64-bit.

Nikos

2009/11/17 Rich Shepard <rshepard@appl-ecosys.com>:

Not sure where to report this so I'll do so here.

Building 6.5 failed with an error in gui/wxpython/vdigit. Per the
instructions, I cd'd to that directory and re-ran make with the attached
results (812 lines).

pseudodc.cpp:17:34: error: wx/wxPython/wxPython.h: No such file or directory

install wxheaders, eg. on Debian GNU/Linux

apt-get install wx2.8-headers

See gui/wxpython/README for more info.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Tue, 17 Nov 2009, ??? ??? wrote:

On which OS? I think I have seen similar error(s) lately under Ubuntu
Karmic 64-bit.

Nikos,

   Slackware-12.2 (32-bit version).

   Linux salmo 2.6.27.7-smp #1 SMP Thu Nov 20 22:18:02 CST 2008 i686 AMD
Athlon(tm) 64 X2 Dual Core Processor 4800+ AuthenticAMD GNU/Linux.

Rich

On Tue, 17 Nov 2009, Martin Landa wrote:

pseudodc.cpp:17:34: error: wx/wxPython/wxPython.h: No such file or directory
install wxheaders, eg. on Debian GNU/Linux

Martin,

   Slackware does not separate headers from the rest of the code. I built
wxPython-2.8.10 here with the SlackBuild script. Just untarred the source
and there's no wxPython.h in ../src/include/. How interesting.

Rich

2009/11/17 Rich Shepard <rshepard@appl-ecosys.com>:

Slackware does not separate headers from the rest of the code. I built
wxPython-2.8.10 here with the SlackBuild script. Just untarred the source
and there's no wxPython.h in ../src/include/. How interesting.

what

wx-config --cppflags

says?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Tue, 17 Nov 2009, Martin Landa wrote:

what
wx-config --cppflags
says?

Martin,

[rshepard@salmo ~]$ wx-config --cppflags
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__

Rich

2009/11/17 Rich Shepard <rshepard@appl-ecosys.com>:

-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__

then

wx/wxPython/wxPython.h

should be located in `/usr/include/wx-2.8`.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Tue, 17 Nov 2009, Martin Landa wrote:

then
wx/wxPython/wxPython.h
should be located in `/usr/include/wx-2.8`.

Martin,

   Perhaps so, but there's no such header file on this system:

[rshepard@salmo ~]$ locate wxPython.h
[rshepard@salmo ~]$

   This hasn't affected any other application, including my approximate
reasoning model written in Python with wxPython for the GUI.

Rich

2009/11/17 Rich Shepard <rshepard@appl-ecosys.com>:

then
wx/wxPython/wxPython.h
should be located in `/usr/include/wx-2.8`.

Can you check what contains this dir?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

On Tue, 17 Nov 2009, Martin Landa wrote:

Can you check what contains this dir?

Martin,

   Certainly!

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/
wx/

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/wx
aboutdlg.h dcclient.h glcanvas.h msgout.h stopwatch.h
accel.h dcgraph.h graphics.h mstream.h strconv.h
access.h dcmemory.h grid.h notebook.h stream.h
afterstd.h dcmirror.h gsocket.h numdlg.h string.h
anidecod.h dcprint.h gtk/ object.h sysopt.h
animate.h dcps.h hash.h odcombo.h tab.h
animdecod.h dcscreen.h hashmap.h overlay.h tabctrl.h
app.h dde.h hashset.h ownerdrw.h tarstrm.h
apptrait.h debug.h help.h palette.h taskbar.h
archive.h debugrpt.h helpbase.h panel.h tbarbase.h
arrimpl.cpp defs.h helphtml.h paper.h textbuf.h
arrstr.h dialog.h helpwin.h pen.h textctrl.h
artprov.h dialup.h html/ pickerbase.h textdlg.h
aui/ dir.h htmllbox.h platform.h textfile.h
beforestd.h dirctrl.h hyperlink.h platinfo.h tglbtn.h
bitmap.h dirdlg.h icon.h popupwin.h thread.h
bmpbuttn.h display.h iconbndl.h power.h thrimpl.cpp
bmpcbox.h display_impl.h iconloc.h print.h timer.h
bookctrl.h dlimpexp.h imagbmp.h printdlg.h tipdlg.h
brush.h dnd.h image.h prntbase.h tipwin.h
buffer.h docmdi.h imaggif.h process.h tokenzr.h
build.h docview.h imagiff.h progdlg.h toolbar.h
busyinfo.h dragimag.h imagjpeg.h propdlg.h toolbook.h
button.h dynarray.h imaglist.h protocol/ tooltip.h
calctrl.h dynlib.h imagpcx.h ptr_scpd.h toplevel.h
caret.h dynload.h imagpng.h quantize.h treebase.h
checkbox.h effects.h imagpnm.h radiobox.h treebook.h
checklst.h encconv.h imagtga.h radiobut.h treectrl.h
chkconf.h encinfo.h imagtiff.h rawbmp.h txtstrm.h
choicdlg.h event.h imagxpm.h recguard.h types.h
choice.h evtloop.h init.h regex.h unix/
choicebk.h except.h intl.h region.h uri.h
clipbrd.h fdrepdlg.h iosfwrap.h renderer.h url.h
clntdata.h features.h ioswrap.h richtext/ utils.h
clrpicker.h ffile.h ipc.h sashwin.h valgen.h
cmdline.h file.h ipcbase.h sckaddr.h validate.h
cmdproc.h fileconf.h isql.h sckipc.h valtext.h
cmndata.h filedlg.h isqlext.h sckstrm.h variant.h
collpane.h filefn.h joystick.h scopeguard.h vector.h
colordlg.h filename.h layout.h scrolbar.h version.h
colour.h filepicker.h laywin.h scrolwin.h vidmode.h
combo.h filesys.h link.h selstore.h vlbox.h
combobox.h fmappriv.h list.h settings.h vms_x_fix.h
confbase.h font.h listbase.h sizer.h volume.h
config.h fontdlg.h listbook.h slider.h vscroll.h
containr.h fontenc.h listbox.h snglinst.h wave.h
control.h fontenum.h listctrl.h socket.h wfstream.h
convauto.h fontmap.h listimpl.cpp sound.h window.h
cpp.h fontpicker.h log.h spinbutt.h wizard.h
cshelp.h fontutil.h longlong.h spinctrl.h wupdlock.h
ctrlsub.h frame.h math.h splash.h wx.h
cursor.h fs_arc.h matrix.h splitter.h wxPython/
dataobj.h fs_filter.h mdi.h srchctrl.h wxchar.h
dataview.h fs_inet.h mediactrl.h sstream.h wxhtml.h
datectrl.h fs_mem.h memconf.h stack.h wxprec.h
dateevt.h fs_zip.h memory.h stackwalk.h xml/
datetime.h gauge.h memtext.h statbmp.h xpmdecod.h
datstrm.h gbsizer.h menu.h statbox.h xpmhand.h
db.h gdicmn.h menuitem.h statline.h xrc/
dbgrid.h gdiobj.h metafile.h stattext.h xti.h
dbkeyg.h generic/ mimetype.h statusbr.h xtistrm.h
dbtable.h geometry.h minifram.h stc/ xtixml.h
dc.h gifdecod.h module.h stdpaths.h zipstrm.h
dcbuffer.h gizmos/ msgdlg.h stockitem.h zstream.h

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/wx/wxPython/
i_files/

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/wx/wxPython/i_files/
_richtextbuffer.i _richtextctrl.i _richtexthtml.i _richtextxml.i

Rich

Hi,

2009/11/17 Rich Shepard <rshepard@appl-ecosys.com>:

Certainly!

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/
wx/

no new info - wxPython headers are missing (only wxWidgets are
included) - you need to install them...

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Rich Shepard wrote:

> Can you check what contains this dir?

Martin,

   Certainly!

[rshepard@salmo ~]$ ls /usr/include/wx-2.8/wx/wxPython/
i_files/

Oops. I have:

  $ ls -1F /usr/include/wx-2.8/wx/wxPython/
  i_files/
  printfw.h
  pseudodc.h
  pyclasses.h
  pydrawxxx.h
  pyistream.h
  pytree.h
  swigver.h
  twoitem.h
  wxPython.h
  wxPython_int.h

It looks like Slackware's wxPython package is incomplete.

--
Glynn Clements <glynn@gclements.plus.com>

On Tue, 17 Nov 2009, Martin Landa wrote:

no new info - wxPython headers are missing (only wxWidgets are included) -
you need to install them...

Martin,

   They're not in the source code.

Rich

On Tue, 17 Nov 2009, Glynn Clements wrote:

Oops. I have:

  $ ls -1F /usr/include/wx-2.8/wx/wxPython/
  i_files/
  printfw.h
  pseudodc.h
  pyclasses.h
  pydrawxxx.h
  pyistream.h
  pytree.h
  swigver.h
  twoitem.h
  wxPython.h
  wxPython_int.h

Glynn,

   When I dug deeper in the source I found those and copied them over.

It looks like Slackware's wxPython package is incomplete.

   I don't know how the script could miss this, but I'll report it to the
maintainer.

Thanks ... and thanks to Martin, too,

Rich

On Tue, 17 Nov 2009, Rich Shepard wrote:

They're not in the source code.

   Oops! Yes it is. Just hidden deeply.

Thanks,

Rich

Rich Shepard wrote:

On Tue, 17 Nov 2009, Martin Landa wrote:

no new info - wxPython headers are missing (only wxWidgets are included) -
you need to install them...

Martin,

They're not in the source code.

Silly question: if you compiled wxPython from source yourself with make; make install, did you also

cd $WXDIR/wxPython
python setup.py install

as described in $WXDIR/wxPython/docs/INSTALL.txt ?

Or check the SlackBuild script you used if it's doing that.

Markus M

On Tue, 17 Nov 2009, Markus Metz wrote:

Or check the SlackBuild script you used if it's doing that.

Markus,

   Yes, it does.

Thanks,

Rich