[Gimp-developer] configure error in cvs

2001-09-13 Thread safemode

I'm not on the list so if you know what's wrong here dont forget to cc me.  
I'm using debian unstable and have compiled gimp many times before.  For the 
past few weeks, however, i've been getting this error.  pkg-config is found 
so it seems like there is a problem with automake.   i've rerun autogen.sh 
and i dont get any unusual errors.  I'll add that to the bottom of the mail.  
I'm using automake (GNU automake) 1.4-p4 and Autoconf version 2.13 .  Any 
other info needed?  

-- Errors from running configure
configure.in:46: AC_PROG_CPP was called before AC_PROG_CC
checking for pkg-config... /usr/bin/pkg-config
./configure: line 8536: syntax error near unexpected token 
`AM_PATH_GTK_2_0(1.3.7,,'
./configure: line 8536: `AM_PATH_GTK_2_0(1.3.7,,'

Now type 'make' to compile GIMP.

-- autogen.sh output warnings. 

Adding an entry to po/ChangeLog (backup is in po/ChangeLog~)

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/.

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] configure error in cvs

2001-09-13 Thread safemode

Ok, compiling gtk+ from the cvs and i'm getting this error. 
gdk-pixbuf.c:395: parse error before ')' token
gdk-pixbuf.c:396: parse error before ')' token
gdk-pixbuf.c:397: parse error before ')' token
make[3]: *** [gdk-pixbuf.lo] Error 1

it seems to be because the version variables aren't declared anywhere or set 
correctly.  Manually assigning the numbers 1 3 and 7 to them allowed the file 
to be compiled but because the version information isn't being set right, 
linking eventually failed with this

libtool: link: CURRENT `-' is not a nonnegative integer
libtool: link: `-::-' is not valid version information
make[3]: *** [libgdk_pixbuf-1.3.la] Error 1

this is the latest cvs.  is there a release of 2.0 i should be grabbing from 
the cvs instead of the very latest testing?  



On Thursday 13 September 2001 07:12, Sven Neumann wrote:
 Hi,

 safemode [EMAIL PROTECTED] writes:
  I'm not on the list so if you know what's wrong here dont forget to cc
  me. I'm using debian unstable and have compiled gimp many times before. 
  For the past few weeks, however, i've been getting this error. 
  pkg-config is found so it seems like there is a problem with automake.
  -- Errors from running configure
  configure.in:46: AC_PROG_CPP was called before AC_PROG_CC
  checking for pkg-config... /usr/bin/pkg-config
  ./configure: line 8536: syntax error near unexpected token
  `AM_PATH_GTK_2_0(1.3.7,,'
  ./configure: line 8536: `AM_PATH_GTK_2_0(1.3.7,,'

 you don't have the required version of GTK+ installed or if it is
 installed, aclocal is unable to find the gtk-2.0.m4 script. Make sure you
 have everything installed as described in INSTALL and set your
 ACLOCAL_FLAGS to -I $prefix_where_gtk2_is_installed/share/aclocal and
 rerun autogen.sh.


 Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] configure error in cvs

2001-09-13 Thread safemode

On Thursday 13 September 2001 11:22, Sven Neumann wrote:
 Hi,

 safemode [EMAIL PROTECTED] writes:
  Ok, compiling gtk+ from the cvs and i'm getting this error.
  gdk-pixbuf.c:395: parse error before ')' token
  gdk-pixbuf.c:396: parse error before ')' token
  gdk-pixbuf.c:397: parse error before ')' token
  make[3]: *** [gdk-pixbuf.lo] Error 1
 
  it seems to be because the version variables aren't declared anywhere or
  set correctly.  Manually assigning the numbers 1 3 and 7 to them allowed
  the file to be compiled but because the version information isn't being
  set right, linking eventually failed with this
 
  libtool: link: CURRENT `-' is not a nonnegative integer
  libtool: link: `-::-' is not valid version information
  make[3]: *** [libgdk_pixbuf-1.3.la] Error 1

 are you sure you've successfully run autogen.sh? This looks as if something
 went wrong earlier.

There is absolutely no warnings in autogen.sh   There is a warning in 
configure script   1st thing it outputs.   This is what it says. 

configure.in:165: AC_PROG_CPP was called before AC_PROG_CC




  this is the latest cvs.  is there a release of 2.0 i should be grabbing
  from the cvs instead of the very latest testing?

 GTK+ version 1.3.7 has been released a few days ago (acompaigned with glib,
 atk and pango releases). GIMP in CVS is supposed to compile against these
 versions.


 Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] configure error in cvs

2001-09-13 Thread Sven Neumann

Hi,

safemode [EMAIL PROTECTED] writes:

   Ok, compiling gtk+ from the cvs and i'm getting this error.
   gdk-pixbuf.c:395: parse error before ')' token
   gdk-pixbuf.c:396: parse error before ')' token
   gdk-pixbuf.c:397: parse error before ')' token
   make[3]: *** [gdk-pixbuf.lo] Error 1
  
   it seems to be because the version variables aren't declared anywhere or
   set correctly.  Manually assigning the numbers 1 3 and 7 to them allowed
   the file to be compiled but because the version information isn't being
   set right, linking eventually failed with this
  
   libtool: link: CURRENT `-' is not a nonnegative integer
   libtool: link: `-::-' is not valid version information
   make[3]: *** [libgdk_pixbuf-1.3.la] Error 1
 
  are you sure you've successfully run autogen.sh? This looks as if something
  went wrong earlier.
 
 There is absolutely no warnings in autogen.sh   There is a warning in 
 configure script   1st thing it outputs.   This is what it says. 
 
 configure.in:165: AC_PROG_CPP was called before AC_PROG_CC

this one is harmless.

I've just updated my CVS trees and everything compiles just fine. 
The gdk-pixbuf version numbers are defined in gdk-pixbuf-features.h
which should be created from gdk-pixbuf-features.h.in when configure
is run (or config.status more precisely). Try 'make clean -k' and
rerun autogen.sh.


Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer