GLosung: Porovnání verzí

Smazaný obsah Přidaný obsah
Kychot (diskuse | příspěvky)
→‎Files: libgtk-x11-2.0.so.0: cannot open shared object file
Kychot (diskuse | příspěvky)
SCons
Řádek 25:
* Gtk+ Version of watchwords (german: Losungen).
* This program shows the watchwords (german: Losungen) for each day. The `Losungen' are words out of the bible, one from the Old and one from the New Testament.
 
<pre>
sudo add-apt-repository ppa:godehardt/ppa
sudo apt-get update
</pre>
 
<pre>
E: Repositář „http://ppa.launchpad.net/godehardt/ppa/ubuntu bionic Release“ neobsahuje soubor Release.
N: Aktualizaci z takového repositáře nelze provést zabezpečeně a je proto implicitně zakázána.
N: Podrobnosti o vytváření a nastavení repositářů naleznete v manuálové stránce apt-secure(8).
</pre>
 
<pre>
sudo apt-get install glosung
</pre>
 
=== Spuštění ===
Řádek 30 ⟶ 45:
glosung: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
 
== Kompilace ==
Zkusíme kompilovat ze zdrojů:
* [https://sourceforge.net/projects/glosung/files/glosung/3.6.4/glosung-3.6.4.tar.bz2/download glosung-3.6.4.tar.bz2]
* rozbalí se do: glosung-3.6.4
<pre>
REQUIREMENTS
 
GLosung requires that you have installed a few working libraries:
 
* glib/gtk+ 2.10 or higher
See the GTK+ homepage (www.gtk.org) for information on how to
download and install GLIB and GTK+.
 
* libxml2 (aka gnome-xml)
See homepage (www.xmlsoft.org) for more information.
 
* libcurl
See curl homepage (curl.haxx.se) for information.
 
GLosung also makes use of the 'gettext' libraries.
</pre>
 
Je zapotřebí mít nainstalovaný [[w:en: SCons]] (pokročilejší nástroj než [[w:en:Make (software)|make]]).
 
sudo apt-get install scons
 
A potom v příslušném adresáři glosung-3.6.4:
 
sudo scons PREFIX=/usr/local install
 
<pre>
scons: Reading SConscript files ...
/bin/sh: 1: pkg-config: not found
OSError: 'pkg-config gtk+-2.0 libxml-2.0 gconf-2.0 gmodule-export-2.0 libcurl --cflags --libs' exited 127:
File "/p7/DATAp7/linux/GLosung/glosung-3.6.4/SConstruct", line 98:
env.ParseConfig('pkg-config gtk+-2.0 libxml-2.0 gconf-2.0 gmodule-export-2.0 libcurl --cflags --libs')
File "/usr/lib/scons/SCons/Environment.py", line 1557:
return function(self, self.backtick(command))
File "/usr/lib/scons/SCons/Environment.py", line 594:
raise OSError("'%s' exited %d" % (command, status))
</pre>
 
[[Kategorie: Hesla Jednoty bratrské]]