Re: gnucash problems...

erchache2000 <[email protected]> Wed, 30 Aug 2006 09:22:56 +0200
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Joe Auty escribió:
> Do you have pkgconfig installed?
>
> If not, try a:
>
> port installed | grep pkgconfig
>
> If you don't get anything,
>
> sudo port -v install pkgconfig
>
>
> looks like gnucash is missing pkgconfig as a dependency.
>
>
>
> On Aug 29, 2006, at 2:18 PM, erchache2000 wrote:
>
>> Hi, when try to install gnucash via: PORT INSTALL GNUCASH, show this:
>>
>> tlaloc:/Users/alejandrosanchezmarin root# port install gnucash
>> --->  Configuring yelp
>> Error: Target com.apple.configure returned: configure failure: shell
>> command "cd
>> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_yelp/work/yelp-2.6.5"
>>
>> && CPPFLAGS="-L/opt/local/lib -I/opt/local/include"
>> CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" ./configure
>> --prefix=/opt/local" returned error 1
>> Command output: checking for dcgettext... yes
>> checking for gmsgfmt... /opt/local/bin/msgfmt
>> checking for xgettext... (cached) /opt/local/bin/xgettext
>> checking for catalogs to be installed...  af am ar az be bg bn bs ca cs
>> cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is
>> it ja ka kn ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt
>> pt_BR ro ru sk sl sq sr sr@Latn sv ta tg th tk tr uk vi wa zh_CN
>> zh_TW zu
>> checking for
>>         gconf-2.0
>>         gnome-vfs-2.0 >= 1.1
>>         gtk+-2.0 >= 2.3.1
>>         libbonobo-2.0 >= 1.108.0
>>         libglade-2.0 >= 2.0.0
>>         libgnome-2.0 >= 2.0.2
>>         libgnomeui-2.0 >= 1.103.0
>>         libgtkhtml-2.0 >= 2.1.2
>>         libxml-2.0 >= 2.6.5
>>         libxslt >= 1.1.4
>>         libexslt >= 0.8.1
>> ... Package libgnomeui-2.0 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `libgnomeui-2.0.pc' to
>> the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0'
>> found
>> configure: error: Library requirements (
>>         gconf-2.0
>>         gnome-vfs-2.0 >= 1.1
>>         gtk+-2.0 >= 2.3.1
>>         libbonobo-2.0 >= 1.108.0
>>         libglade-2.0 >= 2.0.0
>>         libgnome-2.0 >= 2.0.2
>>         libgnomeui-2.0 >= 1.103.0
>>         libgtkhtml-2.0 >= 2.1.2
>>         libxml-2.0 >= 2.6.5
>>         libxslt >= 1.1.4
>>         libexslt >= 0.8.1
>> ) not met; consider adjusting the PKG_CONFIG_PATH environment variable
>> if your libraries are in a nonstandard prefix so pkg-config can find
>> them.
>>
>> Error: The following dependencies failed to build: gnucash-docs yelp
>> goffice libgnomeprintui gnome-icon-theme hicolor-icon-theme
>> libgnomeprint bison libgnomecups cups-headers libgsf libgnomeui
>> libgtkhtml3 gal
>> Error: Status 1 encountered during processing.
>>
>> This see i need to install libgnomeui, but when try to install
>> too....see that:
>>
>> tlaloc:/Users/alejandrosanchezmarin root# port install libgnomeui
>> --->  Building libgnomeui with target all
>> Error: Target com.apple.build returned: shell command "cd
>> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_libgnomeui/work/libgnomeui-2.14.1"
>>
>> && make all" returned error 2
>> Command output: make  all-recursive
>> Making all in libgnomeui
>> make  all-recursive
>> Making all in pixmaps
>> make  all-am
>> make[5]: Nothing to be done for `all-am'.
>> Making all in file-chooser
>> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
>> -I.. -I.. -DXTHREADS -DORBIT2=1 -D_REENTRANT
>> -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
>> -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
>> -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
>> -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2
>> -I/opt/local/include -I/opt/local/include/libpng12 -I/usr/X11R6/include
>> -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0
>> -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gconf/2
>> -I/opt/local/include/gnome-vfs-2.0
>> -I/opt/local/lib/gnome-vfs-2.0/include
>> -I/opt/local/include/bonobo-activation-2.0   -D_FILE_OFFSET_BITS=64
>> -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
>> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED
>> -L/opt/local/lib -I/opt/local/include  -g -O2 -MT
>> gtkfilesystemgnomevfs.lo -MD -MP -MF ".deps/gtkfilesystemgnomevfs.Tpo" \
>>   -c -o gtkfilesystemgnomevfs.lo `test -f 'gtkfilesystemgnomevfs.c' ||
>> echo './'`gtkfilesystemgnomevfs.c; \
>> then mv -f ".deps/gtkfilesystemgnomevfs.Tpo"
>> ".deps/gtkfilesystemgnomevfs.Plo"; \
>> else rm -f ".deps/gtkfilesystemgnomevfs.Tpo"; exit 1; \
>> fi
>>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DXTHREADS -DORBIT2=1
>> -D_REENTRANT -I/opt/local/include/gtk-2.0
>> -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
>> -I/opt/local/include/cairo -I/opt/local/include/pango-1.0
>> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
>> -I/opt/local/include/freetype2 -I/opt/local/include
>> -I/opt/local/include/libpng12 -I/usr/X11R6/include
>> -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0
>> -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/gconf/2
>> -I/opt/local/include/gnome-vfs-2.0
>> -I/opt/local/lib/gnome-vfs-2.0/include
>> -I/opt/local/include/bonobo-activation-2.0 -D_FILE_OFFSET_BITS=64
>> -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
>> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED
>> -L/opt/local/lib -I/opt/local/include -g -O2 -MT
>> gtkfilesystemgnomevfs.lo -MD -MP -MF .deps/gtkfilesystemgnomevfs.Tpo -c
>> gtkfilesystemgnomevfs.c  -fno-common -DPIC -o
>> .libs/gtkfilesystemgnomevfs.o
>> gtkfilesystemgnomevfs.c: In function
>> 'gtk_file_system_gnome_vfs_iface_init':
>> gtkfilesystemgnomevfs.c:387: warning: assignment from incompatible
>> pointer type
>> gtkfilesystemgnomevfs.c:388: warning: assignment from incompatible
>> pointer type
>> gtkfilesystemgnomevfs.c:392: warning: assignment from incompatible
>> pointer type
>> gtkfilesystemgnomevfs.c:394: error: 'struct _GtkFileSystemIface' has no
>> member named 'volume_render_icon'
>> gtkfilesystemgnomevfs.c:402: error: 'struct _GtkFileSystemIface' has no
>> member named 'render_icon'
>> make[2]: *** [gtkfilesystemgnomevfs.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Error: Status 1 encountered during processing.
>>
>> Well, this see a gnome problem, but i cant install gnucash on this
>> point.
>>
>> Any help? On web and irc nobody can help me...
>>
>> I'm waiting for your replies.
>>
>> Thanks.
>>
>>
>> _______________________________________________
>> Darwinports mailing list
>> [email protected]
>> http://www.opendarwin.org/mailman/listinfo/darwinports
>
>
Not runs....

This sing for me:

tlaloc:/Users/alejandrosanchezmarin root# port -v install pkgconfig
--->  Cleaning pkgconfig
--->  Removing workpath for pkgconfig


tlaloc:/Users/alejandrosanchezmarin root# port -v install gnucash
--->  Configuring yelp
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... found
checking for perl... /opt/local/bin/perl
checking for XML::Parser... ok
checking for iconv... /opt/local/bin/iconv
checking for msgfmt... /opt/local/bin/msgfmt
checking for msgmerge... /opt/local/bin/msgmerge
checking for xgettext... /opt/local/bin/xgettext
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... powerpc-apple-darwin8.7.0
checking host system type... powerpc-apple-darwin8.7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.7.0 dyld
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 g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... /opt/local/bin/pkg-config
checking for orbit2-config... /opt/local/bin/orbit2-config
checking for ORBit - version >= 2.3.0... yes
checking for orbit-idl-2... /opt/local/bin/orbit-idl-2
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.12.2)
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... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /opt/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... (cached) /opt/local/bin/xgettext
checking for catalogs to be installed...  af am ar az be bg bn bs ca cs
cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is
it ja ka kn ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt
pt_BR ro ru sk sl sq sr sr@Latn sv ta tg th tk tr uk vi wa zh_CN zh_TW zu
checking for
        gconf-2.0
        gnome-vfs-2.0 >= 1.1
        gtk+-2.0 >= 2.3.1
        libbonobo-2.0 >= 1.108.0
        libglade-2.0 >= 2.0.0
        libgnome-2.0 >= 2.0.2
        libgnomeui-2.0 >= 1.103.0
        libgtkhtml-2.0 >= 2.1.2
        libxml-2.0 >= 2.6.5
        libxslt >= 1.1.4
        libexslt >= 0.8.1
... Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc' to
the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found
configure: error: Library requirements (
        gconf-2.0
        gnome-vfs-2.0 >= 1.1
        gtk+-2.0 >= 2.3.1
        libbonobo-2.0 >= 1.108.0
        libglade-2.0 >= 2.0.0
        libgnome-2.0 >= 2.0.2
        libgnomeui-2.0 >= 1.103.0
        libgtkhtml-2.0 >= 2.1.2
        libxml-2.0 >= 2.6.5
        libxslt >= 1.1.4
        libexslt >= 0.8.1
) not met; consider adjusting the PKG_CONFIG_PATH environment variable
if your libraries are in a nonstandard prefix so pkg-config can find them.
Error: Target com.apple.configure returned: configure failure: shell
command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_yelp/work/yelp-2.6.5"
&& CPPFLAGS="-L/opt/local/lib -I/opt/local/include"
CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" ./configure
--prefix=/opt/local" returned error 1
Command output: checking for dcgettext... yes
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... (cached) /opt/local/bin/xgettext
checking for catalogs to be installed...  af am ar az be bg bn bs ca cs
cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is
it ja ka kn ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt
pt_BR ro ru sk sl sq sr sr@Latn sv ta tg th tk tr uk vi wa zh_CN zh_TW zu
checking for
        gconf-2.0
        gnome-vfs-2.0 >= 1.1
        gtk+-2.0 >= 2.3.1
        libbonobo-2.0 >= 1.108.0
        libglade-2.0 >= 2.0.0
        libgnome-2.0 >= 2.0.2
        libgnomeui-2.0 >= 1.103.0
        libgtkhtml-2.0 >= 2.1.2
        libxml-2.0 >= 2.6.5
        libxslt >= 1.1.4
        libexslt >= 0.8.1
... Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc' to
the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found
configure: error: Library requirements (
        gconf-2.0
        gnome-vfs-2.0 >= 1.1
        gtk+-2.0 >= 2.3.1
        libbonobo-2.0 >= 1.108.0
        libglade-2.0 >= 2.0.0
        libgnome-2.0 >= 2.0.2
        libgnomeui-2.0 >= 1.103.0
        libgtkhtml-2.0 >= 2.1.2
        libxml-2.0 >= 2.6.5
        libxslt >= 1.1.4
        libexslt >= 0.8.1
) not met; consider adjusting the PKG_CONFIG_PATH environment variable
if your libraries are in a nonstandard prefix so pkg-config can find them.

Warning: the following items did not execute (for yelp):
com.apple.activate com.apple.configure com.apple.build
com.apple.destroot com.apple.install
Error: The following dependencies failed to build: gnucash-docs yelp
goffice libgnomeprintui gnome-icon-theme hicolor-icon-theme
libgnomeprint bison libgnomecups cups-headers libgsf libgnomeui
libgtkhtml3 gal
Error: Status 1 encountered during processing.

Any ideas? :-S