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 1, 2  Next  
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: Sat Jun 10, 2006 10:45 pm    Post subject: Building imagemagick-6.2.6.0 with libpng-1.2.10 fails Reply with quote

Building imagemagick-6.2.6.0 against libpng-1.2.10 fails with the following error:
Code:
coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:1756: warning: implicit declaration of function 'png_access_version'
coders/png.c:1765: error: 'png_ptr' undeclared (first use in this function)
coders/png.c:1765: error: (Each undeclared identifier is reported only once
coders/png.c:1765: error: for each function it appears in.)

After a quick look at the code, I think this is simply a bug in imagemagick or - maybe more correct - in the version that is in portage. My theory is that it has not shown out yet because the block is only active if PNG_LIBPNG_VER >= 10200 and libpng-2.6.10 has just come into portage.
Code:
-snip-
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
&& (PNG_LIBPNG_VER >= 10200)
  /* Disable thread-unsafe features of pnggccrd */
  if (png_access_version() >= 10200)
  {
    png_uint_32 mmx_disable_mask=0;
    png_uint_32 asm_flags;

    mmx_disable_mask |= ( PNG_ASM_FLAG_MMX_READ_COMBINE_ROW  \
                        | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
                        | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
                        | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
    asm_flags=png_get_asm_flags(png_ptr);
    png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask);
  }
#endif
-snip-


Quick'n'dirty patch that works for me: (ping is used in this function like png_prt in others, libpng doesn't export png_access_version() but png_access_version_number() )
Code:
--- png.c.orig   2006-01-08 06:41:08.000000000 +0100
+++ png.c   2006-06-10 23:17:09.000000000 +0200
@@ -1753,7 +1753,7 @@
 #if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
 && (PNG_LIBPNG_VER >= 10200)
   /* Disable thread-unsafe features of pnggccrd */
-  if (png_access_version() >= 10200)
+  if (png_access_version_number() >= 10200)
   {
     png_uint_32 mmx_disable_mask=0;
     png_uint_32 asm_flags;
@@ -1762,8 +1762,8 @@
                         | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
                         | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
                         | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
-    asm_flags=png_get_asm_flags(png_ptr);
-    png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask);
+    asm_flags=png_get_asm_flags(ping);
+    png_set_asm_flags(ping, asm_flags & ~mmx_disable_mask);
   }
 #endif

If anyone can confirm this, I will file a bug.


Just for the sake of completeness:
Code:
gentoo aule # emerge --info
Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4.90.20060516-r0, 2.6.17-rc3-no2 x86_64)
=================================================================
System uname: 2.6.17-rc3-no2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.93, 2.17.50.0.2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -ftracer -fweb -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -ftracer -fweb -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://files.gentoo.org/"
LANG="de_AT.utf8"
LC_ALL="de_AT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync-excludes"
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/overlays/conrad /usr/local/overlays/misc /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/initng"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cli crypt cups dri eds emboss encode exif fbcon foomaticdb fortran gif glitz gnome gpm gstreamer gtk gtk2 icq imlib ipv6 isdnlog jpeg kde kdeenablefinal logitech-mouse lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl sse3 ssl svg tcpd tiff truetype-fonts type1-fonts unicode usb vorbis xcomposite xorg xpm xv zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_provide input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK

Code:
gentoo aule # eselect compiler list
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   x86_64-pc-linux-gnu-3.4.4/x86-hardened
  [2]   x86_64-pc-linux-gnu-3.4.4/x86-hardenednopie
  [3]   x86_64-pc-linux-gnu-3.4.4/x86-hardenednopiessp
  [4]   x86_64-pc-linux-gnu-3.4.4/x86-hardenednossp
  [5]   x86_64-pc-linux-gnu-3.4.4/x86-vanilla
  [6]   x86_64-pc-linux-gnu-4.1.1/x86-vanilla
Available compilers for CTARGET x86_64-pc-linux-gnu
  [7]   x86_64-pc-linux-gnu-3.4.4/amd64-hardened
  [8]   x86_64-pc-linux-gnu-3.4.4/amd64-hardenednopie
  [9]   x86_64-pc-linux-gnu-3.4.4/amd64-hardenednopiessp
  [10]  x86_64-pc-linux-gnu-3.4.4/amd64-hardenednossp
  [11]  x86_64-pc-linux-gnu-3.4.4/amd64-vanilla
  [12]  x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

Activated profiles:
  i686-pc-linux-gnu         x86_64-pc-linux-gnu-4.1.1/x86-vanilla
  x86_64-pc-linux-gnu *     x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

gentoo aule # binutils-config -l
 [1] x86_64-pc-linux-gnu-2.16.93 *
 [2] x86_64-pc-linux-gnu-2.17.50.0.2

(Yes, I tried disabling confcache & ccache, reducing my flags, ...)

Can anyone confim this?

Aule
(Sorry for my bad English, as I'm from Austria.)


Last edited by Aule on Tue Jun 13, 2006 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
sumerman
n00b
n00b


Joined: 26 Jun 2005
Posts: 51
Location: New York, NY

PostPosted: Sun Jun 11, 2006 5:11 pm    Post subject: Reply with quote

Yes, I run into exactly the same problem when compiling imagemagick-6.2.6.0 with libpng-1.2.10.

Could you give an assist on how to use your patch, Aule?

Here's my setup:

Code:

Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/amd64/2005.0, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
dev-lang/python:     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.18.1
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-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/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.namerica.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa arts avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups dri dvd dvdr dvdread eds emboss encode flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jack jpeg kde lesstif libsamplerate lzw lzw-tiff mad mozilla mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime radeon readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wxgtk1 xanim xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

[/gwn]
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Sun Jun 11, 2006 5:33 pm    Post subject: Reply with quote

I confirm the bug. just tried your patch and it works
Back to top
View user's profile Send private message
Aule
n00b
n00b


Joined: 19 Sep 2005
Posts: 21

PostPosted: Sun Jun 11, 2006 6:10 pm    Post subject: Reply with quote

Filed bug.
Back to top
View user's profile Send private message
pelut
n00b
n00b


Joined: 09 Jun 2006
Posts: 11
Location: Barcelona

PostPosted: Sun Jun 11, 2006 9:14 pm    Post subject: Reply with quote

I have the same problem, and the patch worked fine for me too.
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Mon Jun 12, 2006 7:30 am    Post subject: Reply with quote

How do I apply this patch!?
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
pelut
n00b
n00b


Joined: 09 Jun 2006
Posts: 11
Location: Barcelona

PostPosted: Mon Jun 12, 2006 9:29 am    Post subject: Reply with quote

This howto (http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds) tells how to use ebuilds and patches that are not in portage tree. I saved the patch in a file, modified the ebuild so that it uses this patch too and emerged it with ebuild. The png.c file is located in coders directory (I'm not sure right now whether it is coders or not), so you may add coders/ before png.c.

You can also use the patch directly to the png.c file with the patch command. However, if you do this, every time you rebuild imagemagick, it will fail again (until this bug gets fixed ;) ).

Hope this can help.

pelut
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Mon Jun 12, 2006 9:50 am    Post subject: Reply with quote

Hello!

Thanks for your answer. Could you post your modified ebuild so I (and expectingly other people with this problem) can put it in my portage overlay directory?

Would be great. Thx.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
Aule
n00b
n00b


Joined: 19 Sep 2005
Posts: 21

PostPosted: Mon Jun 12, 2006 2:20 pm    Post subject: Reply with quote

I 'tar'ed the relevant files for you - available here (http://mrg.fadi.at/aule/gentoo/imagemagick-pnglib-version.tar.bz2).

Just extract them into your favourite overlay directory.

Aule
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Mon Jun 12, 2006 2:35 pm    Post subject: Reply with quote

Hi!

Thanks a lot. You saved me from reverting to an older version and rebuilding everything. ;-)

:beer:
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
pelut
n00b
n00b


Joined: 09 Jun 2006
Posts: 11
Location: Barcelona

PostPosted: Mon Jun 12, 2006 3:41 pm    Post subject: Reply with quote

Hi,

I didn't post my ebuild because I am not with my Gentoo box now. I was going to post it this night, but I did the same that Aule has posted (add an epatch entry to src_unpack() ). Can anybody tell me if this is enough? May something else be changed? Anyway I hope that this patch will be soon in portage tree.

Thanks,

pelut
Back to top
View user's profile Send private message
Aule
n00b
n00b


Joined: 19 Sep 2005
Posts: 21

PostPosted: Tue Jun 13, 2006 12:00 pm    Post subject: Reply with quote

pelut wrote:
Can anybody tell me if this is enough? May something else be changed?

Do you mean if you have to do something else to get the png-part of imagemagick working?
AFAIK not.

Good luck ;)
Aule
Back to top
View user's profile Send private message
pelut
n00b
n00b


Joined: 09 Jun 2006
Posts: 11
Location: Barcelona

PostPosted: Tue Jun 13, 2006 2:29 pm    Post subject: Reply with quote

Hi again!

No, I meant the ebuild. If we want to modificate and/or submit a new ebuild, if that is enough (just adding one line). I wonder if we have to do something else before this patch goes to the portage tree.

I ask this to get this bug fixed as soon as possible, and avoid other people patching their ebuilds.

Thanks :)

pelut
Back to top
View user's profile Send private message
melonboy
n00b
n00b


Joined: 27 May 2006
Posts: 24

PostPosted: Wed Jun 14, 2006 6:40 pm    Post subject: Reply with quote

hi
i am build a new system

how could i use this patch?

can i after emerge gnome and after enter gnome, use this path and remerge this file?
Back to top
View user's profile Send private message
melonboy
n00b
n00b


