Re: [GENERAL] Fw: Can't even specify template
От | Dan Wilson |
---|---|
Тема | Re: [GENERAL] Fw: Can't even specify template |
Дата | |
Msg-id | 003e01beb7ff$9045f580$035f5ad1@dwilson обсуждение исходный текст |
Список | pgsql-general |
joel reed wrote: > try configure --host=i686-pc-linux-gnu > > change i686 as needed OK, cool, that worked ... but ... here's what happened next. $ ./configure --host=i586-pc-linux creating cache ./config.cache checking host system type... i586-pc-linux-gnu checking echo setting... checking setting template to... linux_i386 checking setting USE_LOCALE... disabled checking setting CYR_RECODE... disabled checking setting MULTIBYTE... disabled checking setting DEF_PGPORT... 5432 checking setting DEF_MAXBACKENDS... 32 checking setting USE_TCL... disabled checking setting USE_PERL... disabled checking setting USE_ODBC... disabled checking setting ASSERT CHECKING... disabled checking for gcc... gcc checking whether the C compiler (gcc -O2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables I check for gcc. It's there, but it doesn't accept a parameter of -02. Is this because of a newer version of the compiler or something. What I don't get is that this all worked just fine the other day. Am I missing some libraries or something. This is a fresh install after a reformat, and I think pgsql was installed with an RPM the very first time before. Any ideas would be great, -Dan Wilson > > --- Dan Wilson <dan_wilson@geocities.com> wrote: > > I can't even get ./configure to work. > > > > I just reformatted my Linux box and installed Redhat > > Linux 6.0. I had 6.0 > > installed for a while but had installed another > > distribution (Mandrake) over > > the top of it. I downloaded pg 6.5 last night and > > installed it. Everything > > went fine. > > > > So after I reformatted, I tried to install 6.5 > > again, and it won't detect > > the host type (which it did last night). > > > > I even tried to specify the template with > > --with-template=linux_i386, but I > > get the same exact error message: > > ./configure --with-template=linux_i386 > > loading cache ./config.cache > > checking host system type... configure: error: can > > not guess host type; you > > must specify one > > > > I ran ./config.guess and that didn't output > > anything. > > > > Does anyone know how to specify this in Linux to > > auto detect or how can I > > get it to recognize the parameter? > > > > I'm at a loss. > > > > -Dan Wilson > > > > > > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >
В списке pgsql-general по дате отправления: