Png.h cvs compile error

I don’t know if you want me reporting a cvs compile error, so if this
project does not want that please say so.

Anyway, I am having a problem compiling from cvs. I have a ubuntu feisty
box and libart failed the configure saying png.h is not found. Are there
any ideas. I have looked and there is png.h in
/usr/include/libpng12/png.h and there is a symlink to that in
/usr/include/png.h and /usr/include/libpng/png.h. Do you need any more
info?

Also, what is the criteria for the next release? It is annoying to have
to keep recompiling from cvs. I would like to have base to write my
programs off of that ubuntu can package. So what needs to be done?

Thanks


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Hi,

2006/12/18, William J. [email protected]:

Anyway, I am having a problem compiling from cvs. I have a ubuntu feisty
box and libart failed the configure saying png.h is not found. Are there
any ideas. I have looked and there is png.h in
/usr/include/libpng12/png.h and there is a symlink to that in
/usr/include/png.h and /usr/include/libpng/png.h. Do you need any more info?

Does the attached patch solve the problem?

Thanks,

Kouhei S. wrote:

more info?
===================================================================
+PKGConfig.have_package(‘libpng12’) or have_header(“png.h”) or exit 1
have_header(“jpeglib.h”) or exit 1

have_library(“png”, “png_create_write_struct”)

That fixed the png problem, now there is the same problem with
jpeglib.h. There is no pkgconfig file so the same fix won’t work. The
file is installed and located in /usr/include/.

Thanks


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Hi,

2006/12/19, William J. [email protected]:

That fixed the png problem, now there is the same problem with
jpeglib.h. There is no pkgconfig file so the same fix won’t work. The
file is installed and located in /usr/include/.

What you need may be ‘–with-opt-dir=’ option:
% ruby extconf.rb --with-opt-dir=/usr

Thanks,

kou


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV