logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Problem z instalacją Libpng

undying18 23 Cze 2004 17:59 837 1
REKLAMA
  • #1 707406
    undying18
    Poziom 11  
    Potrzebuje zainstalować Mplayera, wpisuje ./configure --language=pl --enable-gui i w pewnym momencie wyskakuje mi komunikat, żeby zainstalować libpng i libpng -dev packages. Wyczytałem gdzieś, że aby zainstalować libpng trzeba mieć zlib, też to ściągnąłem i po rozpakowaniu i wpisaniu ./configure wyskakuje bad interpreter: Nie ma takiego pliku ani katalogu. Jak to wszystko zrobić? Czy muszę podawać ścieżke, gdzie ma sie zainstalować dana paczka, czy sama się instaluje w odpowiednie miejsce? Proszę o pomoc :?
  • REKLAMA
  • #2 708387
    scss
    Poziom 17  
    Hej!

    Jaki system? I jak chcesz instalowć? Z pakietów czy za źródełek?
    Poza tym w każdym sofcie po rozpakowaniu znajdziesz plik readme lub install lub cos podobnego i w nich jest zazwyczaj dokładny opis co i jak instalowac.
    A tak ogólnie to: "zlib can be placed in another directory, at the same level as libpng.Note that your system might already have a preinstalled
    zlib, but you will still need to have access to the
    zlib.h and zconf.h include files that correspond to the
    version of zlib that's installed."

    No masz opis: np dla Unixowych sytemów: "UNIX example: cp scripts/makefile.std makefile (te makefile.std musisz sobie wybrac-w pliku install masz cały wybór odpowiednie dla różnistych systemów.)

    Read the makefile to see if you need to change any source or
    target directories to match your preferences.

    Then read pngconf.h to see if you want to make any configuration
    changes.

    Then just run "make test" which will create the libpng library in
    this directory and run a quick test that reads the "pngtest.png"
    file and writes a "pngout.png" file that should be identical to it.
    Look for "9782 zero samples" in the output of the test. For more
    confidence, you can run another test by typing "pngtest pngnow.png"
    and looking for "289 zero samples" in the output. Also, you can
    run "pngtest -m *.png" in the "contrib/pngsuite" directory and compare
    your output with the result shown in contrib/pngsuite/README.

    Most of the makefiles will allow you to run "make install" to
    put the library in its final resting place (if you want to
    do that, run "make install" in the zlib directory first if necessary).
    Some also allow you to run "make test-installed" after you have
    run "make install".

    Pisz jak cos jest niezrozumiałe, ok.
    A no i zlib jest konieczne bo inaczej nie da sie skompilować.
REKLAMA