pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Compile problem


From: Charles Kerr
Subject: Re: [Pan-devel] Compile problem
Date: Sat, 1 Jun 2002 08:15:05 -0700
User-agent: Mutt/1.3.20i

I'm having a similar experience, where the build fails in the =build/po
directory:

done
make[2]: Entering directory `/home/charles/pan/pan-0.11.94/=build/po'
make pan.pot
PATH=`pwd`/../src:$PATH; \
cd ../../po; \
catalogs='ca.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo et.gmo fi.gmo fr.gmo 
ga.gmo gl.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo no.gmo nl.gmo pl.gmo pt.gmo 
pt_BR.gmo ru.gmo sk.gmo sl.gmo sp.gmo sr.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo'; \
for cat in $catalogs; do \
  cat=`basename $cat`; \
  lang=`echo $cat | sed 's/\.gmo$//'`; \
  cp $lang.po $lang.old.po; \
  echo "$lang:"; \
  if INTLTOOL_EXTRACT=../intltool-extract ../intltool-update --gettext-package 
pan --dist $lang; then \
    rm -f $lang.old.po; \
  else \
    echo "msgmerge for $cat failed!"; \
    rm -f $lang.po; \
    mv $lang.old.po $lang.po; \
  fi; \
done
cp: cannot create regular file `ca.old.po': Permission denied
ca:
/bin/sh: ../intltool-update: No such file or directory
msgmerge for ca.gmo failed!
rm: cannot unlink `ca.po': Permission denied
mv: cannot stat `ca.old.po': No such file or directory
cp: cannot create regular file `da.old.po': Permission denied
da:
/bin/sh: ../intltool-update: No such file or directory
msgmerge for da.gmo failed!
rm: cannot unlink `da.po': Permission denied
mv: cannot stat `da.old.po': No such file or directory
cp: cannot create regular file `de.old.po': Permission denied
de:

and so on.

hmmm...

On Mon, May 20, 2002 at 11:06:20PM +0200, Bas Mevissen wrote:
> 
> Hi,
> 
> I've the following compile problem: if I build code that is intented to be 
> installed in a directory in which I don't have XS to, the build fails. This 
> may happen to all users that do the "make" under a different user than they 
> do the "make install", which is a good practice IMO. Attached the edited log.
> 
> Bas.

> build in directory /home/sgm/cvs/pan-try
> ran ./autogen.sh --prefix /home/devel/pan2
> ran make; partitial output below
> 
> make  all-recursive
> make[1]: Entering directory `/home/sgm/cvs/pan-try'
> Making all in po
> make[2]: Entering directory `/home/sgm/cvs/pan-try/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/sgm/cvs/pan-try/po'
> Making all in gmime
> make[2]: Entering directory `/home/sgm/cvs/pan-try/gmime'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..\gmime -D_REENTRANT 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -g -O2 -c gmime.c
> make[2]: Leaving directory `/home/sgm/cvs/pan-try/gmime'
> Making all in pan
> make[2]: Entering directory `/home/sgm/cvs/pan-try/pan'
> Making all in base
> make[3]: Entering directory `/home/sgm/cvs/pan-try/pan/base'
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/home/devel/pan2/include/pan 
> -DGNOMELOCALEDIR=\""/home/devel/pan2/share/locale"\"  -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
> -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -D_REENTRANT -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2        -g -O2 -c acache.c
> /home/devel/pan2/include/pan: Permission denied
> make[3]: *** [acache.o] Error 1
> make[3]: Leaving directory `/home/sgm/cvs/pan-try/pan/base'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sgm/cvs/pan-try/pan'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sgm/cvs/pan-try'
> make: *** [all-recursive-am] Error 2
> 
> The problem IMO is that the directory /home/devel/pan2/include/pan should not 
> be XS'ed during the build phase.
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]