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 Date: Wed, 12 Mar 2003 13:07:15 -0800 (PST) From: Zach Nobel X-X-Sender: zach AT q7 DOT q7 DOT com To: Jason Tishler cc: Cygwin Subject: Re: DBD Mysql and perl under Cygwin 2.249.2.5 , need to run rebase?? In-Reply-To: <20030312170441.GD1532@tishler.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi Jason, Thanks for the quick reply. Didn't want to bother the list unless I'd figure things out first. However, I don't mind conversing on the list either. You ask why I ran mkdir -p WINNT/Profiles/.... below. I did so because I'd gotten the rebaseall error saying that the directory listed was not writable. Turns out the directory wasn't even existing. Somehow my Cygwin bash setup decided that's what TEMP and TMP should be (though there was no directory there. Perhaps this is a default that Cygwin assumes for all installations... As you pointed out, $TMP, and $TEMP are set incorrectly for my bash env. as the following gives 'directory not found' $ ls -ld /cygdrive/c/WINNT/Profiles/ADMINI~1/LOCALS~1/Temp/1 also, you ask: > Why would rebuilding rebase fix the above permissions problems? Actually, I may've been confusing here. The permissions problems that I was referring to were from the build.sh script not successfully making a directory in /tmp. From the logfile I sent in the original message: ------------------ find: /tmp/rebase.2532/usr: No such file or directory and tar: /tmp/rebase.2532: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now ------------------ Suggests that the build.sh script wasn't successful in making a temp directory rebase.2532 in /tmp (of the cygwin bash shell I was running to compile rebase. I'll reset my TEMP, and TMP variables and re-run rebaseall , which I suspect should work fine now that you've pointed out what the rebaseall script uses/assumes is available . > rebaseall uses one of the following directories for temp files in > decreasing priority: > > $TMP > $TEMP > /tmp Thanks! Zach > On Tue, Mar 11, 2003 at 01:52:45PM -0800, Zach Nobel wrote: > > I used the setup program to run rebaseall, but got an error message. > > Unfortunately windows doesn't give me the full path of what it's > > trying to create/write too, so I'm stuck. Any ideas? > > rebaseall uses one of the following directories for temp files in > decreasing priority: > > $TMP > $TEMP > /tmp > > > ------------------------------- > > Administrator AT image2 ~ > > $ mkdir -p /cygdrive/c/WINNT/Profiles/ADMINIST/LOCALS~1/Temp/1 > ^^ > > Why did you execute the above? > > > Administrator AT image2 ~ > > $ rebaseall > > rebaseall: /cygdrive/c/WINNT/Profiles/ADMINI~1/LOCALS~1/Temp/1 is not > > writable > > rebaseall is aborting because the temp directory is not writable. > > Is $TMP or $TEMP set to the following? > > /cygdrive/c/WINNT/Profiles/ADMINI~1/LOCALS~1/Temp/1 > > > Administrator AT image2 ~ > > $ ls /cygdrive/c/WINNT/Profiles/ADMINIST/LOCALS~1/Temp/1 > > What does the following indicate? > $ ls -ld /cygdrive/c/WINNT/Profiles/ADMINI~1/LOCALS~1/Temp/1 > > > > Administrator AT image2 ~ > > ------------------------------- > > > > I don't know what LOCALS~1 would be. I'm on a windows 2000 SP3 computer as > > the 'Administrator'. > > > > Also tried building rebase-2.2.2 on my computer, but the build.sh script > > files failed. permissions perhaps? > > > > Logfile attached.. > > > > [snip] > > Jason > > -- __________________________________________________________________________ Zachariah Nobel email: Cygwin-Zach AT sunsolver DOT com __________________________________________________________________________ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/