Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building imagemagick-6.2.6.0 with libpng-1.2.10 fails
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Aule
n00b
n00b


Joined: 19 Sep 2005
Posts: 21

PostPosted: Thu Jun 29, 2006 4:23 pm    Post subject: Reply with quote

The bug is finally fixed - at least I think so. Please help us and test the patch, even if it will go into portage soon anyway.

See gentoo bug #136452 for details & patch. For those who don't know how to apply a patch, I uploaded the relevant files from my overlay here. Just extract it into you favourite overlay directory.

Aule
Back to top
View user's profile Send private message
xandris
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 109

PostPosted: Fri Jun 30, 2006 9:21 pm    Post subject: Reply with quote

Updated the overlay to include libpng-1.2.12, which seems to be required by the latest Cairo (weird). Available here:
http://members.cox.net/thebigbro/libpng-1.2.12-no-assembler-overlay.tar.bz2
Recompiling imagemagick is necessary to remove the unwanted reference.
Back to top
View user's profile Send private message
body
n00b
n00b


Joined: 27 Jun 2004
Posts: 41

PostPosted: Tue Jul 04, 2006 8:00 am    Post subject: Reply with quote

@Aule & @tamarind
Thx, now is ok.
Back to top
View user's profile Send private message
c-2501
n00b
n00b


Joined: 21 Jun 2006
Posts: 18
Location: Scotland

PostPosted: Mon Jul 10, 2006 10:03 am    Post subject: Reply with quote

hi, im getting the same problem when i attempt an, emerge kde-meta .
Code:

coders/png.c: In function `ReadOnePNGImage':
coders/png.c:1755: warning: implicit declaration of function `png_access_version'
coders/png.c:1764: error: `png_ptr' undeclared (first use in this function)
coders/png.c:1764: error: (Each undeclared identifier is reported only once
coders/png.c:1764: error: for each function it appears in.)
make: *** [coders/coders_png_la-png.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  imagemagick-6.2.5.5.ebuild, line 86:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.


i tried applying the patch that i found here and on the bug report page, but i just cant get it to work, nor do i understand what im doing wrong. sorry if im doing something stupid but im new to gentoo and dont have any real experience with this sort of thing.

*edit to add*

hi sorry i got it fixed (i hope :S )
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Mon Jul 10, 2006 9:35 pm    Post subject: Reply with quote

I downloaded the ebuild from[url] https://bugs.gentoo.org/136452[/url] I got this error:

emerge -av =imagemagick-6.2.5.5-r1
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/imagemagick-6.2.5.5-r1  USE="X jpeg mpeg perl png tiff truetype xml zlib -bzip2 -doc -fpx -graphviz -gs -jbig -jpeg2k -lcms -minimal -nocxx -wmf" 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No]
>>> Emerging (1 of 1) media-gfx/imagemagick-6.2.5.5-r1 to /
!!! Manifest file not found: '/usr/local/portage/media-gfx/imagemagick/Manifest'

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue Jul 11, 2006 12:43 am    Post subject: Reply with quote

HXC,

if you're willing to use that ebuild, you should run ebuild /usr/local/portage/media-gfx/imagemagick/imagemagick-6.2.5.5-r1.ebuild digest. Did you copy the other files from the Portage tree? In case you don't know, I mean the files under the files dir.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Jul 11, 2006 7:53 am    Post subject: Reply with quote

jmbsvicetto,

Thanks for the help! I did the following to succesfully install imagemagick:

Code:
cp /usr/portage/media-gfx/imagemagick/files /usr/local/portage/media-gfx/imagemagick/


Code:
ebuild /usr/local/portage/media-gfx/imagemagick/imagemagick-6.2.5.5-r1.ebuild digest

I downloaded 'imagemagick-pnglib-version.patch from https://bugs.gentoo.org/show_bug.cgi?id=136452 to /usr/local/portage/media-gfx/imagemagick/files And renamed it ' to 'imagemagick-6.2.5.5-pnglib-version.patch'
Code:
emerge -av =imagemagick-6.2.5.5-r1:


P.S. How do I add the add the 'unaswered post initiative' line to my profile?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue Jul 11, 2006 3:09 pm    Post subject: Reply with quote

HXC,

To add a link to the unanswered post initiative, just add the following line to you signature:
[url=https://forums.gentoo.org/viewtopic-t-119906.html]Adopt an unanswered post initiative[/url]
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Jul 11, 2006 3:44 pm    Post subject: Reply with quote

Thanks!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 647

PostPosted: Tue Jul 11, 2006 11:53 pm    Post subject: Reply with quote

HXC wrote:
jmbsvicetto,

Thanks for the help! I did the following to succesfully install imagemagick:

Code:
cp /usr/portage/media-gfx/imagemagick/files /usr/local/portage/media-gfx/imagemagick/


Code:
ebuild /usr/local/portage/media-gfx/imagemagick/imagemagick-6.2.5.5-r1.ebuild digest

I downloaded 'imagemagick-pnglib-version.patch from https://bugs.gentoo.org/show_bug.cgi?id=136452 to /usr/local/portage/media-gfx/imagemagick/files And renamed it ' to 'imagemagick-6.2.5.5-pnglib-version.patch'
Code:
emerge -av =imagemagick-6.2.5.5-r1:


I ran into this and many other errors during the upgrade to the new modular X. I followed HXC's post with a few exceptions. I simply renamed the imagemagick-6.2.6.0-png.patch to imagemagick-6.2.5.5-pnglib-version.patch after I copied the files over to /usr/local/portage/media-gfx/imagemagick/files This file already exsisted in my /usr/portage/media-gfx/imagemagick/files /dir and from what I could tell it was the correct patch.
Then I ran
Code:
ebuild /usr/local/portage/media-gfx/imagemagick/imagemagick-6.2.5.5-r1.ebuild digest
Then
Code:
emerge -av =imagemagick-6.2.5.5-r1
Imagemagick built and installed without error. So assuming I used the correct patch all should be well again. Time will tell........................... :)

FYI
Code:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo http://mirror.datapipe.net/gentoo http://csociety-ftp.ecn.purdue/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnow+ X aalib alsa apache2 apm artworkextra avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups directfb divx4linux dlloader dri eds emboss encode esd fbdev firefox foomaticdb fortran ftp gb gdbm gif gkthtml gnome gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 isdnlog java jpeg ldap libg++ libwww live mad mikmod mmx motif mozcalendar mozilla mp3 mpeg mysql nas ncurses network nls nptl ntp nvidia oav ogg openal opengl oss pam pcre pdflib perl png postgres ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff tng truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
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
Goto page Previous  1, 2
Page 2 of 2

 
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