[ptx] hugin and libpano build problems

Rich rich at hq.vsaa.lv
Thu Nov 3 08:50:14 GMT 2005


douglas wilkins wrote:
> 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

seems that libpano 2.7.0.11 still requires this parameter to be exported 
manually in slackware. were there some problems with it in other 
distributions ?
..
-- 
  Rich


More information about the ptx mailing list