Joined: 27 May 2006
Posts: 24

PostPosted: Thu Jun 15, 2006 2:09 am    Post subject: Reply with quote

hi again
i have a look the topic "HOWTO_Installing_3rd_Party_Ebuilds"

but not understand very clear

i understand i must create a file and use the code you give out

but what the file name??
"png.c" or other name?
Back to top
View user's profile Send private message
pelut
n00b
n00b


Joined: 09 Jun 2006
Posts: 11
Location: Barcelona

PostPosted: Thu Jun 15, 2006 11:01 am    Post subject: Reply with quote

Hi,

It is not necessary to use this patch to get a system working (neither for gnome, it is for imagemagick). It is only to get working the testing branch. However, if you are new to gentoo, you'd better use the stable branch (you don't have to use patches or 3rd party ebuilds). Work with the stable system until you get used to gentoo, then everything will look easier.

Anyway, if you still want to use the patch, unpack the files that Aule posted here and emerge them as is explained in the howto (add the paths to make.conf and then use the command ebuild o emerge).

Cheers,

pelut
Back to top
View user's profile Send private message
melonboy
n00b
n00b


Joined: 27 May 2006
Posts: 24

PostPosted: Thu Jun 15, 2006 12:30 pm    Post subject: Reply with quote

hi again

i had use the patch and emerge can go on

thanks
Back to top
View user's profile Send private message
chittoor
n00b
n00b


Joined: 09 Apr 2006
Posts: 35

PostPosted: Sun Jun 18, 2006 5:15 am    Post subject: Unable to install Imagemagick Reply with quote

Hi

I am unable to install imagemagick on my system.
The error is
Code:

coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:1756: warning: implicit declaration of function 'png_access_version'
coders/png.c:1765: error: 'png_ptr' undeclared (first use in this function)
coders/png.c:1765: error: (Each undeclared identifier is reported only once
coders/png.c:1765: 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.6.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  imagemagick-6.2.6.0.ebuild, line 86:   Called die

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

Can anyone help me with this ?
Do I need to provide more information ?


EDIT:

ok here is my emerge info

Code:
gentoo ~ # emerge --info
Portage 2.1.1_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse -mmmx -fomit-frame-pointer -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse -mmmx -fomit-frame-pointer -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/"
MAKEOPTS="-j3"
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 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis 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

Disabled ccache for a clean install
and my compiler
Code:

gentoo ~ # eselect compiler list
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-3.4.4/hardened
  [2]   i686-pc-linux-gnu-3.4.4/hardenednopie
  [3]   i686-pc-linux-gnu-3.4.4/hardenednopiessp
  [4]   i686-pc-linux-gnu-3.4.4/hardenednossp
  [5]   i686-pc-linux-gnu-3.4.4/vanilla
  [6]   i686-pc-linux-gnu-4.1.1/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.1/vanilla


Last edited by chittoor on Sun Jun 18, 2006 6:43 am; edited 1 time in total
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: Sun Jun 18, 2006 5:30 am    Post subject: Reply with quote

Hi.

Are you installing your system? How did you install it? What arch and stage have you used?
Since this is an emerge error, you should post the output of emerge --info.
_________________
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
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Sun Jun 18, 2006 5:50 am    Post subject: Reply with quote

hej, found this topic to solve this, had a same problem.

https://forums.gentoo.org/viewtopic-t-470245-highlight-readonepngimage.html

its something aboute new libpng, i don't know, its not my first compilation failure coresponding to libpng :/
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: Sun Jun 18, 2006 5:56 am    Post subject: Reply with quote

chittoor,

does the link ^marcs posted help you solve your issue?
_________________
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
chittoor
n00b
n00b


Joined: 09 Apr 2006
Posts: 35

PostPosted: Sun Jun 18, 2006 6:46 am    Post subject: Reply with quote

yes jmbsvicetto I am installing gentoo on a new machine.
I've edited my previous post added emerge info.

My problem is solved now. Thanx to Aule and ^marcs for the posts.
Imagemagick is sucessfully installed :)

Thanx again for fast reply
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: Sun Jun 18, 2006 6:59 am    Post subject: Reply with quote

Merged above 5 posts from Installing Gentoo.
_________________
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
body
n00b
n00b


Joined: 27 Jun 2004
Posts: 41

PostPosted: Wed Jun 21, 2006 11:03 am    Post subject: Reply with quote

Now is ImageMagick broken.
spumux: symbol lookup error: /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/png.so: undefined symbol: png_get_asm_flags
Back to top
View user's profile Send private message
Aule
n00b
n00b


Joined: 19 Sep 2005
Posts: 21

PostPosted: Tue Jun 27, 2006 8:16 pm    Post subject: Reply with quote

@body: Sorry for answering that late, this bug is known, but solutuion is (maybe) near.
See bug #136452 for details.
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 1, 2  Next
Page 1 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