1. Liebe Forumsgemeinde,

    aufgrund der Bestimmungen, die sich aus der DSGVO ergeben, müssten umfangreiche Anpassungen am Forum vorgenommen werden, die sich für uns nicht wirtschaftlich abbilden lassen. Daher haben wir uns entschlossen, das Forum in seiner aktuellen Form zu archivieren und online bereit zu stellen, jedoch keine Neuanmeldungen oder neuen Kommentare mehr zuzulassen. So ist sichergestellt, dass das gesammelte Wissen nicht verloren geht, und wir die Seite dennoch DSGVO-konform zur Verfügung stellen können.
    Dies wird in den nächsten Tagen umgesetzt.

    Wir danken allen, die sich in den letzten Jahren für Hilfesuchende und auch für das Forum selbst engagiert haben.

Unix-Software per DT kompilieren

Dieses Thema im Forum "Software" wurde erstellt von mac-bitch, 3. Dezember 2003.

  1. mac-bitch

    mac-bitch New Member

    Hallo,
    ich habe hier eine Unix-Software mit jeder Menge lustiger Dateien im Ordner von denen ich keine Ahnung habe:)
    Aber in der Homepage steht das man diese Software fuer MacOSX per GCC kompilieren kann. Habe mir jetzt die DT von Apple aufgespielt (Stand December02)....
    Wie gehts jetzt weiter?
    Habe schon gesucht, aber mein Problem ist wie ich diesen SoftwareOrdner richtig in den ProjectBuilder hinein-und auch wieder hinausbekomme...oder war das schon komplett falsch???lol/....

    tia!
     
  2. mac-bitch

    mac-bitch New Member

    hat keiner ne Antwort fuer mich???:-(...schnueff...
     
  3. PeterG

    PeterG New Member

    Wenn das Ganze Unix/Linux-konform gehandhabt wird, ist es wahrscheinlich einfach. Wechsele in das Verzeichnis mit den Installationdateien. Dann im Terminal

    > ./configure

    > make

    > sudo make install

    Das erste Kommando konfiguriert das Installationsskript. Das zweite kompiliert die Quellcodes. Das kann eventuell lange dauern (wenige Minuten bis viele Stunden), je nachdem, wie umfangreich die Quellcodes sind. Das dritte Kommando kopiert die kompilierten Dateien an die richtigen Stellen, deswegen baruchtst Du dafür auch root-Rechte.
     
  4. mac-bitch

    mac-bitch New Member

    prima probier ich heut abend gleich mal aus!
    Danke:)
     
  5. applefreak

    applefreak New Member

    bitte berichten!!
     
  6. mac-bitch

    mac-bitch New Member

    mmhm irgendwas funktioniert da nicht...configure laeuft noch einigermassen...aber make und vor allem make install laeft rigendwie schief...:(
    ich sehe hinterher kein Programm das ich starten koennte...werd mal das Terminal hier rein pasten, vielleicht sagt euch das ja was:)

    hier erst mal der Ordnerinhalt, wobei unter src wahrscheinlich der Source Code ist?Sollte ich den kompilieren?

    ABOUT-NLS
    aclocal.m4
    AUTHORS
    ChangeLog
    config
    config.h.in
    configure
    configure.in
    COPYING
    Documentation
    INSTALL
    intl
    lib
    Makefile.am
    Makefile.in
    NEWS
    po
    README
    src
    THANKS
    TODO


    so und jetzt das Terminal:

    [xxx-Computer:~/Applications/ap-utils-1.3.4pre1] xxx% make
    make all-recursive
    Making all in intl
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 intl-compat.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 bindtextdom.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcgettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dgettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 gettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 finddomain.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 loadmsgcat.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localealias.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 textdomain.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 l10nflist.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 explodename.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcigettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dcngettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 dngettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 ngettext.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 plural-exp.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localcharset.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 localename.c
    gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 osdep.c
    rm -f libintl.a
    ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o localename.o osdep.o
    ranlib libintl.a
    cp ./libgnuintl.h libintl.h
    /bin/sh ./config.charset 'powerpc-apple-darwin6.8' > t-charset.alias
    mv t-charset.alias charset.alias
    sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-add.sin > t-ref-add.sed
    mv t-ref-add.sed ref-add.sed
    sed -e '/^#/d' -e 's/@''PACKAGE''@/ap-utils/g' ref-del.sin > t-ref-del.sed
    mv t-ref-del.sed ref-del.sed
    Making all in lib
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT reset.o -MD -MP -MF ".deps/reset.Tpo" \
    -c -o reset.o `test -f 'reset.c' || echo './'`reset.c; \
    then mv -f ".deps/reset.Tpo" ".deps/reset.Po"; \
    else rm -f ".deps/reset.Tpo"; exit 1; \
    fi
    In file included from reset.c:21:
    ap-utils.h:25:22: features.h: No such file or directory
    make[2]: *** [reset.o] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    [xxx-Computer:~/Applications/ap-utils-1.3.4pre1] xxx% sudo make install
    Password:
    Making install in intl
    if test "ap-utils" = "gettext" \
    && test 'intl-compat.o' = 'intl-compat.o'; then \
    /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; \
    /usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \
    @LIBTOOL@ --mode=install \
    /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
    else \
    : ; \
    fi
    if test 'yes' = yes; then \
    test no != no || /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/lib; \
    temp=/usr/local/lib/t-charset.alias; \
    dest=/usr/local/lib/charset.alias; \
    if test -f /usr/local/lib/charset.alias; then \
    orig=/usr/local/lib/charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    if test no = no; then \
    orig=charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    fi; \
    fi; \
    /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/locale; \
    test -f /usr/local/share/locale/locale.alias \
    && orig=/usr/local/share/locale/locale.alias \
    || orig=./locale.alias; \
    temp=/usr/local/share/locale/t-locale.alias; \
    dest=/usr/local/share/locale/locale.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    : ; \
    fi
    if test "ap-utils" = "gettext"; then \
    /bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) echo "../config/mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; \
    /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
    /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
    dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
    for file in $dists; do \
    /usr/bin/install -c -m 644 ./$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    chmod a+x /usr/local/share/gettext/intl/config.charset; \
    dists="plural.c"; \
    for file in $dists; do \
    if test -f $file; then dir=.; else dir=.; fi; \
    /usr/bin/install -c -m 644 $dir/$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
    for file in $dists; do \
    rm -f /usr/local/share/gettext/intl/$file; \
    done; \
    else \
    : ; \
    fi
    Making install in lib
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT reset.o -MD -MP -MF ".deps/reset.Tpo" \
    -c -o reset.o `test -f 'reset.c' || echo './'`reset.c; \
    then mv -f ".deps/reset.Tpo" ".deps/reset.Po"; \
    else rm -f ".deps/reset.Tpo"; exit 1; \
    fi
    In file included from reset.c:21:
    ap-utils.h:25:22: features.h: No such file or directory
    make[1]: *** [reset.o] Error 1
    make: *** [install-recursive] Error 1


    und nu???
     

Diese Seite empfehlen