[newbie] How to configure eth1 for wireless connection?

2004-04-13 Thread Wei Wang



I have Mandrake 9.0, kernel 2.4.19, Linksys WPC11 ver3.1 andorinoco 0.13e.Now the card is already 
recognized:(/var/log/messages
Apr 13 23:47:02 china 
cardmgr[2893]: socket 1: Linksys WPC11 11Mbps 802.11bWLAN CardApr 13 
23:47:02 china cardmgr[2893]: executing: 'modprobe hermes'Apr 13 23:47:02 
china cardmgr[2893]: executing: 'modprobe orinoco'Apr 13 23:47:02 china 
cardmgr[2893]: executing: 'modprobe orinoco_cs'Apr 13 23:47:03 china 
cardmgr[2893]: executing: './network start eth1'Apr 13 23:47:03 china 
/etc/hotplug/net.agent: invoke ifup eth1Apr 13 23:47:17 china 
su(pam_unix)[3041]: session opened for user root 
by(uid=502)
As a newbie to linux, I was 
told that the next step should be:
1 update also 
/etc/pcmcia/wireless.opts 
2update init script 
configuration file (which depends upon the distribution you have; mine is 
/etc/conf.d/net)

As for point 2, I don't know 
where I should do it in Mandrake 9.0? 
ifup eth1 
shows:
configuration for eth1 not 
found.

I have an access point running 
simple DHCP with no WEP protection. So I guess the configuration should be 
simple enough. 

Another thing that worries me 
is the "session opend for user root" message in the system
log. If that implies only root 
user can use the connection, how do I enable other normal 
users
to use this wireless 
connection?




[newbie] wlan-ng cannot be loaded in Mandrake 9

2004-04-12 Thread Wei Wang



hi,

I have Mandrake 9, kernel 
2.4.19, wlan-ng 0.2.1-pre20, and Linksys pcmciaWPC11 
ver3.1.

After installation, I get this 
messagen in the system log:

Apr 12 14:37:21 china 
cardmgr[3513]: socket 1: Bromax OEM 11Mbps 802.11b WLAN Card (Prism 3) Apr 12 
14:37:21 china cardmgr[3513]: executing: 'modprobe prism2_cs'Apr 12 14:37:21 
china kernel: init_module: prism2_cs.o: 0.1.14 Loaded Apr 12 14:37:21 china 
kernel: init_module: dev_info is: prism2_cs Apr 12 14:37:21 china kernel: 
prism2_cs: index 0x01: Vcc 5.0, irq 9, io 0x0100-0x013f Apr 12 14:37:21 china 
cardmgr[3513]: executing: './wlan-ng start wlan0'Apr 12 14:37:21 china 
/etc/hotplug/net.agent: invoke ifup wlan0 Apr 12 14:37:21 china cardmgr[3513]: + 
modprobe: Can't locate module wlan0 Apr 12 14:37:21 china cardmgr[3513]: + grep: 
/proc/net/p80211/wlan0/wlandev:No such file or directoryApr 12 14:37:21 
china cardmgr[3513]: + ./wlan-ng: line 130: _fwload: command not found Apr 12 
14:37:21 china cardmgr[3513]: + Firmware failed to load for device wlan0 Apr 12 
14:37:26 china cardmgr[3513]: + wlanctl-ng: No such device Apr 12 14:37:26 china 
cardmgr[3513]: + error: Autojoin indicated failure!

Apparently wlan0 is not loaded. 
This post should fit wlan mailing list better, but I recall
a while ago someone said the 
Mandrake 9.0 distribution has a corrupted 802.11 module that should be 

removed first. I cannot 
remember the details. 

And also I am not sure if my 
Linksys WPC11 falls into the "Bromax OEM" categary. And if it's "prism 3", why 
is prism2_cs loaded
rather than prism25? 


Any hints or thoughts would be 
highly apprecited. (ifconfig -a and lsmod are listed below)


many 
thanks,

Wei Wang


ifconfig -a shows:wlan0 Link 
encap:Ethernet HWaddr 
00:00:00:00:00:00 
BROADCAST MULTICAST MTU:1500 
Metric:1 RX packets:0 
errors:0 dropped:0 overruns:0 
frame:0 TX packets:0 
errors:0 dropped:0 overruns:0 
carrier:0 collisions:0 
txqueuelen:100 RX 
bytes:0 (0.0 b) TX bytes:0 (0.0 
b) Interrupt:9 Base 
address:0x100



lsmod shows:

Module 
Size Used by Not 
taintedprism2_cs 
57744 0 
(unused)p80211 
10808 1 
[prism2_cs]pcnet_cs 
10880 
18390 
6192 0 
[pcnet_cs]ds 
6828 2 [prism2_cs 
pcnet_cs]yenta_socket 
9728 
2pcmcia_core 
42272 0 [prism2_cs pcnet_cs ds 
yenta_socket]


Re: [newbie] Linux loading... after kernel compilation

2003-03-05 Thread Wei Wang
Many thanks for helping.

I tried the first choice but when I come up with the partitioning stage,
the partition with Mandrake on it was not mounted. (I mounted one partition
as / and the
other as linux swap). Now they are not mounted at all. If I mount them,
would I lose the data
on it? Should I proceed by mounting them at / and linux swap? If I do
proceed, should I just manually
DESELECT all the packages that are selected in default installation?

As for the second approach, I've come to the stage where in /mnt/mnt I could
see the windows partitions. (No linux
partition can be seen either here). I couldn't find the lilo.conf file.
Should it be in the first partition which is win_c in my case?
Or it's somewhere else?

Please help! I am writing my final year project and I have all my coding
there without a backup(I know it's
a mistake not backup them).


Many thanks,

Wei



- Original Message -
From: Derek Jennings [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 3:04 PM
Subject: Re: [newbie] Linux loading... after kernel compilation


 On Tuesday 04 Mar 2003 1:38 pm, Wei Wang wrote:
  I have Mandrake 9.0 and just recompiled the kernel. The compilation gave
  out some kind of kernel panic error.
  After I rebooted the machine, I get:
 
  Linux Loading .
 
  with either the linux boot or the custom2419 boot.
 
  It looks like grub or lilo is messed up. I don't have a floppy driver in
my
  laptop so can't boot from there.
 
  Actually someone asked this about a year ago but he got this error after
  upgrading the kernel while I was simply
  compiling the kernel. But the answers to that were contradictory:
  One suggestion is to do a MOCK INSTALL and NOT an upgrade with the
  installation CDs.
  The other suggestion is to do an UPDATE and NOT an install.
 
  What should I do? Use the installation CDs to do a MOCK INSTALL or
UPGRADE?
 
 
  Many thanks,
 
  Wei

 Installing again without selecting any packages will recover your system
 again, and involves minimal effort.

 Another way of recovering is to boot from your install CD and at the first
 screen hit F1 then type 'rescue' at the prompt.
 You will be presented with a short menu. One of which is to mount your
 partitions.
 You can then find your hard disc files under /mnt and you can have a go at
 repairing your lilo.conf. (Use 'vim-minimal' as an editor)
 It is likely that the symlinks for 'initrd' and 'vmlinuz' have become
broken
 when you compiled your kernel.

 The command
 lilo -v -C /mnt/etc/lilo.conf
 will rewrite lilo to your bootsector

 HTH
 derek

 --
 --
 www.jennings.homelinux.net








 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine

2003-01-21 Thread Wei Wang
Hi,

This sounds a bit soothing for me. ;-) Now it takes about 45 minutes to compile
the whole kernel. I've heard the Pentium4 deficiency problem before I bought this 
laptop. But the comments I found gave me an impression that P4 1.8GHz is aboutthe same 
performance as a P3 1.2GHz, but there is SSE2 to consider. So I bought it. So I'd be 
happy to keep this laptop with the similar performance with an
Athlon 1.4 GHz. Maybe I should get a P3 1.2 instead? To wait for Centrino product 
means another 12 months maybe.


Many thanks,

Wei



make dep clean bzImage~ 5 mins.
time make modules ~ 38 mins.
make modules_install install  ~ 1 min.
 
On a 1.4 gig Athlon.  But it's always 1.4 gig ...
 
  takes 80 minutes to finish. Every gcc stays on the screen for a
  second or so that you can read almost every one of them. Is it
  normal? The gcc is version 3.2.
 
   ... your laptop (mobile cpu) isn't always 1.8 ghz. It slows down 
 under load.  A P3 would probly be faster too.  So yes, it's a 
 hardware deficiency ... get a real computer ;~
 -- 
 Tom Brinkman  Corpus Christi, Texas
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8 machine

2003-01-21 Thread Wei Wang
Many thanks for your input. Have you done anything to the OS such as optimising
or tuning? Since this is a new laptop and I am thinking of returning it if there
is a hardware deficiency with it.


On Mon, 20 Jan 2003 13:13:48 -0600
Robert Wideman [EMAIL PROTECTED] wrote:

 OUCH, how the hell???
 My computers and times that i have used for linux:
 -Compaq 7180 (p100) and it takes 1.5 hours to compile a complete kernel.
 -Clone all SCSI p3-450 and it takes 30 mins to compile a complete kernel.
 -Dell Optiplex GX1 P3-450 and it takes 35 mins to compile a complete kernel.
 
 You guys might want to rethink your timing.
 
 Rob
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Burns
 Sent: Monday, January 20, 2003 11:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] Kernel compiling takes 80 minutes on P4 1.8
 machine
 
 
 On Mon, January 20 2003 11:01 am, Wei Wang wrote:
 *snip*
  I am not sure if this is hardware related or OS related. I have Mandrake
  9.0 on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling
 make
  clean bzImage modules
 *snip
  takes 80 minutes to finish. Every gcc stays on the screen for a second
 or
 *snip*
 
 I have a P4 1.6 desktop, and it takes me about 45 minutes to compile
 everything, all modules and everything.  My P3-500 desktop takes almost 2
 hours, however, my P3-500 laptop takes over 3 hours.
 
 In case you didn't know, ALL x86 laptop cpu's are NOT the same cpu as the
 desktops, which makes them just a little better than half the speed of their
 respective desktop counterparts.  While they both run at the same speed, the
 pipelining, power control, etc etc is much different.  Data bus width also
 comes into play.  AFAIK the only computers that use the exact same
 processors
 for both desktops and laptops are Apples.
 
 So, in answer to your question, no, there's probably nothing wrong with your
 hardware other than the fact it's a Mobility CPU, hooked to the cheapest
 components the maker of that laptop could find.
 
 --
 Chuck Burns, Jr [EMAIL PROTECTED]
 ---==---
 You are old, Father William, the young man said,
   All your papers these days look the same;
 Those William's would be better unread --
   Do these facts never fill you with shame?
 
 In my youth, Father William replied to his son,
   I wrote wonderful papers galore;
 But the great reputation I found that I'd won,
   Made it pointless to think any more.
 
 
 
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Kernel compiling takes 80 minutes on P4 1.8 machine

2003-01-20 Thread Wei Wang
Hi,

I am not sure if this is hardware related or OS related. I have Mandrake 9.0
on my Pentium 4 M 1.8Ghz laptop. Now the complete kernel compiling
make clean bzImage modules

takes 80 minutes to finish. Every gcc stays on the screen for a second or so that 
you can read almost every one of them. Is it normal? The gcc is version 3.2.

Is there anything that I can do to speed it up? I know I could omit some modules
to speed it up but I just want to know how long the compiling takes on your machine. 

BTW, if it is hardware related, is there any software that can detect the current 
running frequency of the CPU? 


Cheers,

We


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] DivX audio plugin (WMA) for linux

2002-12-01 Thread Wei Wang



I am trying to view a WMA file in linux with xine. But an 
error message says "No audio plugin available to decode 'DivX audio (WMA)'. I 
searched on google and found that DivXa32.acm is the main suspect. But it seems 
that's a MS-DOS excecutable file only for windows. Is there such a file for 
Linux? Many thanks.

Wei


[newbie] pine4.5 installation on Mandrake 9.0

2002-11-28 Thread Wei Wang



I am trying to install pine4.5 on my Mandrake 9.0 from 
source
and get error message saying I don't have Openssl support. 

I already had openssl and openssl-devel 0.9.6g-1 installed. 
Am
I missing something here? 


