Hi Guillermo,

You are right and something has changed in the libpano svn. It no longer
searches /opt/local for libs even though it was specified in the bootstrap.

Building the libpano svn should now be done like (note: this is for
MacPorts):

$ ./bootstrap --with-jpeg=/opt/local/ --with-tiff=/opt/local/
--with-png=/opt/local/
$ export CFLAGS="-I/opt/local/include -L/opt/local/lib"
$ ./configure
$ make
$ sudo make install

If you add the additional command <export CFLAGS="-I/opt/local/include
-L/opt/local/lib"> before the .configure command it should function.
I just tried myself and it builds fine.
I also updated http://wiki.panotools.org/Hugin_Compiling_OSX

Hoi,
Harry

2008/10/17 torke <[EMAIL PROTECTED]>

>
> Hello.
>
> First thanks for reading.
>
> I get this error while I was Building SVN libpano13 in Mac OS X 10.5.5
> (Leopard).
>
> The error is while I execute the ./configure script:
>
>  ->configure: error:
>        the png library must be installed on your system
>        but configure could not find it.
>
> I found a previous error:
>
>  ->configure: cannot find the png directory, assuming it is specified
> in CFLAGS
>
> I was following the steps form here:
> http://wiki.panotools.org/Hugin_Compiling_OSX.
> I follow all the steps exact it was on the wiki.
>
> How can I know if it is installed?
> If not, how can I install properly the png lib? (I have already made
> "$sudo port install ...  libpng ...").
> If it is installed, how can I specify the path of the directory?
>
> Thanks for everthing,
> Guillermo.
>
>
> This is part of the trace. If you need all, I will put it:
>
> macbook-torke:libpano13-2.9.12 torke$ ./configure
>     checking build system type... i686-apple-darwin9.5.0
>
> ......
>
>     checking if ZLIB package is complete... yes
>     checking for PNG support ...
> ->configure: cannot find the png directory, assuming it is specified
> in CFLAGS
>     checking png.h usability... no
>     checking png.h presence... no
>     checking for png.h... no
>     checking for png_get_io_ptr in -lpng... no
>     checking if PNG package is complete... no
> ->configure: error:
>        the png library must be installed on your system
>        but configure could not find it.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to