Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2006 19:56:28 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        gnome@freebsd.org
Subject:   unable to upgrade due to pkgconfig problems
Message-ID:  <20060501025628.7B90B45042@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_1146452184_119050
Content-Type: text/plain; charset=us-ascii

My upgrade to 2.14 on my current system is failing due to a pkgconfig
problem. I have confirmed the location of glib-2.0.pc
(/usr/local/libdata/pkgconfig/glib-2.0.pc) and that I have the latest
revision of pkgconfig, but I keep geting configuration errors saying
that:
checking for DESKTOP_FILE_UTILS... configure: error: Package requirements 
(glib-2.0 >= 2.6.0) were not met:

No package 'glib-2.0' found

Everything is in the normal places.

Any ideas as to what might be happening? Build log of one port attached.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634


--==_Exmh_1146452184_119050
Content-Type: text/plain ; name="desktop-file-utils.log"; charset=us-ascii
Content-Description: desktop-file-utils.log
Content-Disposition: attachment; filename="desktop-file-utils.log"

Script started on Sun Apr 30 19:45:49 2006
]2;SLAN - /usr/ports/devel/desktop-file-utils]1;SLANExit 1
Exit 1
Sun Apr 30 19:45:49 PDT 2006
/usr/ports/devel/desktop-file-utils
oberman has logged on ttyp0 from :0.0.
oberman has logged on ttyp1 from :0.0.
oberman has logged on ttyp2 from :0.0.
oberman has logged on ttyp3 from :0.0.
oberman has logged on ttyp4 from :0.0.
oberman has logged on ttyv0 from local.
slan# make

===>   desktop-file-utils-0.11 depends on executable: pkg-config - found
===>   desktop-file-utils-0.11 depends on shared library: popt - found
===>   desktop-file-utils-0.11 depends on shared library: glib-2.0.0 - found
===>  Configuring for desktop-file-utils-0.11
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for strerror in -lcposix... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /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 dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DESKTOP_FILE_UTILS... configure: error: Package requirements (glib-2.0 >= 2.6.0) were not met:

No package 'glib-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 DESKTOP_FILE_UTILS_CFLAGS
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/desktop-file-utils/work/desktop-file-utils-0.11/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/desktop-file-utils.
Exit 1
slan# exit

exit

Script done on Sun Apr 30 19:46:04 2006

--==_Exmh_1146452184_119050--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060501025628.7B90B45042>