[ptx] hugin and libpano build problems

douglas wilkins dgswilkins at yahoo.co.uk
Tue May 24 10:02:25 BST 2005


Hi there,

--- Rich <rich at hq.vsaa.lv> wrote:
> when compiling libpano and hugin, i encountered a couple of problems.
> 
> 1. configure fails when checking wether "png package is complete"
> config.log shows that it stopped at "undefined reference to `pow'"
> after some googleing it turned out that compiler flag -lm (to reference 
> mathlib) was needed.
> thus
> export CFLAGS="-lm"; ./configure
> works fine.
> 
> why isn't this flag added by default - and maybe it should be ?
> 
> this is slackware-current, gcc 3.3.5

It seems to work without this flag on most other distributions (Fedora,
Debian, Ubuntu & Mandrake for sure). I'll see what happens on these if I
add this flag

> 
> 2. boost location for hugin
> 
> hugin tried to find boost includes in 
> <with-boost>/include/boost-<with-boost-version>
> 
> boost 1.32.0 has includes in root directory (of it's own tree), so there
> 
> is no way to tell configure script how to find them.
> 
> the solution is editing configure script, line 24476 from
> ac_boost_includedir="$withval/include/boost$BOOST_VERSION_"
> to
> ac_boost_includedir="$withval"
> 
> though this probably breaks support for boost 1.31.0

Yes it does :-(
Boost is a painful library to determine parameters for. I'll see what I
can do.

regards,
Doug


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


More information about the ptX mailing list