Hello all, I just started hacking with mongrel2 again and just to build it again I had to do: export DYLD_LIBRARY_PATH=/usr/local/lib and thought I would add it to the docs for n00bs like myself. What's the procedure of pushing the code to the main repository? Please enlighten. Thanks. Anuj -- Anuj DUTTA
On Mon, Feb 28, 2011 at 06:57:31AM +0000, Anuj Dutta wrote: > Hello all, > > I just started hacking with mongrel2 again and just to build it again I had > to do: In the Makefile there's a way to do specific build for a platform. Take a look toward the bottom and maybe we need a specific one for OSX. > What's the procedure of pushing the code to the main repository? Please > enlighten. http://mongrel2.org/wiki?name=ContributorInstructions There ya go, let me know where to pull from. -- Zed A. Shaw http://zedshaw.com/
You might consider adding /usr/local/lib to /etc/ld.so.conf and running ldconfig. On Mon, Feb 28, 2011 at 1:57 AM, Anuj Dutta <dutta.anuj@googlemail.com>wrote: > Hello all, > > I just started hacking with mongrel2 again and just to build it again I had > to do: > > export DYLD_LIBRARY_PATH=/usr/local/lib > > and thought I would add it to the docs for n00bs like myself. > > What's the procedure of pushing the code to the main repository? Please > enlighten. > > Thanks. > > Anuj > > -- > Anuj DUTTA >
DYLD_LIBYRARY_PATH is an OSX specific thing, and ldconfig/ld.so.conf is a Linux (or maybe just a few distros...I know Ubuntu uses it) specific thing. I'm not aware of anything similar to ldconfig on OSX. Something a bit better would be "make sure shit can find the libraries using ldconfig, DYLD_LIBRARY_PATH, or LD_LIBRARY_PATH". - Daniel On Mon, Feb 28, 2011 at 12:00 AM, James Dennis <jdennis@gmail.com> wrote: > You might consider adding /usr/local/lib to /etc/ld.so.conf and running > ldconfig. > > > On Mon, Feb 28, 2011 at 1:57 AM, Anuj Dutta <dutta.anuj@googlemail.com>wrote: > >> Hello all, >> >> I just started hacking with mongrel2 again and just to build it again I >> had to do: >> >> export DYLD_LIBRARY_PATH=/usr/local/lib >> >> and thought I would add it to the docs for n00bs like myself. >> >> What's the procedure of pushing the code to the main repository? Please >> enlighten. >> >> Thanks. >> >> Anuj >> >> -- >> Anuj DUTTA >> > >
Well, at the moment "make all install" doesn't seem to consider DYLD_LIBRARY_PATH because I had to export it by hand and like Daniel said this should just work transparently. I will have a look and see if I could fix it. Thanks. Anuj On 28 February 2011 07:20, Daniel Huckstep <darkhelmet@darkhelmetlive.com>wrote: > DYLD_LIBYRARY_PATH is an OSX specific thing, and ldconfig/ld.so.conf is a > Linux (or maybe just a few distros...I know Ubuntu uses it) specific thing. > I'm not aware of anything similar to ldconfig on OSX. > > Something a bit better would be "make sure shit can find the libraries > using ldconfig, DYLD_LIBRARY_PATH, or LD_LIBRARY_PATH". > > - Daniel > > On Mon, Feb 28, 2011 at 12:00 AM, James Dennis <jdennis@gmail.com> wrote: > >> You might consider adding /usr/local/lib to /etc/ld.so.conf and running >> ldconfig. >> >> >> On Mon, Feb 28, 2011 at 1:57 AM, Anuj Dutta <dutta.anuj@googlemail.com>wrote: >> >>> Hello all, >>> >>> I just started hacking with mongrel2 again and just to build it again I >>> had to do: >>> >>> export DYLD_LIBRARY_PATH=/usr/local/lib >>> >>> and thought I would add it to the docs for n00bs like myself. >>> >>> What's the procedure of pushing the code to the main repository? Please >>> enlighten. >>> >>> Thanks. >>> >>> Anuj >>> >>> -- >>> Anuj DUTTA >>> >> >> > -- Anuj DUTTA
Hello, On 2011-02-28 08:33, Anuj Dutta wrote: > Well, at the moment "make all install" doesn't seem to consider > DYLD_LIBRARY_PATH because I had to export it by hand and like Daniel > said this should just work transparently. I will have a look and see if > I could fix it. If you are using OSX, you can use macports and the installation and everything is as easy as: wget http://mongrel2.org/static/downloads/mongrel2-1.5.tar.bz2 tar xjvf mongrel2-1.5.tar.bz2 cd mongrel2-1.5/ sudo make clean macports install Note the "macports" to grab the libs from your macports paths. loïc > > On 28 February 2011 07:20, Daniel Huckstep > <darkhelmet@darkhelmetlive.com <mailto:darkhelmet@darkhelmetlive.com>> > wrote: > > DYLD_LIBYRARY_PATH is an OSX specific thing, and ldconfig/ld.so.conf > is a Linux (or maybe just a few distros...I know Ubuntu uses it) > specific thing. I'm not aware of anything similar to ldconfig on OSX. > > Something a bit better would be "make sure shit can find the > libraries using ldconfig, DYLD_LIBRARY_PATH, or LD_LIBRARY_PATH". > > - Daniel > > On Mon, Feb 28, 2011 at 12:00 AM, James Dennis <jdennis@gmail.com > <mailto:jdennis@gmail.com>> wrote: > > You might consider adding /usr/local/lib to /etc/ld.so.conf and > running ldconfig. > > > On Mon, Feb 28, 2011 at 1:57 AM, Anuj Dutta > <dutta.anuj@googlemail.com <mailto:dutta.anuj@googlemail.com>> > wrote: > > Hello all, > > I just started hacking with mongrel2 again and just to build > it again I had to do: > > export DYLD_LIBRARY_PATH=/usr/local/lib > > and thought I would add it to the docs for n00bs like myself. > > What's the procedure of pushing the code to the main > repository? Please enlighten. > > Thanks. > > Anuj > > -- > Anuj DUTTA > > > > > > > -- > Anuj DUTTA -- Dr Loïc d'Anterroches Founder Céondo Ltd w: www.ceondo.com | e: loic@ceondo.com t: +44 (0)207 183 0016 | f: +44 (0)207 183 0124 Céondo Ltd Dalton House 60 Windsor Avenue London SW19 2RR / United Kingdom
Cool. Thanks. Anuj On 28 February 2011 07:41, Loic d'Anterroches <loic@ceondo.com> wrote: > Hello, > > On 2011-02-28 08:33, Anuj Dutta wrote: > > Well, at the moment "make all install" doesn't seem to consider > > DYLD_LIBRARY_PATH because I had to export it by hand and like Daniel > > said this should just work transparently. I will have a look and see if > > I could fix it. > > If you are using OSX, you can use macports and the installation and > everything is as easy as: > > wget http://mongrel2.org/static/downloads/mongrel2-1.5.tar.bz2 > tar xjvf mongrel2-1.5.tar.bz2 > cd mongrel2-1.5/ > sudo make clean macports install > > Note the "macports" to grab the libs from your macports paths. > > loïc > > > > > On 28 February 2011 07:20, Daniel Huckstep > > <darkhelmet@darkhelmetlive.com <mailto:darkhelmet@darkhelmetlive.com>> > > wrote: > > > > DYLD_LIBYRARY_PATH is an OSX specific thing, and ldconfig/ld.so.conf > > is a Linux (or maybe just a few distros...I know Ubuntu uses it) > > specific thing. I'm not aware of anything similar to ldconfig on OSX. > > > > Something a bit better would be "make sure shit can find the > > libraries using ldconfig, DYLD_LIBRARY_PATH, or LD_LIBRARY_PATH". > > > > - Daniel > > > > On Mon, Feb 28, 2011 at 12:00 AM, James Dennis <jdennis@gmail.com > > <mailto:jdennis@gmail.com>> wrote: > > > > You might consider adding /usr/local/lib to /etc/ld.so.conf and > > running ldconfig. > > > > > > On Mon, Feb 28, 2011 at 1:57 AM, Anuj Dutta > > <dutta.anuj@googlemail.com <mailto:dutta.anuj@googlemail.com>> > > wrote: > > > > Hello all, > > > > I just started hacking with mongrel2 again and just to build > > it again I had to do: > > > > export DYLD_LIBRARY_PATH=/usr/local/lib > > > > and thought I would add it to the docs for n00bs like myself. > > > > What's the procedure of pushing the code to the main > > repository? Please enlighten. > > > > Thanks. > > > > Anuj > > > > -- > > Anuj DUTTA > > > > > > > > > > > > > > -- > > Anuj DUTTA > > -- > Dr Loïc d'Anterroches > Founder Céondo Ltd > > w: www.ceondo.com | e: loic@ceondo.com > t: +44 (0)207 183 0016 | f: +44 (0)207 183 0124 > > Céondo Ltd > Dalton House > 60 Windsor Avenue > London > SW19 2RR / United Kingdom > -- Anuj DUTTA