From trevorturk at gmail.com Wed Oct 21 20:46:59 2009 From: trevorturk at gmail.com (Trevor Turk) Date: Wed, 21 Oct 2009 15:46:59 -0500 Subject: Ubnuntu installation woes Message-ID: Hello all, I've been struggling a bit to get Varnish installed on an Ubuntu 8.10 intrepid. I started with the apt-get method, but that produced a really badly out of date release. Then, I've been working by installing from source. I ran into a problem that Kristian helped me with in the #varnish IRC room. Apparently, I need to add "/usr/local/lib" to "/etc/ld.member:so.conf" in order to get the libraries loaded. I was getting errors about "varnishd: error while loading shared libraries: libvarnish.so.1" before this. Kristian suggested that I should drop a note to the mailing list about this. I'm wondering if: a) The wiki might be updated to have more detail installation instructions that cover this potential issue. b) another person in IRC suggested that there was a debian package in the svn repo, but I wasn't able to get that working. Perhaps there are some instructions that could be added to the wiki about that? c) The apt-get-able package might be updated somehow, perhaps I should put in a request elsewhere about this, though. Thanks very much for your work on Varnish. I've had excellent test results with it, and I've used it on Heroku and been very impressed so far. - Trevor From trevorturk at gmail.com Wed Oct 21 21:37:06 2009 From: trevorturk at gmail.com (Trevor Turk) Date: Wed, 21 Oct 2009 16:37:06 -0500 Subject: Ubnuntu installation woes In-Reply-To: References: Message-ID: Hi Yann, Thanks for the reply, but I'm not really sure what you mean! Can you please explain in a bit more detail? I'm not really an expert when it comes to installing packages like this, and I need a bit more to go on :) On Wed, Oct 21, 2009 at 4:31 PM, Yann Verry wrote: > You can create a baclport, source the karmic varnish version and compile > under 8.10 it's Easy ! From yanntech at gmail.com Wed Oct 21 21:31:30 2009 From: yanntech at gmail.com (Yann Verry) Date: Wed, 21 Oct 2009 23:31:30 +0200 Subject: Ubnuntu installation woes Message-ID: hi, You can create a baclport, source the karmic varnish version and compile under 8.10 it's Easy ! Le 21 oct. 2009, 10:55 PM, "Trevor Turk" a ?crit : Hello all, I've been struggling a bit to get Varnish installed on an Ubuntu 8.10 intrepid. I started with the apt-get method, but that produced a really badly out of date release. Then, I've been working by installing from source. I ran into a problem that Kristian helped me with in the #varnish IRC room. Apparently, I need to add "/usr/local/lib" to "/etc/ld.member:so.conf" in order to get the libraries loaded. I was getting errors about "varnishd: error while loading shared libraries: libvarnish.so.1" before this. Kristian suggested that I should drop a note to the mailing list about this. I'm wondering if: a) The wiki might be updated to have more detail installation instructions that cover this potential issue. b) another person in IRC suggested that there was a debian package in the svn repo, but I wasn't able to get that working. Perhaps there are some instructions that could be added to the wiki about that? c) The apt-get-able package might be updated somehow, perhaps I should put in a request elsewhere about this, though. Thanks very much for your work on Varnish. I've had excellent test results with it, and I've used it on Heroku and been very impressed so far. - Trevor _______________________________________________ varnish-dist mailing list varnish-dist at projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-dist -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanntech at gmail.com Thu Oct 22 06:17:07 2009 From: yanntech at gmail.com (Yann Verry) Date: Thu, 22 Oct 2009 08:17:07 +0200 Subject: Ubnuntu installation woes In-Reply-To: References: Message-ID: OK, switch your sources.list to karmic ( sed -i.hardy 's/hardykarmic/g' /etc/apt/sources.list ). apt-get update && apt-get source varnish rollback your sources.list (with my sed command you have a backup) and buildpackage. launch dpkg-buildpackage in varnish dir, after that you have backported the latest varnish in ubuntu hardy. On Wed, Oct 21, 2009 at 23:37, Trevor Turk wrote: > Hi Yann, > > Thanks for the reply, but I'm not really sure what you mean! Can you > please explain in a bit more detail? I'm not really an expert when it > comes to installing packages like this, and I need a bit more to go on > :) > > On Wed, Oct 21, 2009 at 4:31 PM, Yann Verry wrote: > > You can create a baclport, source the karmic varnish version and compile > > under 8.10 it's Easy ! > -- Linux, une histoire de vi ou de more --. . . -.- ....- . ...- . .-. -------------- next part -------------- An HTML attachment was scrubbed... URL: From des at des.no Thu Oct 22 16:46:53 2009 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu, 22 Oct 2009 18:46:53 +0200 Subject: Ubnuntu installation woes In-Reply-To: (Yann Verry's message of "Thu, 22 Oct 2009 08:17:07 +0200") References: Message-ID: <86y6n3qsua.fsf@ds4.des.no> Yann Verry writes: > switch your sources.list to karmic ( sed -i.hardy 's/hardykarmic/g' /etc/apt/ > sources.list ). > apt-get update && apt-get source varnish > rollback your sources.list (with my sed command you have a backup) and buildpackage. > > launch dpkg-buildpackage in varnish dir, after that you have backported the latest > varnish in ubuntu hardy. Umm, how about: % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4 % cd varnish-2.0.4/varnish-cache % dpkg-buildpackage DES -- Dag-Erling Sm?rgrav - des at des.no From trevorturk at gmail.com Thu Oct 22 17:13:20 2009 From: trevorturk at gmail.com (Trevor Turk) Date: Thu, 22 Oct 2009 12:13:20 -0500 Subject: Ubnuntu installation woes In-Reply-To: <86y6n3qsua.fsf@ds4.des.no> References: <86y6n3qsua.fsf@ds4.des.no> Message-ID: 2009/10/22 Dag-Erling Sm?rgrav : > Umm, how about: > > % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4 > % cd varnish-2.0.4/varnish-cache > % dpkg-buildpackage Actually, this seems to be working. I think you need to do this: % apt-get update % apt-get install subversion autotools-dev automake1.9 libtool autoconf libncurses-dev xsltproc quilt % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4 % cd varnish-2.0.4/varnish-cache % dpkg-buildpackage % cd .. % dpkg -i libvarnish1_2.0.4-6_i386.deb % dpkg -i varnish_2.0.4-6_i386.deb I think I'm close to getting it working as Yann suggested, but this way seems a bit easier. What do you guys think about putting something like this into the wiki? I'm hoping to save someone the trouble I've been through when they try to set Varnish up. - Trevor From trevorturk at gmail.com Fri Oct 23 02:35:34 2009 From: trevorturk at gmail.com (Trevor Turk) Date: Thu, 22 Oct 2009 21:35:34 -0500 Subject: Ubnuntu installation woes In-Reply-To: References: <86y6n3qsua.fsf@ds4.des.no> Message-ID: 2009/10/22 Trevor Turk : > 2009/10/22 Dag-Erling Sm?rgrav : >> Umm, how about: >> >> % svn co http://varnish.projects.linpro.no/svn/tags/varnish-2.0.4 >> % cd varnish-2.0.4/varnish-cache >> % dpkg-buildpackage > > Actually, this seems to be working. Thanks again for the help, everyone. I wrote a blog post that tries to step through the steps I'm using to get Varnish cooperating with nginx to run a Ruby app using Sinatra and Passenger. I know, it's a mouthful :) http://almosteffortless.com/2009/10/22/installing-varnish-with-nginx-passenger-and-monit-on-ubuntu-8-10-intrepid/ Any feedback is more than welcome. - Trevor