You are not logged in.

#1 2006-05-29 15:14:20

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Cant ./autogen.sh

Hi there

I just wanted to compile XQF from cvs. So i started writing a PKGBUILD. I got along with this easily. But when i try to makepkg i get the following error:

Running gettextize and intltoolize...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running aclocal...
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of smr_ARG_WITHLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libstroke.m4:77: warning: underquoted definition of smr_ARG_WITHINCLUDES
/usr/share/aclocal/libstroke.m4:119: warning: underquoted definition of smr_CHECK_LIB
/usr/share/aclocal/libgstroke.m4:29: warning: underquoted definition of smr_ARG_WITHLIB
/usr/share/aclocal/libgstroke.m4:77: warning: underquoted definition of smr_ARG_WITHINCLUDES
/usr/share/aclocal/libgstroke.m4:119: warning: underquoted definition of smr_CHECK_LIB
aclocal:configure.in:61: warning: macro `AM_PATH_GDK_PIXBUF' not found in library
Running autoheader...
Running autoconf...
configure.in:61: error: possibly undefined macro: AM_PATH_GDK_PIXBUF
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:61: error: possibly undefined macro: AC_MSG_ERROR

Anyone got an idea how to fix this?

Offline

#2 2006-05-29 20:12:49

franzb
Member
From: Hanover / Germany
Registered: 2005-02-07
Posts: 27

Re: Cant ./autogen.sh

Maybe you need to install the packages automake / autogen?

Offline

#3 2006-05-29 20:15:41

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

Re: Cant ./autogen.sh

Do you have gdk-pixbuf installed? If not, install it and try again.

Offline

#4 2006-07-02 22:09:17

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Cant ./autogen.sh

Yes, looks like the app you're using is using g_free to free a gobject structure, where it should use g_object_unref instead. Grep through the code for g_free, change it to g_object_unref where needed and submit a nice patch upstream for the authors of the software.

Offline

#5 2006-07-08 23:56:52

IsSuE
Member
Registered: 2006-04-29
Posts: 309

Re: Cant ./autogen.sh

i fixed the problem but now i am on an other machine, with a similar error

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

./autogen.sh: line 47: intltoolize: command not found

i did the things recommended in previous posts, but nothing worked sad

Offline

#6 2006-07-31 06:44:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant ./autogen.sh

Why do you want to compile perl? It's already part of your base system.

Offline

#7 2006-07-31 15:43:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cant ./autogen.sh

Firstly, it's a warning, not an error, and it helpfully informs you that it has found its own solution i.e. the fallback C locale. Secondly, the long-term solution is not to rebuild perl, but to configure your locale(s) properly, by uncommenting the one(s) you need in /etc/locale.gen, and then running

locale-gen

Offline

Board footer

Powered by FluxBB