Új hozzászólás Aktív témák

  • emitter

    őstag

    újabb kezdő kérdés: hogyan kell makelni, makeinstallolni?

    van egy progi, ezt kéne
    COPYRIGHT dos2unix.1 dos2unix.h mac2unix Makefile
    dos2unix dos2unix.c INSTALL mac2unix.1

    az INSTALL-ban ez van:
    1) Edit the Makefile if necessary -- by default dos2unx mac2unix
    will install in /usr/local/bin/ /usr/local/man/man1

    2) make; make install

    Bernd Johannes Wuebben
    <wuebben@kde.org>


    szájbarágósan: mit kell csinálnom, hogy feltelepüljön?
    beírtam konzolba hogy ./Makefile, erre ezt adta:

    emitter@LAPTOP:~/Letoltesek/dos2unix-3.0$ ./Makefile
    ./Makefile: line 1: all:: command not found
    dos2unix.c:67:8: warning: extra tokens at end of #endif directive
    In file included from dos2unix.c:73:
    dos2unix.h:8:8: warning: extra tokens at end of #endif directive
    dos2unix.h:126:9: warning: extra tokens at end of #endif directive
    dos2unix.c:79:8: warning: extra tokens at end of #else directive
    dos2unix.c:82:8: warning: extra tokens at end of #endif directive
    dos2unix.c:125:8: warning: extra tokens at end of #endif directive
    dos2unix.c:222:8: warning: extra tokens at end of #endif directive
    dos2unix.c:252:8: warning: extra tokens at end of #endif directive
    dos2unix.c:332:8: warning: extra tokens at end of #endif directive
    /tmp/ccWbtvYs.o: In function `ConvertDosToUnixNewFile':
    dos2unix.c:(.text+0x3f7): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    ln: `mac2unix': a fájl létezik
    ln: `mac2unix.1': a fájl létezik
    ./Makefile: line 7: install:: command not found
    install: nem lehet létrehozni a következő reguláris fájlt: `/usr/local/bin/dos2unix': Hozzáférés megtagadva
    install: nem lehet létrehozni a következő reguláris fájlt: `/usr/local/man/man1': Hozzáférés megtagadva
    install: nem lehet létrehozni a következő reguláris fájlt: `/usr/local/bin/mac2unix': Hozzáférés megtagadva
    install: nem lehet létrehozni a következő reguláris fájlt: `/usr/local/man/man1': Hozzáférés megtagadva
    emitter@LAPTOP:~/Letoltesek/dos2unix-3.0$

Új hozzászólás Aktív témák