Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with an error during an update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
erehwon
n00b
n00b


Joined: 29 Dec 2005
Posts: 21

PostPosted: Fri Aug 24, 2007 2:46 pm    Post subject: Need help with an error during an update Reply with quote

I updated using emerge --update --deep world last night. This morning it mentions a compile error - ERROR: x11-misc/notification-daemon-0.3.7 failed. I need some help fixing this. I'm still a little new with this distro. Thanks for any help.

Here's the log.

>>> Unpacking source...
>>> Unpacking notification-daemon-0.3.7.tar.gz to /var/tmp/portage/x11-misc/notification-daemon-0.3.7/work
* Fixing OMF Makefiles ...
 [ ok ]
* Running elibtoolize in: notification-daemon-0.3.7
* Applying portage-1.5.10.patch ...
* Applying max_cmd_len-1.5.20.patch ...
* Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7 ...
* econf: updating notification-daemon-0.3.7/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating notification-daemon-0.3.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
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 for size_t... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/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 for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux 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 i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
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... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... de nl sv
checking for i686-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 NOTIFICATION_DAEMON... yes
checking for GDK... yes
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for gconftool-2... /usr/bin/gconftool-2
checking dbus version... 1.0.2
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/org.freedesktop.Notifications.service
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/daemon/Makefile
config.status: creating src/themes/Makefile
config.status: creating src/themes/bubble/Makefile
config.status: creating src/themes/standard/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

notification-daemon v0.3.7

prefix............... : /usr
dbus-1 system.d dir.. : /etc/dbus-1/system.d
dbus-1 services dir.. : /usr/share/dbus-1/services

Now type make to compile
Then su to root and type: make install

make all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7'
Making all in data
make[2]: Entering directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/data'
LC_ALL=C ../intltool-merge -s -u -c ../po/.intltool-merge-cache ../po notification-daemon.schemas.in notification-daemon.schemas
Generating and caching the translation database
Merging translations into notification-daemon.schemas.
make[2]: Leaving directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/data'
Making all in po
make[2]: Entering directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/po'
file=`echo de | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file de.po
file=`echo nl | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file nl.po
file=`echo sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file sv.po
make[2]: Leaving directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/po'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/src'
Making all in daemon
make[3]: Entering directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/src/daemon'
dbus-binding-tool --mode=glib-server --prefix=notification_daemon \
./notificationdaemon.xml > notificationdaemon-dbus-glue.h
dbus-binding-tool: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [notificationdaemon-dbus-glue.h] Error 127
make[3]: Leaving directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/src/daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/notification-daemon-0.3.7/work/notification-daemon-0.3.7'
make: *** [all] Error 2

!!! ERROR: x11-misc/notification-daemon-0.3.7 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1328: Called gnome2_src_compile
gnome2.eclass, line 71: Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-misc/notification-daemon-0.3.7/temp/build.log'.
Back to top
View user's profile Send private message
gregw
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2004
Posts: 106
Location: Warrington, Cheshire, England

PostPosted: Fri Aug 24, 2007 2:57 pm    Post subject: Reply with quote

Code:
 error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory


There has been an update to expat that causes a few things to break, there is a good thread about this issue here:
https://forums.gentoo.org/viewtopic-t-577629-highlight-expat.html

You'll need to rebuild anything that links against this library
Code:
 revdep-rebuild -X --library libexpat.so.0
Back to top
View user's profile Send private message
erehwon
n00b
n00b


Joined: 29 Dec 2005
Posts: 21

PostPosted: Fri Aug 24, 2007 8:22 pm    Post subject: Reply with quote

Thanks. I'm doing that rebuild right now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum