I ran into this problem with glib the other day.  Everything that uses the
new glib seems to fail with the same error.  I was able to get around the
problem by running the following command in the directory of the port you
want to install:

make install PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig/

I hope this helps.

Drew

> Kris,
>
> here You are - this is the output of the make command executed in
> ports/mail/evolution
>
> ---------------------------------------------------------------------------------------------------
>
> ===>  Vulnerability check disabled, database not found
> ===>  Found saved configuration for evolution-2.6.1
> ===>  Extracting for evolution-2.6.1
> => MD5 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
> => SHA256 Checksum OK for gnome2/evolution-2.6.1.tar.bz2.
> ===>  Patching for evolution-2.6.1
> ===>  Applying FreeBSD patches for evolution-2.6.1
> ===>   evolution-2.6.1 depends on executable: gmake - found
> ===>   evolution-2.6.1 depends on executable: bison - found
> ===>   evolution-2.6.1 depends on file: /usr/local/bin/intltool-extract -
> found
> ===>   evolution-2.6.1 depends on file:
> /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> ===>   evolution-2.6.1 depends on executable: pkg-config - found
> ===>   evolution-2.6.1 depends on shared library: nss3.1 - found
> ===>   evolution-2.6.1 depends on shared library: gpilotdconduit.2 - found
> ===>   evolution-2.6.1 depends on shared library: dbus-glib-1.2 - found
> ===>   evolution-2.6.1 depends on shared library: intl - found
> ===>   evolution-2.6.1 depends on shared library: esd.2 - found
> ===>   evolution-2.6.1 depends on shared library: atk-1.0.0 - found
> ===>   evolution-2.6.1 depends on shared library: edataserver-1.2.7 - not
> found
> ===>    Verifying install for edataserver-1.2.7 in
> /usr/ports/databases/evolution-data-server
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for evolution-data-server-1.6.1
> => MD5 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
> => SHA256 Checksum OK for gnome2/evolution-data-server-1.6.1.tar.bz2.
> ===>  Patching for evolution-data-server-1.6.1
> ===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool
> -
> found
> ===>  Applying FreeBSD patches for evolution-data-server-1.6.1
> ===>   evolution-data-server-1.6.1 depends on executable: gmake - found
> ===>   evolution-data-server-1.6.1 depends on executable: bison - found
> ===>   evolution-data-server-1.6.1 depends on file: /usr/local/bin/libtool
> -
> found
> ===>   evolution-data-server-1.6.1 depends on file:
> /usr/local/bin/intltool-extract - found
> ===>   evolution-data-server-1.6.1 depends on file:
> /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> ===>   evolution-data-server-1.6.1 depends on executable: pkg-config -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: soup-2.2.8 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: nss3.1 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: tasn1.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: ldap-2.2.7 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: intl - found
> ===>   evolution-data-server-1.6.1 depends on shared library: esd.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: atk-1.0.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gconf-2.4 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: glib-2.0.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnomevfs-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library:
> gtk-x11-2.0.0
> - found
> ===>   evolution-data-server-1.6.1 depends on shared library: art_lgpl_2.5
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: bonobo-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: bonoboui-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: glade-2.0.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnome-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library:
> gnomecanvas-2.0 - found
> ===>   evolution-data-server-1.6.1 depends on shared library: gnomeui-2.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: IDL-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: xml2.5 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: xslt.2 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: linc.1 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: ORBit-2.0 -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: pango-1.0.0
> -
> found
> ===>   evolution-data-server-1.6.1 depends on shared library: X11.6 -
> found
> ===>  Configuring for evolution-data-server-1.6.1
> 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 gmake sets $(MAKE)... yes
> checking how to create a ustar tar archive... plaintar
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for style of include used by gmake... GNU
> 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 dependency style of cc... gcc3
> checking for library containing strerror... none required
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ANSI C... (cached) none needed
> checking dependency style of cc... (cached) gcc3
> checking how to run the C preprocessor... cc -E
> checking for inline... inline
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... yes
> checking for bison... bison -y
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g
> wheel
> checking whether ln -s works... yes
> checking whether gmake sets $(MAKE)... (cached) yes
> checking for jw... no
> checking for perl... /usr/bin/perl
> checking for XML::Parser... ok
> checking for iconv... /usr/local/bin/iconv
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for msgmerge... /usr/local/bin/msgmerge
> checking for xgettext... /usr/local/bin/xgettext
> 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 locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking for LC_MESSAGES... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking for ngettext in libc... no
> checking for bindtextdomain in -lintl... yes
> checking for ngettext in -lintl... yes
> checking for dgettext in -lintl... yes
> checking for bind_textdomain_codeset... yes
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for dcgettext... yes
> checking for gmsgfmt... /usr/local/bin/msgfmt
> checking for xgettext... /usr/local/bin/xgettext
> checking for catalogs to be installed...  am ar az be bg bn bs ca cs cy da
> de dz el en_AU en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it
> ja ka ko ku lt lv mk ml mn ms nb ne nl nn no pa pl pt pt_BR ro ru rw sk sl
> sq sr [EMAIL PROTECTED] sv th tr uk vi wa xh zh_CN zh_HK zh_TW
> checking build system type... i386-portbld-freebsd6.0
> checking host system type... i386-portbld-freebsd6.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 how to recognise dependent libraries... pass_all
> 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 static flag  works... yes
> 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 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... freebsd6.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++ supports -c -o file.o... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries...
> yes
> checking dynamic linker characteristics... freebsd6.0 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> 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 supports -c -o file.o... yes
> checking whether the f77 linker (/usr/bin/ld) supports shared libraries...
> yes
> checking dynamic linker characteristics... freebsd6.0 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking for Win32... no
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking semaphore.h usability... yes
> checking semaphore.h presence... yes
> checking for semaphore.h... yes
> checking sys/wait.h usability... yes
> checking sys/wait.h presence... yes
> checking for sys/wait.h... yes
> checking for fsync... yes
> checking for strptime... yes
> checking for strtok_r... yes
> checking alloca.h usability... no
> checking alloca.h presence... no
> checking for alloca.h... no
> checking for regexec... yes
> checking for iconv in -liconv... yes
> checking if iconv() handles UTF-8... yes
> checking preferred charset formats for system iconv... found
> checking for %l and %k support in strftime... yes
> checking for Mozilla nspr4 includes in /usr/local/include/nspr... ""
> checking nspr.h usability... yes
> checking nspr.h presence... yes
> checking for nspr.h... yes
> checking prio.h usability... yes
> checking prio.h presence... yes
> checking for prio.h... yes
> checking for Mozilla nspr libraries... yes
> checking for Mozilla nss3 includes in /usr/local/include/nss/nss... ""
> checking nss.h usability... yes
> checking nss.h presence... yes
> checking for nss.h... yes
> checking ssl.h usability... yes
> checking ssl.h presence... yes
> checking for ssl.h... yes
> checking smime.h usability... yes
> checking smime.h presence... yes
> checking for smime.h... yes
> checking for Mozilla nss libraries... yes
> checking for socklen_t... yes
> checking for sendmail... /usr/sbin/sendmail
> checking system mail directory... /var/mail, writable by group mail
> checking for tm_gmtoff in struct tm... yes
> checking for mkstemp... yes
> checking for mkdtemp... yes
> checking for isblank... yes
> checking if ctime_r wants three arguments... no
> checking for gethostbyname_r... no
> checking for gethostbyaddr_r... no
> checking sys/statvfs.h usability... yes
> checking sys/statvfs.h presence... yes
> checking for sys/statvfs.h... yes
> checking for statvfs... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/mount.h usability... no
> checking sys/mount.h presence... yes
> checking for sys/mount.h... yes
> checking for statfs... yes
> checking if system supports getaddrinfo and getnameinfo... yes
> checking for SunOS broken spool format... no
> checking for Kerberos 5... -lkrb5 -lcrypto -lasn1 -lcom_err -lroken
> -lgssapi
> -lcrypt
> checking et/com_err.h usability... yes
> checking et/com_err.h presence... yes
> checking for et/com_err.h... yes
> checking com_err.h usability... yes
> checking com_err.h presence... yes
> checking for com_err.h... yes
> checking for Kerberos 4... no
> checking for purify... impure
> checking for OpenLDAP... yes
> checking if OpenLDAP is version 2.x... yes
> checking for res_query in -lresolv... no
> checking for bind in -lsocket... no
> checking for gethostbyaddr in -lnsl... no
> checking for ber_get_tag in -llber... yes
> checking for ldap_open in -lldap... yes
> checking for ldap_ntlm_bind... no
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for GLIB - version >= 2.0.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log
> for
> the
> *** exact error that occured. This usually means GLIB is incorrectly
> installed.
> checking for pthread_create in -pthread... yes
> checking if pthread_t can be cast to a guint64 without loss of data... no
> checking what warning flags to pass to the C compiler... -Wall
> -Wmissing-prototypes
> checking what language compliance flags to pass to the C compiler...
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking for orbit2-config... /usr/local/bin/orbit2-config
> checking for ORBit - version >= 2.9.8... no
> *** Could not run ORBIT test program, checking why...
> *** The test program failed to compile or link. See the file config.log
> for
> the
> *** exact error that occured. This usually means ORBIT was incorrectly
> installed
> *** or that you have moved ORBit since it was installed. In the latter
> case,
> you
> *** may want to edit the orbit2-config script:
> /usr/local/bin/orbit2-config
> checking for orbit-idl-2... /usr/local/bin/orbit-idl-2
> checking for CORBA include paths... -I  -I
> checking for libgnomeui server directory...
> checking for E_DATA_SERVER_CFLAGS...
> checking for E_DATA_SERVER_LIBS...
> ===>  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
> [EMAIL PROTECTED], and attach (a)
> "/mnt/TrekStor120G/ports/databases/evolution-data-server/work/evolution-data-server-1.6.1/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 ([EMAIL PROTECTED]), because attachments sent to FreeBSD
> mailing
> lists are usually discarded by the mailing list software.
> *** Error code 1
>
> Stop in /mnt/TrekStor120G/ports/databases/evolution-data-server.
> *** Error code 1
>
> Stop in /mnt/TrekStor120G/ports/mail/evolution.
>
> --------------------------------------------------------------
>
> Thanks !
>
>>From: Kris Kennaway <[EMAIL PROTECTED]>
>>To: Arno Schleich <[EMAIL PROTECTED]>
>>CC: freebsd-questions@freebsd.org, [EMAIL PROTECTED]
>>Subject: Re: glib20
>>Date: Tue, 2 May 2006 13:26:46 -0400
>>
>>On Tue, May 02, 2006 at 11:28:46AM +0000, Arno Schleich wrote:
>> > Kris,
>> >
>> > thank You for Your advice. I already had tried that before writing to
>>the
>> > list.
>> >
>> > make deinstall
>> >
>> > and
>> >
>> > make install clean
>> >
>> > for glib-2.10.2
>> >
>> > do not change anything. The same error in the configuration script
>> kept
>> > recurring in a pretty monotonous fashion.
>> > Tried gnomelogalyzer - but it "cannot the determine the reason of
>> build
>> > failure".
>> >
>> > ldconfig -r shows the library is in the loader path yet applications
>>using
>> > it fail at runtime. Gnome desktop and some applications keep working,
>> > albeit very slow ...
>> >
>> > Btw, how can get parts of it "somehow" deleted by executing automated
>> > scripts. This seems like a big glitch in the system akin to the
>> infamous
>> > blue screen ...
>> >
>> > To be honest, it doubt this is the origin of my problem. I had also
>>tried
>> > to deinstall glib-2.10.2 and have an application which depends on it
>> > install it while the dependencies are resolved. This installed
>>glib-2.10.2
>> > perfectly but failed to configure the build of the application as
>> above.
>>
>>Show us the errors, don't just give partial descriptions.
>>
>>Kris
>
>
>><< attach3 >>
>
> _________________________________________________________________
> Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse.
> http://search.msn.at/
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to