This is the mail archive of the cygwin-apps@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: Can we (temporarily) remove the mod_php4 package?


On Tue, Apr 08, 2003 at 06:54:18PM -0400, Nicholas Wourms wrote:
>jason at tishler dot net wrote:
>>Due to Stipe including a very old version of rebase in the mod_php4
>>package, Windows Me users are corrupting DLLs.  Additionally, this
>>problem is becoming a burden on the Cygwin mailing list.  For example:
>>
>>    http://cygwin.com/ml/cygwin/2003-04/msg00702.html
>>    http://cygwin.com/ml/cygwin/2003-04/msg00704.html
>>
>>I have asked Stipe many times to fix the mod_php4.  Unfortunately, he
>>has not done so.
>>
>>Can we temporarily remove the mod_php4 package until he releases a new
>>one?
>>
>>I feel bad suggesting this drastic course of action, but I'm getting
>>very tired of this problem.
>>
>
>Well, rather then rush Stipe into releasing something he 
>hasn't finished, why doesn't someone just fix the package by 
>removing the rebase.exe and deleting the relevant lines in 
>the postinstall?  Not quite as drastic as removing the 
>package but, of course, someone has to do it first...  :-D

Is that all that is required?  If so, I'll do this.

Hmm.

Here's the postinstall script:

#!/bin/sh
module=php4
module_dll=libphp4.dll
prefix=/usr
confdir=/etc
libdir=${prefix}/lib/apache
rebase_dlls="${libdir}/${module_dll} ${prefix}/bin/cygbz21.0.dll ${prefix}/bin/cygcrypto.dll ${prefix}/bin/cygintl-1.dll ${prefix}/bin/pq.dll ${prefix}/bin/cygxml2-2.dll ${prefix}/bin/cygz.dll"
cd ${libdir}/new
${prefix}/sbin/apxs -i -a -n ${module} ${module_dll}
${libdir}/new/rebase -d -b 0x68000000 -o 0x10000 ${rebase_dlls}
rm -f ${libdir}/new/${module_dll}

Is just removing the dlls adequate?  Or should I change the rebase to
/bin/rebase and have mod_php4 depend on rebase?

I remember now.  I started to do this the first time this came up and
got bogged down here.  And, never sent email asking this question, of
course.

So tell me what to do and I'll fix this.

cgf


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