Wei


[newbie] mount problem

2002-11-26 Thread Wei Wang



I know this is too naive. But I got confused of different 
helps I found on the internet. 

I get error message when I do mount /dev/cdrom
mount: can't find /dev/cdrom in /etc/fstab or 
/etc/mtab

mount /mnt/cdrom gives out: 
/dev/hdc: Input/output error
mount: I could not determine the filesystem type and non was 
specified

/etc/fstab read:
/dev/hdc /mnt/cdrom auto 
user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0

/var/log/messages reads:
hdc: DV22E, ATAPI CD/DVD-ROM drive

One of the helps I found on the internet told me to delete 
/dev/cdrom and do ln -s /dev/hdc /dev/cdrom
But I kept rm /dev/cdrom and it doesn't go away. It cannot be 
deleted. What should I do?

The other help told me to mount -t iso9660 -o ro /dev/cdrom 
/cdrom
I don't know what that means but it gives an error 
saying:
mount point /cdrom does not exist. 

Any hint what I should do? Many 
thanks.


[newbie] libalsa2 circular dependency and libasound.so.1 confusions

2002-11-26 Thread Wei Wang



I am trying to install libalsa2-0.9.0 from binary 
rpm. Dependency fail reads:error: failed dependencies:libalsa-data is 
needed by libalsa2-0.9.0-0.8rc2mdklibasound.so.1 is needed by 
libarts2-2.2.1-5mdklibasound.so.1 is needed by 
kdelibs-2.2.1-5mdklibasound.so.1 is needed by 
kdelibs-sound-2.2.1-5mdklibasound.so.1 is needed by 
libSDL1.2-1.2.2-1mdk(and 13 other similar dependency fails for 
libasound.so.1 is needed by ...)RESULT=1libalsa-data-0.9.0 rpm 
install gives dependency fail like this:error: failed 
dependencies:libalsa2 = 0.9.0 is needed by 
libalsa-data-0.9.0-0.10rc6mdkRESULT=1As far as the circular 
dependency between libalsa2 and libalsa-data, maybe I could solve it by install 
the two rpm together? Like "rpm -i libalsa2 libalsa-data"? Haven't tried that 
coz I think the libasound.so.1 dependency problem would still jump out. What 
confused me here is that I have libasound.so.1 in usr/lib/ provided by 
alsa-lib0.5.10-2mdk.rpm. And also the libarts2, kdelibs, kdelibs-sound, 
libSDL1.2 etc are alreay installed in my system. Why does the system report 
libasound.so.1 is needed by these already installed packages? 
ps. the other libalsa2 dependency fail 
includes:libasound.so.1 is needed by 
kdebase-2.2.1-7mdklibasound.so.1 is needed by 
libsmpeg0.4-0.4.4-3mdklibasound.so.1 is needed by 
libSDL_image1.2-1.2.0-2mdklibasound.so.1 is needed by 
libao2-0.8.0-3mdklibasound.so.1 is needed by 
arts-2.2.1-5mdklibasound.so.1 is needed by 
kdemultimedia-2.2.1-2mdklibasound.so.1 is needed by 
libSDL_mixer1.2-1.2.0-3mdklibasound.so.1 is needed by 
libSDL_net1.2-1.2.2-1mdklibasound.so.1 is needed by 
mures-0.4-2mdklibasound.so.1 is needed by 
xmms-smpeg-0.3.4-4mdklibasound.so.1 is needed by 
nethack_falconseye-3.3.1_jtp_1.9-3mdklibasound.so.1 is needed by 
rocksndiamonds-2.0.0-4mdklibasound.so.1 is needed by 
xmms-more-vis-plugins-1.4.0-3mdk


[newbie] A general question about dependency

2002-11-26 Thread Wei Wang



I am a total newbie to Unix/Linux world. Using the rpms 
recently, I get
lost in the way packages are installed. Sometimes when I try 
to install
a certain package on my system via an binary rpm, I get lots 
of unsatisfied
dependencies. For example, a recent attempt to install 
kdelibs-3.1.rpm on my
Mandrake 8.1 gives out around more than 
100 failed dependencies involving 
around 30 files needed. Do I have to install all these 
required packages manually,
one by one, which is what I've been doing? 
Is there an automatic tool that installs all the required 
packages and
thus automatically resolve all the failed dependencies? 

I understand that it's been more than a year between the 
kdelibs-3.1 and the
libraries in Mandrake 8.1. In that case, do I have to keep 
very closely up-to-date with the 
new version of packages? Otherwise I would end up facing lots 
of failed dependencies
due to the rapic software/package development? 
This may sound like a very naive and primitive question. But I 
have been exhausted
by manually iron out the sometimes chains of failed 
dependencies one by one. Please
give a newbie some hint on this. Bunch of thanks.



[newbie] Dependency fail.

2002-11-25 Thread Wei Wang



I am installing libglib-devel and it requires pkgconfig. I 
installed pkgconfig from source code. Now pkg-config sits in usr/local/bin. But 
kpackage still returns pkgconfig =0.12 is needed. How can I make the system 
know that pkgconfig is already installed? I know this is a very primitive 
question. But please help.

Many thanks,

Wei


Re: [newbie] Dependency fail.

2002-11-25 Thread Wei Wang
Stephen,

Thank you for your reply. I did ln and ldconfig. But kpackage still thinks
pkgconfig is not installed.


Wei
- Original Message -
From: Stephen Kuhn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 1:05 PM
Subject: Re: [newbie] Dependency fail.


On Tue, 2002-11-26 at 00:00, Wei Wang wrote:
 I am installing libglib-devel and it requires pkgconfig. I installed
 pkgconfig from source code. Now pkg-config sits in usr/local/bin. But
 kpackage still returns pkgconfig =0.12 is needed. How can I make the
 system know that pkgconfig is already installed? I know this is a very
 primitive question. But please help.

 Many thanks,

 Wei

Try putting a symlink in the /usr/bin directory - like:

ln -s /usr/local/bin/pkg-config /usr/bin/pkg-config

..then re-run ldconfig for laughs...then try again...

--
Tue Nov 26 00:00:00 EST 2002
   .o0 linux user:267497 0o.

|____  | kühn media australia
|   /  \ /| |'-.   | http://kma.0catch.com
|  .\__/ || |   |  |
|   _ /  `._ \|_|_.-'  | stephen kühn
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
|  |/ ._/  || |  email: [EMAIL PROTECTED]
|  |'.  `\ | | |icq: 5483808
|  ;/ / | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389
|  '  `-`'   | Berkeley, New South Wales, AU

Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn

If you don't do the things that are not worth doing, who will?








 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Dependency fail.

2002-11-25 Thread Wei Wang
I installed pkg-config from source code. I've just done
./configure --prefix=/usr, make and make install. Now pkg-configure sits in
/usr/bin. I ran ldconfig, rebooted the system. Now kpackage still reports
pkgconfig missing when I tried to install libglib-2.0_0-devel.rpm

- Original Message -
From: Stephen Kuhn [EMAIL PROTECTED]
To: Wei Wang [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 1:19 PM
Subject: Re: [newbie] Dependency fail.


On Tue, 2002-11-26 at 00:14, Wei Wang wrote:
 Stephen,

 Thank you for your reply. I did ln and ldconfig. But kpackage still thinks
 pkgconfig is not installed.


 Wei

How did you install pkg-config - ? Was it via RPM?  Was it compiled on
your system?

If it was by RPM, can you try it again - but from a terminal ? If so,
try using rpm -Uivh --force Xfilename.rpm - and then see if you can
reproduce the error...

If it was compiled by yourself, can you try this: unpack the archive
again, and when you run CONFIGURE, run it like this:

./configure --prefix=/usr
then run
make
then
make install

...run ldconfig after that's done, then see if KPackage reports it there
- you may have to reboot, though - sometimes the lib deps require a
reboot in order to truly refresh themselves...

--
Tue Nov 26 00:15:01 EST 2002
   .o0 linux user:267497 0o.

|____  | kühn media australia
|   /  \ /| |'-.   | http://kma.0catch.com
|  .\__/ || |   |  |
|   _ /  `._ \|_|_.-'  | stephen kühn
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
|  |/ ._/  || |  email: [EMAIL PROTECTED]
|  |'.  `\ | | |icq: 5483808
|  ;/ / | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389
|  '  `-`'   | Berkeley, New South Wales, AU

Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn

Bugs, pl. n.:
Small living things that small living boys throw on small living girls.








 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Pine installation on Mandrake 8.1

2002-11-24 Thread Wei Wang
Hi, all,


I am trying to install Pine 4.5 on Mandrake 8.1.
I got the following error message.

ranlib libpico.a
cc   -g -DDEBUG  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.a  
-lncurses -o pico
/usr//bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [pico] Error 1

I am not sure if this is Mandrake specific or not. So please excuse me if 
this is not the right place to ask this question.


Many thanks,

Wei

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie]

2002-11-24 Thread Wei Wang
I am trying to install sylpheed 0.7.6 on Mandrake 8.1. And I got the 
following
error message. I



checking for flex... no
checking for lex... no
./configure: flex: command not found
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

Then I tried to install Flex2.5.4, I got this message when doing make 
install
yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127

I searched yacc in google but couldn't find a package called yacc. Is it a 
package? If it is not, how can I obtain it?


Please excuse me for these silly and primitive questions. I am trying to 
start to use Linux and keep getting messages telling me I need this and that 
for installing this software.


Wei


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] sylpheed installation on Mandrake 8.1

2002-11-24 Thread Wei Wang


Sorry for the previous mail without title

I am trying to install sylpheed 0.7.6 on Mandrake 8.1. And I got the 
following
 error message. I



 checking for flex... no
 checking for lex... no
 ./configure: flex: command not found
 checking for flex... lex
 checking for yywrap in -ll... no
 checking lex output file root... ./configure: lex: command not found
 configure: error: cannot find output from lex; giving up

 Then I tried to install Flex2.5.4, I got this message when doing make 
install
 yacc -d ./parse.y
 make: yacc: Command not found
 make: *** [parse.c] Error 127

 I searched yacc in google but couldn't find a package called yacc. Is it a 
package? If it is not, how can I obtain it?


 Please excuse me for these silly and primitive questions. I am trying to 
start to use Linux and keep getting messages telling me I
 need this and that for installing this software.


 Wei

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie]

2002-11-24 Thread Wei Wang
David,

Many thanks for your reply. I installed both bison and byacc, and flex rpms 
without any problem. Then I tried to install Sylpheed again. Got this 
message from ./configure


checking for GLIB - version = 1.2.6... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.

I searched in the Mandrake RPMS.cooker and found these:

[[SND]] glib-gettextize-2.0... 21-Aug-2002 12:1514k
[[SND]] glibc-2.2.5-16mdk.i5.. 19-Aug-2002 09:07   3.6M
[[SND]] glibc-devel-2.2.5-16.. 19-Aug-2002 09:08   1.6M
[[SND]] glibc-doc-2.2.5-16md.. 19-Aug-2002 09:08   765k
[[SND]] glibc-doc-pdf-2.2.5-.. 19-Aug-2002 09:09   3.1M
[[SND]] glibc-i18ndata-2.2.5.. 19-Aug-2002 09:09   2.6M
[[SND]] glibc-profile-2.2.5-.. 19-Aug-2002 09:09  10.2M
[[SND]] glibc-static-devel-2.. 19-Aug-2002 09:10   886k
[[SND]] glibc-utils-2.2.5-16.. 19-Aug-2002 09:1044k
[[SND]] glibc_lsb-2.2.90-11m.. 18-Sep-2002 07:02   1.0M

Which one should I install? I tried to install  glibc-2.2.5-16mdk.i586.rpm 
but get dependency errors:

error: failed dependencies:
	initscripts = 6.40.2-6mdk conflicts with glibc-2.2.5-16mdk
	glibc = 2.2.4 is needed by locales-2.3.1.2-4mdk
	glibc = 2.2.4 is needed by locales-2.3.1.2-4mdk
	glibc = 2.2.4 is needed by glibc-devel-2.2.4-6mdk

Did I install the wrong rpm?

Many thanks.

From: [EMAIL PROTECTED] (David E. Fox)
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie]
Date: Sun, 24 Nov 2002 10:43:35 -0800 (PST)

 I searched yacc in google but couldn't find a package called yacc. Is it 
a
 package? If it is not, how can I obtain it?

Lex and yacc are related, if not somewhat complementary in function,
but there are some differences. First of all, yacc stands for yet
another compiler compiler. Well, what's a compiler compiler? Well,
it's a tool that people use to compile compilers with :). Actually,
it's a tool to parse language grammars - for instance the language
grammars in role playing games, ftp sessions, irc, and others may use
yacc or a similar tool. It's not something that is only used with
computer programming language designers.

Specifically for yacc, there are several variants. There's Berkeley
yacc (byacc). Also there's GNU's yacc, which is called 'bison' (yak /
bison) :) get it? Mandrake has a bison, it's (currently)

bison-1.35-3mdk.i586.rpm

Mandrake also has berkeley yacc (byacc), available as

byacc-1.9-12.mdk.i586.rpm

I am not sure what the differences are, but it's been my experience
that packages might want one, and some might want the other, so it's
probably safe to install both.

If a tool needs yacc/bison/byacc to build, it'll probably need lex aas
well. There's a few different versions as well: flex, for instance

flex-2.5.4a-20.mdk.i586.rpm


 Wei



Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie]

2002-11-24 Thread Wei Wang
Oh, I installed libglib1.2-1.2.10-6mdk.i586.rpm. I think this is the one 
needed. Now I have 1.2.10 which is = 1.2.6. But I still get the same error 
message. Anything wrong here?








From: Wei Wang [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie]
Date: Sun, 24 Nov 2002 19:34:50 +

David,

Many thanks for your reply. I installed both bison and byacc, and flex rpms 
without any problem. Then I tried to install Sylpheed again. Got this 
message from ./configure


checking for GLIB - version = 1.2.6... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.

I searched in the Mandrake RPMS.cooker and found these:

[[SND]] glib-gettextize-2.0... 21-Aug-2002 12:1514k
[[SND]] glibc-2.2.5-16mdk.i5.. 19-Aug-2002 09:07   3.6M
[[SND]] glibc-devel-2.2.5-16.. 19-Aug-2002 09:08   1.6M
[[SND]] glibc-doc-2.2.5-16md.. 19-Aug-2002 09:08   765k
[[SND]] glibc-doc-pdf-2.2.5-.. 19-Aug-2002 09:09   3.1M
[[SND]] glibc-i18ndata-2.2.5.. 19-Aug-2002 09:09   2.6M
[[SND]] glibc-profile-2.2.5-.. 19-Aug-2002 09:09  10.2M
[[SND]] glibc-static-devel-2.. 19-Aug-2002 09:10   886k
[[SND]] glibc-utils-2.2.5-16.. 19-Aug-2002 09:1044k
[[SND]] glibc_lsb-2.2.90-11m.. 18-Sep-2002 07:02   1.0M

Which one should I install? I tried to install  glibc-2.2.5-16mdk.i586.rpm 
but get dependency errors:

error: failed dependencies:
	initscripts = 6.40.2-6mdk conflicts with glibc-2.2.5-16mdk
	glibc = 2.2.4 is needed by locales-2.3.1.2-4mdk
	glibc = 2.2.4 is needed by locales-2.3.1.2-4mdk
	glibc = 2.2.4 is needed by glibc-devel-2.2.4-6mdk

Did I install the wrong rpm?

Many thanks.

From: [EMAIL PROTECTED] (David E. Fox)
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie]
Date: Sun, 24 Nov 2002 10:43:35 -0800 (PST)

 I searched yacc in google but couldn't find a package called yacc. Is 
it a
 package? If it is not, how can I obtain it?

Lex and yacc are related, if not somewhat complementary in function,
but there are some differences. First of all, yacc stands for yet
another compiler compiler. Well, what's a compiler compiler? Well,
it's a tool that people use to compile compilers with :). Actually,
it's a tool to parse language grammars - for instance the language
grammars in role playing games, ftp sessions, irc, and others may use
yacc or a similar tool. It's not something that is only used with
computer programming language designers.

Specifically for yacc, there are several variants. There's Berkeley
yacc (byacc). Also there's GNU's yacc, which is called 'bison' (yak /
bison) :) get it? Mandrake has a bison, it's (currently)

bison-1.35-3mdk.i586.rpm

Mandrake also has berkeley yacc (byacc), available as

byacc-1.9-12.mdk.i586.rpm

I am not sure what the differences are, but it's been my experience
that packages might want one, and some might want the other, so it's
probably safe to install both.

If a tool needs yacc/bison/byacc to build, it'll probably need lex aas
well. There's a few different versions as well: flex, for instance

flex-2.5.4a-20.mdk.i586.rpm


 Wei



Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] mozilla 1 on Mandrake 8.1 dependency problem

2002-11-24 Thread Wei Wang
Les,

Thank you for your reply.

Did you upgrade from 0.x to 1.x? I did rpm -ivh mozilla-'whatever 
version'.rpm libnspr-'whatever version'.rpm but got the same error message:
mozilla  0.9.9 conflicts with libnspr4-1.1-10mdk

As for default mozilla, what I mean is that galeon is based on mozilla. So 
I must let galeon know that a new mozilla is installed. If you install 
mozilla 1.x from source, the readme says it must be installed in a different 
directory. I am not sure if rpm does that for you. But unfortunately rpm 
doesn't work for me. So I have installed 1.10 from source and mozilla works 
by its own just all right. I didn't want 2 copies of mozilla, it was the 
installation instruction that said installing new mozilla into the same 
directory would cause problem. Now the new version works fine by itself. 
What I want to do now is to let Galeon(which is based on mozilla) know that 
a new version is installed and let Galeon use the new mozilla.

I used the packages from the mozilla web site, not from any of the
mandrake releases, but it was easily done by just installing the packages
at the same time.

# rpm -ivh mozilla-'whatever version'.rpm libnspr-'whatever version'.rpm

what do you mean by the default mozilla?  if you mean how to change the
menus in gnome so it points to the new mozilla just go to panel - edit
menus in the gnome menu.  if you launch mozilla from a command line just
create an alias for the correct path.  sorry i don't remember what is the
preffered file to create aliases in for bash (which i assume is your
shell).

why do you want to have both versions of mozilla installed anyways?

On Sun, 24 Nov 2002, Wei Wang wrote:

 Maybe this question should be for mozilla mailing list. But could anyone
 using mozilla  galeon give me a hand here?

 I have mozilla 0.9.4 and am trying to upgrade to 1.10. I downloaded
 mozilla-1.1-10mdk.i586.rpm from mandrake rpms.cooker
 When I test this rpm I get this error message:

 error: failed dependencies:
 	libnspr4 = 1.1-10mdk is needed by mozilla-1.1-10mdk
 	mozilla = 0.9.4 is needed by mozilla-mail-0.9.4-3mdk
 RESULT=1

 But when I try to install libnspr4-1.1-10mdk.i586.rpm
 I get an error message like this:

 error: failed dependencies:
 	mozilla  0.9.9 conflicts with libnspr4-1.1-10mdk
 RESULT=1

 Is this some kind of cross-dependency problem? What am I going to do 
now?

 Trying to solve this problem, I downloaded a mozilla 1.01 from mozilla
 website. Hoping that installing 1.01 would allow me to install
 libnspr4-1.1-10, then consequently I could upgrade to mozilla 1.10. But 
the
 README told me that I have to install it in a clean(new) directory. So I
 installed it in /usr/local/mozilla (my old 0.9.4 is in usr/lib/mozilla). 
Now
 how can I make the system recognize this new version as default mozilla? 
I
 mean after I installed mozilla 1.01 in a different directory, 
libnspr4.rpm
 still thinks I have mozilla 0.9.4. What should I do?

 Many thanks,

 Wei

 _
 The new MSN 8: advanced junk mail protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail




Les Henderson
[EMAIL PROTECTED]



Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] zip missing in mozilla configure.

2002-06-07 Thread Wei Wang



hi,

I've got mandrake 8.2 and trying to install mozilla 1.0. 
during the ./configure, I got an error message of :
zip not found in $path. unzip could be found in 
/usr/bin/
but zip is not in either sbin, usr/sbin, bin, usr/bin, or 
usr/X11r6/bin. Why is the zip missing? Anyway I could install it? 

Cheers,

Wei


[newbie] Print pdf multiple page on single sheet?

2002-05-12 Thread Wei Wang

Hi,

How to set the parameters of lpr in printing pdf file with multiple pages on a 
single sheet?(Not duplex, I mean 2 logical pages on one side for example).

I could only find help on ps file, text file, dvi file. No such support was 
found via the net.

Surely there are tools such as xpdf and ghostview. But neither has fancy 
printing graphical interface such as the one provided in Windows.

Could anyone tell me how to do this with simple command line lpr? 


Many thanks,

Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Connection sharing reconfiguration.

2002-03-15 Thread Wei Wang

One Mandrake box and a windows box sharing one IP address. IP masquarading was 
set up via Mandrake control center Connection Sharing. Everything works fine 
except that everytime after Mandrake reboot, the configuration of Conneciton 
sharing has to be done again. Is there any way I could keep the configuration?

Many thanks,
Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] classes.zip not found in ICQ Java installation.

2002-03-09 Thread Wei Wang

I am trying to install an ICQ Java version on my Mandrake 8.1. 

in ICQJava/install:

JAVA_CLASSES=$JAVA_HOME/lib/classes.zip

And ./install prompts Invalid JAVA_CLASSES: file classes.zip not found
I don't have a classes.zip in my j2re1.4.0/lib directory. What should I do?


Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] kdeinit: Fatal IO error.

2002-03-07 Thread Wei Wang

I was playing a CD and just quit from kmanager. Suddenly got this message in 
the bash:

/kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.

[root@china software]# KLauncher: Exiting on signal 1

What does this mean and is it really fatal?

Many thanks,

Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] mid button of 3-button mouse.

2002-03-05 Thread Wei Wang

Thanks, Dennis, 

I set the mouse to Generic PS/2 Wheel Mouse instead It doesnt work at all at 
first The system gives warning sounds when I move the mouse around The 
cursor keeps moving at the edges of the screen Then I logout by 
Ctrl-Alt-BackSpace and relogin, then it works fine



Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwwmandrakestorecom



[newbie] mid button of 3-button mouse.

2002-03-04 Thread Wei Wang

I just installed Mandrake 81 It recognised my mouse as standard 3-button 
mouse But I cannot use the middle button to do things like paste or scroll 
down the browser Did I install the wrong mouse?







Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwwmandrakestorecom



Re: [newbie] mid button of 3-button mouse.

2002-03-04 Thread Wei Wang

Yes, I did try Mozilla, Netscape communicator and Galeon 
Also the paste function never works in any application, from bash to browser 
It's quite painful without the mid-button paste  ;-)


Wei







Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwwmandrakestorecom



sndconfig: soundcard not supported Re: [newbie] Acer 342T soundcard problem.

2002-03-01 Thread Wei Wang

Thanks. I just ran sndconfig 0.65.0 and was told my sound card ESS IES1969 
Solo-1 is not currently supported. I think this means the end of the day. 
;-(


From: Frans Ketelaars [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Acer 342T soundcard problem.
Date: Fri, 1 Mar 2002 12:23:19 +0100

On Fri, 01 Mar 2002 01:06:36 +
Wei Wang [EMAIL PROTECTED] wrote:

  Thanks guys, ;-) Still got problems here.
 
  When I set mount quiet, execute lilo and reboot, no mixer in /dev 
and
  cdroms  is in /dev.
 
  When I set append=devfs=nomount quiet in /etc/lilo.conf, after lilo 
and
  reboot, the mixer does appear in /dev, but this time cdroms 
disappeared.
  In this case, KMenu-Multimedia-sound-audio mixer still prompts no
  permission to /dev/mixer and check if module compiled into kernel. I 
am
  sure I have permission to /dev/mixer. And the module IS compiled into 
kernel
  coz lsmod gives out:
 
  Module Size  Used by
  snd-es193812176   0  (autoclean)  (unused)
  snd-pcm   0  (autoclean)  [snd-es1938]
  snd-timer 0  (autoclean)  [snd-pcm]
  snd-mixer 0  (autoclean)  [snd-timer]
  snd   0  (autoclean)  [snd-es1938 snd-pcm snd-timer
  snd-mixer]
  soundcore 0  (autoclean)  [snd]
 
  So when mixer exists in /dev, I have full permission to it, the module 
is
  in the kernel. The only thing I don't understand is why it's NOT used by
  anyone)
 
  /etc/modules.conf reads:
 
  pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
  alias usb-interface usb-ohci
  alias eth0 eepro100
  alias sound-slot-0 snd-es1938
 
 
  Anything wrong here?

snip

Yes. See the /usr/src/linux-2.4.8/alsa-driver-0.5.11/INSTALL file, it's in 
the
kernel-source .rpm package. Note the name of the module (snd-card-es1938) 
and
the remarks about devfs. HTH,

 -Frans

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Acer 342T soundcard problem.

2002-02-28 Thread Wei Wang

hi,

This is what I found in Soundcard in HardDrake:


Vendor: ESS Technology

Model: ES1969 Solo-1 Audiodrive
This is the
Kernel Module: snd-card-es1938
Bus Type: PCI

And system prompts this when I try to open KMenu-Multimedia-Sound-Audio 
Mixer:

Not able to open audio device
Please check that you have permission to /dev/mixer
and make sure you have sound support compiled into your kernel

I am root running all these

From GNome Control Center, I could only see 2 tick box for Enable 
Soundserver Startup and sounds for events And they ARE ticked

Doesn't what I see in HardDrake mean the sound support is already compiled 
into my kernel? And there is no mixer in the /dev directory





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwwmandrakestorecom



Re: [newbie] Acer 342T soundcard problem.

2002-02-28 Thread Wei Wang

Thanks guys, ;-) Still got problems here.

When I set mount quiet, execute lilo and reboot, no mixer in /dev and 
cdroms  is in /dev.

When I set append=devfs=nomount quiet in /etc/lilo.conf, after lilo and 
reboot, the mixer does appear in /dev, but this time cdroms disappeared. 
In this case, KMenu-Multimedia-sound-audio mixer still prompts no 
permission to /dev/mixer and check if module compiled into kernel. I am 
sure I have permission to /dev/mixer. And the module IS compiled into kernel 
coz lsmod gives out:

Module Size  Used by
snd-es193812176   0  (autoclean)  (unused)
snd-pcm   0  (autoclean)  [snd-es1938]
snd-timer 0  (autoclean)  [snd-pcm]
snd-mixer 0  (autoclean)  [snd-timer]
snd   0  (autoclean)  [snd-es1938 snd-pcm snd-timer 
snd-mixer]
soundcore 0  (autoclean)  [snd]

So when mixer exists in /dev, I have full permission to it, the module is 
in the kernel. The only thing I don't understand is why it's NOT used by 
anyone)

/etc/modules.conf reads:

pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-ohci
alias eth0 eepro100
alias sound-slot-0 snd-es1938


Anything wrong here?





From: Frans Ketelaars [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Acer 342T soundcard problem.
Date: Thu, 28 Feb 2002 19:33:23 +0100

On 28 Feb 2002 06:14:04 -0800
Douglas A. Rist [EMAIL PROTECTED] wrote:

  Hello:
 
  I have this same problem.  The sound devices are in /dev/sound but are
  not linked to /dev.  I also have problems creating links from /dev/sound
  to /dev.  If I get a solution, I will post it here.
 
  On Thu, 2002-02-28 at 05:43, Wei Wang wrote:
   This is what I found in Soundcard in HardDrake:
  
  
   Vendor: ESS Technology
  
   Model: ES1969 Solo-1 Audiodrive
   This is the
   Kernel Module: snd-card-es1938
   Bus Type: PCI
  
   And system prompts this when I try to open 
KMenu-Multimedia-Sound-Audio
   Mixer:
  
   Not able to open audio device.
   Please check that you have permission to /dev/mixer
   and make sure you have sound support compiled into your kernel
  
   I am root running all these.
  
   From GNome Control Center, I could only see 2 tick box for Enable
   Soundserver Startup and sounds for events. And they ARE ticked.
  
   Doesn't what I see in HardDrake mean the sound support is already 
compiled
   into my kernel? And there is no mixer in the /dev directory.

Just an idea: change append= devfs=mount quiet to  devfs=nomount quiet
in /etc/lilo.conf for your default boot image. Then run 'lilo'. After a
reboot your system should have devfs disabled.

Douglas, snd-card-es1938 is an ALSA driver, are you also using ALSA? Good 
luck!

 -Frans

Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] How to input Chinese character(Simplified).

2002-02-27 Thread Wei Wang

hi, all,

I've just set up Mandrake 8.1 English version. Could anyone kindly tell me how 
to input Chinese?


Many thanks,

Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Acer 342T soundcard problem.

2002-02-27 Thread Wei Wang

hi, all,


I just installed Mandrake 8.1 on my Acer 342T laptop. Mandrake recognised and 
installed the driver(I guess) for its soundcard: ESS ES1946 solo-1E. I could 
run CDplayer or MP3 player apps, but no sound comes out of the speaker. Could 
anyone give me a hand?


Many thanks,

Wei




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Acer 342T soundcard problem

2002-02-27 Thread Wei `Wang

Many thanks for help.

This is what I found in Soundcard in HardDrake:


Vendor: ESS Technology

Model: ES1969 Solo-1 Audiodrive
This is the
Kernel Module: snd-card-es1938
Bus Type: PCI

And system prompts this when I try to open KMenu-Multimedia-Sound-Audio 
Mixer:

Not able to open audio device.
Please check that you have permission to /dev/mixer
and make sure you have sound support compiled into your kernel

I am root running all these.

From GNome Control Center, I could only see 2 tick box for Enable 
Soundserver Startup and sounds for events. And they ARE ticked.

Doesn't what I see in HardDrake mean the sound support is already compiled 
into my kernel? And there is no mixer in the /dev directory.










_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com