This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3rd time lucky? Apache startup woes


Gary,

I don't know much about rebase, but I do have a few minor comments related
to cygwin.  See below.

On Fri, 15 Nov 2002, Gary Stainburn wrote:

> On Friday 15 Nov 2002 2:01 pm, Jason Tishler wrote:
> > Gary,
> >
> > On Fri, Nov 15, 2002 at 12:32:49PM +0000, Gary Stainburn wrote:
> > > I've had a look at the archives and found many references to rebase,
> > > but can't sus out exactly what I need to do - how to find out what
> > > params to pass to rebase etc.
> > >
> > > Anyone got a link to a good reference I could read?
> >
> > Try the following:
> >
> >     http://sources.redhat.com/ml/cygwin/2002-07/msg00276.html
> >
> > Jason
>
> Hi Jason,
>
> it may just be me being thick but I'm still having trouble.  I ran the
> following as a DOS batch, and as a BASH shell script withing Cygwin.
>
> All I got out was one error line per DLL stating that it was being skipped
> because it was not rebasable.  I tried running the batch without the
> libphp..dll entry and still got the errors.  I even tried calling rebase
> directly and only specifying the libphp4.dll on it's own and it did exactly
> the same.
>
> I also tried CDing to \cygwin\usr\bin and \cygwin\lib\apache respectively and
> that didn't work either.

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.

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?

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.

> Gary
>
> rebase.bat:
> cd c:\cgwin

The above doesn't seem like the right path...  Surely you meant
c:\cygwin\bin?  It usually helps to post the exact commands that give you
trouble, if you expect people to be able to reproduce your problem.

> .\rebase -v -b0x68000000 -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 /lib/apache/libphp4.dll

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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]