Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [200.221.94.251] X-Originating-Email: [teufelsdaumen AT hotmail DOT com] From: "Paulo Parola" To: cygwin AT cygwin DOT com Subject: newbie: configuring cygwin (path, home dir, profile, running PostgreSQL) Date: Wed, 05 Nov 2003 22:15:34 -0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 06 Nov 2003 00:15:35.0060 (UTC) FILETIME=[1926D540:01C3A3FB] I need to run PostgreSQL on Windows-XP. I installed `cygwin`, but have gone through some very simple problems I hope somebody can help me with. I know these are very "simple" questions, but I can't seem to find the right way to go by looking at the FAQ or at the mail archives (in fact I don't know where to begin with...). NOTE: there is another version of PostgreSQL for Windows installed on my system (UltraSQL), and that is the one that appears at my current path. Please check out these sample sessions and the problems I am facing: ============================ After starting cygwin: ------------------------ bash-2.05b$ pwd /usr/bin bash-2.05b$ cd ~ bash: cd: /home/My Username: No such file or directory bash-2.05b$ echo $USER bash-2.05b$ echo $HOME /home/My Username bash-2.05b$ echo $PATH /cygdrive/d/Arquivos de programas/NetworkSimplicity/ssh:/cygdrive/c/WINDOWS/syst em32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/d/MSSQL7/BI NN:/cygdrive/e/j2sdk1.4.2/bin:.:/cygdrive/c/Program Files/PostgreSQL/bin:/cygdri ve/e/pgsql/bin:/cygdrive/d/Arquivos de programas/NetworkSimplicity/ssh:/cygdrive /c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdr ive/d/MSSQL7/BINN:/cygdrive/e/j2sdk1.4.2/bin:.:/cygdrive/c/Program Files/Postgre SQL/bin bash-2.05b$ cygcheck -svr Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Nov 05 19:29:02 2003 Windows XP Professional Ver 5.1 Build 2600 Path: d:\Arquivos de programas\NetworkSimplicity\ssh c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem d:\MSSQL7\BINN e:\j2sdk1.4.2\bin . c:\Program Files\PostgreSQL\bin e:\pgsql\bin d:\Arquivos de programas\NetworkSimplicity\ssh c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem d:\MSSQL7\BINN e:\j2sdk1.4.2\bin . c:\Program Files\PostgreSQL\bin `id' program not found bash-2.05b$ bash-2.05b$ cd .. bash-2.05b$ ls bash: ls: command not found bash-2.05b$ pwd /usr ============================ Here is my directory structure after installation is completed (no `/etc/profile` exists, also no `/home` directory exists) ------------------------ bash-2.05b$ /usr/bin/ls X11R6 doc etc include info local man sbin share src tmp bash-2.05b$ cd .. bash-2.05b$ /usr/bin/ls bin cygwin.bat cygwin.ico etc lib tmp usr var bash-2.05b$ /usr/bin/ls etc X11 fonts group man.config passwd postinstall profile.d setup termcap bash-2.05b$ /usr/bin/ls etc/postinstall/ XFree86-fenc.sh.done emacs.sh.done terminfo.sh.done XFree86-fnts.sh.done fontconfig.sh.done update-info-dir.sh.done XFree86-lib.sh.done freetype2.sh.done XFree86-xserv.sh.done passwd-grp.sh.done ============================ Trying to run PostgreSQL: ------------------------ I had the following file under setup directory `cygipc`: cygipc-2.02-1.tar.bz2 And under directory `/usr/bin` after installation I can find no `ipc-daemon` executable, only `ipc-daemon2.exe`: bash-2.05b$ pwd /usr/bin bash-2.05b$ ls -al ipc* -rwxr-x---+ 1 My Usern Users 20992 Oct 17 02:25 ipc-daemon2.exe -rwxr-x---+ 1 My Usern Users 3007 Aug 5 10:31 ipcclean -rwxr-x---+ 1 My Usern Users 1665 Oct 17 04:29 ipck -rwxr-x---+ 1 My Usern Users 5120 Oct 17 04:30 ipcrm.exe -rwxr-x---+ 1 My Usern Users 7680 Oct 17 04:30 ipcs.exe -rwxr-x---+ 1 My Usern Users 11264 Oct 17 02:25 ipctest.exe Is this file (`ipc-daemon2.exe`) the one I should run??? See my session output: bash-2.05b$ ipc-daemon2.exe & [1] 3096 bash-2.05b$ mkdir /var/psql [1]+ Done ipc-daemon2.exe bash-2.05b$ initdb -D /var/psql basename: not found grep: not found grep: not found sed: not found sed: not found : bug: version number has wrong format bash-2.05b$ ============================ This is the final part of my SETUP.LOG.FULL: 2003/11/05 19:24:57 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/fontconfig.sh dirname: not found basename: not found cp: missing destination file Try `cp --help' for more information. cp: missing destination file Try `cp --help' for more information. cp: cannot stat `.cygwin-dist': No such file or directory dirname: not found basename: not found cp: missing destination file Try `cp --help' for more information. cp: missing destination file Try `cp --help' for more information. cp: cannot stat `.cygwin-dist': No such file or directory dirname: not found basename: not found cp: missing destination file Try `cp --help' for more information. cp: missing destination file Try `cp --help' for more information. cp: cannot stat `.cygwin-dist': No such file or directory 2003/11/05 19:24:58 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/freetype2.sh 2003/11/05 19:24:58 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/passwd-grp.sh 2003/11/05 19:24:59 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/terminfo.sh 2003/11/05 19:25:00 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/update-info-dir.sh 2003/11/05 19:25:05 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/XFree86-fenc.sh 2003/11/05 19:25:05 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/XFree86-fnts.sh 2003/11/05 19:25:06 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/XFree86-lib.sh 2003/11/05 19:25:06 running: e:\cygwin\bin\sh.exe -c /etc/postinstall/XFree86-xserv.sh 2003/11/05 19:25:12 mbox note: Installation Complete 2003/11/05 19:25:15 Ending cygwin install =========================== Any hints on where I should start configuring my environment? Was there some problem with the installation or is this a matter of post-installation setups? TIA, teufel _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/