Re: Dependency Error

Michael Hohn <[email protected]>
Newsgroups gmane.comp.gnome.garnome
Message-ID <[email protected]>
Frank J.R.Hanstick wrote:

>Hello,
>	I am trying to install gnome via garnome (2.16.0) on my G4 PPC mac  
>(Darwin 8.8.0) and get the following dependency error for ==> Running  
>configure in work/main.d/gtk+-2.10.3:
>
>checking for BASE_DEPENDENCIES... configure: error: Package  
>requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >=  
>1.12.0    cairo >= 1.2.0) were not met.
>
>	The configure.log file contained the following detailed information:
>
>configure:21250: checking for BASE_DEPENDENCIES
>configure:21255: $PKG_CONFIG --exists --print-errors "glib-2.0 >=  
>2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0"
>Package libpng12 was not found in the pkg-config search path.
>Perhaps you should add the directory containing `libpng12.pc'
>to the PKG_CONFIG_PATH environment variable
>Package 'libpng12', required by 'cairo', not found
>configure:21258: $? = 1
>configure:21269: $PKG_CONFIG --exists --print-errors "glib-2.0 >=  
>2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0"
>Package libpng12 was not found in the pkg-config search path.
>Perhaps you should add the directory containing `libpng12.pc'
>to the PKG_CONFIG_PATH environment variable
>Package 'libpng12', required by 'cairo', not found
>configure:21272: $? = 1
>Package libpng12 was not found in the pkg-config search path.
>Perhaps you should add the directory containing `libpng12.pc'
>to the PKG_CONFIG_PATH environment variable
>Package 'libpng12', required by 'cairo', not found
>configure:21293: error: Package requirements (glib-2.0 >= 2.12.0     
>atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met.
>
>	I thought all dependencies were to be taken care of by garnome; but,  
>could not find a libpng12 folder anywhere in garnome-2.16.0.  Where  
>do I go from here?
>
>	
>
If you want, you can add libpng to garnome; for my version, I added 
lib/libpng/Makefile ::

GARNAME = libpng
GARVERSION = 1.2.5
CATEGORIES = devel
MASTER_SITES = http://www.libpng.org/pub/png/src/
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
# MAINTAINER =
# LICENSE =

DESCRIPTION = Compression Library
define BLURB
 #XXX: package blurb goes here.
endef

OSNAME = $(shell uname -s | tr A-Z a-z)

# CONFIGURE_SCRIPTS = $(WORKSRC)/configure
# CONFIGURE_ARGS = --shared

LIBDEPS = lib/zlib

BUILD_SCRIPTS = $(WORKSRC)/Makefile
BUILD_ARGS = prefix=$(DESTDIR)$(prefix) \
         ZLIBLIB=$(libdir) \
         ZLIBINC=$(includedir) \
         all test

INSTALL_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_ARGS = prefix=$(DESTDIR)$(prefix)

include ../../gar.mk

pre-configure:
    @cp $(WORKSRC)/scripts/makefile.$(OSNAME) $(WORKSRC)/Makefile
    $(MAKECOOKIE)


and add lib/libpng to LIBDEPENDS where needed.

Cheers,
    Mike


-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.