Linux Debian support - Installing Gtkmm-2.10.x

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > March 2007 > Installing Gtkmm-2.10.x





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Installing Gtkmm-2.10.x
jamiil

2007-03-16, 7:12 pm

OS: LINUX - DEBIAN - SARGE
lib: CAIRO 1.2.6

I am trying to install gtkmm-2.10.x from source, for that I need to
install cairo 1.2.6, as it is a prerequiset. However after typing './
configure' I get this error message:
checking for cairo's PNG backend...
../configure: line 24784: --exists: command not found
../configure: line 24784: --exists: command not found
../configure: line 24784: --exists: command not found
configure: WARNING: Could not find libpng in the pkg-config search
path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled

I have installed ZLIB 1.2.3, PNG 1.2.16 and using apt-get I installed
libpng12-dev, but I am still getting the same message, what else do I
need to do?

s. keeling

2007-03-17, 1:14 am

jamiil <jalqadir@gmail.com>:
> OS: LINUX - DEBIAN - SARGE
> lib: CAIRO 1.2.6


Thanks, that's helpful.

> I am trying to install gtkmm-2.10.x from source, for that I need to


Is the source a deb-src package? Did you install the source package
with apt-get/aptitude/synaptic? Which? Or did you DL a tarball from
somewhere? If so, where?

I know, this is frustrating stuff and any of the three should/can be
made to work. The devil's in the details.

[Also a caveat: I'm no Java person. I'm just trying to help.]

aptitude search libpng shows:

v libpng-dev -
p libpng-sixlegs-java - Java package to read and display PNG images
i A libpng10-0 - PNG library, older version - runtime
p libpng10-dev - PNG library, older version - development
i A libpng12-0 - PNG library - runtime
v libpng12-0-dev -
p libpng12-dev - PNG library - development
p libpng2 - PNG library, older version - runtime
p libpng2-dev - PNG library, older version - development
p libpng3 - PNG library - runtime
p libpng3-dev - PNG library - development, compatibility packa
v libpngwriter -
v libpngwriter-dev -
p libpngwriter0 - easy to use graphics library (runtime)
p libpngwriter0-dev - easy to use graphics library (development)

Which is a lot of ++confusing stuff to me.

> install cairo 1.2.6, as it is a prerequiset. However after typing './


"aptitude search cairo" reports nothing (I run sarge too). Where did
you get it from?

> I have installed ZLIB 1.2.3, PNG 1.2.16 and using apt-get I installed
> libpng12-dev, but I am still getting the same message, what else do I


i A libpng12-0 - PNG library - runtime

Is that installed?

You might try IRC and ask the wizards in #java or #debian. They may
be able to sort this out in real time. Welcome to the bleeding edge.
You may be trying to do something no-one here's trying to do.

BTW, "aptitude search gtkmm" yeilds:

v gtkmm-doc -
c libgtkmm-2.4-1 - C++ wrappers for GTK+ 2.4 (shared libraries)
p libgtkmm-2.4-dev - C++ wrappers for GTK+ 2.4 (development files)
p libgtkmm-2.4-doc - C++ wrappers for GTK+ 2.4 (documentation)
p libgtkmm-dev - C++ wrapper for GTK+ 1.2 (development files)
p libgtkmm-doc - C++ wrapper for GTK+ 1.2 (documentation)
v libgtkmm1.2 -
c libgtkmm1.2-0 - C++ wrappers for GTK+ 1.2 (shared libraries)
v libgtkmm1.3-dev -
v libgtkmm1.3-doc -
v libgtkmm2.0-1 -
i A libgtkmm2.0-1c102 - C++ wrappers for GTK+ 2.0 (shared libraries)
p libgtkmm2.0-dev - C++ wrappers for GTK+ 2.0 (development files)
p libgtkmm2.0-doc - C++ wrappers for GTK+ 2.0 (documentation)
v libgtkmmext-dev -
p libgtkmmext0 - library of useful new C++ and C widgets for gt
p libgtkmmext0-dev - libgtkmmext development files

which may, or may not, be useful. :-P


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Spammers! http://www.spots.ab.ca/~keeling/emails.html
Mumia W.

2007-03-17, 7:14 am

On 03/16/2007 05:23 PM, jamiil wrote:
> OS: LINUX - DEBIAN - SARGE
> lib: CAIRO 1.2.6
>
> I am trying to install gtkmm-2.10.x from source, for that I need to
> install cairo 1.2.6, as it is a prerequiset. However after typing './
> configure' I get this error message:
> checking for cairo's PNG backend...
> ../configure: line 24784: --exists: command not found
> ../configure: line 24784: --exists: command not found
> ../configure: line 24784: --exists: command not found
> configure: WARNING: Could not find libpng in the pkg-config search
> path
> checking whether cairo's PNG backend could be enabled... no
> configure: error: requested PNG backend could not be enabled
>
> I have installed ZLIB 1.2.3, PNG 1.2.16 and using apt-get I installed
> libpng12-dev, but I am still getting the same message, what else do I
> need to do?
>


I don't have the source for gtkmm-2.10, but I'd guess that you need to
specify where libpng is installed:

../configure --with-libpng=/usr/local/lib

If you have a BIG need for more modern software than what's in Sarge,
you should use either Etch or Sid because all these technicalities have
been figured out for those distributions.




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com