[ptx] panoglview from cvs - core dump

Rich rich at hq.vsaa.lv
Thu Jun 2 12:44:33 BST 2005


douglas wilkins wrote:
> --- Rich <rich at hq.vsaa.lv> wrote:
...
>>of course, i could symlink it and then hunt next dependance, but what 
>>would be the correct way to resolve this ?
> 
> Long term solution is to make sure automake/aclocal both search
> /usr/local/share/aclocal as well if /usr/local is your preferred installation
> prefix. Alternatively use --prefix=/usr when configuring wx.

actually i just prefer putting things in their default locations unless 
there's an important reason not to - and i suppose wxgtk defaults to 
/usr/local...
yep, both 2.4.2 and 2.6.0 default to /usr/local

> Short term solution:
> replace
> $ACLOCAL || exit $?
> at line 89 of bootstrap with:
> $ACLOCAL -I /usr/local/share/aclocal || exit $?

yep, this got me past configure. unfortunately make failed :)
output attached

> which should get bootstrap to set everything up successfully
> 
> regards,
> Doug
-- 
  Rich
-------------- next part --------------
make
Making all in src
make[1]: Entering directory `/install/panoglview/panoglview-cvs-2005.05.31/src'
if g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -DPACKAGE_VERSION=\"0.2\" 
-DPACKAGE_STRING=\"panoglview\ 0.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.    
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS 
-D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -g -O2 -MT 
panoglview-panoapp.o -MD -MP -MF ".deps/panoglview-panoapp.Tpo" -c -o panoglview-panoapp.o `test -f 
'panoapp.cpp' || echo './'`panoapp.cpp; \
then mv -f ".deps/panoglview-panoapp.Tpo" ".deps/panoglview-panoapp.Po"; else rm -f 
".deps/panoglview-panoapp.Tpo"; exit 1; fi
In file included from panointeractivecanvas.h:16,
                 from panoframe.h:22,
                 from panoapp.cpp:35:
panocanvas.h:146: error: parse error before `{' token
panocanvas.h:149: error: destructors must be member functions
panocanvas.h:149: error: virtual outside class declaration
panocanvas.h:161: error: parse error before `protected'
panocanvas.h:187: error: parse error before `private'
panocanvas.h:187: error: virtual outside class declaration
panocanvas.h:187: error: non-member function `const wxEventTable*
   GetEventTable()' cannot have `const' method qualifier
panocanvas.h:187: error: no matching function for call to `wxEventHashTable::
   wxEventHashTable()'
/usr/local/include/wx-2.6/wx/event.h:2286: error: candidates are:
   wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/local/include/wx-2.6/wx/event.h:2250: error:
   wxEventHashTable::wxEventHashTable(const wxEventTable&)
panocanvas.h:187: error: virtual outside class declaration
panocanvas.h:187: error: non-member function `wxEventHashTable&
   GetEventHashTable()' cannot have `const' method qualifier
panocanvas.h:188: error: parse error before `}' token
In file included from panoframe.h:22,
                 from panoapp.cpp:35:
panointeractivecanvas.h:34: error: base class `panoCanvas' has incomplete type
In file included from panoapp.cpp:35:
panoframe.h:54: error: syntax error before `*' token
panoframe.h:58: error: semicolon missing after declaration of `panoFrame'
panoframe.h:58: error: two or more data types in declaration of `OnOpenImage'
panoframe.h:74: error: parse error before `private'
panoframe.h:78: error: parse error before `private'
panoframe.h:78: error: virtual outside class declaration
panoframe.h:78: error: non-member function `const wxEventTable* GetEventTable()
   ' cannot have `const' method qualifier
panoframe.h:78: error: redefinition of `wxEventHashTable sm_eventHashTable'
panocanvas.h:187: error: `wxEventHashTable sm_eventHashTable' previously
   declared here
panoframe.h:78: error: no matching function for call to `wxEventHashTable::
   wxEventHashTable()'
/usr/local/include/wx-2.6/wx/event.h:2286: error: candidates are:
   wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/local/include/wx-2.6/wx/event.h:2250: error:
   wxEventHashTable::wxEventHashTable(const wxEventTable&)
panoframe.h:78: error: virtual outside class declaration
panoframe.h:78: error: non-member function `wxEventHashTable&
   GetEventHashTable()' cannot have `const' method qualifier
panoframe.h:85: error: parse error before `}' token
panoapp.cpp: In member function `virtual bool panoApp::OnInit()':
panoapp.cpp:48: error: `openArgumentFile' undeclared (first use this function)
panoapp.cpp:48: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[1]: *** [panoglview-panoapp.o] Error 1
make[1]: Leaving directory `/install/panoglview/panoglview-cvs-2005.05.31/src'
make: *** [all-recursive] Error 1



More information about the ptX mailing list