<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Kevin Horst - Internet Applications &#38; Development</title>
	<atom:link href="http://blog.kevinhorst.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kevinhorst.de</link>
	<description></description>
	<pubDate>Mon, 07 Jun 2010 08:47:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Canon MX860 &#038; Graustufendruck unter Ubuntu</title>
		<link>http://blog.kevinhorst.de/2010/05/02/linux/canon-mx860-graustufendruck-unter-ubuntu/</link>
		<comments>http://blog.kevinhorst.de/2010/05/02/linux/canon-mx860-graustufendruck-unter-ubuntu/#comments</comments>
		<pubDate>Sun, 02 May 2010 13:49:40 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[canon mx860]]></category>

		<category><![CDATA[cups]]></category>

		<category><![CDATA[graustufendruck]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=346</guid>
		<description><![CDATA[Im Wiki der Ubuntu Users findet sich eine schöne Zusammenfassung aller Zusatzeinträge für das cups Drucksystem. Bevor man sich allerdings wundert, warum die Einstellungen nicht wirksam werden sollte man diesen Hinweis beachten:
Wenn die Einstellungen nachträglich eingefügt werden sollen, ist zu beachten, dass die vom System verwendete canon(Druckertyp).ppd-Datei jetzt in /etc/cups/ppd/ zu finden ist. Die Druckerkonfiguration [...]]]></description>
			<content:encoded><![CDATA[<p>Im Wiki der Ubuntu Users findet sich eine schöne <a title="Canon-Drucker &gt; Wiki &gt; ubuntuusers.de" href="http://wiki.ubuntuusers.de/Canon-Drucker#Zusaetzliche-Eintraege-in-Druckertreiber" target="_blank" onclick="">Zusammenfassung aller Zusatzeinträge</a> für das cups Drucksystem. Bevor man sich allerdings wundert, warum die Einstellungen nicht wirksam werden sollte man diesen Hinweis beachten:</p>
<blockquote><p>Wenn die Einstellungen nachträglich eingefügt werden sollen, ist zu beachten, dass die vom System verwendete <strong>canon(Druckertyp).ppd</strong>-Datei jetzt in <strong>/etc/cups/ppd/</strong> zu finden ist. Die <span class="internal">Druckerkonfiguration</span> kopiert beim Hinzufügen des neuen Druckers die gewählte <strong>canon(Druckertyp).ppd</strong>-Datei aus <strong>/usr/share/cups/model/</strong> nach <strong>/etc/cups/ppd</strong>. Der Dateiname unterscheidet sich dann eventuell etwas von dem Namen der Ursprungsdatei, aber das soll nicht weiter stören.</p></blockquote>
<p>Bedeutet letztendlich nichts anderes als: Ist der Drucker schon installiert und möchte nachträglich Funktionen freischalten, editiert man die Treiber-Datei unter /etc/cups/ppd und startet anschließend cups neu: sudo /etc/init.d/cups restart</p>
<p>Ich konnte durch den Nachtrag unter /etc/cups/ppd/Canon-MX860.ppd erfolgreich den Graustufendruck aktivieren:</p>
<pre>*OpenUI *CNGrayscale/Grayscale: PickOne
*DefaultCNGrayscale: false
*CNGrayscale false/Off: "false"
*CNGrayscale true/On: "true"
*CloseUI: *CNGrayscal<a title="Canon-Drucker &gt; Wiki &gt; ubuntuusers.de" href="http://wiki.ubuntuusers.de/Canon-Drucker#Zusaetzliche-Eintraege-in-Druckertreiber" target="_blank" onclick=""></a></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2010/05/02/linux/canon-mx860-graustufendruck-unter-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>pecl &#038; oci8 unter ubuntu 9.04</title>
		<link>http://blog.kevinhorst.de/2010/04/19/php/pecl-oci8-unter-ubuntu-904/</link>
		<comments>http://blog.kevinhorst.de/2010/04/19/php/pecl-oci8-unter-ubuntu-904/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 09:36:26 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[oci8]]></category>

		<category><![CDATA[pecl]]></category>

		<category><![CDATA[php5]]></category>

		<category><![CDATA[ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=338</guid>
		<description><![CDATA[Zend Server CE bringt diese Extension gleich mit und man muss nur darauf achten, dass man libaio1 installiert hat. Hat man aber sein System mit Paketen installiert, fehlt einem irgendwann die Extension oci8. Diese Extension setzt (wie unter Windows auch) den Oracle Instant Client voraus. Der Client ist unter http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html als rpm oder zip zu [...]]]></description>
			<content:encoded><![CDATA[<p>Zend Server CE bringt diese Extension gleich mit und man muss nur darauf achten, dass man <a title="Zend Server CE + oci8 unter Ubuntu 9.04" href="http://blog.kevinhorst.de/2009/09/28/linux/zend-server-ce-oci8-unter-ubuntu-904/" target="_self">libaio1</a> installiert hat. Hat man aber sein System mit Paketen installiert, fehlt einem irgendwann die Extension oci8. Diese Extension setzt (wie unter Windows auch) den Oracle Instant Client voraus. Der Client ist unter <a title="Oracle Instant Client Linux" href="http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html" target="_blank" onclick="">http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html</a> als rpm oder zip zu bekommen. Wir benötigen Basic &amp; SDK.</p>

<div class="wp_syntax"><div class="code"><pre class="bash">user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>instantclient-basic-linux32<span style="color: #000000;">-11.2</span><span style="color: #000000;">.0</span><span style="color: #000000;">.1</span>.<span style="color: #c20cb9; font-weight: bold;">zip</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>instantclient-sdk-linux32<span style="color: #000000;">-11.2</span><span style="color: #000000;">.0</span><span style="color: #000000;">.1</span>.<span style="color: #c20cb9; font-weight: bold;">zip</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> -s instantclient_11_2<span style="color: #000000; font-weight: bold;">/</span> instantclient
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>instantclient$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> -s libclntsh.so<span style="color: #000000;">.11</span><span style="color: #000000;">.1</span> libclntsh.so
&nbsp;
<span style="color: #666666; font-style: italic;"># Abhängigkeiten: php5-dev, libaio1</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> aptitude <span style="color: #c20cb9; font-weight: bold;">install</span> php5-dev libaio1
&nbsp;
<span style="color: #666666; font-style: italic;"># Installation von Pecl oci8</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> pecl update-channels
<span style="color: #666666; font-style: italic;"># Bei der Eingabeaufforderung nun &quot;instantclient,/opt/instantclient&quot; angeben</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> pecl <span style="color: #c20cb9; font-weight: bold;">install</span> oci8</pre></div></div>

<p>Sollte die Installation der Extension nicht erfolgen weil der Pfad zum Instantclient nicht akzeptiert wird kann man die Extension dennoch &#8220;zu Fuß&#8221; kompilieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;"># Das Downloadverzeichnis befindet sich norm. unter /tmp/pecl</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>pecl<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>oci8<span style="color: #000000;">-1.4</span><span style="color: #000000;">.1</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> phpize
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>pecl<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>oci8<span style="color: #000000;">-1.4</span><span style="color: #000000;">.1</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>configure --with-<span style="color: #007800;">oci8=</span>shared,instantclient,<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>instantclient
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>pecl<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>oci8<span style="color: #000000;">-1.4</span><span style="color: #000000;">.1</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span>
user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>pecl<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>oci8<span style="color: #000000;">-1.4</span><span style="color: #000000;">.1</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Die Extension aktivieren wir in der php.ini, die gewöhnlich unter /etc/php5/apache2/php.ini liegt und ergänzen sie um folgende Zeile: extension=oci8.so<br />
Alternativ kann man auch eine eigene Konfigurationsdatei anlegen unter /etc/php5/conf.d/oci.ini und hier die gleiche Zeile eingeben.<br />
Apache neu starten - fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2010/04/19/php/pecl-oci8-unter-ubuntu-904/feed/</wfw:commentRss>
		</item>
		<item>
		<title>vpnc &#038; Nortel Contivity VPN</title>
		<link>http://blog.kevinhorst.de/2010/04/02/linux/vpnc-nortel-contivity-vpn/</link>
		<comments>http://blog.kevinhorst.de/2010/04/02/linux/vpnc-nortel-contivity-vpn/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 13:58:54 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Jaunty Jackalope]]></category>

		<category><![CDATA[nortel]]></category>

		<category><![CDATA[ubuntu 9.04]]></category>

		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=325</guid>
		<description><![CDATA[Um unter Ubuntu 9.04 (Jaunty Jackalope), und wahrscheinlich auch neueren Versionen, eine Verbindung zu einem Nortel Contivity VPN herzustellen benötigt es einen veränderten VPN Client, der leider nicht standardmäßig als Paket im Apt-Repository zur Verfügung steht. Speziell geht es darum, dass das Paket vpnc kompatibel ist zu cisco3000 VPN Concentrator (Cisco&#8217;s EasyVPN equipment) und nicht [...]]]></description>
			<content:encoded><![CDATA[<p><span class="lang" lang="en" xml:lang="en">Um unter Ubuntu 9.04 (Jaunty Jackalope), und wahrscheinlich auch neueren Versionen, eine Verbindung zu einem Nortel Contivity VPN herzustellen benötigt es einen veränderten VPN Client, der leider nicht standardmäßig als Paket im Apt-Repository zur Verfügung steht. Speziell geht es darum, dass das Paket <a title="Cisco-compatible VPN client" href="http://packages.ubuntu.com/jaunty/vpnc" target="_blank" onclick="">vpnc</a></span> kompatibel ist zu cisco3000 VPN Concentrator (Cisco&#8217;s EasyVPN equipment) und nicht zu Nortel Contivity VPN. Der Nortel Client ist leider nicht kostenlos verfügbar und somit entstand ein zu Nortel kompatibler vpnc, der unter <a title="vpnc-nortel" href="http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel/" target="_blank" onclick="">svn.unix-ag.uni-kl.de</a> exportiert werden kann:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #666666; font-style: italic;"># Abhängigkeiten</span>
root<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt aptitude <span style="color: #c20cb9; font-weight: bold;">install</span> libgcrypt-dev gnutls-dev
<span style="color: #666666; font-style: italic;"># Nortel Client exportieren, zum Erscheinen dieses Eintrages lag Rev. 449 vor</span>
root<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt svn <span style="color: #7a0874; font-weight: bold;">export</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.unix-ag.uni-kl.de<span style="color: #000000; font-weight: bold;">/</span>vpnc<span style="color: #000000; font-weight: bold;">/</span>branches<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #666666; font-style: italic;"># Nortel Client kompilieren u. installieren</span>
root<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel <span style="color: #c20cb9; font-weight: bold;">make</span>
root<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Nach erfolgreicher Kompilierung geht es an den schwierigsten Teil, der allerdings nur dann schwierig ist, wenn man wenig Informationen zu dem vorliegenden Netzwerk hat. Es gibt massig Threads in diversen Foren (auch im Ubuntu Forum) die sich mit diesem Thema beschäftigen. Leider geht selten hervor, welche Anforderungen die Umgebung an den Client stellt. Ich möchte hier kurz die Anforderungen erläutern, die sich mir stellten:</p>
<ul>
<li>IPSec gateway: bekannt</li>
<li>IPSec ID: bekannt</li>
<li>IPSec secret: bekannt</li>
<li>Xauth username: bekannt</li>
<li>IKE DH Group: unbekannt (default dh2)</li>
<li>IKE Authmode: bekannt</li>
<li>Passwort + SecureID-code: bekannt</li>
</ul>
<p>Bei den ersten 4 Informationen handelt es sich um den Host, zu dem die Verbindung hergestellt werden soll, Gruppen-Name + Gruppen Passwort, sowie den Username (der übrigens auch einen Slash enthalten kann; Groß-/Kleinschreibung wird ignoriert). Mit Hilfe der Dokumentation kommt man schnell an die nötigen Konfigurationswerte:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>nortel-vpnc$ .<span style="color: #000000; font-weight: bold;">/</span>vpnc --long-help</pre></div></div>

<p>IKE DH Group: es gibt 3 Möglichkeiten (1, 2, 5)<br />
IKE Authmode: gpassword steht für Nortel Group Security - Group Password Authentication</p>
<p>Das führt nun folgender Konfiguration:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">IPSec gateway <span style="color: #7a0874; font-weight: bold;">&#91;</span>gateway<span style="color: #7a0874; font-weight: bold;">&#93;</span>
IPSec ID <span style="color: #7a0874; font-weight: bold;">&#91;</span>groupname<span style="color: #7a0874; font-weight: bold;">&#93;</span>
IPSec secret <span style="color: #7a0874; font-weight: bold;">&#91;</span>grouppassword<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Xauth username <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Vendor nortel
Script <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel<span style="color: #000000; font-weight: bold;">/</span>vpnc-script
IKE Authmode gpassword</pre></div></div>

<p>Diese Konfiguration liegt bei mir unter /etc/vpnc.conf und gehört root. Durch die Option &#8220;Script /opt/vpnc-nortel/vpnc-script&#8221; wird vpnc mitgeteilt, dass die Verbindung mit Hilfe unseres Scripts unter /etc/opt/vpnc-nortel aufgebaut wird und nicht mit einem unter /etc/&#8230; vermuteten Script. Auf einen symbolischen Link dorthin oder sogar eine Kopie des Scripts kann somit verzichtet werden. Die Konfiguration generell ist sinnvoll, da man nun beim Starten des Clients nur noch das Passwort eingeben muss. Man könnte natürlich noch den Username weglassen um verschiedene Logins zu ermöglichen.</p>
<p>Startet man nun das Script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>vpnc</pre></div></div>

<p>Gibt man sein Passwort, direkt gefolgt von dem SecureID-Code ein (ohne Leerzeichen, Plus-Zeichen, etc.). Die Meldung: &#8220;VPNC started in background (pid: 10636)&#8230;&#8221; teilt nun mit, dass eine Verbindung aufgestellt wurde.<br />
Mit ifconfig kann man nun ein neues Interface mit der zugeteilten IP Adresse sehen (z.B. tun0) sowie mit dem Befehl route die Routentabelle die nun das neue Interface verwenden sollte.</p>
<p>Die Verbindung wird geschlossen mit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>vpnc-disconnect</pre></div></div>

<p>Bei Verbindungsprobemen kann der Debug-Modus helfen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">user<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>vpnc-nortel$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>vpnc --debug <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">99</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2010/04/02/linux/vpnc-nortel-contivity-vpn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>pecl &#038; phpize-Errors unter Ubuntu 9.04</title>
		<link>http://blog.kevinhorst.de/2009/09/28/uncategorized/pecl-phpize-errors-unter-ubuntu-904/</link>
		<comments>http://blog.kevinhorst.de/2009/09/28/uncategorized/pecl-phpize-errors-unter-ubuntu-904/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:49:28 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apc]]></category>

		<category><![CDATA[pecl]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[zend server ce]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=294</guid>
		<description><![CDATA[Änderungen an Libtool stehen im direkten Zusammenhang mit Fehlermeldungen beim Installieren von PHP Extensions aus dem Pecl Repository. Dies außert sich im Beispiel von APC (oder auch oci8) folgendermaßen:

downloading APC-3.0.19.tgz ...
Starting to download APC-3.0.19.tgz &#40;115,735 bytes&#41;
.................done: 115,735 bytes
47 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module [...]]]></description>
			<content:encoded><![CDATA[<p>Änderungen an Libtool stehen im direkten Zusammenhang mit Fehlermeldungen beim Installieren von PHP Extensions aus dem Pecl Repository. Dies außert sich im Beispiel von APC (oder auch oci8) folgendermaßen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">downloading APC<span style="color: #000000;">-3.0</span><span style="color: #000000;">.19</span>.tgz ...
Starting to download APC<span style="color: #000000;">-3.0</span><span style="color: #000000;">.19</span>.tgz <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">115</span>,<span style="color: #000000;">735</span> bytes<span style="color: #7a0874; font-weight: bold;">&#41;</span>
.................<span style="color: #000000; font-weight: bold;">done</span>: <span style="color: #000000;">115</span>,<span style="color: #000000;">735</span> bytes
<span style="color: #000000;">47</span> <span style="color: #7a0874; font-weight: bold;">source</span> files, building
running: phpize
Configuring <span style="color: #000000; font-weight: bold;">for</span>:
PHP Api Version:         <span style="color: #000000;">20041225</span>
Zend Module Api No:      <span style="color: #000000;">20060613</span>
Zend Extension Api No:   <span style="color: #000000;">220060519</span>
configure.<span style="color: #000000; font-weight: bold;">in</span>:<span style="color: #000000;">158</span>: warning: LTOPTIONS_VERSION is m4_require<span style="color: #ff0000;">'d but not m4_defun'</span>d
<span style="color: #c20cb9; font-weight: bold;">aclocal</span>.<span style="color: #c20cb9; font-weight: bold;">m4</span>:<span style="color: #000000;">2943</span>: LT_INIT is expanded from...
<span style="color: #c20cb9; font-weight: bold;">aclocal</span>.<span style="color: #c20cb9; font-weight: bold;">m4</span>:<span style="color: #000000;">2978</span>: AC_PROG_LIBTOOL is expanded from...
configure.<span style="color: #000000; font-weight: bold;">in</span>:<span style="color: #000000;">158</span>: the top level
configure.<span style="color: #000000; font-weight: bold;">in</span>:<span style="color: #000000;">158</span>: warning: LTSUGAR_VERSION is m4_require<span style="color: #ff0000;">'d but not m4_defun'</span>d
configure.<span style="color: #000000; font-weight: bold;">in</span>:<span style="color: #000000;">158</span>: warning: LTVERSION_VERSION is m4_require<span style="color: #ff0000;">'d but not m4_defun'</span>d
configure.<span style="color: #000000; font-weight: bold;">in</span>:<span style="color: #000000;">158</span>: warning: LTOBSOLETE_VERSION is m4_require<span style="color: #ff0000;">'d but not m4_defun'</span>d
configure:<span style="color: #000000;">6197</span>: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:<span style="color: #000000;">8806</span>: error: possibly undefined macro: _LT_SET_OPTIONS
configure:<span style="color: #000000;">8806</span>: error: possibly undefined macro: LT_INIT
ERROR: <span style="color: #000000; font-weight: bold;">`</span>phpize<span style="color: #ff0000;">' failed
</span</pre></div></div>

<p>Problem:</p>
<p>Seit Libtool Version 2.2 wurden diverse Macros in mehrere Dateien gesplittet und somit vermisst das phpize eigene Build-Script build/libtool.m4 autoconf Definitionen und ist somit nicht mehr lauffähig.</p>
<p>Lösung (unter root):</p>

<div class="wp_syntax"><div class="code"><pre class="bash">root<span style="color: #000000; font-weight: bold;">@</span>host:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">aclocal</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> lt~obsolete.<span style="color: #c20cb9; font-weight: bold;">m4</span> ltoptions.<span style="color: #c20cb9; font-weight: bold;">m4</span> ltsugar.<span style="color: #c20cb9; font-weight: bold;">m4</span> ltversion.<span style="color: #c20cb9; font-weight: bold;">m4</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; libtool.<span style="color: #c20cb9; font-weight: bold;">m4</span></pre></div></div>

<p>Quelle: <a title="phpize: configure:8184: error: possibly undefined macro: _LT_SET_OPTIONS" href="https://bugs.launchpad.net/ubuntu/+source/php5/+bug/262251" target="_blank" onclick="">https://bugs.launchpad.net/ubuntu/+source/php5/+bug/262251</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/09/28/uncategorized/pecl-phpize-errors-unter-ubuntu-904/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend Server CE + oci8 unter Ubuntu 9.04</title>
		<link>http://blog.kevinhorst.de/2009/09/28/linux/zend-server-ce-oci8-unter-ubuntu-904/</link>
		<comments>http://blog.kevinhorst.de/2009/09/28/linux/zend-server-ce-oci8-unter-ubuntu-904/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:13:43 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[oci8]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[zend server ce]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=285</guid>
		<description><![CDATA[Unter Ubuntu 9.04 verweigert der Zend Server CE leider das Starten der oci8 Extension. Unter Monitor -&#62; Logs (bzw. [INSTALL-DIRECTORY]/zend/var/log/php.log) findet sich der Hinweis auf eine fehlende Library:
[28-Sep-2009 19:58:54] PHP Warning:  PHP Startup: Unable to load dynamic library &#8216;/usr/local/zend/lib/php_extensions/oci8.so&#8217; - libaio.so.1: cannot open shared object file: No such file or directory in Unknown on [...]]]></description>
			<content:encoded><![CDATA[<p>Unter Ubuntu 9.04 verweigert der Zend Server CE leider das Starten der oci8 Extension. Unter Monitor -&gt; Logs (bzw. [INSTALL-DIRECTORY]/zend/var/log/php.log) findet sich der Hinweis auf eine fehlende Library:</p>
<p>[28-Sep-2009 19:58:54] PHP Warning:  PHP Startup: Unable to load dynamic library &#8216;/usr/local/zend/lib/php_extensions/oci8.so&#8217; - libaio.so.1: cannot open shared object file: No such file or directory in Unknown on line 0<br />
[28-Sep-2009 19:58:54] PHP Warning:  PHP Startup: Unable to load dynamic library &#8216;/usr/local/zend/lib/php_extensions/pdo_oci.so&#8217; - libaio.so.1: cannot open shared object file: No such file or directory in Unknown on line 0</p>
<p>Lösung:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">sudo</span> apt-get <span style="color: #c20cb9; font-weight: bold;">install</span> libaio1</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/09/28/linux/zend-server-ce-oci8-unter-ubuntu-904/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VirtualBox Mauszeiger-Integration in Ubuntu</title>
		<link>http://blog.kevinhorst.de/2009/04/24/linux/virtualbox-mauszeiger-integration-in-ubuntu/</link>
		<comments>http://blog.kevinhorst.de/2009/04/24/linux/virtualbox-mauszeiger-integration-in-ubuntu/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:14:18 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=248</guid>
		<description><![CDATA[Nach dem Installieren der Gasterweiterungen im Gastsystem Ubuntu (ab Version 8.04) geht die Mauszeigerintegration noch nicht.
In der Datei /etc/X11/xorg.conf folgende Zeilen ergänzen:

Section &#34;InputDevice&#34;
   Identifier   &#34;Configured Mouse&#34;
   Driver       &#34;vboxmouse&#34;
   Option       &#34;CorePointer&#34;
EndSection

Mit der zusätzlichen Option geht auch [...]]]></description>
			<content:encoded><![CDATA[<p>Nach dem Installieren der Gasterweiterungen im Gastsystem Ubuntu (ab Version 8.04) geht die Mauszeigerintegration noch nicht.</p>
<p>In der Datei /etc/X11/xorg.conf folgende Zeilen ergänzen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">Section <span style="color: #ff0000;">&quot;InputDevice&quot;</span>
   Identifier   <span style="color: #ff0000;">&quot;Configured Mouse&quot;</span>
   Driver       <span style="color: #ff0000;">&quot;vboxmouse&quot;</span>
   Option       <span style="color: #ff0000;">&quot;CorePointer&quot;</span>
EndSection</pre></div></div>

<p>Mit der zusätzlichen Option geht auch noch das Scroll-Rad:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">Option       <span style="color: #ff0000;">&quot;Protocol&quot;</span> <span style="color: #ff0000;">&quot;ImPS/2&quot;</span></pre></div></div>

<p>Quelle:<br />
<a href="http://forums.virtualbox.org/viewtopic.php?t=10800" target="_blank" onclick="">http://forums.virtualbox.org/viewtopic.php?t=10800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/04/24/linux/virtualbox-mauszeiger-integration-in-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Die Neue im Team</title>
		<link>http://blog.kevinhorst.de/2009/04/18/uncategorized/die-neue-im-team/</link>
		<comments>http://blog.kevinhorst.de/2009/04/18/uncategorized/die-neue-im-team/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 13:24:13 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=240</guid>
		<description><![CDATA[
Die Vorgängerin E50 leistete gute Dienste und ging heute freiwillig. Wir werden Sie in unseren Erinnerungen behalten.
]]></description>
			<content:encoded><![CDATA[<div id="attachment_239" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.kevinhorst.de/wp-content/2009/04/jurac5.png"><img title="Jura Impressa C5" src="http://blog.kevinhorst.de/wp-content/2009/04/jurac5-150x150.png" alt="Jura Impressa C5, weiß" width="150" height="150" /></a><p class="wp-caption-text">Jura Impressa C5, weiß</p></div>
<p>Die Vorgängerin E50 leistete gute Dienste und ging heute freiwillig. Wir werden Sie in unseren Erinnerungen behalten.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/04/18/uncategorized/die-neue-im-team/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Brauerei Bruckmüller, Amberg</title>
		<link>http://blog.kevinhorst.de/2009/04/10/projekte/brauerei-bruckmuller-amberg/</link>
		<comments>http://blog.kevinhorst.de/2009/04/10/projekte/brauerei-bruckmuller-amberg/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 14:50:13 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Projekte]]></category>

		<category><![CDATA[projekt]]></category>

		<category><![CDATA[referenz]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=230</guid>
		<description><![CDATA[

Gemeinschaftsprojekt mit Tobias Grosser (Paper &#38; Pixel) und Christian Hubmann.
Kunde: Brauerei Bruckmüller GmbH &#38; Co. KG
Projektzeitraum: Februar/März 2009
Online: März 2009
Technologie: XHTML/CSS, jQuery, Macromedia Flash, Adobe Illustrator/Photoshop

]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="entry">
<p>Gemeinschaftsprojekt mit Tobias Grosser (Paper &amp; Pixel) und Christian Hubmann.</p>
<p>Kunde: Brauerei Bruckmüller GmbH &amp; Co. KG<br />
Projektzeitraum: Februar/März 2009<br />
Online: März 2009<br />
Technologie: XHTML/CSS, jQuery, Macromedia Flash, Adobe Illustrator/Photoshop</p></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/04/10/projekte/brauerei-bruckmuller-amberg/feed/</wfw:commentRss>
		</item>
		<item>
		<title>arvato online services, webmiles</title>
		<link>http://blog.kevinhorst.de/2009/03/31/projekte/arvato-online-services-webmiles/</link>
		<comments>http://blog.kevinhorst.de/2009/03/31/projekte/arvato-online-services-webmiles/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 18:16:48 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Projekte]]></category>

		<category><![CDATA[apc]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[memcache]]></category>

		<category><![CDATA[php5]]></category>

		<category><![CDATA[projekt]]></category>

		<category><![CDATA[referenz]]></category>

		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=220</guid>
		<description><![CDATA[
Tätigkeit:
Performance-Analyse und -Verbesserung einer bestehenden Zend Framework Application. Refactoring, Weiterentwicklung und Bugfixing.
Kunde: arvato online services GmbH / AraCom Software GmbH
Projektzeitraum: Februar - Juni 2009
Online: 30. März 2009
Technologie: PHP5, Zend Framework, memcache, APC, jQuery, Soap, Oracle (oci8), XHTML/CSS

]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p><strong>Tätigkeit:</strong><br />
Performance-Analyse und -Verbesserung einer bestehenden Zend Framework Application. Refactoring, Weiterentwicklung und Bugfixing.</p>
<p>Kunde: arvato online services GmbH / AraCom Software GmbH<br />
Projektzeitraum: Februar - Juni 2009<br />
Online: 30. März 2009<br />
Technologie: PHP5, Zend Framework, memcache, APC, jQuery, Soap, Oracle (oci8), XHTML/CSS</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/03/31/projekte/arvato-online-services-webmiles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pension NOVA</title>
		<link>http://blog.kevinhorst.de/2009/03/20/projekte/pension-nova/</link>
		<comments>http://blog.kevinhorst.de/2009/03/20/projekte/pension-nova/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 13:46:42 +0000</pubDate>
		<dc:creator>Kevin Horst</dc:creator>
		
		<category><![CDATA[Projekte]]></category>

		<category><![CDATA[projekt]]></category>

		<category><![CDATA[referenz]]></category>

		<category><![CDATA[Typo3]]></category>

		<guid isPermaLink="false">http://blog.kevinhorst.de/?p=208</guid>
		<description><![CDATA[Tätigkeit:
Umsetzung einer Typo3-Seite anhand vorgegebener Layouts im Photoshop Format. Für den Header-Bereich lassen sich Bilder-Sets zusammenstellen, die zufällig eingeblendet werden.
Kunde: Pension Nova, Nürnberg
Projektzeitraum: Feburar/März 2009
Online: 20. März 2009
Technologie: PHP5, Typo3, PrototypeJS, Scriptaculous, XHTML/CSS
]]></description>
			<content:encoded><![CDATA[<p><strong>Tätigkeit:</strong><br />
Umsetzung einer Typo3-Seite anhand vorgegebener Layouts im Photoshop Format. Für den Header-Bereich lassen sich Bilder-Sets zusammenstellen, die zufällig eingeblendet werden.</p>
<p>Kunde: Pension Nova, Nürnberg<br />
Projektzeitraum: Feburar/März 2009<br />
Online: 20. März 2009<br />
Technologie: PHP5, Typo3, PrototypeJS, Scriptaculous, XHTML/CSS</p>

]]></content:encoded>
			<wfw:commentRss>http://blog.kevinhorst.de/2009/03/20/projekte/pension-nova/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
