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

Re: [1/2 OT?] Makefile und "echtes" debian Paket bauen aus cvs source



Am Samstag 06 November 2004 20:37 schrieb Andreas Pakulat:
> Richtig, das ist kein Makefile, sondern ein Makefile.am, du solltest
> dir mal automake und autoconf angucken. Das ist kein gueltiges
> Makefile.

Hallo Andreas,

danke für Deine Antwort. Das mit dem debian Paket sollte ich vielleicht 
noch überdenken ;-).

Könnte es helfen das verzeichnis mit den sourcen nochmal ganz zu löschen 
und nochmals aus dem cvs zu ziehen, oder würde da ein make clean helfen 
(mit dem Makefile dann wohl eher nicht). 

Das bootstrap Script lief nicht sauber durch:

[...]
Copying file m4/xsize.m4
Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~)
Creating m4/ChangeLog
Updating Makefile.am (backup is in Makefile.am~)
Updating configure.ac (backup is in configure.ac~)
Adding an entry to ChangeLog (backup is in ChangeLog~)

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

Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.

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 five paragraphs.

libtoolize: putting files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/config.guess'
libtoolize: copying file `config/config.sub'
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/libtool.m4'
configure.ac:8: `automake requires `AM_CONFIG_HEADER', not 
`AC_CONFIG_HEADER'
configure.ac: installing `config/install-sh'
configure.ac: installing `config/missing'
Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS
src/Panorama/Makefile.am: installing `config/depcomp'
Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS

Trotzdem konnte ich mit aclocal und autoconf

~$ aclocal -I m4
~$ autoconf

ein configure script erstellen, das sauber durchlief.
Nachdem make beim erstenmal mit diesem Fehler hängen blieb:
Makefile.am:1: AM_GNU_GETTEXT used but `po' not in SUBDIRS
verschob ich noch Makevars nach po:
~$ mv -v  ./src/hugin/po/Makevars.template 
po/Makevars ./po/Makevars.template'-> `po/Makevars'

womit es dann hier hängt:
../../config/depcomp: line 69: @LIBTOOL@: command not found

Hier geht's auch nicht mehr weiter.

ciao

Gerhard



Reply to: