Re: [expert] bug in gettext support of php rpm?

2001-07-31 Thread Jan Dittberner

Vincent Danen wrote:
 
 On Tue Jul 31, 2001 at 06:53:55PM +0200, Jan Dittberner wrote:
 
I just tried to use the gettext support in php, but this seems to be
broken in the Mandrake 8.0 package. An strace of php running my test
script gave this:
   
   
lstat64(/var/www/locale, {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
open(/etc/services, O_RDONLY) = 4
shmat(4, 0x1, 0x1ptrace: umoven: Input/output error
)  = ?
shmat(4, 0x2, 0x2ptrace: umoven: Input/output error
)  = ?
  
   Don't know if this will help any, but I recently saw a thread about
   gettext in PHP on freezer-burn.org:
   http://www.freezer-burn.org/stories.php?story=01/07/23/4935802
 
  Just had a look at it, but my code was already working with 7.2 it's
  definitely something broken in the 8.0 php gettext support. Thanks
  for the hint, my directory structure and code is correct, I can post
  it if anyone is interested.
 
 Can you do me a favour and try the php-4.0.6 rpms I built and put on
 www.rpmhelp.net?  They seem to work fine over here, but I'm only using
 gettext() on my workstation at the moment which is running 4.0.6 (have
 not yet tried it on my 8.0 servers running 4.0.4pl1 (I believe that's
 the version that comes with 8.0)).  Please let me know if you do try
 the 4.0.6 packages if they fix the problem.

It's working fine with your new RPMS thanks :-)

Jan




Re: [expert] bug in gettext support of php rpm?

2001-07-31 Thread Paul Cox

On Sunday, Jul 22, 2001, Jan Dittberner wrote:

 I just tried to use the gettext support in php, but this seems to be
 broken in the Mandrake 8.0 package. An strace of php running my test
 script gave this:
 
 
 lstat64(/var/www/locale, {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
 0
 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
 -1, 0) = 0x40016000
 open(/etc/services, O_RDONLY) = 4
 shmat(4, 0x1, 0x1ptrace: umoven: Input/output error
 )  = ?
 shmat(4, 0x2, 0x2ptrace: umoven: Input/output error
 )  = ?

Don't know if this will help any, but I recently saw a thread about
gettext in PHP on freezer-burn.org:
http://www.freezer-burn.org/stories.php?story=01/07/23/4935802

-- 
Paul Cox paul at coxcentral dot com
Kernel: 2.4.3-20mdk-win4lin-pcox  -  Uptime: 19 days 20 hours 5 minutes.




Re: [expert] bug in gettext support of php rpm?

2001-07-31 Thread Vincent Danen

On Tue Jul 31, 2001 at 06:53:55PM +0200, Jan Dittberner wrote:

   I just tried to use the gettext support in php, but this seems to be
   broken in the Mandrake 8.0 package. An strace of php running my test
   script gave this:
  
  
   lstat64(/var/www/locale, {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
   0
   fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
   old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
   -1, 0) = 0x40016000
   open(/etc/services, O_RDONLY) = 4
   shmat(4, 0x1, 0x1ptrace: umoven: Input/output error
   )  = ?
   shmat(4, 0x2, 0x2ptrace: umoven: Input/output error
   )  = ?
  
  Don't know if this will help any, but I recently saw a thread about
  gettext in PHP on freezer-burn.org:
  http://www.freezer-burn.org/stories.php?story=01/07/23/4935802
 
 Just had a look at it, but my code was already working with 7.2 it's 
 definitely something broken in the 8.0 php gettext support. Thanks 
 for the hint, my directory structure and code is correct, I can post 
 it if anyone is interested.

Can you do me a favour and try the php-4.0.6 rpms I built and put on
www.rpmhelp.net?  They seem to work fine over here, but I'm only using
gettext() on my workstation at the moment which is running 4.0.6 (have
not yet tried it on my 8.0 servers running 4.0.4pl1 (I believe that's
the version that comes with 8.0)).  Please let me know if you do try
the 4.0.6 packages if they fix the problem.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc. Security  www.linux-mandrake.com

Current Linux kernel 2.4.3-20mdk-win4lin uptime: 5 days 0 hours 5 minutes.

 PGP signature


Re: [expert] bug in gettext support of php rpm?

2001-07-31 Thread Vincent Danen

On Tue Jul 31, 2001 at 09:41:27PM +0200, Jan Dittberner wrote:

[...]

  Can you do me a favour and try the php-4.0.6 rpms I built and put on
  www.rpmhelp.net?  They seem to work fine over here, but I'm only using
  gettext() on my workstation at the moment which is running 4.0.6 (have
  not yet tried it on my 8.0 servers running 4.0.4pl1 (I believe that's
  the version that comes with 8.0)).  Please let me know if you do try
  the 4.0.6 packages if they fix the problem.
 
 It's working fine with your new RPMS thanks :-)

Good to hear!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc. Security  www.linux-mandrake.com

Current Linux kernel 2.4.3-20mdk-win4lin uptime: 5 days 2 hours 56 minutes.

 PGP signature


Re: [expert] bug in gettext support of php rpm?

2001-07-31 Thread Jan Dittberner

Paul Cox wrote:
 
 On Sunday, Jul 22, 2001, Jan Dittberner wrote:
 
  I just tried to use the gettext support in php, but this seems to be
  broken in the Mandrake 8.0 package. An strace of php running my test
  script gave this:
 
 
  lstat64(/var/www/locale, {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
  0
  fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
  -1, 0) = 0x40016000
  open(/etc/services, O_RDONLY) = 4
  shmat(4, 0x1, 0x1ptrace: umoven: Input/output error
  )  = ?
  shmat(4, 0x2, 0x2ptrace: umoven: Input/output error
  )  = ?
 
 Don't know if this will help any, but I recently saw a thread about
 gettext in PHP on freezer-burn.org:
 http://www.freezer-burn.org/stories.php?story=01/07/23/4935802

Just had a look at it, but my code was already working with 7.2 it's 
definitely something broken in the 8.0 php gettext support. Thanks 
for the hint, my directory structure and code is correct, I can post 
it if anyone is interested.


Regards

Jan