SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    installing postgres on windows

    I'm trying to install postgres on windows running Cygwin. I dont really have a clue what i'm doing so could any one explain what the error is below and how i can install postgres?

    llk@MARTIN /usr/src/postgresql-7.2.2
    $ ./configure
    creating cache ./config.cache
    checking host system type... i686-pc-cygwin
    checking which template to use... win
    checking whether to build with locale support... no
    checking whether to build with recode support... no
    checking whether to build with multibyte character support... no
    checking whether NLS is wanted... no
    checking for default port number... 5432
    checking for default soft limit on number of connections... 32
    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH

  2. #2
    SitePoint Wizard Mincer's Avatar
    Join Date
    Mar 2001
    Location
    London | UK
    Posts
    1,140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I battled with cygwin and pg for days before I gave up. I wish I could help.

    I've now got a redhat 7.3 server instead.

  3. #3
    SitePoint Wizard Chris82's Avatar
    Join Date
    Mar 2002
    Location
    Osnabrück
    Posts
    1,003
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    checking for gcc... no
    checking for cc... no

    I think these lines mean, that you don't have a compiler installed to build the files from the source files.
    Did you download all packages that were available via Cygwin? I once tried it myself and only selected a few which resulted in errors. When I downloaded everything, it worked better.

    Another reason could be that the file is installed but the directory is not listed in the PATH setting in autoexec.bat

    autoexec.bat should look something like this:
    Code:
    PATH=<dirslistedalready>;X:\pathto\cygwindir;.

  4. #4
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  5. #5
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Basically put, it can't find your command line compiler. Open source is great as long as you don't have to compile stuff originally designed for *nix on Windows, hence why I try and always have a linux box around for these kinds of situations, at the moment I'm using an old Cyrix 166.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  6. #6
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BTW - I put this thread here because you are using Cygwin

    I've had partial success with this before

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •