delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/15/12:41:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 15 Nov 2002 12:40:57 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Gary Stainburn <gary DOT stainburn AT ringways DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: 3rd time lucky? Apache startup woes
In-Reply-To: <200211151707.23929.gary.stainburn@ringways.co.uk>
Message-ID: <Pine.GSO.4.44.0211151231170.4275-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Gary,

On Fri, 15 Nov 2002, Gary Stainburn wrote:

> Hi Igor,
>
> On Friday 15 Nov 2002 4:12 pm, Igor Pechtchanski wrote:
> >
> > I don't know much about rebase, but I do have a few minor comments related
> > to cygwin.  See below.
> >
> [snip]
> >
> > First off, non-cygwin programs will at best see \cygwin\usr\bin as empty,
> > and at worst it won't exist at all.  /usr/bin in cygwin is a mount point
> > for /bin, and its contents (which are the same as those of /bin) can only
> > be seen by cygwin programs.
>
> Fair enough, I've changed my references to c:\cygwin\bin where required.
>
> >
> > Secondly, you'll need to post the exact errors you're getting from rebase.
> > One possibility that comes to mind is that the DLLs are in use, and thus
> > rebase fails to write to them.  Are you certain you are not running any
> > programs that use these DLLs?
>
> Unfortunately, I can't redirect the output from the batch file so, but I'll

You can use standard redirection in the command prompt (i.e. 'a.bat >
a.out').  Failing that, you can select text in a command window and paste
it into a message (using Alt-Spc -> Edit -> Mark in Win2k, I believe Win9x
has something similar).

> type example error messages here (I'm also getting another error having fixed
> a number of errors in the batch - included again below):
>
> c:\cygwin\bin\cygtclpip80.dll: skilled because not rebaseable
> ReBaseImage (C:\cygwin\bin\tix4180.dll) failed with last error = 6
>
> I get the  not rebaseable error on the libphp4.dll file.
>
> > Thirdly, you cannot run the same script as both a batch file and a shell
> > script.  The differences between the two scripts may hold a clue as to why
> > it's not working.
>
> I understand this and did make the appropriate differences e.g. DOS commands
> instead of BASH ones, DOS/Unix file format etc.  However based on the bit
> about REBASE not being a Cygwin app, the .sh file has been dumped.

Well, I don't *know* that rebase is not a cygwin app, I just made a guess
based on some earlier comment by its author.  He's the ultimate authority
on this...  However, you can easily run non-cygwin programs from bash, as
long as you're careful with filename conventions, so I don't see why you
had to dump the bash script...

All I was trying to do was help you post the exact commands and error
message, so people with knowledge on the subject (e.g., Jason Tishler)
would have an easier time getting to the root of the problem.
	Igor

> Gary
>
> rebase.bat V2
>
> c:
> cd \cygwin\bin
> c:\cygwin\rebase -v -b 0x68000000 -d cygXpm-X4.dll cygXpm-noX4.dll
> cygbz2-1.dll cygbz21.0.dll cygcrypto.dll cygcurl-2.dll cygform5.dll
> cygform6.dll cyggdbm.dll cyghistory4.dll cyghistory5.dll cyghttpd.dll
> cygiconv-2.dll cygintl-1.dll cygintl-2.dll cygintl.dll cygitcl30.dll
> cygitk30.dll cygjbig1.dll cygjpeg6b.dll cygltdl-3.dll cygmenu5.dll
> cygmenu6.dll cygncurses++5.dll cygncurses++6.dll cygncurses5.dll
> cygncurses6.dll cygpanel5.dll cygpanel6.dll cygpcre.dll cygpcreposix.dll
> cygpng10.dll cygpng12.dll cygpng2.dll cygpopt-0.dll cygreadline4.dll
> cygreadline5.dll cygregex.dll cygssl.dll cygtcl80.dll cygtclpip80.dll
> cygtclreg80.dll cygtiff3.dll cygtk80.dll cygxml2-2.dll cygz.dll ecpg.dll
> libW11.dll libperl5_6_1.dll libpython2.2.dll mingwm10.dll pgeasy.dll pq++.dll
> pq.dll tix4180.dll
> cd c:\cygwin\lib\apache
> c:\cygwin\rebase -v -b 0x68000000 -d libphp4.dll
>
> [snip]
> >
> > And last of all, judging from Jason's comments on rebasing cygwin1.dll,
> > rebase itself may not be a cygwin program.  If it's not, the last entry on
> > the above line will not be recognized as a valid path.
> > 	Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019