<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: django-wkhtmltopdf on a linux (Webfaction) server</title>
	<atom:link href="http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2017 05:47:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/#comment-29</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 31 Oct 2012 11:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=119#comment-29</guid>
		<description><![CDATA[No problem. This was a great help for me as a starting place. I want to make sure it is complete as possible for others.

Also, since, you did

$ mkdir -p ~/bin
$ cp bin/* ~/bin/

Which moves all the compiled files to your ~/bin/ directory, you&#039;ll have to add ~/bin to the LD_LIBRARY_PATH as well. So the LD_LIBRARY_PATH assignment in the ~.bash_profile will have to be:

LD_LIBRARY_PATH=$HOME/lib:$HOME/bin:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH

You could optionally copy all the .so* files from ~/downloads/wkhtmltopdf/bin into your ~/lib/ directory and only copy the two executable files into your ~/bin/ directory. But there&#039;s no real reason. I prefer to keep them all together and just add the ~/bin/ directory to the library path.



Thanks for the article!]]></description>
		<content:encoded><![CDATA[<p>No problem. This was a great help for me as a starting place. I want to make sure it is complete as possible for others.</p>
<p>Also, since, you did</p>
<p>$ mkdir -p ~/bin<br />
$ cp bin/* ~/bin/</p>
<p>Which moves all the compiled files to your ~/bin/ directory, you&#8217;ll have to add ~/bin to the LD_LIBRARY_PATH as well. So the LD_LIBRARY_PATH assignment in the ~.bash_profile will have to be:</p>
<p>LD_LIBRARY_PATH=$HOME/lib:$HOME/bin:$LD_LIBRARY_PATH</p>
<p>export LD_LIBRARY_PATH</p>
<p>You could optionally copy all the .so* files from ~/downloads/wkhtmltopdf/bin into your ~/lib/ directory and only copy the two executable files into your ~/bin/ directory. But there&#8217;s no real reason. I prefer to keep them all together and just add the ~/bin/ directory to the library path.</p>
<p>Thanks for the article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ldiqual</title>
		<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/#comment-28</link>
		<dc:creator>ldiqual</dc:creator>
		<pubDate>Tue, 30 Oct 2012 19:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=119#comment-28</guid>
		<description><![CDATA[Thanks Dave! I updated my post with the elements you just gave.]]></description>
		<content:encoded><![CDATA[<p>Thanks Dave! I updated my post with the elements you just gave.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/#comment-27</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 30 Oct 2012 19:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=119#comment-27</guid>
		<description><![CDATA[OK. For anyone else, you will have to prefix it so add -prefix &quot;../wkqt&quot; to the ./configure so that it looks like the following:

$ ./configure -release -static -fast -exceptions -no-accessibility -no-stl -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-qt3support -xmlpatterns -no-phonon -no-phonon-backend -webkit -no-scripttools -no-mmx -no-3dnow -no-sse -no-sse2  -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -graphicssystem raster -opensource -nomake tools -nomake examples -nomake demos -nomake docs -nomake translations -no-opengl -no-dbus -no-multimedia -openssl -no-declarative -largefile -rpath -no-nis -no-cups -no-iconv -no-pch -no-gtkstyle -no-nas-sound -no-sm -no-xshape -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-mitshm -no-xinput -no-xkb -no-glib -no-openvg  -no-xsync -no-audio-backend -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -confirm-license -prefix &quot;../wkqt&quot;

You&#039;ll also have to change your LD_LIBRARY_PATH to not point to /usr/local/ as you will not have permission on this directory in the webfaction environment. So add 

LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

to your ~.bash_profile. 


Restart. And you&#039;re all set!]]></description>
		<content:encoded><![CDATA[<p>OK. For anyone else, you will have to prefix it so add -prefix &#8220;../wkqt&#8221; to the ./configure so that it looks like the following:</p>
<p>$ ./configure -release -static -fast -exceptions -no-accessibility -no-stl -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-qt3support -xmlpatterns -no-phonon -no-phonon-backend -webkit -no-scripttools -no-mmx -no-3dnow -no-sse -no-sse2  -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -graphicssystem raster -opensource -nomake tools -nomake examples -nomake demos -nomake docs -nomake translations -no-opengl -no-dbus -no-multimedia -openssl -no-declarative -largefile -rpath -no-nis -no-cups -no-iconv -no-pch -no-gtkstyle -no-nas-sound -no-sm -no-xshape -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-mitshm -no-xinput -no-xkb -no-glib -no-openvg  -no-xsync -no-audio-backend -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -confirm-license -prefix &#8220;../wkqt&#8221;</p>
<p>You&#8217;ll also have to change your LD_LIBRARY_PATH to not point to /usr/local/ as you will not have permission on this directory in the webfaction environment. So add </p>
<p>LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH<br />
export LD_LIBRARY_PATH</p>
<p>to your ~.bash_profile. </p>
<p>Restart. And you&#8217;re all set!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ldiqual</title>
		<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/#comment-26</link>
		<dc:creator>ldiqual</dc:creator>
		<pubDate>Tue, 30 Oct 2012 19:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=119#comment-26</guid>
		<description><![CDATA[You&#039;re right, even the wkhtmltopdf wiki says that QT&#039;s configure needs `-prefix &quot;../wkqt&quot;`. I can&#039;t test this right now, could you tell me if it works with this flag ? Thanks for your notice ;)]]></description>
		<content:encoded><![CDATA[<p>You&#8217;re right, even the wkhtmltopdf wiki says that QT&#8217;s configure needs `-prefix &#8220;../wkqt&#8221;`. I can&#8217;t test this right now, could you tell me if it works with this flag ? Thanks for your notice <img src='http://lois.di-qual.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://lois.di-qual.net/blog/django-wkhtmltopdf-on-a-linux-webfaction-server/#comment-25</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 30 Oct 2012 18:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://lois.di-qual.net/blog/?p=119#comment-25</guid>
		<description><![CDATA[When you configure wkhtmltopdf-qt, you&#039;re not setting the -prefix to &quot;../wkqt&quot;. How did you get this to work? Or is that just a typo? 

Every time I make install, it fails because it&#039;s trying to install something in /usr/local/Trolltech/ which I don&#039;t have permission to do on webfaction. How did you get this to work?]]></description>
		<content:encoded><![CDATA[<p>When you configure wkhtmltopdf-qt, you&#8217;re not setting the -prefix to &#8220;../wkqt&#8221;. How did you get this to work? Or is that just a typo? </p>
<p>Every time I make install, it fails because it&#8217;s trying to install something in /usr/local/Trolltech/ which I don&#8217;t have permission to do on webfaction. How did you get this to work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
