ubuntuusers.de

[gelöst] Anjuta: Erste Gehversuche

Status: Gelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

petergensfeld

Avatar von petergensfeld

Anmeldungsdatum:
20. Mai 2005

Beiträge: 56

Wohnort: Raeren (Belgien)

Hallo,

habe mir heute mal Anjuta installiert (die etwas ältere Version 1.2.2 aus Ubuntu Hoary). Beim Erstellen eines neuen Projekts wird der Vorgang immer mit einer Fehlermeldung abgeschlossen. Die ausführbare Datei lässt sich wegen nicht erstelltem Makefile auch nicht aus dem Menü generieren. Hier mal die Ausgabe von Anjuta während der Projekterstellung:

Das Projekt wird autogeneriert: hello ...
./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.
  autopoint --force
autopoint: *** cvs program not found
autopoint: *** Stop.
Making ./aclocal.m4 writable ...
Running libtoolize...
Running aclocal  ...
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu  ...
configure.in: 80: required file `./ABOUT-NLS' not found
Makefile.am:6: required directory ./intl does not exist
Running autoconf ...
Running ./configure ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Completed ... unsuccessful
Total time taken: 9 secs

Vielleicht hat ja jemand eine Idee - muss ich noch etwas nachinstallieren oder konfigurieren? Sind die zahlreichen WARNINGs eigentlich normal?

Gruß Dirk

blackbird Team-Icon

Avatar von blackbird

Anmeldungsdatum:
19. November 2004

Beiträge: 3397

Wohnort: Hermagor, Kärnten - Österreich

apt-get install build-essential 😛

petergensfeld

(Themenstarter)
Avatar von petergensfeld

Anmeldungsdatum:
20. Mai 2005

Beiträge: 56

Wohnort: Raeren (Belgien)

blackbird hat geschrieben:

apt-get install build-essential

Nee, das tut's leider noch nicht. Den GCC-Compiler hatte ich vorher schon installiert, habe jetzt das "build-essential"-Paket trotzdem noch nachinstalliert (es fehlte aber nur der G++-Compiler).

Ich glaube, die entscheidende Fehlermeldung ist diese:

Makefile.am:6: required directory ./intl does not exist 


Wodurch wird das Verzeichnis "intl" normalerweise angelegt? Leider produziert Anjuta immer noch kein Makefile... ☹

Also - wär schön, wenn noch jemand eine Idee hätte!

Gruß Dirk

umarmung Team-Icon

Avatar von umarmung

Anmeldungsdatum:
26. Oktober 2004

Beiträge: 5632

Du hast ncht zufällig ein Projekt mit gettext Unterstützung erstellt? In dem Falle installier mal das Paket gettext.

petergensfeld

(Themenstarter)
Avatar von petergensfeld

Anmeldungsdatum:
20. Mai 2005

Beiträge: 56

Wohnort: Raeren (Belgien)

@umarmung: Danke, das war es! ☺ Ohne gettext-Unterstützung funktioniert die Projekterstellung. Das Paket gettext und gettext-base sind aber auf meinem System installiert. Was braucht man denn da noch?

Wie ist das mit den "tausend" Warnungen (siehe mein Ausgangsposting) - ist das normal?

Gruß Dirk

Antworten |