You are not logged in.

#1 2008-06-23 18:20:13

ilikenwf
Member
Registered: 2008-06-23
Posts: 42
Website

giflib issues

I am trying to install icedtea, but giflib won't compile. For some reason, it seems the PKGBUILD is halting the progress of ./configure and thus keeping a makefile from being created. Then, when it skips forward and "builds" we get a bunch of errors. Thus, no icedtea, no javaplugin for my x86_64 install.

Yes, I know what I'm doing, btw...I moved to arch from kubuntu....wrote a good tutorial about KDE font improvement, etc...

Offline

#2 2008-06-23 18:29:03

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: giflib issues

if the configure script is failing then it ought to say in its output what has caused it to fail.  This PKGBUILD builds fine for me (x86_64 [testing]) so it could be a dependancy missing from the PKGBUILD or something.  The PKGBUILD really ought to test for failure on more than just the make step too.

Offline

#3 2008-06-23 18:33:34

ilikenwf
Member
Registered: 2008-06-23
Posts: 42
Website

Re: giflib issues

I didn't write the script...

I'll have to hack it a bit, and see what's going on...my patience is exhausted ATM.

Offline

#4 2008-06-23 21:41:18

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: giflib issues

Did you use this PKGBUILD? It was taken from some bug report/feature request. Works fine for me.

# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
pkgname=giflib
pkgver=4.1.6
pkgrel=1
pkgdesc="A library for reading and writing gif images"
url="http://sourceforge.net/projects/giflib/"
arch=('i686' 'x86_64')
license=('MIT')
depends=('libx11' 'libsm')
provides=('libungif')
replaces=('libungif')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/giflib/$pkgname-$pkgver.tar.bz2)
md5sums=('7125644155ae6ad33dbc9fc15a14735f')
build() {
  cd $startdir/src/$pkgname-$pkgver
  
  ./configure --prefix=/usr
  
  make || return 1
  make DESTDIR=$startdir/pkg install

  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}

Offline

#5 2008-06-25 16:25:36

ilikenwf
Member
Registered: 2008-06-23
Posts: 42
Website

Re: giflib issues

No go...I get this with both PKGBUILDS:

==> Validating source files with md5sums...
    giflib-4.1.6.tar.bz2 ... Passed
==> Extracting Sources...
  -> bsdtar -x -f giflib-4.1.6.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build giflib package.

I do have custom CFLAGS in both make.conf and makepkg.conf, but I don't think they're the cause...everything else builds just fine.

Last edited by ilikenwf (2008-06-25 16:27:28)

Offline

#6 2008-06-25 21:54:55

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: giflib issues

I hardly dare to ask, but do you have the base-devel group installed?

Offline

#7 2008-06-25 22:52:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: giflib issues

Any error message  in config.log?

Offline

#8 2008-06-26 19:50:22

ilikenwf
Member
Registered: 2008-06-23
Posts: 42
Website

Re: giflib issues

Of course base-devel is installed. I'll check config.log...

Offline

Board footer

Powered by FluxBB