[sisyphus] autoconf и kdevelop, anjuta

Hihin Ruslan =?iso-8859-1?q?hihin_=CE=C1_narod=2Eru?=
Пн Мар 31 09:01:44 MSD 2003


 Купил в Linuxshop Junior 2.2 на 2-х дисках. 

1 Kdevelop не может нормально создать простой проект (например просто 
С++ проект). На этапе autoconf  выскакивает с сообщением:



configure.in:103: error: m4_popdef: undefined macro: AC_Dest
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:103: the top level
autom4te-2.5: /usr/bin/m4 failed with exit status: 1
make[1]: *** [cvs] Îøèáêà 1
make: *** [all] Îøèáêà 2
sh: line 1: ./configure: No such file or directory

Как это лечить ?


2 Похожая картина с anjuta :

[writer на alga g1-0.1]$ aclocal -I m4
[writer на alga g1-0.1]$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running gettextize...  Ignore non-fatal messages.
Copying file ABOUT-NLS
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/inttypes-pri.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/progtest.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4

Please use AM_GNU_GETTEXT([external]) in order to cause 
autoconfiguration
to look for an external libintl.

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.5 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.

You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure 
--disable-nls
option.

Press Return to acknowledge the previous four paragraphs.

Making ./aclocal.m4 writable ...
Running aclocal  ...
Running autoheader...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:95: error: `po/Makefile.in' is already registered with 
AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:95: the top level
autom4te-2.5: /usr/bin/m4 failed with exit status: 1
autoheader-default: /usr/bin/autom4te-2.5 failed with exit status: 1
Running automake --gnu  ...
configure.in:95: error: `po/Makefile.in' is already registered with 
AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:95: the top level
autom4te-2.5: /usr/bin/m4 failed with exit status: 1
configure.in: `AM_INIT_AUTOMAKE' must be used
automake-default: your implementation of AM_INIT_AUTOMAKE comes from an
automake-default: old Automake version.  You should recreate aclocal.m4
automake-default: with aclocal and run automake again.
automake-default: no `Makefile.am' found or specified
Running autoconf ...
configure.in:95: error: `po/Makefile.in' is already registered with 
AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:95: the top level
autom4te-2.5: /usr/bin/m4 failed with exit status: 1
Running ./configure ...
./autogen.sh: line 144: ./configure: No such file or directory


gettext.h скопировал в файл проекта - что еще не хватает.


-- 
С уважением Хихин Руслан





Подробная информация о списке рассылки Sisyphus