PDA

View Full Version : autom4te e strani errori...


lnessuno
24-01-2003, 21:33
stavo tentando di compilare k3b da cvs... però quando faccio

[lele@localhost kdeextragear-1]$ make -f Makefile.cvs

mi da questo errore:


This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
/usr//bin/autom4te-2.5x: unrecognized option `--prepend-include'
Try `/usr//bin/autom4te-2.5x --help' for more information.
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
[lele@localhost kdeextragear-1]$

che cavolo significa??? ho capito che non riconosce l'opzione "-prepend-include", ma come faccio per fargliela riconoscere? :p

VICIUS
25-01-2003, 09:21
che versione hai di autom4te ?
io ho la 2.54 e quella opzione è nella lista

lnessuno
25-01-2003, 09:39
[lele@localhost lele]$ autom4te --version
autom4te (GNU Autoconf) 2.57


strano... è più aggiornata e ha della roba in meno?? :confused:

questi sono i parametri che accetta:


Operation modes:
-h, --help print this help, then exit
-V, --version print version number, then exit
-v, --verbose verbosely report processing
-d, --debug don't remove temporary files
-o, --output=FILE save output in FILE (defaults to `-', stdout)
-f, --force don't rely on cached values
-W, --warnings=CATEGORY report the warnings falling in CATEGORY
-l, --language=LANG specify the set of M4 macros to use
-C, --cache=DIRECTORY preserve results for future runs in DIRECTORY
--no-cache disable the cache
-m, --mode=OCTAL change the non trace output file mode (0666)
-M, --melt don't use M4 frozen files

Languages include:
`Autoconf' create Autoconf configure scripts
`Autotest' create Autotest test suites
`M4sh' create M4sh shell scripts
`M4sugar' create M4sugar output

Warning categories include:
`cross' cross compilation issues
`obsolete' obsolete constructs
`syntax' dubious syntactic constructs
`all' all the warnings
`no-CATEGORY' turn off the warnings on CATEGORY
`none' turn off all the warnings
`error' warnings are error

The environment variable `WARNINGS' is honored.

Library directories:
-B, --prepend-include=DIR prepend directory DIR to search path
-I, --include=DIR append directory DIR to search path

Tracing:
-t, --trace=MACRO report the MACRO invocations
-p, --preselect=MACRO prepare to trace MACRO in a future run

Freezing:
-F, --freeze produce an M4 frozen state file for FILES

VICIUS
25-01-2003, 11:22
il codice preso dal cvs non sono assicurati :D
riprova a scaricare il giorno dopo e probabilmente tutto funziona.

la cosa strana è che l'opzione nella lista c'è e quindi non dovrebbe dare problemi.

l'unica cosa che mi viene in mente è che potresti avere due automate sul hd uno vecchio e l'altro è la 2.57.

lnessuno
25-01-2003, 11:27
Originally posted by "VICIUS"

il codice preso dal cvs non sono assicurati :D
riprova a scaricare il giorno dopo e probabilmente tutto funziona.

la cosa strana è che l'opzione nella lista c'è e quindi non dovrebbe dare problemi.

l'unica cosa che mi viene in mente è che potresti avere due automate sul hd uno vecchio e l'altro è la 2.57.


uhm è possibile visto che ho due autoconf, due automake e due autom4te :p

precisamente:

autoconf e autoconf-2.5x
automake e automake-1.6
autom4te e autom4te-2.5x

può dipendere da quello o è normale averne 2?

VICIUS
25-01-2003, 11:44
be non penso sia normale averne due :D
prova a vedere se hanno la stessa versione oppure è diversa
se il Makefile ha il percorso del vecchio allora prova a mettergli quello del nuovo.

lnessuno
25-01-2003, 11:52
in effetti sono due versioni diverse:

[lele@localhost lele]$ autom4te --version
autom4te (GNU Autoconf) 2.57
Written by Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[lele@localhost lele]$ autom4te-2.5x --version
autom4te (GNU Autoconf) 2.53
Written by Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


ora mi riscarico il CVS di k3b, poi provo ad invertirgli i nomi... dici che sputtano tutto? :D