Re: KDE3

2003-06-23 Thread Curtis Vaughan
BTW, in order to install KDE 3 I need libqt3-mt >= 3.1.2, which is not 
available through packages.debian.org. Where can I get it?


Curtis

Alex wrote:


El Lunes, 23 de Junio de 2003 19:20, Curtis Vaughan escribió:
 


Has anyone tried out KDE3 packages on a ppc? More specifically on an iBook?
Any reason not to move to KDE3?
   



I'm using KDE 3 in an iBook 2.2 with Debian Woody. All works great for me.

 







Re: Problems with PHP4 & MySQL Packages

2003-06-23 Thread christophe barbe
I don't know about the dying process bug. What I see is that var_dump
returns only garbage content. This bug made me discover the print_r php
function that does more that var_dump and my custom displayArray()
function.

Concerning the dying process, I don't see this behavior. I am mostly
uptodate concerning LAMP:

~$ apt-cache policy apache mysql-server php4
apache:
  Installés : 1.3.27.0-1
  Candidat : 1.3.27.0-1
 Table de version :
 *** 1.3.27.0-1 0
500 http://ftp.us.debian.org sid/main Packages
100 /var/lib/dpkg/status
mysql-server:
  Installés : 4.0.13-1
  Candidat : 4.0.13-2
 Table de version :
 4.0.13-2 0
500 http://ftp.us.debian.org sid/main Packages
 *** 4.0.13-1 0
100 /var/lib/dpkg/status
php4:
  Installés : 4:4.2.3-14
  Candidat : 4:4.2.3-14
 Table de version :
 *** 4:4.2.3-14 0
500 http://ftp.us.debian.org sid/main Packages
100 /var/lib/dpkg/status

Christophe

On Mon, Jun 23, 2003 at 12:21:31PM -0700, Eric Pretorious wrote:
> Hello, All:
> 
> To respond to Christophe's report that var_dump() is broken: If you replace 
> the var_dump() line with...
> 
>  // Replace var_dump() with...
> start_session();
> $_SESSION = $row;
> ?>
> 
> ...apache/mysql/php exhibits the same behavior: All of apache's children 
> processes die. i.e., The problem not only seems to be with var_dump() but 
> *also* with...
> 
> A. The array returned by mysql_fetch_array(), or
> B. The process of copying that array into the $_SESSION array.
> 
> (The technique of copying the entire record into the $_SESSION variable has 
> worked in the past on different architectures...)
> 
> Eric P.
> Sunnyvale, CA
> 
> 
> >From: christophe barbe <[EMAIL PROTECTED]>
> >Subject: Re: Problems with PHP4 & MySQL Packages
> >Date: Mon, 23 Jun 2003 09:32:48 -0400
> >
> >var_dump is broken.
> >print_r is a nice alternative:
> >  http://us2.php.net/manual/en/function.print-r.php
> >
> >Christophe
> >
> >On Sun, Jun 22, 2003 at 09:53:58PM -0700, Eric Pretorious wrote:
> >> Hello, All:
> >>
> >> I'm stumped: I'm using Debian 3.0 (Woody) on a PowerBook Lombard and 
> >can't
> >> get the PHP package  (php4 4.1.2-6 and php4-mysql 4.1.2-6) and the MySQL
> >> package (mysql-server 3.23.49-8) to play nicely together. This script...
> >>
> >>  >> $connect = mysql_pconnect('localhost','sample_user','sample_passwd');
> >> mysql_select_db('sample_db',$connect);
> >> $sql = 'SELECT * FROM names WHERE userid = ' . $somenumber;
> >> $result = mysql_query($sql, $connect);
> >>
> >> var_dump($row);
> >> ?>
> >>
> >> ...causes apache to die. (i.e., nothing is returned to the browser.)
> >> /var/log/apache/error.log contains "[notice] child pid [#] exit 
> >signal
> >> Segmentation fault (11)" for _every_ active apache child process where
> >> # is the pid for the apache process.
> >>
> >> Why is this happening?
> >>
> >> Eric P.
> >> Sunnyvale, CA
> 
> _
> Protect your PC - get McAfee.com VirusScan Online  
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]

-- 
Christophe Barbé <[EMAIL PROTECTED]>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

Cats seem go on the principle that it never does any harm to ask for
what you want. --Joseph Wood Krutch



Re: KDE3

2003-06-23 Thread Jesús Roncero
On Monday 23 June 2003 22:13, Frank Murphy wrote:

> I had been running KDE 3.1.1 with no problems, but now that I have upgraded
> to 3.1.2, I have problems with websites detecting that I have JavaScript
> enabled. An easy page to see this is here:
>
> https://tb2.raiffeisendirect.ch/
>
> Is anyone else having problems like this? I have it with Yahoo! Mail and

I get a connection broken error, at least under i386, haven't tried under ppc 
yet. Works fine under mozilla

-- 
 no BSD fans ?
 Elric: it's hard to be a gamer and a bsd fan :p



Re: KDE3

2003-06-23 Thread Frank Murphy

> KDE 3.1.2 here running in an ibook2.2 under debian sid. No problem at all,
> runs fine ;-)

I had been running KDE 3.1.1 with no problems, but now that I have upgraded to 
3.1.2, I have problems with websites detecting that I have JavaScript 
enabled. An easy page to see this is here:

https://tb2.raiffeisendirect.ch/

Is anyone else having problems like this? I have it with Yahoo! Mail and 
Allmusic.com as well.

Frank



Re: non-US keyboard on Pismo

2003-06-23 Thread Frank Murphy

> The source of the problem is that absolutely everything in XFree is assumed
> to be a variation on PC keyboards.  The bottom row on a Finnish/Swedish
> pc105 is:
>
>   Control_L,(windows),Alt_L,space,Mode_switch,(windows),(menu),Control_R.
>
> On a Finnish/Swedish early iMac with the narrow USB keyboard, xev says:
>
>   Control_L,Alt_L,Super_L,space,Multikey.
>
> What it should be (as far as Mac OS keymaps and console-tools go):
>
>   Control_L,Mode_switch,Alt_L,space,(?).
>
> This corresponds to
> /usr/share/keymaps/i386/qwerty/mac-usb-fi-latin1.kmap.gz loaded by
> console-tools, which is an exact match for the map used in Mac OS.

So it seems that you'll have to remap the keyboard yourself. The old way is 
using xmodmap; the new way is to use setxkbmap. Use xev to get the X 
keycodes, then remap to what you want. Another otpion to try might be in the 
ServerLayout section, add a line Option "CustomKeycode" which should use the 
Linux console keycodes. I tried it, but had problems with the modifier keys, 
so perhaps just using setxbmap first is what you'll need.

Frank



Re: Problems with PHP4 & MySQL Packages

2003-06-23 Thread Eric Pretorious

Hello, All:

To respond to Christophe's report that var_dump() is broken: If you replace 
the var_dump() line with...




...apache/mysql/php exhibits the same behavior: All of apache's children 
processes die. i.e., The problem not only seems to be with var_dump() but 
*also* with...


A. The array returned by mysql_fetch_array(), or
B. The process of copying that array into the $_SESSION array.

(The technique of copying the entire record into the $_SESSION variable has 
worked in the past on different architectures...)


Eric P.
Sunnyvale, CA



From: christophe barbe <[EMAIL PROTECTED]>
Subject: Re: Problems with PHP4 & MySQL Packages
Date: Mon, 23 Jun 2003 09:32:48 -0400

var_dump is broken.
print_r is a nice alternative:
  http://us2.php.net/manual/en/function.print-r.php

Christophe

On Sun, Jun 22, 2003 at 09:53:58PM -0700, Eric Pretorious wrote:
> Hello, All:
>
> I'm stumped: I'm using Debian 3.0 (Woody) on a PowerBook Lombard and 
can't

> get the PHP package  (php4 4.1.2-6 and php4-mysql 4.1.2-6) and the MySQL
> package (mysql-server 3.23.49-8) to play nicely together. This script...
>
>  $connect = mysql_pconnect('localhost','sample_user','sample_passwd');
> mysql_select_db('sample_db',$connect);
> $sql = 'SELECT * FROM names WHERE userid = ' . $somenumber;
> $result = mysql_query($sql, $connect);
>
> var_dump($row);
> ?>
>
> ...causes apache to die. (i.e., nothing is returned to the browser.)
> /var/log/apache/error.log contains "[notice] child pid [#] exit 
signal

> Segmentation fault (11)" for _every_ active apache child process where
> # is the pid for the apache process.
>
> Why is this happening?
>
> Eric P.
> Sunnyvale, CA


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




Re: KDE3

2003-06-23 Thread Alex
El Lunes, 23 de Junio de 2003 19:20, Curtis Vaughan escribió:
> Has anyone tried out KDE3 packages on a ppc? More specifically on an iBook?
> Any reason not to move to KDE3?

I'm using KDE 3 in an iBook 2.2 with Debian Woody. All works great for me.

-- 
Alex (a.k.a. suy) - GPG ID 0xAA8D2A01
http://lacurva.net/ - Jabber ID: [EMAIL PROTECTED]
"In matters of principle, stand like a rock; in matters of taste, swim with 
the current."
-- Thomas Jefferson



Re: KDE3

2003-06-23 Thread Jesús Roncero
On Monday 23 June 2003 19:20, Curtis Vaughan wrote:
> Has anyone tried out KDE3 packages on a ppc? More specifically on an iBook?
> Any reason not to move to KDE3?

KDE 3.1.2 here running in an ibook2.2 under debian sid. No problem at all, 
runs fine ;-)

-- 
¡Apaga ya el ordenador y atiende a la mujer!



KDE3

2003-06-23 Thread Curtis Vaughan

Has anyone tried out KDE3 packages on a ppc? More specifically on an iBook?
Any reason not to move to KDE3?

--
Curtis Vaughan

http://www.angelfire.com/wa/noentry/home.htm
WashTech (CWA Local 37083)
IWW x353203





Re: Problems with PHP4 & MySQL Packages

2003-06-23 Thread christophe barbe
var_dump is broken.
print_r is a nice alternative:
  http://us2.php.net/manual/en/function.print-r.php

Christophe

On Sun, Jun 22, 2003 at 09:53:58PM -0700, Eric Pretorious wrote:
> Hello, All:
> 
> I'm stumped: I'm using Debian 3.0 (Woody) on a PowerBook Lombard and can't 
> get the PHP package  (php4 4.1.2-6 and php4-mysql 4.1.2-6) and the MySQL 
> package (mysql-server 3.23.49-8) to play nicely together. This script...
> 
>  $connect = mysql_pconnect('localhost','sample_user','sample_passwd');
> mysql_select_db('sample_db',$connect);
> $sql = 'SELECT * FROM names WHERE userid = ' . $somenumber;
> $result = mysql_query($sql, $connect);
> 
> var_dump($row);
> ?>
> 
> ...causes apache to die. (i.e., nothing is returned to the browser.) 
> /var/log/apache/error.log contains "[notice] child pid [#] exit signal 
> Segmentation fault (11)" for _every_ active apache child process where 
> # is the pid for the apache process.
> 
> Why is this happening?
> 
> Eric P.
> Sunnyvale, CA
> 
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]

-- 
Christophe Barbé <[EMAIL PROTECTED]>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

Dogs believe they are human. Cats believe they are God.



Re: updated kernel problem

2003-06-23 Thread Sven Luther
On Mon, Jun 23, 2003 at 12:30:04AM +0200, Ole-Egil Hvitmyren wrote:
> Martin-Éric Racine wrote:
> 
> >On Fri, 20 Jun 2003, Sven Luther wrote:
> >
> > 
> >
> >>it means that the kernel-patch-2.4.20-powerpc is in truth pmac only, and
> >>should better be named kernel-patch-2.4.20-powerpc-pmac or something such 
> >>?
> >>Or am i missing something ?
> >>   
> >>
> >
> >I have yet to see hardware-specific kernels on PPC, but I think it would 
> >be nice
> >to have at least some pre-built kernels for the iMac and also the iBook 
> >models.
> >
> >kernel-image-2.4.21-imac would be really nice and save users a lot of 
> >guesswork.
> >
> >As for the PPC patches, I am not familiar enough with them to comment.
> >
> > 
> >
> 
> *cough* I think the phrase "I have yet to see hardware-specific kernels 
> on PPC" could do with some more thought ;-)
> 
> I have 3 PowerPC machines running Debian, none of them are from Apple, 

Ok, you are a good test case then, what kernel do you run, are they
debian provided kernels or self built ones ?

And in the later case, do you use the debian patches, or your own kernel
tree.

Friendly,

Sven Luther



Re: Installed for the first time, strange problems

2003-06-23 Thread Michel Dänzer
On Thu, 1970-01-01 at 04:59, Sam wrote:
>  I just installed Debian for the first time on my Power Mac 6500.
>  I put on a few packages, including the 2.4.28-powerpc woody kernel image.
>  But now the strangest things are happening.
>  Sometimes when I am in enlightenment it will just freeze up.  Moving the 
>  mouse and pressing keys does nothing.  The transmit light on the 
>  ethernet 
>  card flashes every so often, but pinging the machine from the other one 
>  (two machine ethernet using crossover cable) does not work.
>  And other times I get an "Oops" message for no apparent reason.  This 
>  happens often during the shutdown process.
>  Upon occasion after I type my login and password into xdm, the little 
>  "opening session for user storm" will appear on the xconsole, and then 
>  one of two strange things will happen.  Sometimes it will almost 
>  instantly print the closing session for user storm message.  Other times 
>  it won't seem to do anything.  The really strange part is that the "xdm" 
>  processes owned by storm refuse to die, even with kill -9 from a root 
>  login on tty1.  Even with a "shutdown now" and then hitting control-D to 
>  start things up again.
>  And, most recently, I started up, logged in, opened an Eterm, and tried 
>  to use netcat.  It died with an illegal instruction.  Then I tried ssh.  
>  Same.  Neither seemed to do anything before printing "Illegal 
>  Instruction".
>  What's going on?  What can I do?
> 
> >>> Sounds like either a kernel or a hardware problem. The fact that most
> >>> other people don't seem to experience the same problems with the same
> >>> kernel points towards the hardware I'm afraid - might be faulty RAM or
> >>> something. Anything interesting in the kernel output?
> 
> [snippy snippy]
> 
> >> [as I said, I have 96MB of memory, and it just happens to be a 64MB 
> >> module and a 32MB module, ...]
> 
> > So can you try running with one module at a time and see if the problems
> > persist?
> 
> Today I tried taking out the 32MB, and everything was fine for a while, 
> but then I got an "Oops" message during shutdown.
> Then I tried putting the 32MB back in and taking out the 64MB, and 
> everything was fine (other than really slow) for a while, but then I got 
> an "Oops" message.
> The really strange problems are rare, so it probably doesn't mean much 
> that they didn't happen during the brief periods I was running with only 
> one module.
> 
> Can assume it is not the RAM and move on to investigating other causes?

I guess so.


> Have we gotten to the point where I should copy all the "Oops" messages 
> from the logs and paste them into an email?

That might be interesting, but only after piping them through ksymoops.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \ http://svcs.affero.net/rm.php?r=daenzer



Re: Great Debian / KDE! But, I can`t print and can`t hear any sound!

2003-06-23 Thread Ole-Egil Hvitmyren

José Leônidas Bier Brasileiro wrote:


Hello There!

I just installed Debian and KDe in my 233 iMac (after a few bumps) and 
I'm amazed with its looks and speed. I enjoyed a lot knowing that 
"there is intellingent life outside of Windows/Office".


But I can't configure may USB printer and I don't have sound! I 
researched a little bit and apparently I will have to rebuild the 
kernel. Is that so? Isn`t that a dangerous thing for a newbie to 
perform? How do I do it?



Well, I wouldn't say it's dangerous. But it can be a bit tricky. Are you 
sure you need to rebuild your kernel? There's s few ready made kernels 
in Debian you could try out, might be easier for a newbie :-)




I would appreciate a lot some help.

The other thing is that I can't put my USB floppy drive and my ZIP-100 
drive to work. Once again in my little research I found out that it is 
necessary to "mount them". How do I do it? Is it needed to 
"mount/unmount" them every single time one turns on/off the system?


For this I use autofs, set up to mount in sync mode and unmount after a 
second or two (I use a lot longer timeout for network filesystems 
though). Basically, I just pop in a CD, access the files I need, eject 
with the button on the front of the drive. Same with USB CF adapters and 
floppies.


You'll need autofs enabled in the kernel for this to work.

Good luck, ok?

--
AmigaOne dev list FAQ (when I say F, I mean F):
http://www.samfundet.no/~olegil/amiga/
Some "useful" packages:
http://www.samfundet.no/~olegil/debian/powerpc/description.txt





Re: Problems with PHP4 & MySQL Packages

2003-06-23 Thread Jean-Christophe Michel
Le lun 23/06/2003 à 06:53, Eric Pretorious a écrit : 
> Hello, All:
> 
> I'm stumped: I'm using Debian 3.0 (Woody) on a PowerBook Lombard and can't 
> get the PHP package  (php4 4.1.2-6 and php4-mysql 4.1.2-6) and the MySQL 
> package (mysql-server 3.23.49-8) to play nicely together. This script...
> 
>  $connect = mysql_pconnect('localhost','sample_user','sample_passwd');
> mysql_select_db('sample_db',$connect);
> $sql = 'SELECT * FROM names WHERE userid = ' . $somenumber;
> $result = mysql_query($sql, $connect);
> 
> var_dump($row);
> ?>
> 
> ...causes apache to die. (i.e., nothing is returned to the browser.) 
> /var/log/apache/error.log contains "[notice] child pid [#] exit signal 
> Segmentation fault (11)" for _every_ active apache child process where # 
> is the pid for the apache process.
> 
> Why is this happening?

var_dump is boggus on this version.
Use a workaround :
 $_v) {
$res .= $virg.my_var_export($_k, true).' => '.my_var_export($_v, true);
$virg = ",\n"; 
}
$res .= ')';
} elseif (is_string($v)) {
$res = "'".str_replace("'","\'",$v)."'";
} elseif (is_bool($v)) {
$res = ($v)?'true':'false';
} else {
$res = $v;
}

if ($ret) {
return $res;
} else {
echo $res;
}
}
?>



-- 

Jean-Christophe Michel <[EMAIL PROTECTED]>

Symétrie



Re: updated kernel problem

2003-06-23 Thread Jens Schmalzing
Hi,

Martin-Éric Racine writes:

> On PPC, I've been trying to compile my own iMac kernel, but haven't
> been able to produce a kernel whose sound support works.  I've tried
> patching the kernel with kernel-patch-(version)-powerpc, which did
> not work cleanly, and then using ALSA drivers, which compiled fine
> but failed to load the modules.

Try the patches from the kernel-patch-benh package and the dmasound driver.

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!



Re: powerbook 17" install

2003-06-23 Thread Benjamin Herrenschmidt
On Sun, 2003-06-22 at 15:21, Brendan J Simon wrote:
> I've just purchased a powerbook 17".  I've tried (unsuccessfully) 
> installing debian using various howtos on the Net.  I managed to get the 
> machine to boot and run the installer using the recent "boot-floppies" 
> in the woody distro, but the installer had problems finding any hard 
> disks.  I decided to extract the kernel from the 2.4.20 deb package and 
> give that a go.  It works better in that the hard disk is now 
> recognisable and I have managed to partition it and initialise the 
> partitions using mke2fs and mkswap :)
>
> .../...

This should be a FAQ now but...

So, to get that powerbook to work, you need 

 - A fairly recent kernel, I recomment some 2.4.20-ben10 or 2.4.21-ben1
at least

 - Pass "nol3" to the kernel command line to disable the L3 cache which
is currently causing me trouble on this machine (data corruption)

 - Make sure the kernel is compiled with the new config option to move
the ATA/100 to "hda", that will make things easier

Ben.



Re: pbbuttonsd no answer in keypress

2003-06-23 Thread Yves Combe
Le Lundi 23 Juin 2003 06:49, [EMAIL PROTECTED] a écrit :
> On Sun, 22 Jun 2003, Yves Combe wrote:
> > Hello,
hello

> > I have a problem with pbbuttonsd: it runs ok, answer ok with powerprefs
> > (seen with gtkpbbuttons), but do not answer to keypress (usb aplle
> > keyboard in pmac).

> I have a tibook 15", and i need to pres fn key + any key (obviously
> defined) to get it works. If i just pres the key it doesn't hapen
> anything.

Yes, of course. In powerprefs i have deselected the "fn key". But without 
success. There is no fn key in my pmac

-- 
Yves Combe
Formateur TICE
IUFM de Montpellier - Site de Nîmes



Problems with PHP4 & MySQL Packages

2003-06-23 Thread Eric Pretorious

Hello, All:

I'm stumped: I'm using Debian 3.0 (Woody) on a PowerBook Lombard and can't 
get the PHP package  (php4 4.1.2-6 and php4-mysql 4.1.2-6) and the MySQL 
package (mysql-server 3.23.49-8) to play nicely together. This script...




...causes apache to die. (i.e., nothing is returned to the browser.) 
/var/log/apache/error.log contains "[notice] child pid [#] exit signal 
Segmentation fault (11)" for _every_ active apache child process where # 
is the pid for the apache process.


Why is this happening?

Eric P.
Sunnyvale, CA

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus