trying to compile Imagemagick

Andrew virgule88 at videotron.ca
Wed Apr 6 14:52:01 MDT 2005


On Wed, 2005-04-06 at 15:48, Harold Shanafield wrote:
> > > From: Andrew <virgule88 at videotron.ca>
> > Subject: 
> > Date: Tue, 05 Apr 2005 20:22:53 -0400
> > To: Yellow Dog Linux General Discussion List
> > 	<yellowdog-general at lists.terrasoftsolutions.com>
> > 
> > On Tue, 2005-04-05 at 11:56, Harold Shanafield
> > wrote:
> > > Hi All,
> > > 
> > > Trying to build from source on ydl 3.01 system but
> > get
> > > this error.  Any help on what I did wrong or need
> > to
> > > update would be appreciated.  Just configured and
> > > compiled from source.
> > > 
> > > Thanks,
> > > h
> > > 
> > > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm
> > -f
> > > "$depbase.Tpo"; exit 1; fi
> > > depbase=`echo Magick++/lib/STL.lo | sed
> > > 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
> > > if /bin/sh ./libtool --silent --tag=CXX
> > --mode=compile
> > > g++ -DHAVE_CONFIG_H -I. -I. -I./magick  -I. -I.
> > > -I./Magick++/lib -I/usr/include/freetype2
> > > -I/usr/X11R6/include -I/usr/X11R6/include/X11
> > > -I/usr/local/include/libxml2  -pthread -MT
> > > Magick++/lib/STL.lo -MD -MP -MF "$depbase.Tpo" -c
> > -o
> > > Magick++/lib/STL.lo Magick++/lib/STL.cpp; \
> > > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm
> > -f
> > > "$depbase.Tpo"; exit 1; fi
> > > depbase=`echo Magick++/lib/Thread.lo | sed
> > > 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
> > > if /bin/sh ./libtool --silent --tag=CXX
> > --mode=compile
> > > g++ -DHAVE_CONFIG_H -I. -I. -I./magick  -I. -I.
> > > -I./Magick++/lib -I/usr/include/freetype2
> > > -I/usr/X11R6/include -I/usr/X11R6/include/X11
> > > -I/usr/local/include/libxml2  -pthread -MT
> > > Magick++/lib/Thread.lo -MD -MP -MF "$depbase.Tpo"
> > -c
> > > -o Magick++/lib/Thread.lo Magick++/lib/Thread.cpp;
> > \
> > > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm
> > -f
> > > "$depbase.Tpo"; exit 1; fi
> > > In file included from
> > /usr/include/c++/3.2.2/map:66,
> > >                  from
> > Magick++/lib/Magick++/STL.h:16,
> > >                  from Magick++/lib/STL.cpp:11:
> > > /usr/include/c++/3.2.2/bits/stl_tree.h:220:
> > internal
> > > error: Segmentation fault
> > > Please submit a full bug report,
> > > with preprocessed source if appropriate.
> > > See
> > <URL:http://bugs.terrasoftsolutions.com/bugzilla/>
> > > for instructions.
> > > make[1]: *** [Magick++/lib/STL.lo] Error 1
> > > make[1]: *** Waiting for unfinished jobs....
> > > make[1]: Leaving directory
> > > `/usr/local/src/ImageMagick-6.2.1'
> > > make: *** [all] Error 2
> > 
> > This is a bug or a programming error in the source
> > code. Its not your
> > fault by any means. 
> > 
> > I have success with the src.rpm from sourceforge. Go
> > to
> > <http://imagemagick.sourceforge.net/>, follow
> > [Download] link and
> > download "ImageMagick-6.2.1-1.src.rpm" then use
> > rpmbuild:
> > 
> > Use rpmbuild:
> > ]# su -c 'rpmbuild --rebuild
> > ImageMagick-6.2.1-1.src.rpm' [ENTER]
> > 
> > ppc.rpms will land in /usr/src/yellowdog/RPMS/ppc/
> > Install/update these the usual way (rpm -U...)
> > 
> > Good Luck ;)
> 
> Thanks for the response, tried the above and was
> prompted to install libtiff-devel, which I tried to do
> with a 'yum install libtiff-devel.'  However, I got
> the following message: 
> Test transaction complete, Success!
> error: rpmdbNextIterator: skipping h#     531 Header
> V3 DSA signature: BAD, key ID aeb6b9c4
> libtiff-devel 100 % done 1/1 
> error: rpmdbNextIterator: skipping h#     531 Header
> V3 DSA signature: BAD, key ID aeb6b9c4
> rpmdb: PANIC: Invalid argument
> rpmdb: fatal region error detected; run recovery
> rpmdb: fatal region error detected; run recovery
> rpmdb: fatal region error detected; run recovery
> rpmdb: fatal region error detected; run recovery
> rpmdb: fatal region error detected; run recovery
> rpmdb: fatal region error detected; run recovery
> error: db4 error(-30982) from dbcursor->c_put:
> DB_RUNRECOVERY: Fatal error, run database recovery
> rpmdb: fatal region error detected; run recovery
> error: db4 error(-30982) from db->sync:
> DB_RUNRECOVERY: Fatal error, run database recovery
> etc.
> 
> does this mean my rpmdb is corrupted?
> 
> I tried an rpm -vv --rebuilddb but get a segmentation
> fault after a lot of processing.
> 
> -h

hmmm... smells like faulty disk?



More information about the yellowdog-general mailing list