On 9 Dec 1999, Marcus Sundberg wrote:
> [EMAIL PROTECTED] (Christoph Egger) writes:
>
> > Hi!
> >
> > I just downloaded the ggi-devel-991208.tar.gz -snapshot and I can't
> > compile libggi2d:
> >
> > Making all in ggi2d
> > make[2]: Entering directory
> > `/home/programmer/ggi/degas/lib/libggi2d/ggi2d'
> > /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> > -I../include -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c main.c
> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_REENTRANT
> > -D_THREAD_SAFE -g -Wall -Wp,-MD,.deps/main.pp -c
> > -fPIC -DPIC main.c -o main.lo
> > main.c:38: `GGI2DCONFFILE' undeclared here (not in a function)
> > main.c:39: `GGI2DTAGLEN' undeclared here (not in a function)
> > main.c:39: initializer element is not constant
> > make[2]: *** [main.lo] Error 1
> > make[2]: Leaving directory `/home/programmer/ggi/degas/lib/libggi2d/ggi2d'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/programmer/ggi/degas/lib/libggi2d'
> > make: *** [all-recursive-am] Error 2
>
> It works fine here, three alternatives:
> Either the snapshot generator broke down again, or you have run
> autogen.sh with the wrong tools, or you did some weird thing.
>
When I compile and install any library containing in cvs-snapshots, I do
_always_ the same steps:
./autogen.sh && ./configure && make && su -c "make install"
So the third alternative is wrong.
The second is wrong too, because autogen.sh doesn't make any problems with
the other libs.
The first alternalive - I can't judge it...
Cheers,
Christoph Egger
E-Mail: [EMAIL PROTECTED]