LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 07-21-2011, 06:39 AM   #1
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Exclamation Can't get avahi to install (trying to get Netatalk and Avahi running)


Hi all

Hoping someone can point me in the right direction on this one: I've just tried to emerge avahi as part of implementing AFP support within our server here.

Here's the end of the emerge - needless to say it's unsuccessful:

Code:
make: *** [all] Error 2
emake failed
 * ERROR: net-dns/avahi-0.6.28-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 10791:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *
 * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.28-r1',
 * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.28-r1'.
 * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/environment'.
 * S: '/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28'

>>> Failed to emerge net-dns/avahi-0.6.28-r1, Log file:

>>>  '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'

 * Messages for package net-dns/avahi-0.6.28-r1:

 * ERROR: net-dns/avahi-0.6.28-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 10791:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *
 * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.28-r1',
 * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.28-r1'.
 * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/environment'.
 * S: '/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28'

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Here's my log file:
Code:
 * Package:    net-dns/avahi-0.6.28-r1
 * Repository: gentoo
 * Maintainer: swegener@gentoo.org
 * USE:        amd64 dbus elibc_glibc gdbm kernel_linux multilib python userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking avahi-0.6.28.tar.gz to /var/tmp/portage/net-dns/avahi-0.6.28-r1/work
>>> Source unpacked in /var/tmp/portage/net-dns/avahi-0.6.28-r1/work
>>> Preparing source in /var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28 ...
 * Applying netlink-request-all-matches-when-requesting-interface.patch ...
[ ok ]
 * Applying avahi-0.6.28-CVE-2011-1002.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28 ...
 * econf: updating avahi-0.6.28/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating avahi-0.6.28/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var --with-distro=gentoo --disable-python-dbus --disable-pygtk --disable-xmltoman --disable-monodoc --disable-introspection --enable-glib --disable-tests --disable-autoipd --disable-compat-libdns_sd --disable-compat-howl --disable-doxygen-doc --disable-mono --enable-dbus --enable-python --disable-gtk3 --disable-gtk --disable-qt3 --disable-qt4 --enable-gdbm --enable-python-dbus --disable-pygtk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for stow... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu99 -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking whether libssp exists... no
checking whether stack-smashing protection is available... yes
checking whether stack-smashing protection is buggy... no
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -fstack-protector... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -fstack-protector... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu99... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc -std=gnu99 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C++ compiler works... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking for linux/netlink.h... yes
checking for net/route.h... no
checking for sys/filio.h... no
checking for sys/sysctl.h... yes
checking for struct lifconf... no
checking for struct ip_mreqn... yes
checking checking whether rtnetlink.h can be included with -std=c99... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -std=c99... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wall... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -W... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wextra... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -pedantic... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -pipe... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wformat... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wold-style-definition... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wdeclaration-after-statement... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wfloat-equal... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-declarations... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-prototypes... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wstrict-prototypes... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wredundant-decls... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wmissing-noreturn... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wshadow... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wendif-labels... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wpointer-arith... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wbad-function-cast... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wcast-qual... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wcast-align... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wwrite-strings... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -fdiagnostics-show-option... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -Wno-cast-qual... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 accepts -fno-strict-aliasing... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for library containing inet_ntop... none required
checking for library containing recv... none required
checking whether CMSG_SPACE is declared... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for gethostname... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for uname... yes
checking for setresuid... yes
checking for setreuid... yes
checking for setresgid... yes
checking for setregid... yes
checking for strcasecmp... yes
checking for gettimeofday... yes
checking for putenv... yes
checking for strncasecmp... yes
checking for strlcpy... no
checking for gethostbyname... yes
checking for seteuid... yes
checking for setegid... yes
checking for setproctitle... no
checking for getprogname... no
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for mode_t... yes
checking for pid_t... yes
checking whether environ is declared... yes
checking for gcc -fvisibility=hidden support... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for chroot... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... (cached) yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for kqueue... no
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.3
checking for XML::Parser... ok
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) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB20... yes
checking for GOBJECT... yes
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for DBUS... yes
Your D-Bus version is 1,4,12.
checking for dbus_connection_close... yes
checking for dbus_bus_get_private... yes
checking for XML_ParserCreate in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lbsdxml... no
checking for gdbm_open in -lgdbm... yes
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for LIBDAEMON... yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for python module dbus... yes
checking for python module socket... yes
checking for python module gdbm... yes
configure: WARNING: *** Not rebuilding man pages as xmltoman is not found ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avahi-common/Makefile
config.status: creating avahi-core/Makefile
config.status: creating avahi-glib/Makefile
config.status: creating avahi-gobject/Makefile
config.status: creating avahi-qt/Makefile
config.status: creating avahi-daemon/Makefile
config.status: creating avahi-daemon/avahi-dbus.conf
config.status: creating avahi-discover-standalone/Makefile
config.status: creating avahi-client/Makefile
config.status: creating initscript/Makefile
config.status: creating initscript/debian/Makefile
config.status: creating initscript/gentoo/Makefile
config.status: creating initscript/archlinux/Makefile
config.status: creating initscript/suse/Makefile
config.status: creating initscript/fedora/Makefile
config.status: creating initscript/lfs/Makefile
config.status: creating initscript/mandriva/Makefile
config.status: creating initscript/darwin/Makefile
config.status: creating initscript/freebsd/Makefile
config.status: creating initscript/slackware/Makefile
config.status: creating avahi-dnsconfd/Makefile
config.status: creating avahi-utils/Makefile
config.status: creating avahi-python/Makefile
config.status: creating avahi-python/avahi/Makefile
config.status: creating avahi-python/avahi-discover/Makefile
config.status: creating examples/Makefile
config.status: creating common/Makefile
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: creating service-type-database/Makefile
config.status: creating avahi-sharp/Makefile
config.status: creating avahi-ui-sharp/Makefile
config.status: creating avahi-compat-libdns_sd/Makefile
config.status: creating avahi-compat-howl/Makefile
config.status: creating avahi-compat-howl/samples/Makefile
config.status: creating avahi-autoipd/Makefile
config.status: creating avahi-ui/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

 ---{ avahi 0.6.28 }---

    prefix:                                    /usr
    sysconfdir:                                /etc
    localstatedir:                             /var
    avahi socket:                              /var/run/avahi-daemon/socket
    dbus-1 system.d dir:                       /etc/dbus-1/system.d
    dbus-1 version:                            1.4.12
    dbus-1 system socket:                      unix:path=/var/run/dbus/system_bus_socket
    C Compiler:                                x86_64-pc-linux-gnu-gcc -std=gnu99
    CFLAGS:                                    -O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing
    Enable GLIB:                               yes
    Enable GLIB GObject:                       yes
    Enable GObject Introspection:              no (disabled, use --enable-introspection to enable)
    Enable GTK 2.0:                            no
    Enable GTK 3.0:                            no
    Enable D-Bus:                              yes
    With XML:                                  expat
    Enable GDBM:                               yes
    Enable DBM:                                no
    Enable libdaemon:                          yes
    Enable Python:                             yes
    Enable pygtk:                              no
    Enable python-dbus:                        yes
    Enable QT3:                                no
    Enable QT4:                                no
    Enable Mono:                               no
    Enable Monodoc:                            no
    Distribution/OS:                           gentoo
    User for avahi-daemon:                     avahi
    Group for avahi-daemon:                    avahi
    Priviliged access group for Avahi clients: netdev
    User for avahi-autoipd:                    avahi-autoipd
    Group for avahi-autoipd:                   avahi-autoipd
    Enable chroot():                           yes
    Enable Linux inotify:                      yes
    Enable stack-smashing protection:          yes
    systemd unit directory:                    

    Building libavahi-core              yes
    Building avahi-daemon:              yes
    Building avahi-dnsconfd:            yes
    Building libavahi-client:           yes
    Building avahi-utils:               yes
    Building avahi-python:              no   (You need python, pygtk and python-dbus!)
    Building libavahi-glib:             yes
    Building libavahi-gobject:          yes
    Building avahi-discover-standalone: no
    Building libavahi-qt3:              no
    Building libavahi-qt4:              no
    Building avahi-sharp:               no
    Building avahi-compat-libdns_sd:    no
    Building avahi-compat-howl:         no
    Building tests:                     no
    Building avahi-core documentation:  no
    Building avahi-autoipd:             no
    Building libavahi-ui:               no

>>> Source configured.
end part 1 - part 2 follows
 
Old 07-21-2011, 06:39 AM   #2
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Part 2
Code:
>>> Compiling source in /var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28 ...
make -j1 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28'
Making all in common
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/common'
Making all in avahi-common
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-common'
  CC     libavahi_common_la-malloc.lo
  CC     libavahi_common_la-address.lo
  CC     libavahi_common_la-alternative.lo
  CC     libavahi_common_la-error.lo
  CC     libavahi_common_la-strlst.lo
  CC     libavahi_common_la-domain.lo
  CC     libavahi_common_la-timeval.lo
  CC     libavahi_common_la-simple-watch.lo
  CC     libavahi_common_la-thread-watch.lo
  CC     libavahi_common_la-rlist.lo
  CC     libavahi_common_la-utf8.lo
  CC     libavahi_common_la-i18n.lo
  CCLD   libavahi-common.la
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-common'
Making all in avahi-core
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-core'
  CC     libavahi_core_la-timeeventq.lo
  CC     libavahi_core_la-iface.lo
  CC     libavahi_core_la-server.lo
  CC     libavahi_core_la-entry.lo
  CC     libavahi_core_la-prioq.lo
  CC     libavahi_core_la-cache.lo
  CC     libavahi_core_la-socket.lo
  CC     libavahi_core_la-response-sched.lo
  CC     libavahi_core_la-query-sched.lo
  CC     libavahi_core_la-probe-sched.lo
  CC     libavahi_core_la-announce.lo
  CC     libavahi_core_la-browse.lo
  CC     libavahi_core_la-rrlist.lo
  CC     libavahi_core_la-resolve-host-name.lo
  CC     libavahi_core_la-resolve-address.lo
  CC     libavahi_core_la-browse-domain.lo
  CC     libavahi_core_la-browse-service-type.lo
  CC     libavahi_core_la-browse-service.lo
  CC     libavahi_core_la-resolve-service.lo
  CC     libavahi_core_la-dns.lo
  CC     libavahi_core_la-rr.lo
  CC     libavahi_core_la-log.lo
  CC     libavahi_core_la-browse-dns-server.lo
  CC     libavahi_core_la-fdutil.lo
  CC     libavahi_core_la-util.lo
  CC     libavahi_core_la-hashmap.lo
  CC     libavahi_core_la-wide-area.lo
  CC     libavahi_core_la-multicast-lookup.lo
  CC     libavahi_core_la-querier.lo
  CC     libavahi_core_la-addr-util.lo
  CC     libavahi_core_la-domain-util.lo
  CC     libavahi_core_la-iface-linux.lo
  CC     libavahi_core_la-netlink.lo
  CCLD   libavahi-core.la
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-core'
Making all in avahi-qt
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-qt'
make  all-am
make[3]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-qt'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-qt'
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-qt'
Making all in avahi-client
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-client'
  CC     libavahi_client_la-client.lo
  CC     libavahi_client_la-entrygroup.lo
  CC     libavahi_client_la-browser.lo
  CC     libavahi_client_la-resolver.lo
  CC     libavahi_client_la-xdg-config.lo
  CC     libavahi_client_la-check-nss.lo
  CC     libavahi_client_la-dbus.lo
  CC     libavahi_client_la-dbus-watch-glue.lo
  CCLD   libavahi-client.la
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-client'
Making all in avahi-glib
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-glib'
  CC     libavahi_glib_la-glib-watch.lo
  CC     libavahi_glib_la-glib-malloc.lo
  CCLD   libavahi-glib.la
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-glib'
Making all in avahi-gobject
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-gobject'
  GEN    signals-marshal.list
  GEN    signals-marshal.h
  GEN    signals-marshal.c
  GEN    ga-client-enumtypes.h
  GEN    ga-client-enumtypes.c
  GEN    ga-entry-group-enumtypes.h
  GEN    ga-entry-group-enumtypes.c
  GEN    ga-enums-enumtypes.h
  GEN    ga-enums-enumtypes.c
make  all-am
make[3]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-gobject'
  CC     libavahi_gobject_la-ga-client.lo
  CC     libavahi_gobject_la-ga-entry-group.lo
  CC     libavahi_gobject_la-ga-error.lo
  CC     libavahi_gobject_la-ga-record-browser.lo
  CC     libavahi_gobject_la-ga-service-browser.lo
  CC     libavahi_gobject_la-ga-service-resolver.lo
  CC     libavahi_gobject_la-signals-marshal.lo
signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT':
signals-marshal.c:90: warning: ISO C forbids conversion of object pointer to function pointer type
signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_UINT':
signals-marshal.c:139: warning: ISO C forbids conversion of object pointer to function pointer type
signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT':
signals-marshal.c:186: warning: ISO C forbids conversion of object pointer to function pointer type
  CC     libavahi_gobject_la-ga-client-enumtypes.lo
  CC     libavahi_gobject_la-ga-entry-group-enumtypes.lo
  CC     libavahi_gobject_la-ga-enums-enumtypes.lo
  CCLD   libavahi-gobject.la
make[3]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-gobject'
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-gobject'
Making all in avahi-discover-standalone
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-discover-standalone'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-discover-standalone'
Making all in avahi-daemon
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-daemon'
  CC     avahi_daemon-main.o
  CC     avahi_daemon-simple-protocol.o
  CC     avahi_daemon-static-services.o
  CC     avahi_daemon-static-hosts.o
  CC     avahi_daemon-ini-file-parser.o
  CC     avahi_daemon-setproctitle.o
  CC     avahi_daemon-sd-daemon.o
sd-daemon.c: In function 'sd_notify':
sd-daemon.c:327: warning: unused parameter 'unset_environment' [-Wunused-parameter]
sd-daemon.c:327: warning: unused parameter 'state' [-Wunused-parameter]
sd-daemon.c: In function 'touch':
sd-daemon.c:445: error: 'O_CLOEXEC' undeclared (first use in this function)
sd-daemon.c:445: error: (Each undeclared identifier is reported only once
sd-daemon.c:445: error: for each function it appears in.)
make[2]: *** [avahi_daemon-sd-daemon.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28/avahi-daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28'
make: *** [all] Error 2
emake failed
 * ERROR: net-dns/avahi-0.6.28-r1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 10791:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =net-dns/avahi-0.6.28-r1',
 * the complete build log and the output of 'emerge -pqv =net-dns/avahi-0.6.28-r1'.
 * The complete build log is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/avahi-0.6.28-r1/temp/environment'.
 * S: '/var/tmp/portage/net-dns/avahi-0.6.28-r1/work/avahi-0.6.28'
Thanks in advance for any suggestions or solutions to the thorny little issue..

Last edited by MarcusWebb1966; 07-21-2011 at 06:40 AM. Reason: politeness
 
Old 07-22-2011, 05:39 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
I don't use avahi so I can't help. But if you can't sort this out yourself, please, report it at bugs.gentoo.org. You are likely to get better help there about this issue. If you open the bug, please, link it here so anyone stumping into this same problem can follow your steps.
 
Old 07-25-2011, 06:34 AM   #4
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Duly done... Here's the link:

Gentoo Bug Link
 
Old 07-28-2011, 04:55 AM   #5
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Well, i92guboj, you were so right, and the pain of updating so much has taught me a valuable lesson: Never trust to instinct - follow the rules.

Anyway, that aside, the situation has now moved on and avahi and netatalk are both installed as per the Gentoo wiki on getting it running. However, that's not terribly explicatory. And I know you don't run avahi but perhaps some soul out there has been through this torturous minefield of integration and can put some information in my direction as to where to look next.
Sample output when I try to start the process:
Code:
ho12 netatalk # /etc/init.d/atalk restart
 * Stopping afpd ...                                                              [ ok ]
 * Unregistering ho12:Workstation ...
Can't unregister ho12:Workstation@*                                               [ !! ]
 * Unregistering ho12:netatalk ...
Can't unregister ho12:netatalk@*                                                  [ !! ]
 * Stopping atalkd ...                                                            [ ok ]
 * Stopping cnid_metad ...                                                        [ ok ]
 * Starting atalkd ...                                                            [ !! ]
 *   Registering ho12:Workstation                                                 [ !! ]
 *   Registering ho12:netatalk                                                    [ !! ]
 * Starting cnid_metad ...                                                        [ ok ]
 * Starting afpd ...                                                              [ ok ]
And from /var/log/messages, we have the following relevant information:

Code:
Jul 28 09:46:03 ho12 afpd[15845]: shutting down on signal 15
Jul 28 09:46:03 ho12 afpd[21341]: Registering CNID module [last]
Jul 28 09:46:03 ho12 afpd[21341]: Registering CNID module [cdb]
Jul 28 09:46:03 ho12 afpd[21341]: Registering CNID module [dbd]
Jul 28 09:46:03 ho12 afpd[21341]: Loading ConfigFile
Jul 28 09:46:03 ho12 afpd[21341]: ASIP started on 192.168.0.2:548(5) (2.0.5)
Jul 28 09:46:03 ho12 afpd[21341]: uam: loading (/usr/lib64/netatalk/uams_randnum.so)
Jul 28 09:46:03 ho12 afpd[21341]: uam: uams_randnum.so loaded
Jul 28 09:46:03 ho12 afpd[21341]: uam: loading (/usr/lib64/netatalk/uams_dhx.so)
Jul 28 09:46:03 ho12 afpd[21341]: uam: uams_dhx.so loaded
Jul 28 09:46:03 ho12 afpd[21341]: uam: "DHCAST128" available
Jul 28 09:46:03 ho12 afpd[21341]: uam: "2-Way Randnum exchange" available
Jul 28 09:46:03 ho12 afpd[21341]: uam: "Randnum exchange" available
Jul 28 09:46:03 ho12 afpd[21341]: Finished parsing Config File
 
  


Reply

Tags
avahi, netatalk


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to stop avahi-daemon from running and starting up? M$ISBS Ubuntu 2 03-24-2011 08:56 PM
avahi-autipd? qwertyjjj Linux - Newbie 0 08-21-2009 04:10 AM
remove avahi bradvan Red Hat 8 07-15-2009 01:05 PM
How To Remove 'avahi'? wkuballa Linux - Networking 9 11-21-2008 02:06 PM
Do I need avahi? billymayday Linux - Software 4 05-29-2006 04:10 PM


All times are GMT -5. The time now is 07:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration