[ptx] Compiler versions and Hugin

Pablo d'Angelo pablo.dangelo at web.de
Sat Jul 8 15:43:07 BST 2006


Hi Peter,

Peter Gawthrop wrote:

> 2. Without that line there:
> 
> $ strace hugin 2>&1 | grep xrc | head -5
> open("/usr/local/lib/libwx_gtk2u_xrc-2.6.so.0", O_RDONLY) = 3
> stat64("/xrc/main_frame.xrc", 0xbfffe424) = -1 ENOENT (No such file or directory)
> stat64("${datarootdir}/hugin/xrc/main_frame.xrc", 0xbfffe424) = -1 ENOENT (No such file or directory)
> stat64("/image_center.xrc", 0xbfffe364) = -1 ENOENT (No such file or directory)
> stat64("/image_center.xrc", 0xbfffe264) = -1 ENOENT (No such file or directory)
>
> [...]
>
> I attach Development/Photo/hugin/src/include/config.h -- I assume that
> that is what you wanted.

Yes, thanks. Seems like the datarootdir variable has not been substituted.
Strange.

My config.h file contains:
/* Location for XRC information */
#define INSTALL_XRC_DIR "/tmp/hugin-install/share/hugin/xrc"

whereas yours mentions

> /* Location for XRC information */
> #define INSTALL_XRC_DIR "${datarootdir}/hugin/xrc"


This looks like a autoconf problem. Which version of autoconf and automake
do you use (autmake --version, autoconf --version)? I have

pablo at svalbart:~$ automake --version
automake (GNU automake) 1.7.9

pablo at svalbart:~$ autoconf --version
autoconf (GNU Autoconf) 2.59

If it really is a obscure autoconf version problem, I'll probably add the
autoconf/automake generated files to the CVS repository.

> I'm off to take some panoramas in a week's time so its good to have a
> working version of hugin -- thanks for the wonderful software.

Thanks and good luck.

ciao
  Pablo


More information about the ptx mailing list