PDA

View Full Version : Glade..


x110
18-12-2003, 12:08
non riesco a compilare i sorgenti prodotti da glade.
probabilmente e' un problema di autoconf.

una volta creati i sorgenti, avvio lo script sh autogens.sh.
alche' questo script avvia automake --gnu ....

e mi restituisce un bell'errore:

Makefile.am:3 required directory ./intl does not exist
**Error**: automake failed.

che cosa puo' essere??
:cry:

mjordan
18-12-2003, 14:12
Originariamente inviato da x110
non riesco a compilare i sorgenti prodotti da glade.
probabilmente e' un problema di autoconf.

una volta creati i sorgenti, avvio lo script sh autogens.sh.
alche' questo script avvia automake --gnu ....

e mi restituisce un bell'errore:

Makefile.am:3 required directory ./intl does not exist
**Error**: automake failed.

che cosa puo' essere??
:cry:

Prova a lanciare il comando 'gettextize' all'interno della directory dei sorgenti dove si trova configure.in o configure.ac ;)
Il problema risiede nel fatto che quando hai salvato non hai incluso nelle opzioni il supporto per gettext.

x110
18-12-2003, 16:34
no l'ho salvato.
il problema e' che me lo fa sia sotto suse 8.1 che sotto mandrake 9.2
quidi probabilmente e' un mio errore.

ora ti copio tutto cio' che mi dice:


processing .
deletefiles is
Creating ./aclocal.m4 ...
Running gettextize... Ignore non-fatal messages.
Copying file ABOUT-NLS
Copying file config.rpath
Copying file mkinstalldirs
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
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 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 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.

Making ./aclocal.m4 writable ...
Running aclocal -I macros ...
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.
autoheader: `config.h.in' is unchanged
Running automake --gnu ...
Makefile.am:3: required directory ./intl does not exist
**Error**: automake failed.


grazie mille.

mjordan
18-12-2003, 16:46
gettextize --intl

;)

x110
18-12-2003, 16:53
ho provato a lanciare gettextsize --intl
e mi dice:

gettextize: *** po/Makefile.in.in exists: use option -f if you really want to delete it.
gettextize: *** Stop.

alche' ho riavviato sh autogen.sh
ma l'errore persiste:
non e' che gettextsize lo devo mettere in qualche file di configurazione?

x110
18-12-2003, 16:58
alche' leggendo ho scritto:
gettextsize -f --intl

ed ora si impianta da un'altra parte dopo un bel po'
...................
checking for GNU gettext in libc... yes
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating Makefile
config.status: creating macros/Makefile
config.status: creating src/Makefile
config.status: creating intl/Makefile
config.status: error: cannot find input file: intl/Makefile.in

ma cos'e' sto gettextize?
e praticamente che cos'ho fatto?

x110
18-12-2003, 21:31
scusa ma prima ho scritto "no l'ho salvato."
ma volevo dire che salvando ho incluso l'opzione per il supporto di gettext.

x110
19-12-2003, 12:21
help

mjordan
22-12-2003, 17:25
info gettext