Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to emerge ImageMagick
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
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Fri Jan 03, 2003 4:29 pm    Post subject: Trying to emerge ImageMagick Reply with quote

Hi

I'm not having any luck emerging ImageMagic. It always errors at the same point, during build of PerlMagick, can't find -lMagick. I've tried both the stable ImageMagic and Masked, same with Perl, no go.
I assume ld is looking for Magick.o, which is in the /PerlMagick directory. I also copied into the LD_RUN_PATH, /usr/lib and /usr/X11R6/lib, still same error.

<snip>
touch perl-sources
( cd PerlMagick && make CC='gcc' && \
make CC='gcc' install)
make[3]: Entering directory `/var/tmp/portage/imagemagick-5.4.7.4/work/ImageMagick-5.4.7/PerlMagick'
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
gcc -c -I../ -I.. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/freetype2 -I/usr/include/libxml2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe -DVERSION=\"5.47\" -DXS_VERSION=\"5.47\" -fpic "-I/usr/lib/perl5/5.6.1/i686-linux/CORE" -DHAVE_CONFIG_H Magick.c
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" gcc -shared -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/Magick.so -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -L/usr/lib -lMagick -ljbig -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
make[3]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/imagemagick-5.4.7.4/work/ImageMagick-5.4.7/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/var/tmp/portage/imagemagick-5.4.7.4/work/ImageMagick-5.4.7'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/imagemagick-5.4.7.4/work/ImageMagick-5.4.7'
make: *** [install-recursive] Error 1

!!! ERROR: media-gfx/imagemagick-5.4.7.4 failed.
!!! Function perl-module_src_install, Line 72, Exitcode 2
!!! (no error message)

<snip>

Any ideas or help would be appreiated, I'm not a programer.

D. 8O
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Jan 04, 2003 8:38 am    Post subject: Reply with quote

Does the problem persist after:
Code:
# emerge ExtUtils-MakeMaker
# emerge imagemagick

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Sat Jan 04, 2003 5:41 pm    Post subject: Reply with quote

Yep, dies at the same spot.

Not sure if it's related or not, but I have another Gentoo box as well, it had the prior version of ImageMagick installed. Last night I decided to upgrade it to current stable.
emerge rsync
emerge -u -p imagemagick
listed jbigxx (sorry, forgot) and new imagemagick
so I emerge -u imagemagick
!! emerge nows says 9!! packages to upgrade !! Starting with ncurses, texinfo, gcc 3.2.1, xfree. etc.
This 2nd box is very slow, will take all weekend just to get to imagemagick !

Also, not sure if related, but my Mozilla 1.2.1 stopped working, segfaults. That's on a different thread.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Jan 04, 2003 8:19 pm    Post subject: Reply with quote

Are your libtool, autoconf and automake current?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
hbbio
n00b
n00b


Joined: 21 Apr 2002
Posts: 38
Location: Paris, France

PostPosted: Mon Jan 06, 2003 10:35 am    Post subject: Same package, slightly diff pb Reply with quote

Hi. This is what fails for me, libtool, auto[conf|make] is current as the rest of the system...
This happens close to the end after compiling the "main" imagemagick.

Quote:

make[3]: Entering directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9/PerlMagick'
Makefile out-of-date with respect to /usr/lib/perl5/5.6.1/i686-linux/Config.pm /usr/lib/perl5/5.6.1/i686-linux/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/bin/perl Makefile.PL "--without-lcms" "PREFIX=/var/tmp/portage/imagemagick-5.4.9.1-r1/image//usr"
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagick
Writing Makefile for Image::Magick
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make[3]: *** [Makefile] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9/PerlMagick'
make[2]: *** [install-exec-perl] Erreur 2
Back to top
View user's profile Send private message
hbbio
n00b
n00b


Joined: 21 Apr 2002
Posts: 38
Location: Paris, France

PostPosted: Mon Jan 06, 2003 10:37 am    Post subject: Sorry missed the end of paste :( Reply with quote

Quote:

make[2]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9'
make[1]: *** [install-am] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9'
make: *** [install-recursive] Erreur 1

!!! ERROR: media-gfx/imagemagick-5.4.9.1-r1 failed.
!!! Function perl-module_src_install, Line -783, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
hbbio
n00b
n00b


Joined: 21 Apr 2002
Posts: 38
Location: Paris, France

PostPosted: Mon Jan 06, 2003 7:24 pm    Post subject: Problem solved Reply with quote

In a curious way, i needed to emerge without the -u option I almost always use even if I never merged it before...
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Tue Jan 07, 2003 4:24 pm    Post subject: Reply with quote

I've remerged libtool, autoconf, automake, binutils, ExtUtils-MakeMaker, perl but still ImageMagick fails, can't find -lMagick.

It builds fine on my other Gentoo box, but it's too slow to use.

Any ideas ?
Back to top
View user's profile Send private message
sergio.rui.silva
n00b
n00b


Joined: 08 Feb 2003
Posts: 2

PostPosted: Sat Feb 08, 2003 2:04 pm    Post subject: Reply with quote

I just had the same problem emerging ImageMagic after emerging gcc-3.2.1r6.
Re-emerged perl and then re-emerged ImageMagic. No problems after this.
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Sat Feb 08, 2003 7:21 pm    Post subject: still fails Reply with quote

removed perl and remerged it, still fails:

-fomit-frame-pointerRunning Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" gcc -shared -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/Magick.so -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -L/usr/lib -lMagick -ljbig -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
make[3]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9'
make: *** [install-recursive] Error 1

!!! ERROR: media-gfx/imagemagick-5.4.9.1-r1 failed.
!!! Function perl-module_src_install, Line 72, Exitcode 2
!!! (no error message)


system is current to portage tree, but still stuck here ?
Back to top
View user's profile Send private message
kram
n00b
n00b


Joined: 29 Nov 2002
Posts: 35

PostPosted: Tue Feb 18, 2003 1:12 am    Post subject: Reply with quote

Did you run /usr/portage/sys-devel/perl/files/libperl_rebuilder after you emerged Perl-5.8 ?
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