Thread: Installation Problems
Hello, I am trying to install PostgreSQL 7.1.3 on a Windows 2000 machine. So far, I have done the following: 1.) Installed cygwin on F:\cygwin 2.) Downloaded cygipc-1.11-1.tar.bz2 to F:\cygwin. 3.) Ran tar -C / -xjf cygipc-1.11-1.tar.bz2 which went fine. 4.) Started cygipc using the command "ipc-daemon &" which went fine. 5.) Downloaded postgresql-7.1.3.tar.gz into /usr/local/src which was copied from the CD included in the O'Reilly book "Practical PostgreSQL". 6.) Ran tar -xzvf postgresql-7.1.3.tar.gz which went through fine and created the postgresql-7.1.3 folder and its contents. 7.) Now, I change to the newly created postgresql-7.1.3 folder and try to run "./configure" and it fails with the following from the "config" log file created in postgresql folder: /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lcygipc What is the problem? I have: 1.) Verified the version of gcc by running "gcc --version" which is 3.2 2.) Verify that the ipc-daemon is running using "ps" before I try "./configure" 3.) I have placed the F:\cygwin\bin directory at the front of my PATH environment variable. What am I missing? Any help you can offer is greatly appreciated. I know this is a common problem. I have researched similar errors but they don't seem to work. Thanks in advance, Brice Mason _________________________________________________________________ Unlimited Internet access -- and 2 months free!� Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp
Brice, On Tue, Oct 29, 2002 at 11:34:07AM -0500, Brice Mason wrote: > I am trying to install PostgreSQL 7.1.3 on a Windows 2000 machine. So > far, I have done the following: > > 1.) Installed cygwin on F:\cygwin > [snip] > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > cannot find -lcygipc > > What is the problem? The above indicates that ld cannot find libcygipc.a. What is the *exact* command line that produces the above error message? Note that I have never built PostgreSQL under Cygwin gcc 3.x before -- maybe there is a problem? > 2.) Verify that the ipc-daemon is running using "ps" before I try > "./configure" The above is irrelevant. ipc-daemon only needs to be running for postmaster, initdb, etc. not during a build. > What am I missing? Why not use the pre-built 7.2.3 that is part of the standard Cygwin distribution? Rerun Cygwin's setup.exe and select PostgreSQL from under the Database category. > Any help you can offer is greatly appreciated. Please read the README: http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README or after installation: /usr/doc/Cygwin/postgresql-7.2.3.README Thanks, Jason
Jason, Thanks, I installed gcc 2.95 and it went through just fine. I guess I just assumed to use the latest and greatest. Thanks again, it works great. - Brice Mason >From: Jason Tishler <jason@tishler.net> >To: Brice Mason <bricemason@hotmail.com> >CC: pgsql-cygwin@postgresql.org >Subject: Re: [CYGWIN] Installation Problems >Date: Tue, 29 Oct 2002 12:39:05 -0500 > >Brice, > >On Tue, Oct 29, 2002 at 11:34:07AM -0500, Brice Mason wrote: > > I am trying to install PostgreSQL 7.1.3 on a Windows 2000 machine. So > > far, I have done the following: > > > > 1.) Installed cygwin on F:\cygwin > > [snip] > > > > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > > cannot find -lcygipc > > > > What is the problem? > >The above indicates that ld cannot find libcygipc.a. What is the >*exact* command line that produces the above error message? > >Note that I have never built PostgreSQL under Cygwin gcc 3.x before -- >maybe there is a problem? > > > 2.) Verify that the ipc-daemon is running using "ps" before I try > > "./configure" > >The above is irrelevant. ipc-daemon only needs to be running for >postmaster, initdb, etc. not during a build. > > > What am I missing? > >Why not use the pre-built 7.2.3 that is part of the standard Cygwin >distribution? Rerun Cygwin's setup.exe and select PostgreSQL from under >the Database category. > > > Any help you can offer is greatly appreciated. > >Please read the README: > > >http://www.tishler.net/jason/software/postgresql/postgresql-7.2.3.README > >or after installation: > > /usr/doc/Cygwin/postgresql-7.2.3.README > >Thanks, >Jason _________________________________________________________________ Broadband?�Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp
Brice, On Wed, Oct 30, 2002 at 07:18:27AM -0500, Brice Mason wrote: > Thanks, I installed gcc 2.95 and it went through just fine. I guess I > just assumed to use the latest and greatest. Thanks again, it works > great. I'm glad that you "solved" your build problem, but downgrading isn't the best long-term solution. Please send me your config.log from the gcc 3.x build. I need to better understand why configure failed in your environment. BTW, is there any reason why you can't use the pre-built package? Thanks, Jason
>From: Jason Tishler <jason@tishler.net> >Please send me your config.log from the gcc >3.x build. I need to better understand why configure failed in your >environment. OK >BTW, is there any reason why you can't use the pre-built package? I just wanted to go through a full installation from source. Thanks, Brice _________________________________________________________________ Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp