Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: Neo 23 Června 2009, 16:27:57

Název: kde sehnat libpng2 ?
Přispěvatel: Neo 23 Června 2009, 16:27:57
Snažím se nainstalovat tento program: http://xkarel.sourceforge.net/cz/program.php
Stáhnu verzi pro debian a když se to pokusím nainstalovat tak to hlásí: Chyba: Závislost nemůže být splněna: libpng2 (>= 1.0.12)
Zkusil jsem ten balík najít v Synapticu a nejen, že není nainstalovaný, ale vůbec není v repositářích.
Poradíte někdo odkud ho nainstalovat nebo jak jinak ten program nainstalovat.
Díky
Název: Re: kde sehnat libpng2 ?
Přispěvatel: premet 23 Června 2009, 16:52:54
Zkusil bych nainstalovat balíček libpng12-0 nebo libpng3
Název: Re: kde sehnat libpng2 ?
Přispěvatel: Yontalcar 23 Června 2009, 16:59:01
Zkusil bych nainstalovat balíček libpng12-0 nebo libpng3
to asi nepomůže

@Neo
Binárka bude asi celkem stará - zkusil bych to překompilovat
Název: Re: kde sehnat libpng2 ?
Přispěvatel: Neo 23 Června 2009, 19:30:14
libpng3 mám nainstalováno

Může mi někdo napovědět jak se to kompiluje (jsem BFU)?

Případně jestli někdo neví nějaký další zdroj tohoto programu nebo nějakého podobného.
Zatím díky
Název: Re: kde sehnat libpng2 ?
Přispěvatel: eXt_r33m 23 Června 2009, 19:33:27
Libpng2 uz neexistuje ani v Debianu - myslim ze nahrada je libpng12 nebo trojka....
Název: Re: kde sehnat libpng2 ?
Přispěvatel: premet 23 Června 2009, 19:33:41
http://wiki.ubuntu.cz/Instalace%20program%C5%AF/Zdrojov%C3%A9%20k%C3%B3dy (http://wiki.ubuntu.cz/Instalace%20program%C5%AF/Zdrojov%C3%A9%20k%C3%B3dy)
třeba ti to pomůže, s případnými problémy přijd zase sem  :)
Název: Re: kde sehnat libpng2 ?
Přispěvatel: Yontalcar 23 Června 2009, 20:45:41
hm, chtěl jsem to zkusit zkompilovat a napsat návod, ale zasekl jsem se
aplikoval jsem tohle:
Kód: [Vybrat]
--- a/src/BodyBrowser.h      2009-06-23 17:43:50.000000000 +0200
+++ b/src/BodyBrowser.h   2009-06-23 17:44:45.000000000 +0200
@@ -30,9 +30,9 @@
  public:
   cBodyBrowser(int, int, int, int, const char * = 0);
   void setCatalogueUI(cKatalogUI *catalogue);
-  int cBodyBrowser::showedLines();
+  int showedLines();
   void setCommand(cCommand *c);
-  inline cCommand *cBodyBrowser::getCommand(){return CommandView;}
+  inline cCommand *getCommand(){return CommandView;}
 };

 #endif
to zkončilo takhle:
Kód: [Vybrat]
$ make
(cd src ; make)
make[1]: Entering directory `/home/naar/tmp/36902/xkarel-2.0.0b5/src'
g++ -O2 -Wall -I/usr/local/include -DINSTALL_PATH=\"/usr/local\" -DINSTALL_DOCS_PATH=\"/usr/local/share/doc/xkarel-2.0.0b5\" -DVERSION=\"2.0.0b5\" -DTARGET=\"xkarel\" -DOPENGL -c Katalog.cpp
Katalog.cpp:15:21: error: fstream.h: není souborem ani adresářem
In file included from Katalog.cpp:16:
Katalog.h: In function ‘bool compare(const char*, const char*)’:
Katalog.h:140: error: ‘strcoll’ was not declared in this scope
Katalog.cpp: At global scope:
Katalog.cpp:35: error: ‘strdup’ was not declared in this scope
Katalog.cpp:36: error: ‘strdup’ was not declared in this scope
Katalog.cpp:37: error: ‘strdup’ was not declared in this scope
Katalog.cpp:38: error: ‘strdup’ was not declared in this scope
Katalog.cpp:39: error: ‘strdup’ was not declared in this scope
Katalog.cpp:40: error: ‘strdup’ was not declared in this scope
Katalog.cpp:41: error: ‘strdup’ was not declared in this scope
Katalog.cpp:42: error: ‘strdup’ was not declared in this scope
Katalog.cpp:43: error: ‘strdup’ was not declared in this scope
Katalog.cpp:44: error: ‘strdup’ was not declared in this scope
Katalog.cpp:45: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In constructor ‘cRunTime::cRunTime(cRobot*)’:
Katalog.cpp:52: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In member function ‘void cRunTime::rename(const char*, const char*)’:
Katalog.cpp:100: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘int cRunTime::del(const char*)’:
Katalog.cpp:237: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘cAddres* cRunTime::getAddres(const char*)’:
Katalog.cpp:326: error: ‘strcasecmp’ was not declared in this scope
Katalog.cpp: In member function ‘int cRunTime::setLanguage(const char*, std::vector<const char*, std::allocator<const char*> >&)’:
Katalog.cpp:356: error: ‘strdup’ was not declared in this scope
Katalog.cpp: In member function ‘ReturnValues cRunTime::executeElement()’:
Katalog.cpp:450: warning: enumeration value ‘NONE_BREAKPOINT’ not handled in switch
Katalog.cpp: In member function ‘ReturnValues cRunTime::step()’:
Katalog.cpp:540: warning: enumeration value ‘NONE_BREAKPOINT’ not handled in switch
make[1]: *** [Katalog.o] Error 1
make[1]: Leaving directory `/home/naar/tmp/36902/xkarel-2.0.0b5/src'
make: *** [x] Error 2