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

Re: pbbuttons with sysfs backlight support



Hi Matthias,

Matthias Grimm <matthiasgrimm@users.sourceforge.net> wrote:
> On Mon, 2 Oct 2006 21:38:34 +0000 (UTC)
> Jörg Sommer <joerg@alea.gnuu.de> wrote:
>> file=./`echo ca | sed 's,.*/,,'`.gmo \
>>           && rm -f $file && /usr/bin/msgfmt -c -o $file ca.po
>> ca.po:205: Anzahl der Formatspezifikationen in »msgid« und »msgstr[1]« stimmt nicht überein
>> /usr/bin/msgfmt: es ist 1 fataler Fehler aufgetreten
>> make[3]: *** [ca.gmo] Fehler 1
>
> Which versions of gettext, autoconf and automake do you use?

% gettext --version
gettext (GNU gettext-runtime) 0.15
% autoconf --version
autoconf (GNU Autoconf) 2.60a
% automake --version
automake (GNU automake) 1.9.6

> Did you modify any file before starting the package building process?

No.

>> checking pkg-config is at least version 0.9.0... yes
>> checking for PACKAGE... yes
>> ./configure: line 6524: syntax error near unexpected token `1.0.0,'
>> ./configure: line 6524: `       AM_PATH_ALSA(1.0.0, pbb_have_alsa=yes, pbb_have_alsa=no)'
>
> I can't reproduce this error. Do you have libasound2-dev installed?

No. It's not a build dependency. But with it configure still fails,
because automake failed, because cvs could not checkout the file NEWS

cvs checkout: nothing known about pbbuttons/pbbuttonsd/NEWS

With an empty NEWS ./autgen.sh reaches the end, but now dpkg-buildpackage
fails.

% cvs -z3 -d:pserver:anonymous@pbbuttons.cvs.sourceforge.net:/cvsroot/pbbuttons co -P pbbuttons/pbbuttonsd
% cd pbbuttons/pbbuttonsd/
% touch NEWS
% NOCONFIGURE=1 ./autogen.sh
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
Making ./aclocal.m4 writable ...
Running aclocal  ...

/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
/usr/share/aclocal/lock.m4:231: gl_LOCK_BODY is expanded from...
/usr/share/aclocal/lock.m4:25: gl_LOCK is expanded from...
/usr/share/aclocal/gettext.m4:569: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/gettext.m4:471: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:347: AM_GNU_GETTEXT is expanded from...
configure.in:109: the top level
configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
Running autoheader...
configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
aclocal.m4:2346: gl_LOCK_BODY is expanded from...
aclocal.m4:2140: gl_LOCK is expanded from...
aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:645: AM_INTL_SUBDIR is expanded from...
aclocal.m4:521: AM_GNU_GETTEXT is expanded from...
configure.in:109: the top level
configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
Running automake --gnu  ...
configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
aclocal.m4:2346: gl_LOCK_BODY is expanded from...
aclocal.m4:2140: gl_LOCK is expanded from...
aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:645: AM_INTL_SUBDIR is expanded from...
aclocal.m4:521: AM_GNU_GETTEXT is expanded from...
configure.in:109: the top level
configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.in: installing `./install-sh'
configure.in: installing `./missing'
libpbbipc/Makefile.am: installing `./depcomp'
configure.in:109: installing `./config.guess'
configure.in:109: installing `./config.sub'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...
configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
aclocal.m4:2346: gl_LOCK_BODY is expanded from...
aclocal.m4:2140: gl_LOCK is expanded from...
aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:645: AM_INTL_SUBDIR is expanded from...
aclocal.m4:521: AM_GNU_GETTEXT is expanded from...
configure.in:109: the top level
configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
Skipping configure process.

% dpkg-buildpackage -uc -rfakeroot -b
Making install in po
make[2]: Entering directory `/tmp/pbbuttons/pbbuttonsd/po'
/bin/sh @MKINSTALLDIRS@ /tmp/pbbuttons/pbbuttonsd/debian/tmp//usr/share
/bin/sh: Can't open @MKINSTALLDIRS@
make[2]: *** [install-data-yes] Fehler 2
make[2]: Leaving directory `/tmp/pbbuttons/pbbuttonsd/po'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/tmp/pbbuttons/pbbuttonsd'

% grep installd Makefile
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
% ed po/Makefile.in
15498
/@MKI
MKINSTALLDIRS = @MKINSTALLDIRS@
s,@.*,$(top_srcdir)/mkinstalldirs,   
p
MKINSTALLDIRS = $(top_srcdir)/mkinstalldirs
w
15510
q

% dpkg-buildpackage -uc -rfakeroot -b
make[1]: Leaving directory `/tmp/pbbuttons/pbbuttonsd'
dh_testdir
dh_testroot
dh_movefiles
dh_movefiles: debian/tmp/usr/share/locale/it/LC_MESSAGES/pbbuttonsd.mo not found (supposed to put it in pbbuttonsd)
make: *** [binary-arch] Fehler 1

Bye, Jörg.
-- 
Unsere Zweifel sind Verräter und oft genug verspielen wir den möglichen
Gewinn, weil wir den Versuch nicht wagen.



Reply to: