I''ve decided to take the plunge and go with Gentoo for my rails development and test box. I figure the easy of maintenance is worth the setup hassles. Anyway, I''m followin the instructions on the Gentoo web site. I''ve selected the ..''i686'' 2.6 kernel for my 700mhz amd processor, and choosen stage3 install option from CD. I''m now at the the ''USE'' variable section. Don''t know what to specify here. I would like to have Postgress, lighttpd, SCGI, and rails installed when I''m done. Oh, and subversion, if it can work with lighttpd, ( but that can wait). Some guidance would be welcome at ths point. Thanks in advance. -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi Larry, I recommend doing an emerge -pv rails and looking at the available USE flags, as you add and remove them you''ll notice other packages coming in or going. Going through this should get you up to the top. Also try gentoo-portage.com if its up for a list of USE flags. I''d give you mine, but it''s very big and got lots of extra things. I run Gentoo fine with rails by the way and use lighttpd. Dylan.> I''ve decided to take the plunge and go with Gentoo for my rails > development and test box. I figure the easy of maintenance is worth > the setup hassles. Anyway, I''m followin the instructions on the > Gentoo web site. I''ve selected the ..''i686'' 2.6 kernel for my 700mhz > amd processor, and choosen stage3 install option from CD. I''m now at > the the ''USE'' variable section. Don''t know what to specify here. I > would like to have Postgress, lighttpd, SCGI, and rails installed when > I''m done. Oh, and subversion, if it can work with lighttpd, ( but > that can wait). Some guidance would be welcome at ths point. > > Thanks in advance. > > -- > Best Regards, > -Larry > "Work, work, work...there is no satisfactory alternative." > --- E.Taft Benson > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Larry Kelly wrote:> I''ve decided to take the plunge and go with Gentoo for my rails > development and test box. I figure the easy of maintenance is worth > the setup hassles. Anyway, I''m followin the instructions on the Gentoo > web site. I''ve selected the ..''i686'' 2.6 kernel for my 700mhz amd > processor, and choosen stage3 install option from CD. I''m now at the > the ''USE'' variable section. Don''t know what to specify here. I would > like to have Postgress, lighttpd, SCGI, and rails installed when I''m > done. Oh, and subversion, if it can work with lighttpd, ( but that can > wait). Some guidance would be welcome at ths point.Hi Larry, I show you how I''d think: -- $ sudo emerge -av postgresql lighttpd rails These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-db/postgresql-8.0.3 -doc -kerberos +libg++ +nls +pam +perl -pg-hier -pg-intdatetime +python +readline (-selinux) +ssl -tcltk +xml2 +zlib 7,765 kB [ebuild R ] www-servers/lighttpd-1.3.16 +ipv6* +ldap* +mysql -php +ssl -xattr 689 kB [ebuild R ] dev-ruby/rails-0.13.1 -fastcgi +mysql +postgres +sqlite 84 kB -- have a close look at these +/- flags, + means enabled support for that flag. Check what you need.. prolly USE="readline nls ssl pam postgres doc" might be close what you''d like to have. good luck, Kristof
On 10/12/05, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve decided to take the plunge and go with Gentoo for my rails development > and test box. I figure the easy of maintenance is worth the setup hassles. > Anyway, I''m followin the instructions on the Gentoo web site. I''ve selected > the ..''i686'' 2.6 kernel for my 700mhz amd processor, and choosen stage3 > install option from CD. I''m now at the the ''USE'' variable section. Don''t > know what to specify here. I would like to have Postgress, lighttpd, SCGI, > and rails installed when I''m done. Oh, and subversion, if it can work with > lighttpd, ( but that can wait). Some guidance would be welcome at ths point.Larry, I have Gentoo on PPC and I took the standard USE flags at install time. You can alter them later, and specify package specific ones, so I would advised just getting an install on the machine and then playing with settings later. A good place to ask these kinds of questions is #gentoo on irc.freenode.net; the #gentoo-ppc crew have helped me loads and I''m sure the #gentoo lot are just as friendly. I found installing Rails, along with all of the things you''ve said, a breeze on Gentoo. Matt
The USE variable is only a thing that allows you to tell emerge what options to compile for each compononent when they are present. from (1) : "Definition of a USE-flag Enter the USE-flags. Such a flag is a keyword that embodies support and dependency-information for a certain concept. If you define a certain USE-flag, Portage will know that you want support for the chosen keyword. Of course this also alters the dependency information for a package. Let us take a look at a specific example: the kde keyword. If you do not have this keyword in your USE variable, all packages that have optional KDE support will be compiled without KDE support. All packages that have an optional KDE dependency will be installed without installing the KDE libraries (as dependency). If you have defined the kde keyword, then those packages will be compiled with KDE support, and the KDE libraries will be installed as dependency. By correctly defining the keywords you will receive a system tailored specifically to your needs. " Check those, can help to understand : (1) http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml?part=2&chap=2 (2) http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml So "mysql, postgresql, svn, subversion, ruby" can fit with your needs. On 10/12/05, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve decided to take the plunge and go with Gentoo for my rails development > and test box. I figure the easy of maintenance is worth the setup hassles. > Anyway, I''m followin the instructions on the Gentoo web site. I''ve selected > the ..''i686'' 2.6 kernel for my 700mhz amd processor, and choosen stage3 > install option from CD. I''m now at the the ''USE'' variable section. Don''t > know what to specify here. I would like to have Postgress, lighttpd, SCGI, > and rails installed when I''m done. Oh, and subversion, if it can work with > lighttpd, ( but that can wait). Some guidance would be welcome at ths point. > > > Thanks in advance. > > -- > Best Regards, > -Larry > "Work, work, work...there is no satisfactory alternative." > --- E.Taft Benson > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Thom/ange http://ange.librium.org
On 12/10/05, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve decided to take the plunge and go with Gentoo for my rails development > and test box. I figure the easy of maintenance is worth the setup hassles. > Anyway, I''m followin the instructions on the Gentoo web site. I''ve selected > the ..''i686'' 2.6 kernel for my 700mhz amd processor, and choosen stage3 > install option from CD. I''m now at the the ''USE'' variable section. Don''t > know what to specify here. I would like to have Postgress, lighttpd, SCGI, > and rails installed when I''m done. Oh, and subversion, if it can work with > lighttpd, ( but that can wait). Some guidance would be welcome at ths point.The USE-variables don''t tell wat software you want installed, but tells portage what features to enable in the software you install. Don''t spend too much time finetuning your useflags, you can alter them anytime later. You can search the gentoo-forums for example USE-flag settings in /etc/make.conf or have a look at <http://www.gentoo-portage.com/Stats> where the most common use-flags are displayed on the bottom of the page. After you are done with the install-handbook, you just need to install rails. If you set the postgres use-flag, it will be automaticly installed as a depency off rails (also ruby and such are automaticaly installed) Maybe this post wasn''t such a big help, but at least i tried ;) For further help and information, i would suggest the following 2 URI''s: (There are the one I always use whenever i encouter a problem/have a question, and these have not yet failed to deliver an answer to my questions, and i was a linux-newbie when I installed gentoo over a year ago) http://forums.gentoo.org :: the first place i look when i have a problem/question. Search the archives, and most of the time you problem/question is allready solved/answered. http://gentoo-wiki.org :: Lots of usefull howto''s and tips. Look here for instructions on grtz, wannes
1. There''s a whole document on USE flags on the web site. Try http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 2. You probably want to "emerge ufed". "ufed" is a USE flag editor. Make sure you run it on a wide terminal. 3. In most cases, just accepting the default USE flags is fine. For example, if you "emerge postgres", the "+postgres" setting will appear automagically in subsequent package installs that need it. The one USE flag you absolutely must have set is "-X" if you''re building a server and don''t want any GUI tools built. I think they''ve cleaned things up to the point where you don''t need the "-kde -gnome -gtk -qt'' flags, but I''ve had a few things need to be cleaned up after I emerged something and X got built. Kristof Jozsa wrote:> Larry Kelly wrote: > >> I''ve decided to take the plunge and go with Gentoo for my rails >> development and test box. I figure the easy of maintenance is worth >> the setup hassles. Anyway, I''m followin the instructions on the >> Gentoo web site. I''ve selected the ..''i686'' 2.6 kernel for my 700mhz >> amd processor, and choosen stage3 install option from CD. I''m now at >> the the ''USE'' variable section. Don''t know what to specify here. I >> would like to have Postgress, lighttpd, SCGI, and rails installed >> when I''m done. Oh, and subversion, if it can work with lighttpd, ( >> but that can wait). Some guidance would be welcome at ths point. > > > Hi Larry, > > I show you how I''d think: > -- > $ sudo emerge -av postgresql lighttpd rails > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] dev-db/postgresql-8.0.3 -doc -kerberos +libg++ +nls > +pam +perl -pg-hier -pg-intdatetime +python +readline (-selinux) +ssl > -tcltk +xml2 +zlib 7,765 kB > [ebuild R ] www-servers/lighttpd-1.3.16 +ipv6* +ldap* +mysql -php > +ssl -xattr 689 kB > [ebuild R ] dev-ruby/rails-0.13.1 -fastcgi +mysql +postgres > +sqlite 84 kB > -- > > have a close look at these +/- flags, + means enabled support for that > flag. Check what you need.. prolly USE="readline nls ssl pam postgres > doc" might be close what you''d like to have. > > good luck, > > Kristof > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- M. Edward (Ed) Borasky http://www.borasky-research.net/ http://borasky-research.blogspot.com/ http://pdxneurosemantics.com http://pdx-sales-coach.com http://algocompsynth.com