This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: installation problem of postgresql



At 09:42 PM 10/31/2000, Sapan Shah wrote:
>this thing is bugging me!
>
>I downloaded postgresql-7.0.2 i untarred it in the directoy and when i run
>./configure i get the same problem of "c-compiler cannot create exicutables"
>with the log file giving the ouuput...-lcyg...^M
>
>then i downloaded gcc-dev-ss.tar.gz and run the setup.exe then it installs the
>.a files into relevant folders and then it deletes all the files that i
>previously installed by gcc-2.95.2. 
>
>The gcc-dev-ss.tar.gz has only .a and .h files ...there are no executables in
>that file...
>
>after this when i run the ./configure i get cc path not found error which is
>obvious since all the gcc executables are deleted..
>
>if i just extract the files of gcc-2.95.2.2 and then copy them into the bin
>folder then it gets into an infinite loop on not able to remapp cpp..
>
>
>when i run ./configure with the gcc-2.95.2 then i get the following output.
>$ ./configure
>loading cache ./config.cache
>checking host system type... i586-pc-cygwin
>checking echo setting...
>checking setting template to... cygwin32
>checking whether to support locale... disabled
>checking whether to support cyrillic recode... disabled
>checking whether to support 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 setproctitle... 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.
>
>the log file has the following output..
>
>
>This file contains any messages produced by compilers while^M
>running configure, to aid debugging if configure makes a mistake.^M
>^M
>configure:601: checking host system type^M
>configure:695: checking setting template to^M
>configure:829: checking whether to support locale^M
>configure:844: checking whether to support cyrillic recode^M
>configure:860: checking whether to support multibyte^M
>configure:899: checking setting DEF_PGPORT^M
>configure:917: checking setting DEF_MAXBACKENDS^M
>configure:935: checking setting USE_TCL^M
>configure:987: checking setting USE_PERL^M
>configure:1004: checking setting USE_ODBC^M
>configure:1022: checking setproctitle^M
>configure:1071: checking setting ASSERT CHECKING^M
>configure:1102: checking for gcc^M
>configure:1215: checking whether the C compiler (gcc -O2 ) works^M
>configure:1231: gcc -o conftest -O2   conftest.c -lcygipc 1>&5^M
>/usr/bin/ld: cannot find -lcygipc^M
>collect2: ld returned 1 exit status^M
>configure: failed program was:^M
>
>#line 1226 "configure"
>#include "confdefs.h"
>#line 1226 "configure"
>#include "confdefs.h"
>
>main(){return(0);}
>
>when i install gcc-dev-ss.tar.gz then the log file has the output..
>This file contains any messages produced by compilers while^M
>running configure, to aid debugging if configure makes a mistake.^M
>^M
>configure:601: checking host system type^M
>configure:695: checking setting template to^M
>configure:829: checking whether to support locale^M
>configure:844: checking whether to support cyrillic recode^M
>configure:860: checking whether to support multibyte^M
>configure:899: checking setting DEF_PGPORT^M
>configure:917: checking setting DEF_MAXBACKENDS^M
>configure:935: checking setting USE_TCL^M
>configure:987: checking setting USE_PERL^M
>configure:1004: checking setting USE_ODBC^M
>configure:1022: checking setproctitle^M
>configure:1071: checking setting ASSERT CHECKING^M
>configure:1102: checking for gcc^M
>configure:1215: checking whether the C compiler (gcc -O2 ) works^M
>configure:1231: gcc -o conftest -O2   conftest.c -lcygipc 1>&5^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>cpp:remapp ...^M
>unable to locate cpp..exec problem no such process.....
>
>tell me what m i suupose to do..
>


I believe Chris Faylor suggested that you upgrade your Cygwin environment.
This is good advice, since it seems the environment in which you are 
currently working is invalid.  The upgrade should help remedy that 
situation.


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]