Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16660 - imlib Ebuild fails with non-gcc compiler
Summary: imlib Ebuild fails with non-gcc compiler
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-02 06:53 UTC by Timothy Bissell
Modified: 2003-03-02 15:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Bissell 2003-03-02 06:53:06 UTC
Using Compaq C Compiler on a dual proc Alpha machine, the configure script fails
on a number of checks due to not finding the required headers. The patch below
show the modification. Under gcc, the build will continue as normal. I would
assume gcc is forcing the include of /usr/include, which the compaq compiler
does not.

--- imlib-1.9.14-r1.ebuild.bad  2003-03-02 06:52:39.000000000 -0500
+++ imlib-1.9.14-r1.ebuild      2003-03-02 06:36:13.000000000 -0500
@@ -33,7 +33,6 @@
        elibtoolize
 
        econf \
-               --includedir="" \
                --sysconfdir=/etc/imlib || die
 
        emake || die

Reproducible: Always
Steps to Reproduce:
1. export CC="ccc"
2. emerge imlib
Actual Results:  
Had several failures while finding the problem. ./configure test for jpeglib.h
failed, followed by tiffio.h, and finally this:

checking for png_structp in png.h... no
configure: error: *** PNG library is too old ***

!!! ERROR: media-libs/imlib-1.9.14-r1 failed.
!!! Function econf, Line 334, Exitcode 1
!!! econf failed

Expected Results:  
Should have merged imlib

Portage 2.0.46-r12 (default-alpha-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 alpha EV56
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="alpha crypt cups encode gif gnome jpeg kde libg++ libwww mikmod ncurses nls
oss pdflib png qt qtmt quicktime sdl spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline java mysql postgres X gpm tcpd pam ssl perl python esd
imlib oggvorbis gtk motif opengl"
COMPILER="gcc3"
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev56 -Wa,-mev6 -O3 -pipe "
CXXFLAGS="-mcpu=ev56 -Wa,-mev6 -O3 -pipe "
ACCEPT_KEYWORDS="alpha"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"