HELP NEEDED!
Maurice Murphy
m1625 at rogers.com
Sat Jun 2 20:44:04 UTC 2007
I have been working my way through a tutorial on Glade2, with which I am
greatly impressed. However, when I get to compiling the sample
program, I run into this error. Snip...
"checking for PACKAGE... configure: error: Package requirements
(libgnomeui-2.0) were not met:
No package 'libgnomeui-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details."
I have checked with Synaptic and no libgnomeui-2.0 could be found for
installation. So I googled around and found libgnomeui-2.0.6, which I
downloaded and extracted to this directory /home/maurice/ and attempted
to install same with no success.
Here's the output from ./configure. My apologies for the length. I
hope I haven't broken any rules!
"checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for bison... no
checking for byacc... no
checking for xrdb... /usr/bin/xrdb
checking for ranlib... (cached) ranlib
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... am az be bg ca cs da de en_GB
el es et fi fr hi hu it ja ko lt lv ms nn no pl pt pt_BR ro ru sk sl sv
ta tr uk vi wa zh_CN zh_TW
checking what warning flags to pass to the C compiler... -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations
checking what language compliance flags to pass to the C compiler...
checking for X... no
checking for SmcSaveYourselfDone in -lSM... no
checking for X11/SM/SMlib.h... no
checking for pkg-config... /usr/bin/pkg-config
checking for esound >= 0.2.26 audiofile >= 0.2.3... checking for
libgnome-2.0 >= 2.0.0 libgnomecanvas-2.0 >= 2.0.0 libbonoboui-2.0 >=
2.0.0 gconf-2.0 >= 1.1.11... Package libgnome-2.0 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`libgnome-2.0.pc' to the PKG_CONFIG_PATH environment variable No package
'libgnome-2.0' found Package libgnomecanvas-2.0 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`libgnomecanvas-2.0.pc' to the PKG_CONFIG_PATH environment variable No
package 'libgnomecanvas-2.0' found Package libbonoboui-2.0 was not found
in the pkg-config search path. Perhaps you should add the directory
containing `libbonoboui-2.0.pc' to the PKG_CONFIG_PATH environment
variable No package 'libbonoboui-2.0' found Package gconf-2.0 was not
found in the pkg-config search path. Perhaps you should add the
directory containing `gconf-2.0.pc' to the PKG_CONFIG_PATH environment
variable No package 'gconf-2.0' found
configure: error: Library requirements (libgnome-2.0 >= 2.0.0
libgnomecanvas-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.0 gconf-2.0 >=
1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment
variable if your libraries are in a nonstandard prefix so pkg-config can
find them.
maurice at MAURICE:~/libgnomeui-2.0.6$"
Can anyone put me on the straight and narrow? It's this PKG_CONFIG_PATH
stuff that has me a bit confused.. A shame, as I think I will really
like Glade2. Once I get that going properly, I will launch myself into
learning Python and how to install same as a backend.
Thanks in advance,
Maurice
--
I'm using ubuntu version 7.04 ...
ubuntu - linux for human beings <http://www.ubuntu.com>
More information about the ubuntu-ca
mailing list