You are not logged in.

#1 2005-07-29 18:34:22

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

autoconf problem

hello guys,

i've a newly installed system and when i should compile ion3 (new version out yesterday) right now autoreconf doesn't work,

so i tried to compile the previous version using the same pkgbuild which worked before on my old setup and not even that worked, sad

Can't locate strict.pm in @INC (@INC contains: /usr/share/autoconf /usr/lib/perl5/5.8.7/i686-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/share/autoconf/Autom4te/Channels.pm line 60.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/Channels.pm line 60.
Compilation failed in require at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 20.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 20.
Compilation failed in require at /usr/bin/autoreconf line 42.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 42.
./PKGBUILD: line 15: ./configure: No such file or directory

you can see here that autoreconf doesn't generate a configurescript, and here is the pkgbuild:

pkgname=ion3-devel
pkgver=20050728
pkgrel=1
pkgdesc="A complete desktopenvironment built on the tiling windowmanager PWM3."
url="http://iki.fi/tuomov/ion/"
depends=('x-server' 'lua')
makedepends=('autoconf')
source=(http://modeemi.fi/~tuomov/ion/dl/ion-3ds-$pkgver.tar.gz)
md5sums=('f711bf16f7dc0e987b59b945d0f27125')

build() {
  cd $startdir/src/ion-3ds-$pkgver
  autoreconf
  ./configure --prefix=/usr --enable-Xutf8
  make || return 1
  make prefix=$startdir/pkg/usr ETCDIR=$startdir/pkg/etc/ion3 
            VARDIR=$startdir/pkg/var/cache/ion3 
            LOCALEDIR=$startdir/pkg/usr/share/locale install
 }

i'm running a fully updated system, also using tesing,


arch + gentoo + initng + python = enlisy

Offline

#2 2005-07-29 18:40:38

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

Re: autoconf problem

Try reinstalling perl.

OT: to  change your title to TU, you should pm rasat. I don't think mods can do that.

Offline

#3 2005-07-29 18:44:35

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: autoconf problem

thanks snowman,
i reinstalled perl and it worked, it's compiling right now, big_smile


arch + gentoo + initng + python = enlisy

Offline

#4 2005-07-29 19:06:27

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: autoconf problem

nooo, i got an error right at the end and it aborted,

set -e; for i in ion-completefile; do make -C $i; done
make[2]: Entering directory `/home/xerxes2/abs/community/x11/ion3-devel/src/ion-3ds-20050728/utils/ion-completefile'
make[2]: CC@: Command not found
make[2]: *** [ion-completefile] Error 127
make[2]: Leaving directory `/home/xerxes2/abs/community/x11/ion3-devel/src/ion-3ds-20050728/utils/ion-completefile'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/xerxes2/abs/community/x11/ion3-devel/src/ion-3ds-20050728/utils'
make: *** [subdirs] Error 2
==> ERROR: Build Failed.  Aborting...

i reinstalled gcc and tried again but i got the same error,


arch + gentoo + initng + python = enlisy

Offline

#5 2005-07-29 19:16:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: autoconf problem

xerxes2 wrote:
make[2]: CC@: Command not found

looks like a problem in a Makefile.in...
the Makefile.in uses @CC@ for the compiler, which is replaced with the actual compiler when ./configure is run - so @CC@ will be replaced with "gcc" or whatever is relevant...

I'm going to assume, based on the output, that the Makefile.in has "CC@" without the leading @ sign... you should be able to sed it or something...

Offline

#6 2005-07-29 19:21:36

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: autoconf problem

thanks for the help guys,
i closed x and compiled it from the console instead and that worked, dunno why, i'll run it myself for a while before i upload it to community just to check if everything is alright,

and there was a few seds spitting out just before the error came before, don't know why it worked in console anyway,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB