Hilfe beim kompilieren

1

1805Felix

Neues Mitglied
Thread Starter
Dabei seit
10.07.2010
Beiträge
9
Reaktionspunkte
0
Hallo,
Ich hoffe ich mache nicht an meinem ersten Tag gleich den ersten Fehler und poste was im falschen Forum :).

So nun zu meinem Problem. Ich habe mir den SourceCode von einem Programm heruntergeladen und mit meinen "Noobie-Kentnissen" und dem WWW versucht zu kompilieren.

Dazu habe ich folgendes im Terminal gemacht:
1. Ich habe die tar.bz2 - Datei entpackt
2. Ich bin im Terminal in den entpackten Ordner navigiert
3. habe den Befehl: ./configure ausgeführt.
4. Das Ergebnis :
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
5. Ich habe keine Ahnung was ich damit machen soll...

Ich glaube man muss irgendwas mit "make" machen, oder so, habe aber keinen Plan.

liebe grüße Felix
 
erstmal solltest du Xcode installieren, damit überhaupt einen compiler hast ;)
 
Gut bin nun beim downloaden...
 
Xcode ist auf den Installations-DVDs dabei.
 
Die habe ich leider gerade nicht zur Hand, da ich im Urlaub bin.
 
Es ist ohnehin besser, die aktuelle Version runterzuladen

Alex
 
Woher weißt du denn ohne jede Info, welche OS-X-Version er hat und seit wann, daß es eine neuere gibt?
 
Woher weißt du denn ohne jede Info, welche OS-X-Version er hat und seit wann, daß es eine neuere gibt?

Alex' aussage hat damit nichts zutun. Auch für Tiger sollte man sich die letzte Version herunterladen, die für diese OSX-Version verfügbar ist. Auf den DVDs ist für gewöhnlich eine sehr veraltete Version abgelegt. Da geht es weniger um "Feature-Itis" sondern um Bugfixes.

Und noch etwas: wir sind hier im Gegensatz zu anderen Forenbereichen einen etwas freundlicheren Ton gewohnt.
 
  • Gefällt mir
Reaktionen: below
So XCode ist nun installiert.
Habe wieder den ./configure Befehl ausgeführt diesmal mit diesem Ergebnis:

Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from gcc object... rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... no
checking for target architecture... i386-apple-darwin10.4.0
checking for some Win32 platform... no
checking for native Win32... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
rm: conftest.dSYM: is a directory
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for difftime... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... no
checking for intltool >= 0.35.5... ./configure: line 23751: intltool-update: command not found
 found
configure: error: Your intltool is too old.  You need intltool 0.35.5 or later.

So also anscheinend ist mein intltool zu alt, leider weiß ich aber nicht was das ist.
 
Was für ein Programm willst Du denn kompilieren?
 
So also anscheinend ist mein intltool zu alt, leider weiß ich aber nicht was das ist.

Ja ist es wohl. Hm das ist ein Internationalisierungs-Tool vom Gnome Desktop, das aus .po Dateien passende Dateien für den Desktop erzeugt. Vielleicht läufst du besser, wenn du das Gesuchte über die MacPorts oder Fink installierst. Grafische Linux-Anwendungen starten übrigens immer noch ein X11 mit.

http://www.linuxfromscratch.org/blfs/view/6.3/general/intltool.html
 
Ich weiß das mit dem X11 ich finde das nur sehr gewöhnungsbedürftig....
Gerade wenn man mit mehreren Fenstern arbeiten will... dann muss ich die Toolbox z.B. erst anwählen dann das Werkzeug, dann wieder das Hauptfenster und dann das Werkzeug benutzen....

Ich weiß jetzt nicht was ich nehmen soll könntet ihr mir eine Empfehlung geben?
 
Ja ich spreche von Gimp. Diese Version habe ich schon. Wie bereits gesagt stört mich das mit dem X11 gibt es denn eine native Version?

Habe mir ja extra den Source geladen um ihn für Mac OS X zu kompiliern.
 
Nein, anders geht es derzeit nicht. Gimp setzt auf GTK auf und dieses benötigt X11. Du übersetzt das zwar für MacOS aber benötigst weiterhin X11.
 
Mhm... das ist ja blöd... Was gibt es denn für native (kostenlose) alternativen zu Gimp?
 
seashorekönntest du dir mal ansehen...
 
Was muss die Alternative denn können?

Alex
 
Alex' aussage hat damit nichts zutun. Auch für Tiger sollte man sich die letzte Version herunterladen, die für diese OSX-Version verfügbar ist. Auf den DVDs ist für gewöhnlich eine sehr veraltete Version abgelegt. Da geht es weniger um "Feature-Itis" sondern um Bugfixes.
Es geht überhaupt nciht um Tiger oder sonstwas. Wenn er sich vor zwei Wochen einen Mac gekauft hat oder SnowLeo upgedatet hat, ist ein Download absolut überflüssig, und nicht jeder hat im Urlaub einen Zugang zu einer schnellen Flatrate. Das Developer Paket ist recht umfangreich.
Und noch etwas: wir sind hier im Gegensatz zu anderen Forenbereichen einen etwas freundlicheren Ton gewohnt.
Na ja, dann benutze halt einen freundlichen Ton.
Oder fühlst du dich hier als Aufpasser und störst dich an meiner Frage? Wer eine Frage immer als Angriff interpretiert, sollte sich lieber Gedanken über sein
eigenes Verhalten machen.
 
Am besten alles was Gimp auch kann... daran habe ich mich halt gewöhnt...
 
Zurück
Oben Unten