Re: compile gimp-1.1.26 (error)

2000-10-10 Thread Marc Lehmann

On Wed, Oct 04, 2000 at 07:32:41PM +0200, Tino Schwarze 
<[EMAIL PROTECTED]> wrote:
> > and remove the po form the list. Obvious bug, if you look at the right
> > place ;:(
> I get the same errors. :-(

This, again, could be caused what I said earlier, a missing (or
non-succeeded) make distclean. As long as the original makefile is there
it will enter the po directory. The problem really is that one directory
moved from under the control of perl's makefile into the control of the
top-level gimp makefile and old dependencies must be cut.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: compile gimp-1.1.26 (error)

2000-10-04 Thread Raphael Quinet

On Sun, 1 Oct 2000, Dominic Knight <[EMAIL PROTECTED]> wrote:
> On Fri, 29 Sep 2000, you [Marc Lehmann] wrote:
> > > > Could you send me the output of 
> > >  
> OK I managed to break make &>log by running a number of other processes
> at the same time.The output is below.
[...]

I confirm that the error exists and breaks the build.  I compiled 1.1.26
without problems on my Linux box at home (but this machine does not have
Gtk-Perl and the other Perl modules, so most of the Perl-Fu scripts are
disabled).  Today, I tried to compile 1.1.26 on my Solaris box at work,
and it failed in plug-ins/perl/po.

Here are the relevant excerpts of the make log, which are very similar
to the log sent by Dominic (except that I did not use a base64-encoded
attachment...):

% make
make  all-recursive
make[1]: Entering directory `/Local/build/gimp-1.1.26'
Making all in tools
[...]
Making all in po
[...]
Making all in po-libgimp
[...]
Making all in po-plug-ins
[...]
Making all in plug-ins/perl/po
make[2]: Entering directory `/Local/build/gimp-1.1.26/plug-ins/perl/po'
( if test 'x.' != 'x.'; then \
posrcprefix='../../../'; \
  else \
posrcprefix="../"; \
  fi; \
  rm -f POTFILES-t POTFILES \
&& (sed -e '/^#/d' -e '/^[  ]*$/d' \
-e "s@.*@   $posrcprefix& @" < ./POTFILES.in \
| sed -e '$s/\\$//') > POTFILES-t \
&& chmod a-w POTFILES-t \
&& mv POTFILES-t POTFILES )
cd ../../.. \
  && CONFIG_FILES=plug-ins/perl/po/Makefile.in CONFIG_HEADERS= \
   /bin/sh ./config.status
creating plug-ins/perl/po/Makefile.in
invoking perl for configuration...
checking for PDL support... yes
checking for PDL include path... 
-I/Local/lib/perl5/site_perl/5.005/sun4-solaris/PDL/Core
checking for PDL typemap... 
/Local/lib/perl5/site_perl/5.005/sun4-solaris/PDL/Core/typemap.pdl
building embedded perl module... no
writing Gimp/Config.pm... ok
Writing Makefile for Gimp::Lib
Writing Makefile for Gimp::Net
Writing Makefile for Gimp::UI
Writing Makefile for Gimp
make[2]: Leaving directory `/Local/build/gimp-1.1.26/plug-ins/perl/po'
make[2]: Entering directory `/Local/build/gimp-1.1.26/plug-ins/perl/po'
make[2]: *** No rule to make target `../blib/lib/Gimp.pm', needed by `gimp-perl.pot'.  
Stop.
make[2]: Leaving directory `/Local/build/gimp-1.1.26/plug-ins/perl/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Local/build/gimp-1.1.26'
make: *** [all-recursive-am] Error 2


At this stage (when building the po files), the "blib" sub-directory
does not even exist yet, because it is only created when make is run
in the perl directory.

The error seems to be in the way the Makefile in plug-ins/perl/po is
generated.  If you look at this file, you will see that gimp-perl.pot
depends on both ../Gimp.pm and ../blib/lib/Gimp.pm (as listed in
POTFILES).  The latter is probably wrong.

Anyone affected by this bug can still build 1.1.26 by deleting the
suspicious ../blib/lib/Gimp.pm from plug-ins/perl/po/Makefile or by
typing the following commands to ensure that the file is created when
it is needed:
  make  (fails in plug-ins/perl/po)
  cd plug-ins/perl
  make  (creates directories and copies Gimp.pm)
  cd ../..
  make  (builds everything now)
  make  (workaround for bug #24077)
  make install
But this is an ugly workaround, and the real solution is to fix the
generated dependencies in plug-ins/perl/po/Makefile.

-Raphael




Re: compile gimp-1.1.26 (error)

2000-10-01 Thread Dominic Knight

On Fri, 29 Sep 2000, you wrote:
> > > Could you send me the output of 
> >  
OK I managed to break make &>log by running a number of other processes at the
same time.The output is below.

Regards,
Dominic.

make  all-recursive
make[1]: Entering directory `/opt/gimp-1.1.26'
Making all in tools
make[2]: Entering directory `/opt/gimp-1.1.26/tools'
make[3]: Entering directory `/opt/gimp-1.1.26/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..   -I/usr/lib/glib/include 
-I/usr/X11R6/include-I/usr/local/include  -DGTK_DISABLE_COMPAT_H  -g -O2 
-Wall -c gimp-remote.c
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o gimp-remote  gimp-remote.o 
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext 
-lX11 -lm   -lXmu -lXt -lSM -lICE 
mkdir .libs
gcc -g -O2 -Wall -o gimp-remote gimp-remote.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk 
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXmu -lXt -lSM -lICE
make[3]: Leaving directory `/opt/gimp-1.1.26/tools'
make[2]: Leaving directory `/opt/gimp-1.1.26/tools'
Making all in po
make[2]: Entering directory `/opt/gimp-1.1.26/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/gimp-1.1.26/po'
Making all in po-libgimp
make[2]: Entering directory `/opt/gimp-1.1.26/po-libgimp'
( if test 'x.' != 'x.'; then \
posrcprefix='../'; \
  else \
posrcprefix="../"; \
  fi; \
  rm -f POTFILES-t POTFILES \
&& (sed -e '/^#/d' -e '/^[  ]*$/d' \
-e "s@.*@   $posrcprefix& @" < ./POTFILES.in \
| sed -e '$s/\\$//') > POTFILES-t \
&& chmod a-w POTFILES-t \
&& mv POTFILES-t POTFILES )
cd .. \
  && CONFIG_FILES=po-libgimp/Makefile.in CONFIG_HEADERS= \
   /bin/sh ./config.status
creating po-libgimp/Makefile.in
make[2]: Leaving directory `/opt/gimp-1.1.26/po-libgimp'
make[2]: Entering directory `/opt/gimp-1.1.26/po-libgimp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/gimp-1.1.26/po-libgimp'
Making all in po-plug-ins
make[2]: Entering directory `/opt/gimp-1.1.26/po-plug-ins'
( if test 'x.' != 'x.'; then \
posrcprefix='../'; \
  else \
posrcprefix="../"; \
  fi; \
  rm -f POTFILES-t POTFILES \
&& (sed -e '/^#/d' -e '/^[  ]*$/d' \
-e "s@.*@   $posrcprefix& @" < ./POTFILES.in \
| sed -e '$s/\\$//') > POTFILES-t \
&& chmod a-w POTFILES-t \
&& mv POTFILES-t POTFILES )
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/gimp-1.1.26/po-plug-ins'
Making all in plug-ins/perl/po
make[2]: Entering directory `/opt/gimp-1.1.26/plug-ins/perl/po'
( if test 'x.' != 'x.'; then \
posrcprefix='../../../'; \
  else \
posrcprefix="../"; \
  fi; \
  rm -f POTFILES-t POTFILES \
&& (sed -e '/^#/d' -e '/^[  ]*$/d' \
-e "s@.*@   $posrcprefix& @" < ./POTFILES.in \
| sed -e '$s/\\$//') > POTFILES-t \
&& chmod a-w POTFILES-t \
&& mv POTFILES-t POTFILES )
cd ../../.. \
  && CONFIG_FILES=plug-ins/perl/po/Makefile.in CONFIG_HEADERS= \
   /bin/sh ./config.status
creating plug-ins/perl/po/Makefile.in
invoking perl for configuration...
checking for PDL support... yes
checking for PDL include path... -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Core
checking for PDL typemap... 
/usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Core/typemap.pdl
building embedded perl module... no
writing Gimp/Config.pm... ok
Writing Makefile for Gimp::Lib
Writing Makefile for Gimp::Net
Writing Makefile for Gimp::UI
Writing Makefile for Gimp
make[2]: Leaving directory `/opt/gimp-1.1.26/plug-ins/perl/po'
make[2]: Entering directory `/opt/gimp-1.1.26/plug-ins/perl/po'
make[2]: *** No rule to make target `../blib/lib/Gimp.pm', needed by `gimp-perl.pot'.  
Stop.
make[2]: Leaving directory `/opt/gimp-1.1.26/plug-ins/perl/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gimp-1.1.26'
make: *** [all-recursive-am] Error 2



Re: compile gimp-1.1.26 (error)

2000-09-30 Thread Dominic Knight


> I am quite sure that this couldn't be the reason for gimp-perl working
> again, so either it was some cruft from earlier releases or the big is
> still hiding somewhere.
> 

> the gimp configure.in checks for libz and disabled png automatically - you
> do not happen to have a configure output from the non-working version? ;)
> 
Sorry, the end of the make output got cut off when cutting and pasting. 

I have done some further testing with zlib installed and it still breaks so you
are right about it NOT being zlib (just hit lucky when it worked I suppose).
So at the moment, every time I make &>log it works, but just make, will fail.
Maybe there are some issues that are resolved by dropping out to write a
logfile ? One thing with this box is that Reiser FS is used for /usr/ but I
really don't think that should be an issue should it ?

Best regards,
Dominic.



Re: compile gimp-1.1.26 (error)

2000-09-29 Thread Dominic Knight

> the gimp configure.in checks for libz and disabled png automatically - you
> do not happen to have a configure output from the non-working version? ;)
> 
> It shouldn't be required ;) Anyway, I forwarded your mail to
> gimp-developers, maybe someone spots the obvious thing.
> 
I attached (hopefully) config log with which make broke (& without zlib-devel)
and make output to terminal, every time I try and make a logfile it works !!!  

I'll try a few builds WITH zlib-devel and see if I can get it to break.

Best regards, 
Dominic

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ca cs da de en_GB es fi fr ga gl hu it ja ko nl no pl pt_BR ru sk sv uk
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.8... yes
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for XmuClientWindow in -lXmu... yes
checking for X11/Xmu/WinUtil.h... yes
checking for aa_printf in -laa... yes
checking for aalib.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for tiffio.

Re: compile gimp-1.1.26 (error)

2000-09-29 Thread Marc Lehmann

On Fri, Sep 29, 2000 at 09:54:50PM +0100, Dominic Knight <[EMAIL PROTECTED]> 
wrote:
> > Could you send me the output of 
>  
> I've had a good play around and fixed gimp-1.1.26 by installing zlib and zlib
> development (is it used for PNG compression ?), either this wasn't required
> previously  as 1.1.25 compile still works or (bear with me),  

I am quite sure that this couldn't be the reason for gimp-perl working
again, so either it was some cruft from earlier releases or the big is
still hiding somewhere.

> I just installed Mandrake 7.1 which was given away free on Linux Magazine
> in the United Kingdom. While it was an install I retained /opt/ directory on my
> HD this is where previous gimp tars are installed. I don't think I did a  make
> distclean before  make  so it (gimp-1.1.25) may have been configged slightly
> differently (this box was running mandrake 7.0 + development updates previously)
> but it did build and works so I guess it didn't require zlib.

the gimp configure.in checks for libz and disabled png automatically - you
do not happen to have a configure output from the non-working version? ;)

> As there are going to be a fair number of UK people using this distribution it's
> probably worth a mention on the lists as an answer from a maintainer (after
> testing my answer of course). In the next release is it possible to test for
> zlib if its going to be required ?

It shouldn't be required ;) Anyway, I forwarded your mail to
gimp-developers, maybe someone spots the obvious thing.

Thanks for testing!

> 
> Best regards,
> Dominic.
> 
> PS. the only other thing I've installed today is MHonArc but I'm fairly certain
> Gimp doesn't require that ;-) 
> 

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |