pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnome-config: not found



I installed OOF2 [1] successfully on a PC running NetBSD/i386 -current (built from sources CVS-updated in May 2006) and using packages installed from source (using pkgsrc CVS-updated in December 2006). However, it won't install on a PC running NetBSD/i386 3.1 using precompiled packages downloaded from ftp://ftp.netbsd.org/pub/NetBSD/packages/3.1/i386/All/ :

% pwd
% /usr/home/yicai/installers/NIST/OOF/OOF2/2.0.3/oof2-2.0.3
% /usr/bin/time sh -c 'python setup.py build --skip-swig --library-dirs=/usr/pkg/lib --blas-libraries="blas" --blas-link-args="-lg2c -lm" install --prefix=~/oof2 > python-setup.py.log 2>&1'
        1.44 real         0.09 user         0.04 sys
% cat *.log
gnome-config: not found
Can't find pygtk-2.0! Version 2.6 or later required
%

Can you suggest a solution, please?

I wonder why the precompiled version behaves differently from the source one? For reference, OOF2 also installs fine on a machine running NetBSD/amd64 -current (built from sources CVS-updated in June 2007) with packages installed from source (using the 2007Q2 pkgsrc).

Steve Langer, one of the OOF2 developers said:

 'setup.py invokes "pkg-config" to check the version numbers (via a call to
  pkg_check in oof2setuputils.py).  pkg-config must call gnome-config, because
  gnome-config isn't called directly by any oof2 code.'

and suggested I run this command to see what happened:

% pkg-config --atleast-version=2.6.0 pygtk-2.0
gnome-config: not found
%

He also suggested setting the environment variable PKG_CONFIG_PATH to the directory containing the file pygtk-2.0.pc if it's on the system. It is:

% ls -l /usr/pkg/lib/pkgconfig/pygtk-2.0.pc
-r--r--r--  1 root  wheel  651 Jul  9 22:14 /usr/pkg/lib/pkgconfig/pygtk-2.0.pc
%

but that didn't help:

% setenv PKG_CONFIG_PATH /usr/pkg/lib/pkgconfig
% pkg-config --atleast-version=2.6.0 pygtk-2.0
gnome-config: not found
%

I installed the binary packages on the machine running 3.1 with these commands:

# pkg_add blas
# pkg_add lapack
# pkg_add kdebase-3.5.7nb4
# mkdir /tmp/.ICE-unix
# chmod 1777 /tmp/.ICE-unix
# pkg_add python24
# pkg_add ImageMagick
# pkg_add vera-ttf
# pkg_add gtk2+
# pkg_add xforms
# pkg_add libgnomecanvas
# pkg_add py24-gtk2
# pkg_add gimp-2.3.18nb1
# cd /usr/pkg/bin
# ln python2.4 python
# pkg_add pkg-config
# pkg_add gmake

I think the machine which is running NetBSD/i386 -current has the same packages installed, with the exception of vera-ttf. I'll append the output of 'pkg_info -a' on the 3.1 machine to this email.


Ray


[1]  http://www.ctcms.nist.gov/oof/oof2/


# pkg_info -a
blas-1.0nb3         Basic Linear Algebra Subprograms (Fortran)
lapack-20010201nb4  Linear Algebra PACKage
htdig-3.2.0b6       WWW indexing and searching system
xdg-dirs-1.4        Shared XDG directories
kde3-dirs-1.0       Shared KDE (v3) directories
cyrus-sasl-2.1.22   Simple Authentication and Security Layer
openldap-client-2.3.32 Lightweight Directory Access Protocol libraries and clien
libusb-0.1.12nb1    USB access library
hicolor-icon-theme-0.10nb1 Standard icon theme called hicolor
perl-5.8.8nb4       Practical Extraction and Report Language
MesaLib-6.4.2nb3    Graphics library similar to SGI's OpenGL
glu-6.4.2           GLU polygon tessellation facility for Mesa
jpeg-6bnb4          IJG's jpeg compression utilities
tiff-3.8.2nb3       Library and tools for reading and writing TIFF data files
lcms-1.16           Light Color Management System -- a color management library
mng-1.0.9nb1        Multiple-image Network Graphics (MNG) reference library
png-1.2.18          Library for manipulating PNG images
Xfixes-2.0.1nb4     X Fixes extension of X RandR
Xrender-0.9.0nb2    Client library for the X Rendering Extension protocol
xcursor-1.1.2nb2    Client-side cursor loading library for X
freetype2-2.3.4nb1  Font rendering engine and library API
expat-2.0.1         XML parser library written in C
fontconfig-2.4.2nb2 Library for configuring and customizing font access
Xft2-2.1.7nb3       Library for configuring and customizing font access
Xrandr-1.0.2nb3     X RandR extension (Library)
qt3-libs-3.3.8nb5   C++ X GUI toolkit
libaudiofile-0.2.6nb1 Sound library for SGI audio file
esound-0.2.38       The Enlightened sound daemon
libmad-0.15.1bnb1   High-quality MPEG audio decoder
libogg-1.1.3        Ogg project codecs library
libvorbis-1.1.2     Library for the Ogg Vorbis audio encoding format
glib2-2.12.12       Some useful routines for C programming (glib2)
arts-1.5.7          Analog Real-Time Synthesizer
libidn-0.6.13       Internationalized Domain Names command line tool
pcre-7.1nb1         Perl Compatible Regular Expressions library
jasper-1.900.1 Software-based reference implementation of the JPEG-2000 cod
libart2-2.3.19nb1   High-performance 2D graphics library
openexr-1.4.0nb3 High dynamic-range (HDR) image file format library and tools
librfuncs-1.0.7nb1  Provides missing POSIX *_r functions
mDNSResponder-108nb1 Apple's mDNS responder
aspell-0.60.5       Spell checker with good multi-language support
libgpg-error-1.4nb2 Definitions of common error values for all GnuPG components
libgcrypt-1.2.4     GNU cryptographic library
xmlcatmgr-2.2nb1    XML and SGML catalog manager
libxml2-2.6.28      XML parser library from the GNOME project
libxslt-1.1.20      XSLT parser library from the GNOME project
kdelibs-3.5.7nb3    Support libraries for the KDE integrated X11 desktop
kdebase-3.5.7nb4    Base modules for the KDE 3 integrated X11 desktop
python24-2.4.4 Interpreted, interactive, object-oriented programming langua
mpeg2codec-1.2nb1   MPEG Software Simulation Group's MPEG-2 Encoder and Decoder
libwmf-0.2.8.4nb4   Library for reading and converting WMF (Windows Meta Files)
libexif-0.6.16      EXIF file library
ImageMagick-6.3.4.9 Package for display and interactive manipulation of images
ttmkfdir2-20021109nb3 Tool that creates a fonts.scale file
vera-ttf-1.10nb4    Bitstream Vera TrueType fonts
atk-1.18.0          Set of interfaces for accessibility
glitz-0.5.6nb2 OpenGL 2D graphics library and a backend for gl output in ca
cairo-1.4.8         Vector graphics library with cross-device output support
pango-1.16.4        Library for layout and rendering of text
gtk2+-2.10.13 GIMP Toolkit v2 - libraries for building X11 user interfaces
xforms-1.0nb5       Graphical user interface toolkit for X Window System
libglade2-2.6.0nb3  Runtime interpreter for GLADE GUI files (v2)
libgnomecanvas-2.14.0nb2 GNOME Canvas library
py24-Numeric-24.2   Adds multidimensional numeric arrays to Python
py24-cairo-1.4.0    Python bindings for cairo
py24-gobject-2.12.3nb1 Python bindings for glib2 gobject
py24-gtk2-2.10.4    Python bindings for GTK+2
aalib-1.4.0.5nb2    ASCII Art library
popt-1.10.7         Command line option parsing library
libIDL-0.8.8        CORBA Interface Definition Language parser
ORBit2-2.14.7       High-performance CORBA ORB with C language support
libbonobo-2.18.0    GNOME2 Object activation framework library
lzo-2.02            Portable lossless data compression library
libcfg+-0.6.2nb3    Command line and configuration file parsing library
libtasn1-0.3.9      ASN.1 structure parser library
gnutls-1.6.3nb1     GNU Transport Layer Security library
gail-1.18.0         GNOME Accessibility Implementation Library
GConf2-2.18.0.1     Configuration database system used by GNOME (v2)
fam-2.7.0nb7        File Alteration Monitor
gnome-icon-theme-2.18.0 Theme consisting of a set of icons for GNOME
libgnomeprint-2.18.0 Library for the GNOME2 Printing Architecture
libgnomeprintui-2.18.0 Graphical library for the GNOME2 Printing Architecture
gimp-print-lib-4.2.7nb2 Drivers for Canon, Epson, Lexmark, and PCL printers
shared-mime-info-0.19 Core database of common types
dbus-1.0.2nb2       Message bus system
dbus-glib-0.73      GLib bindings for the D-BUS message bus system
gnome-vfs2-2.18.1nb2 GNOME Virtual File System (v2)
libgsf-1.14.3nb1    GNOME2 structured file library
libgtkhtml-2.6.3nb7 Lightweight HTML rendering GTK2 widget
gnome-dirs-1.6      Shared GTK/GNOME (v1 and v2) directories
gnome2-dirs-1.6     Shared GTK/GNOME (v2) directories
libgnome-2.18.0nb1  Core GNOME2 library (non-graphical)
libbonoboui-2.18.0nb1 GNOME2 Object activation framework library (graphical vers
gnome-keyring-0.8.1 GNOME password and secret manager
libgnomeui-2.18.1nb1 Core GNOME2 graphical libraries
libcroco-0.6.1nb4 Toolkit to parse and manipulate CSS (Cascading Style Sheets)
librsvg2-2.16.1nb2  SVG library for GNOME2
gimp-2.3.18nb1      Image manipulation program similar to Photoshop[tm]
gmake-3.81          GNU version of 'make' utility
pkg-config-0.21nb1  System for managing library compile/link flags
#



Home | Main Index | Thread Index | Old Index