limit bandwidth on sftp

2010-03-13 Thread Tsu-Fan Cheng
Hi,

   I need to limit my sftp session bandwidth to 20K, can someone show me how
to do it? thank you!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to modify date after unrar files?

2009-12-27 Thread Tsu-Fan Cheng
Hi,
   I don't know how to modify the time of files after it's extracted by
unrar, the extracted file has the time that it's created on the other side,
but I want it to have time/date on my side, thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to modify date after unrar files?

2009-12-27 Thread Tsu-Fan Cheng
Yeah, and I found there is a switch:

tsm,c,a[N]  Save or restore file time (modification, creation, access)

but what is the [N] supposed to mean? thanks!!

TFC

On Sun, Dec 27, 2009 at 12:36 PM, Polytropon free...@edvax.de wrote:

 On Sun, 27 Dec 2009 12:27:53 -0500, Tsu-Fan Cheng tfch...@gmail.com
 wrote:
  Hi,
 I don't know how to modify the time of files after it's extracted by
  unrar, the extracted file has the time that it's created on the other
 side,
  but I want it to have time/date on my side, thank you!!

 In order to change access / modification time, just

% touch files

 and they'll have the correct date and time. Use -m
 for modification time.



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sound problem in 8

2009-12-18 Thread Tsu-Fan Cheng
Hi,

   I just update to 8 release, and found that my sound has problem, my
mpg123 can't find oss output, and mpg321 can't create mcop directory. Though
mplayer and xmms don't complain while playing mp3 files, the music is
distorted, I can't really describe it. It seems people have been talking
about this on the forum but I didn't see any definitive answer, thought I
will post it here to get some help, thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


error when updating ports in 8.0

2009-12-10 Thread Tsu-Fan Cheng
Hi,
   Just update to release 8.0 a few days ago, then when update ports by
csup, error occurs:

Fatal error 'kse_create() failed
' at line 469 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 0)

what should I do? thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bookkeeping software

2009-09-03 Thread Tsu-Fan Cheng
Hi,
I am looking for a port on 7.2R that can do general small family
bookkeeping, I am not running gnome or kde, does anyone have any
recommendation? thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FTP server navigation problem

2009-08-10 Thread Tsu-Fan Cheng
Hi,
   I use freebsd7.2 and can't access my friend's FTP server (crystal FTP
server) from command line. I can't run any command in the ftp server, it
only responds Entering Extended passive mode and hang. But when I ftp from
windows command prompt, it actually works. So what's the matter with my BSD
communication? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opera in your repos

2009-08-05 Thread Tsu-Fan Cheng
Mmm afaIk, FreeBSd didn't make any software into distro, we just put
them into our app system, called ports or port collections, which has
all apps that can run on freebsd.
http://www.freebsd.org/cgi/ports.cgi?query=operastype=all


http://www.freebsd.org/cgi/ports.cgi?query=operastype=all

On Wed, Aug 5, 2009 at 11:02 AM, Ilya Shpan'kov il...@opera.com wrote:

 Hi,

 I work in Opera Software - yes, we make a proprietary browser ;)
 Last 7 years I use GNU/Linux and know that, for example, in Russia the
 Opera browser is very popular in BSD Community. Well, there is a
 question: whether Opera is included to your distro and if not - how we can
 fix this problem? We are ready for any discussions, technical help or
 agreement, if necessary.

 Thanks in advance,

 --
 Best regards,

 Ilya Shpan'kov
 Community Outreach Manager for Russia
 Opera Software ASA

 Mobile: +47 46351421
 Web-site: http://my.opera.com/IlyaShpankov/
 Skype: shpankov
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


qt4 issue

2009-08-05 Thread Tsu-Fan Cheng
Hi,
   just update ports today and found out qt4 splitting into more ports. I am
not sure why I install qt4 in the first place, and I don't run KDE. Can
someone remind me of possible use of qt4 in a system? And, the only
necessary qt I need is qt-copy, which is deported, I guess. How can I fix
this?? thx


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


some suggestions

2009-06-13 Thread Tsu-Fan Cheng
Hi,
   Recently some errors occurred while I upgrade ports, turned out it was a
null entry of dependence in the ports' +CONTENTS, a line of @pkgdep but no
corresponding DEPORIGIN. I am not sure which port management caused this
trouble, though I used portmaster most of the time, but sometimes I used
portupgrade if specified in /usr/ports/UPDATING.
  I just wonder if some corrections can be made to the port management apps,
or to modify pkg install/deinstall app to ignore null entry of dependence.

Regards,

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


linux compatibility ports upgrade

2009-06-04 Thread Tsu-Fan Cheng
Hi,   Just use portmaster to upgrade ports and found out a lot of linux-*
ports are renewed. But strange to see that upgrading was interrupted by
ports conflicts, such as linux-f8-tiff and linux-tiff. What I have are a
whole bunch of f8 stuff, I dont understand why portmaster choose to upgrade
ports that are not f8. And also curious to know which linux* is better?
with or without f8/f10? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: linux compatibility ports upgrade

2009-06-04 Thread Tsu-Fan Cheng
Thank you, Boris. This is my linux ports,linux-f8-atk-1.20.0_1 Accessibility
Toolkit, Linux/i386 binary (Linux Fedora 8)
linux-f8-cairo-1.4.14_1 Vector graphics library Cairo (Linux Fedora 8)
linux-f8-curl-7.18.2_1 The command line tool for transferring files with URL
synta
linux-f8-expat-2.0.1_1 Linux/i386 binary port of Expat XML-parsing library
(Linux
linux-f8-gdk-pixbuf-0.22.0 Image loading library for GTK+ (Linux Fedora 8)
linux-f8-libidn-0.6.14_1 Internationalized Domain Name support library
(Linux Fedora
linux-f8-libxml2-2.7.2 Library providing XML and HTML support (Linux Fedora
8)
linux-f8-nspr-4.7.3 Netscape Portable Runtime (Linux Fedora 8)
linux-f8-nss-3.12.2.0 Network Security Services (Linux Fedora 8)
linux-f8-openssl-0.9.8b The OpenSSL toolkit (Linux Fedora 8)
linux-f8-pango-1.18.4 The pango library (Linux Fedora 8)
linux-f8-png-1.2.22_1 RPM of the PNG lib (Linux Fedora 8)
linux-f8-sqlite3-3.4.2_1 The library that implements an embeddable SQL
database engi
linux-f8-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 8)
linux-f8-xorg-libs-7.3_3 Xorg libraries (Linux Fedora 8)
linux-flashplugin-10.0r22 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_9 Linux/i386 binary of Fontconfig
linux-gtk2-2.6.10_2 GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_2 A high-color icon theme shell from the
FreeDesktop project
linux-jpeg-6b.34_2  RPM of the JPEG lib
linux-libsigc-2.0.17_1 Callback Framework for C++ (linux version)
linux-mplayerplug-in-3.50_3 Embed MPlayer into browser
linux-nvu-1.0_1 A complete Web Authoring System
linux-openmotif-2.2.4_3 Motif toolkit Linux libraries
linux-pango-1.10.2_2 Linux pango binary
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
linux-scim-gtk-fc8-1.4.7_1 Smart Common Input Method platform, gtk module,
Linux binar
linux-scim-libs-fc8-1.4.7_2 Smart Common Input Method platform, library
part, Linux bin
linux_base-f8-8_11  Base set of packages needed in Linux mode (for
i386/amd64)
linux_dri-7.0   Binary Linux DRI libraries for 3D hardware acceleration
of


and I am running 7.2-stable, looks like linux-f8* is just as good to me.


TFC


On Thu, Jun 4, 2009 at 1:59 PM, Boris Samorodov b...@ipt.ru wrote:

 On Thu, 4 Jun 2009 13:15:21 -0400 Tsu-Fan Cheng wrote:

  Hi,   Just use portmaster to upgrade ports and found out a lot of linux-*
  ports are renewed. But strange to see that upgrading was interrupted by
  ports conflicts, such as linux-f8-tiff and linux-tiff.

 Yes, those ports install files with the sane name/path, so they have
 a conflict and can't be used/unstalled together.

  What I have are a
  whole bunch of f8 stuff, I dont understand why portmaster choose to
 upgrade
  ports that are not f8.

 I don't use portmaster but you are first to complain. Can you show
 the output of pkg_info -xI linux?

  And also curious to know which linux* is better?

 Hm, it a good question. ;-)
 The one which does what you need. But there are some security
 problems (seems with pango ports) which won't be resolved for
 Fedora Core 4 ports (since there is no new fixed packages).

  with or without f8/f10? thank you!!

 It depends on your OS version and your tasks. The default (even
 for 8-CURRENT so far) is linux_base-fc4 and it's infrastructure
 ports. I think that for FreeBSD-6.x and lower there is no other
 alternative. For 7.2-RELEASE (and even better, 7-STABLE) one can
 use -f8- base and infrastructure ports. For recent 8-CURRENT one
 can use -f10- ports. There is a WIP to change this to default for
 8-CURRENT.


 WBR
 --
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone  Internet SP
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: linux compatibility ports upgrade

2009-06-04 Thread Tsu-Fan Cheng
It's funny, sometimes I think portmaster knows  that it should upgrade
linux-f8* ports and not linux-* ports but sometimes doesn't. I don't know
why...

TFC

On Thu, Jun 4, 2009 at 2:15 PM, Tsu-Fan Cheng tfch...@gmail.com wrote:

 Thank you, Boris. This is my linux ports,linux-f8-atk-1.20.0_1
 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 8)
 linux-f8-cairo-1.4.14_1 Vector graphics library Cairo (Linux Fedora 8)
 linux-f8-curl-7.18.2_1 The command line tool for transferring files with
 URL synta
 linux-f8-expat-2.0.1_1 Linux/i386 binary port of Expat XML-parsing library
 (Linux
 linux-f8-gdk-pixbuf-0.22.0 Image loading library for GTK+ (Linux Fedora 8)
 linux-f8-libidn-0.6.14_1 Internationalized Domain Name support library
 (Linux Fedora
 linux-f8-libxml2-2.7.2 Library providing XML and HTML support (Linux Fedora
 8)
 linux-f8-nspr-4.7.3 Netscape Portable Runtime (Linux Fedora 8)
 linux-f8-nss-3.12.2.0 Network Security Services (Linux Fedora 8)
 linux-f8-openssl-0.9.8b The OpenSSL toolkit (Linux Fedora 8)
 linux-f8-pango-1.18.4 The pango library (Linux Fedora 8)
 linux-f8-png-1.2.22_1 RPM of the PNG lib (Linux Fedora 8)
 linux-f8-sqlite3-3.4.2_1 The library that implements an embeddable SQL
 database engi
 linux-f8-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 8)
 linux-f8-xorg-libs-7.3_3 Xorg libraries (Linux Fedora 8)
 linux-flashplugin-10.0r22 Adobe Flash Player NPAPI Plugin
 linux-fontconfig-2.2.3_9 Linux/i386 binary of Fontconfig
 linux-gtk2-2.6.10_2 GTK+ library, version 2.X, Linux binary
 linux-hicolor-icon-theme-0.5_2 A high-color icon theme shell from the
 FreeDesktop project
 linux-jpeg-6b.34_2  RPM of the JPEG lib
 linux-libsigc-2.0.17_1 Callback Framework for C++ (linux version)
 linux-mplayerplug-in-3.50_3 Embed MPlayer into browser
 linux-nvu-1.0_1 A complete Web Authoring System
 linux-openmotif-2.2.4_3 Motif toolkit Linux libraries
 linux-pango-1.10.2_2 Linux pango binary
 linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
 linux-scim-gtk-fc8-1.4.7_1 Smart Common Input Method platform, gtk module,
 Linux binar
 linux-scim-libs-fc8-1.4.7_2 Smart Common Input Method platform, library
 part, Linux bin
 linux_base-f8-8_11  Base set of packages needed in Linux mode (for
 i386/amd64)
 linux_dri-7.0   Binary Linux DRI libraries for 3D hardware acceleration
 of


 and I am running 7.2-stable, looks like linux-f8* is just as good to me.


 TFC


 On Thu, Jun 4, 2009 at 1:59 PM, Boris Samorodov b...@ipt.ru wrote:

 On Thu, 4 Jun 2009 13:15:21 -0400 Tsu-Fan Cheng wrote:

  Hi,   Just use portmaster to upgrade ports and found out a lot of
 linux-*
  ports are renewed. But strange to see that upgrading was interrupted by
  ports conflicts, such as linux-f8-tiff and linux-tiff.

 Yes, those ports install files with the sane name/path, so they have
 a conflict and can't be used/unstalled together.

  What I have are a
  whole bunch of f8 stuff, I dont understand why portmaster choose to
 upgrade
  ports that are not f8.

 I don't use portmaster but you are first to complain. Can you show
 the output of pkg_info -xI linux?

  And also curious to know which linux* is better?

 Hm, it a good question. ;-)
 The one which does what you need. But there are some security
 problems (seems with pango ports) which won't be resolved for
 Fedora Core 4 ports (since there is no new fixed packages).

  with or without f8/f10? thank you!!

 It depends on your OS version and your tasks. The default (even
 for 8-CURRENT so far) is linux_base-fc4 and it's infrastructure
 ports. I think that for FreeBSD-6.x and lower there is no other
 alternative. For 7.2-RELEASE (and even better, 7-STABLE) one can
 use -f8- base and infrastructure ports. For recent 8-CURRENT one
 can use -f10- ports. There is a WIP to change this to default for
 8-CURRENT.


 WBR
 --
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone  Internet SP
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: linux compatibility ports upgrade

2009-06-04 Thread Tsu-Fan Cheng
I see, can you tell me which are FC4 ports?? thanks!!
TFC

On Thu, Jun 4, 2009 at 2:26 PM, Boris Samorodov b...@ipt.ru wrote:

 On Thu, 4 Jun 2009 14:15:42 -0400 Tsu-Fan Cheng wrote:

  Thank you, Boris. This is my linux ports,linux-f8-atk-1.20.0_1
 Accessibility
  Toolkit, Linux/i386 binary (Linux Fedora 8)
  linux-f8-cairo-1.4.14_1 Vector graphics library Cairo (Linux Fedora 8)
  linux-f8-curl-7.18.2_1 The command line tool for transferring files with
 URL
  synta
  linux-f8-expat-2.0.1_1 Linux/i386 binary port of Expat XML-parsing
 library
  (Linux
  linux-f8-gdk-pixbuf-0.22.0 Image loading library for GTK+ (Linux Fedora
 8)
  linux-f8-libidn-0.6.14_1 Internationalized Domain Name support library
  (Linux Fedora
  linux-f8-libxml2-2.7.2 Library providing XML and HTML support (Linux
 Fedora
  8)
  linux-f8-nspr-4.7.3 Netscape Portable Runtime (Linux Fedora 8)
  linux-f8-nss-3.12.2.0 Network Security Services (Linux Fedora 8)
  linux-f8-openssl-0.9.8b The OpenSSL toolkit (Linux Fedora 8)
  linux-f8-pango-1.18.4 The pango library (Linux Fedora 8)
  linux-f8-png-1.2.22_1 RPM of the PNG lib (Linux Fedora 8)
  linux-f8-sqlite3-3.4.2_1 The library that implements an embeddable SQL
  database engi
  linux-f8-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 8)
  linux-f8-xorg-libs-7.3_3 Xorg libraries (Linux Fedora 8)
  linux-flashplugin-10.0r22 Adobe Flash Player NPAPI Plugin
  linux-fontconfig-2.2.3_9 Linux/i386 binary of Fontconfig
  linux-gtk2-2.6.10_2 GTK+ library, version 2.X, Linux binary
  linux-hicolor-icon-theme-0.5_2 A high-color icon theme shell from the
  FreeDesktop project
  linux-jpeg-6b.34_2  RPM of the JPEG lib
  linux-libsigc-2.0.17_1 Callback Framework for C++ (linux version)
  linux-mplayerplug-in-3.50_3 Embed MPlayer into browser
  linux-nvu-1.0_1 A complete Web Authoring System
  linux-openmotif-2.2.4_3 Motif toolkit Linux libraries
  linux-pango-1.10.2_2 Linux pango binary
  linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from
 RealNetworks
  linux-scim-gtk-fc8-1.4.7_1 Smart Common Input Method platform, gtk
 module,
  Linux binar
  linux-scim-libs-fc8-1.4.7_2 Smart Common Input Method platform, library
  part, Linux bin
  linux_base-f8-8_11  Base set of packages needed in Linux mode (for
  i386/amd64)
  linux_dri-7.0   Binary Linux DRI libraries for 3D hardware
 acceleration
  of

 OK, you have a mix with FC4 and F8 ports. The best way for you is
 to remove all linux ports, clean /compat/linux and reinstall needed
 linux applications (i.e. linux-realplayer, acroread8, skype, etc.).

  and I am running 7.2-stable, looks like linux-f8* is just as good to me.

 Yes, that may be a good choice for you.


 WBR
 --
 Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone  Internet SP
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to compare two arrays by using perl script?

2009-05-12 Thread Tsu-Fan Cheng
Hi ALL,
   This is not a fbsd-related but a programming question. But this is
the only forum I join, I give it a try.

I have two arrays, each has two columns (so its A1, B1 and A2, B2). As
are the positions while Bs are the values. I need to get the ratio
between B1 and B2 if their As are the same or close to each other
within a certain distance. This sounds pretty straight forward but I
am not an experienced programmer. Can anybody show me how to do it by
perl? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


perl script failed at different stages

2009-04-21 Thread Tsu-Fan Cheng
Hi,
   I guess this is not a REAL freebsd problem, but I am running a perl
script on freebsd7.0/perl 5.10 system. This script failed with
segmentation fault at different stages with different input files,
and sometimes the script actually finishes and gives the reasonable
output. So does this mean the script is fine, but others are at fault?
e.g. memory.. or..??  any advice is welcome.


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


firefox3 hangs up while running flash plugin

2009-04-19 Thread Tsu-Fan Cheng
HI,
   just had this feeling that whenever there is a flash plugin,
firefox3 hangs up pretty bad. I remove a link under
/usr/local/lib/firefox3/plugins to disable plugin, firefox hangs no
more. is this because most flash plugins are upgraded from 9 to 10?
thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to create NTFS file system from FreeBSD?

2009-04-13 Thread Tsu-Fan Cheng
Hi,
correct me if I am wrong, but is it true that ntfsprogs is the
only port that comes with formating disk into NTFS system? because
days ago I also had this problem with my friend's extra USB 1T HD, I
had to use my windows laptop to do the job. thanks!!


TFC

On Sat, Apr 11, 2009 at 8:22 PM, Chris Rees utis...@googlemail.com wrote:
 2009/4/11 Jan Henrik Sylvester m...@janh.de:
 Chris Rees wrote:

 2009/4/11 Jan Henrik Sylvester m...@janh.de:

 Yuri wrote:

 I need to format NTFS partition to give HD to someone to write things

 mkntfs from sysutils/ntfsprogs should do it.


 Yuri had already written ONE LINE below your quote:

 I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an
 extremely long time,  24hrs.

 Yes, sorry, I totally failed to make my point, since I scrapped that line
 and forgot about it writing the mail. (The important part was in the
 parenthesis you removed.)

 My point is that I had problems with ntfsresize from ntfsprogs-2.0.0 not
 working, while ntfsresize from ntfsprogs-1.13.1 was doing just fine. (I hit
 that twice -- on different computers.)

 Thus, I would suggest to try mkntfs from ntfsprogs-1.13.1, if mkntfs from
 ntfsprogs-2.0.0 fails.

 If the older mkntfs works, it would be another reason to revive the old
 port.

 ntfsprogs-2.0.0 was criticized, for example in the thread ending with this
 posting:
 http://www.redhat.com/archives/rhl-devel-list/2008-May/msg02306.html

 A developer from ntfs-3g that formerly worked on ntfsprogs recommends to use
 the older version: http://www.ntfs-3g.org/support.html#ntfsprogs

 I do not really know who is right, but ntfs-3g is actively developed while
 ntfsprogs is not, other people seem to trust ntfs-3g more than the newer
 version of ntfsprogs, and the arguments of the ntfs-3g developer sound
 reasonable.

 I wrote about it last year (before I actually hit problems):
 http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050157.html

 The reply was that there are no new problems known with the 2.0.0 version:
 http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050406.html

 I would like to have ntfsprogs-1.13.1 back -- as ports/ntfsprogs1 or by
 reverting ports/ntfsprogs. Thus, Yuri, please try and report back.

 Cheers,
 Jan Henrik


 Hah, sorry for the vicious reply from me. Don't take it personally, I
 just snapped this time at reading what looked like a dupe  I promise
 I'll lay off the coffee for a bit.

 Chris

 --
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


keep ssh session alive

2009-04-03 Thread Tsu-Fan Cheng
Hi,
  I use putty to connect to my home computer through ssh. i want putty
session to stay alive much longer than it does now, how should I do
it? I have added KeepAlive yes to my sshd config and rerun it, but
it didn't work. thanks!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


too many video drivers

2009-03-31 Thread Tsu-Fan Cheng
Hi,
   I am rebuilding ports and realize that i have too many input/video
drivers for x-win installed. i know i need nv driver since my graphic
card is from nvidia, and i want to deinstall all others. but i am not
sure if its safe to do so, e.g. i am confused by xf86-video-chips
since i don't know what kind of chip that stands for. can someone
tell me which are basics and which are safe to remove? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: init panic in freebsd 7.1

2009-03-30 Thread Tsu-Fan Cheng
Hi,
Thank you, now the problem is solved. But while I was testing an
exact same mborad I got from ebay, I noticed that the replacing board
name my SATA differently from the old board, its designated as ad10
and ad12 instead of ad4 and ad6. What is the mechanism that underlie
this?? thank you!!


TFC


On Sun, Mar 29, 2009 at 2:49 PM, Polytropon free...@edvax.de wrote:
 On Sun, 29 Mar 2009 14:23:13 -0400, Tsu-Fan Cheng tfch...@gmail.com wrote:
 init: not found in path /sbin/ (a lot of paths)
 panic: no init

 what is that??

 The init process is the root of the FreeBSD startup, and the last
 part of the OS loader cannot find it, so the OS cannot start.

 http://www.freebsd.org/cgi/man.cgi?query=initapropos=0sektion=8manpath=FreeBSD+7.1-RELEASEformat=ascii

 You can use a live system CD of FreeBSD (6, 7) or FreeSBIE to boot
 the system with this CD, it should work. Then you can mount your
 / partition and check the existance of init which usually is
 /sbin/init. Don't forget to fsck the hard disk, maybe due to the
 failing power supply you had some damages on the hard disk (file-wise),
 or even worse...




 --
 Polytropon
 From Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


init panic in freebsd 7.1

2009-03-29 Thread Tsu-Fan Cheng
Hi,
I was having a little trouble with my computer, first thought was
that the mboard was fried, but later found out it was the power supply
and replaced it. The computer started but failed to boot, here is what
it's been complaining,

exec /sbin/init error 8
exec /sbin/init.bak error 8
exec /rescue/init error8

init: not found in path /sbin/ (a lot of paths)

panic: no init


what is that??

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


read BSD format disk from Mac OSX

2009-03-02 Thread Tsu-Fan Cheng
Hi all,
I format a ext disk (UFS) and transfer some files into it, hand it
over to my friend who has a macbook. He complained the macbook can't
read it. I don't have a mac on hand, I wonder if there is any utility
that will help a mac to read a BSD, thanks!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


libxcb-xlib issue

2009-02-04 Thread Tsu-Fan Cheng
Hi,
   just a while ago I run portupgrade -rf libxcb to rebuild anything
that depends on libxcb, and there are A LOT of them!! While during
rebuild, some work but some don't, which is fine, since my problem was
solved at the moment. But today, I realize that transcode has not been
fixed, and I really don't want to go through the same portupgrade
process again. Can someone tell me a better way to resolve it? The
error that ended the transcode rebuild is like this:
=
/bin/sh /usr/local/bin/libtool --tag=CC   --mode=link cc  -Wall
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-fno-strict-aliasing -pipe -module -avoid-version -L/usr/local/lib -o
filter_preview.la -rpath /usr/local/lib/transcode filter_preview.lo
display.lo -L/usr/local/lib -R/usr/local/lib -lSM -lICE -lXext -lX11
-L/usr/local/lib -L/usr/local/include -ldv -L/usr/local/lib
-L/usr/local/include -ldv -lm -lXv -L/usr/local/lib -lSDL
-Wl,-rpath,/usr/local/lib -pthread
grep: /usr/local/lib/libxcb-xlib.la: No such file or directory
sed: /usr/local/lib/libxcb-xlib.la: No such file or directory
libtool: link: `/usr/local/lib/libxcb-xlib.la' is not a valid libtool archive
gmake[3]: *** [filter_preview.la] Error 1
gmake[3]: Leaving directory
`/usr/ports/multimedia/transcode/work/transcode-1.0.6/filter/preview'


thank you !!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-28 Thread Tsu-Fan Cheng
yah, i think that one thing i didn't do is portupgrade -rf libxcb,
before upgrading xorg-* stuff.

its a hell of a job. thats all i got to say...


TFC

On Wed, Jan 28, 2009 at 10:40 AM, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 Da Rock rock_on_the_...@comcen.com.au writes:

 On Tue, 2009-01-27 at 12:47 -0200, Sergio de Almeida Lenzi wrote:
 Em Ter, 2009-01-27 às 09:27 -0500, Tsu-Fan Cheng escreveu:

  Hi,
  have you solved the problem yet? I also have libXmu failed to
  upgrade due to libxcb-xlib.la. Thanks!!

 I removed every instance of libxb-xlib.la from /usr/local/lib/*.la
 than it all works again

 a shell script like:
 ==
 #!/bin/sh

 lista=`find /usr/local/lib  -type f -name *.la`

 if [ -n $lista ]
 then
  for i in $lista
  do
  if grep $1 $i  /dev/null
  then
  sed -i  s|/usr/local/lib/$1|| $lista
  fi
  done
 fi
 
 supose you name this shell -  XX
 than.
 sh XX libxcb-xlib.la
 will do the trick

 after that, you will be able to build things again.

 I've been talking to the porters and that would not be the recommended
 way of fixing this. Running portupgrade -a -rf libxcb resolves the
 issue.

 That probably isn't the exactly recommended form either.
 -a and -r don't make sense together; the -r will be ignored, and
 you will end up rebuilding *everything*.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: x11/libXrandr, x11-toolkits/libXmu, graphics/jasper fails to build

2009-01-27 Thread Tsu-Fan Cheng
Hi,
have you solved the problem yet? I also have libXmu failed to
upgrade due to libxcb-xlib.la. Thanks!!


TFC

On Mon, Jan 26, 2009 at 10:56 PM, Da Rock rock_on_the_...@comcen.com.au wrote:
 On Mon, 2009-01-26 at 22:04 -0500, Robert Noland wrote:
 On Tue, 2009-01-27 at 11:22 +1000, Da Rock wrote:
  Here's another one:
 
  /bin/sh ../libtool --tag=CC--mode=link cc -D_THREAD_SAFE
  -I/usr/local/include   -D_THREAD_SAFE -I/usr/local/include
  -DMALLOC_0_RETURNS_NULL -O2 -fno-strict-aliasing -pipe  -version-number
  2:1:0 -no-undefined  -o libXrandr.la -rpath /usr/local/lib Xrandr.lo
  XrrConfig.lo XrrCrtc.lo XrrMode.lo  XrrOutput.lo XrrProperty.lo
  XrrScreen.lo -L/usr/local/lib -lX11   -L/usr/local/lib -lXext -lXrender
  -lX11
  grep: /usr/local/lib/libxcb-xlib.la: No such file or directory
  sed: /usr/local/lib/libxcb-xlib.la: No such file or directory
  libtool: link: `/usr/local/lib/libxcb-xlib.la' is not a valid libtool
  archive
  *** Error code 1
 
  I tried a search myself: ng.
  I tried to find a config switch for libxcb: ng.
 
  Let me know what else you need or what I can do to help here. Obviously
  other ports are dependent on these and are therefore failing as well.
  FWIW this is an upgrade using portupgrade.

 This is fallout from the libxcb update.  xcb-xlib no longer exists, you
 need to update everything that depends on libxcb using your preferred
 method.

 I'd also like to point out that I just rebooted and X died in the
 hole... :) Missing rgb files and what not

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


flash9 hangs firefox a lot

2009-01-17 Thread Tsu-Fan Cheng
Hi,
   just recently upgrade flash 7 to flash 9 following the
instructions. but lately found out that firefox hangs a lot when
visiting pages running flash. and the console reports:

*** NSPlugin Wrapper *** ERROR: NPP_Destroy() wait for reply: Message timeout
*** NSPlugin Wrapper *** ERROR: NPObject 0x32435650 is no longer valid!


how can I get rid of that?? thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flash9 hangs firefox a lot

2009-01-17 Thread Tsu-Fan Cheng
good ones!! ;_)

TFC

On Sat, Jan 17, 2009 at 1:57 PM, dick hoogendijk d...@nagual.nl wrote:
 On Sat, 17 Jan 2009 19:31:27 +0100 (CET)
 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

just recently upgrade flash 7 to flash 9 following the
  instructions. but lately found out that firefox hangs a lot when
  visiting pages running flash. and the console reports:
  how can I get rid of that?? thank you!!
 
 ask adobe - they wrote flash

 Flash (Adobe) and FreeBSD don't get along well.

 --
 Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
 + http://nagual.nl/ | SunOS sxce snv105 ++
 + All that's really worth doing is what we do for others (Lewis Carrol)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how should I upgrade all these ports??

2009-01-12 Thread Tsu-Fan Cheng
Hi,
  I just csup my port tree this morning (01/12), and realized there is
a whole lot ports need my attention (49 of them). I checked out
UPDATES and found out that gnome and GTK+ have just been updated. But
i don't have gtkmm or gnome-session installed, I wonder if I should
still upgrade my ports just as described in the UPDATES. Here is the
list:

=== New version available: gnomehier-2.3_11
=== New version available: lame-3.98.2_1
=== New version available: libcheck-0.9.6
=== New version available: ORBit2-2.14.16
=== New version available: arts-1.5.10_1,1
=== New version available: atk-1.24.0
=== New version available: cairo-1.8.6,1
=== New version available: consolekit-0.3.0_3
=== New version available: dbus-1.2.4.2
=== New version available: dbus-glib-0.78
=== New version available: esound-0.2.41
=== New version available: fontconfig-2.6.0,1
=== New version available: gamin-0.1.10
=== New version available: gconf2-2.24.0
=== New version available: gio-fam-backend-2.18.4
=== New version available: glib-2.18.4
=== New version available: gnome-doc-utils-0.14.2
=== New version available: gnome-icon-theme-2.24.0_2
=== New version available: gnome-keyring-2.24.1_1
=== New version available: gnome-vfs-2.24.0
=== New version available: gtk-2.14.7
=== New version available: gtk-engines2-2.16.1
=== New version available: gvfs-1.0.3
=== New version available: hal-0.5.11_10
=== New version available: libbonobo-2.24.0
=== New version available: libbonoboui-2.24.0
=== New version available: libgnome-2.24.1
=== New version available: libgnomeui-2.24.0
=== New version available: libgsf-1.14.11
=== New version available: libnotify-0.4.5
=== New version available: librsvg2-2.22.3_1
=== New version available: libsoup-2.24.2.1
=== New version available: libxml2-2.7.2_1
=== New version available: pango-1.22.4
=== New version available: pixman-0.12.0
=== New version available: policykit-0.9_2
=== New version available: policykit-gnome-0.9.2
=== New version available: py25-cairo-1.8.0_2
=== New version available: py25-gobject-2.16.0
=== New version available: py25-gtk-2.13.0_1
=== New version available: py25-libxml2-2.7.2
=== New version available: firefox-3.0.5_1,1
=== New version available: firefox-3.0.a2_5,1
=== New version available: gnome-menus-2.24.2
=== New version available: intltool-0.40.5
=== New version available: libgweather-2.24.2
=== New version available: libwnck-2.24.2
=== New version available: py25-orbit-2.24.0
=== New version available: webkit-gtk2-1.0.1_4
=== 49 have new versions available


thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to remove -KVCD.stats?

2009-01-03 Thread Tsu-Fan Cheng
Hi,
   due to using mkxvcd to convert avi to mpg, I sometimes generates
-KVCD.stas file. How can I remove this? every time I run:

rm -f \-KVCD.stats

or

rm -f _KVCD.stas

it says:

rm: illegal option -- K
usage: rm [-f | -i] [-dIPRrvW] file ...
   unlink file


thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OSX mount UFS

2008-12-26 Thread Tsu-Fan Cheng
Hi,
I apologize for this diversion of topic. I format a external HD by
BSD and move files to it. When trying to read it on OSX, it wouldn't
recognize. Googling it didn't help much. I wonder if people here and
lend a hand. Thanks!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about some archive files, type *.rar

2008-12-15 Thread Tsu-Fan Cheng
just use unrar under archivers in ports collection. dont have to cat
all the rar files together, unrar can un-compress it in sequence and
generate the original files.

TFC

On Mon, Dec 15, 2008 at 3:09 PM, Gary Kline kl...@thought.org wrote:

guys,

last friday i found a public domain DVD-ROM of books available
for free d/l.  turns out there were 13 huge files in rar files.
I have all.  can these be catted together and the unrard to form
the original?

Oh:  there was another version using bit-torrent, but that was taking
a long LONG time and stalled, so next time is a question about this
stuff.  note that the torrent file was also in *rar format, so i'm 
 back to
the original quandry...

if anybody knows what an rar file is, would you please hit me up with
a clue or two?

tia,

gary



 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.12a release of Jottings: http://jottings.thought.org/index.php

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


does not understand df -H

2008-11-30 Thread Tsu-Fan Cheng
Hi,
   I have a pretty basic question: when I df -H my disk, the numbers
cant add up,


Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0c  484G429G 17G96%/ad0c


there should be more disk space available based on what is shown. why
is this like that??

thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Update a package

2008-11-26 Thread Tsu-Fan Cheng
from /usr/ports/UPDATE, you need to rebuild all ports...

AFFECTS: users of devel/gettext (i.e.: YOU)
AUTHOR: [EMAIL PROTECTED]

  As a result of the upgrade to gettext-0.17, the shared library version
  of libintl has changed, so you will need to rebuild all ports that
  depend on gettext:

# portupgrade -rf gettext
# portmaster -r gettext\*

  Given the scope and sheer number of dependent ports, it may be more
  advisable to simply blow away all existing install ports (after
  keeping any local configuration changes), and rebuilding from scratch.

good luck!!


TFC


On Wed, Nov 26, 2008 at 10:36 AM, Gary Hartl [EMAIL PROTECTED] wrote:
 Hi all;

 Ok uber noob question here.

 I have gettext-0.14.5 installed from the package tree, I want to update to
 gettext-0.17_1

 Is there a ways to do that with the pkg_add or some other command?

 I google'ed it and only found ways to update local ports sources...(which
 means I either suck at google or fbsd or both)

 Thanks for understanding my noobness.

 Gary


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Tsu-Fan Cheng
Hi,
  I was just reading stuff about ZFS, and wonder if it would be
beneficial for me to use it. I store a lots of multimedia files in my
HD, they usually have the size of  1GB (e.g. 1.2, 1.7 or even
bigger), and my system is running UFS.
  so can I buy a new HD, say 500GB, and format it ZFS style and use it
along with other UFS? and will ZFS performs better than UFS in my
situation? Thank you!!


TFC

On Thu, Nov 20, 2008 at 2:51 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 all the input from various users I assume zfs would be the file system of
 choice for such large volumes?

 Are there limitations or downsides using UFS on such a large volume?

 no, unless you will create it with default options.

 use -i big-power-of-two simply to have enough inodes for your files, but not
 100 times too much. too much inodes=more wasted space AND VERY SLOW FSCK

 use -b 32768 or 65536 depending of your file's average size.

 -b 16384 will work too, but again fsck may be long.


 of course turn on softupdates.

 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.


 Also are there any tools for recovery off ZFS volumes? Accidental
 delete/format/corruption...?

 no.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_delete core dump

2008-11-18 Thread Tsu-Fan Cheng
Hi Mel,
   the link to download the +CONTENTS file is here
http://www.megaupload.com/?d=YDKFRCZG, and you know what? I don't have
+REQUIRED_BY file.  thanks!!

there is a empty entry in the +CONTENTS file:

[snip]
@pkgdep linux-scim-libs-1.4.4
@comment DEPORIGIN:textproc/linux-scim-libs
@pkgdep
@comment $FreeBSD: ports/print/acroread8/pkg-plist,v 1.2 2008/04/13
18:36:28 hrs Exp $
[snip]

TFC

On Tue, Nov 18, 2008 at 12:51 AM, Mel
[EMAIL PROTECTED] wrote:
 On Tuesday 18 November 2008 05:18:37 Mel wrote:
 On Monday 17 November 2008 22:15:32 Tsu-Fan Cheng wrote:
  Hi Mel,
 thank you for your help, now I recompile pkg_install and run
  pkg_delete again, under print/acroread8 it still coredump. here is the
  result:
 
  # gdb pkg_delete pkg_delete.core
  GNU gdb 6.1.1 [FreeBSD]
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you
  are welcome to change it and/or distribute copies of it under certain
  conditions. Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for
  details. This GDB was configured as i386-marcel-freebsd...
  Core was generated by `pkg_delete'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /lib/libmd.so.4...done.
  Loaded symbols for /lib/libmd.so.4
  Reading symbols from /lib/libc.so.7...done.
  Loaded symbols for /lib/libc.so.7
  Reading symbols from /libexec/ld-elf.so.1...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x2815dae6 in strcmp () from /lib/libc.so.7
  (gdb) bt
  #0  0x2815dae6 in strcmp () from /lib/libc.so.7
  #1  0x0804b50c in isinstalledpkg (name=0x0)
  at /usr/src/usr.sbin/pkg_install/lib/match.c:374

 There's the culprit. strcmp called on a null pointer. The reason is that
 the +CONTENTS file contains corrupted data. Most likely a @pkgdep line
 without a package name. Could you show the output of:
 grep @pkgdep /var/db/pkg/acroread8-8.1.2_2/+CONTENTS

 Actually, considering it comes from undepend, could you also include:
 cat /var/db/pkg/acroread8-8.1.2_2/+REQUIRED_BY

 --
 Mel

 Problem with today's modular software: they start with the modules
and never get to the software part.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_delete core dump

2008-11-18 Thread Tsu-Fan Cheng
it works!! thanks Mel.


TFC

On Tue, Nov 18, 2008 at 8:16 AM, Mel
[EMAIL PROTECTED] wrote:
 On Tuesday 18 November 2008 13:37:11 Tsu-Fan Cheng wrote:
 Hi Mel,
the link to download the +CONTENTS file is here
 http://www.megaupload.com/?d=YDKFRCZG, and you know what? I don't have
 +REQUIRED_BY file.  thanks!!

 there is a empty entry in the +CONTENTS file:

 [snip]
 @pkgdep linux-scim-libs-1.4.4
 @comment DEPORIGIN:textproc/linux-scim-libs
 @pkgdep
 @comment $FreeBSD: ports/print/acroread8/pkg-plist,v 1.2 2008/04/13
 18:36:28 hrs Exp $

 That's definetely the cause of the crash. The patch below should guard against
 pkg_delete crashing.
 How this line got created in the first place, is very weird.

 I would run:
 grep -E '^@(pkgdep|name)[[:space:]]*$' /var/db/pkg/*/+CONTENTS

 Which would show all dependency lines and name directives that are empty.
 Maybe there's a common factor. For the moment my money is on linux-nvu as
 that would be the dependency that belongs at the empty spot:
 # make -C /usr/ports/print/acroread8 actual-package-depends | sort -u -t : -k
 2
 linux-atk-1.9.1:accessibility/linux-atk
 linux-glib2-2.6.6_1:devel/linux-glib2
 linux_base-fc-4_13:emulators/linux_base-fc4
 linux-cairo-1.0.2:graphics/linux-cairo
 linux-jpeg-6b.34:graphics/linux-jpeg
 linux-png-1.2.8_2:graphics/linux-png
 linux-tiff-3.7.1:graphics/linux-tiff
 hicolor-icon-theme-0.10_2:misc/hicolor-icon-theme
 acroreadwrapper-0.0.20080906:print/acroreadwrapper
 linux-expat-1.95.8:textproc/linux-expat
 linux-scim-libs-1.4.4:textproc/linux-scim-libs
 linux-nvu-1.0:www/linux-nvu
 linux-fontconfig-2.2.3_7:x11-fonts/linux-fontconfig
 linux-hicolor-icon-theme-0.5_1:x11-themes/linux-hicolor-icon-theme
 linux-gtk2-2.6.10:x11-toolkits/linux-gtk2
 linux-pango-1.10.2:x11-toolkits/linux-pango
 linux-xorg-libs-6.8.2_5:x11/linux-xorg-libs


 --
 Mel


 Index: plist.c
 ===
 RCS file: /home/ncvs/src/usr.sbin/pkg_install/lib/plist.c,v
 retrieving revision 1.52
 diff -u -r1.52 plist.c
 --- plist.c 28 Mar 2007 05:33:52 -  1.52
 +++ plist.c 18 Nov 2008 12:51:02 -
 @@ -31,6 +31,11 @@
  {
 PackingList tmp;

 +if( arg == NULL || arg[0] == '\0' )
 +{
 +   warnx(Invalid packing list line ignored);
 +   return;
 +}
 tmp = new_plist_entry();
 tmp-name = copy_string(arg);
 tmp-type = type;
 @@ -61,6 +66,11 @@
  {
 PackingList tmp;

 +if( arg == NULL || arg[0] == '\0' )
 +{
 +   warnx(Invalid packing list line ignored);
 +   return;
 +}
 tmp = new_plist_entry();
 tmp-name = copy_string(arg);
 tmp-type = type;

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


porting jdownloader to freebsd

2008-11-18 Thread Tsu-Fan Cheng
Hi,
   does anyone port Jdownloader (java app) to freebsd yet??

thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


seg fault when pkg_delete

2008-11-17 Thread Tsu-Fan Cheng
Hi,
   I have some trouble when make deinstall/pkg_delete some ports. I
try to backtrace with gdb, and here is what I found when exec
pkg_delete under gdb to remove p5-Module-Build-0.30:

0x2815dae6 in strcmp () from /lib/libc.so.7

any idea?? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pkg_delete core dump

2008-11-17 Thread Tsu-Fan Cheng
hi,
during recompiling some ports, I found my pkg_delete core dump on
some ports (not all of them), when it dumped, it has something like
this (print/acroread8):

# gdb pkg_delete pkg_delete.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...(no debugging
symbols found)...
Core was generated by `pkg_delete'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libmd.so.4
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2815dae6 in strcmp () from /lib/libc.so.7
(gdb) bt full
#0  0x2815dae6 in strcmp () from /lib/libc.so.7
No symbol table info available.
#1  0x0804b50c in ?? ()
No symbol table info available.
#2  0x0810b1a0 in ?? ()
No symbol table info available.
#3  0x in ?? ()
No symbol table info available.
#4  0x in ?? ()
No symbol table info available.
#5  0x in ?? ()
No symbol table info available.
#6  0x in ?? ()
No symbol table info available.
#7  0x in ?? ()
No symbol table info available.
#8  0x in ?? ()
No symbol table info available.
#9  0x in ?? ()
No symbol table info available.
#10 0x in ?? ()
No symbol table info available.
#11 0x0810b180 in ?? ()
---Type return to continue, or q return to quit---
No symbol table info available.
#12 0xbfbfd968 in ?? ()
No symbol table info available.
#13 0x0804adc5 in ?? ()
No symbol table info available.
#14 0x in ?? ()
No symbol table info available.
#15 0x000c in ?? ()
No symbol table info available.
#16 0x03e1 in ?? ()
No symbol table info available.
#17 0x28174af5 in fwrite () from /lib/libc.so.7
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb)

any idea?? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_delete core dump

2008-11-17 Thread Tsu-Fan Cheng
Hi Mel,
   thank you for your help, now I recompile pkg_install and run
pkg_delete again, under print/acroread8 it still coredump. here is the
result:

# gdb pkg_delete pkg_delete.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Core was generated by `pkg_delete'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.4...done.
Loaded symbols for /lib/libmd.so.4
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2815dae6 in strcmp () from /lib/libc.so.7
(gdb) bt
#0  0x2815dae6 in strcmp () from /lib/libc.so.7
#1  0x0804b50c in isinstalledpkg (name=0x0)
at /usr/src/usr.sbin/pkg_install/lib/match.c:374
#2  0x0804adc5 in requiredby (pkgname=0x0, list=0xbfbfe1a8, strict=0, filter=0)
at /usr/src/usr.sbin/pkg_install/lib/deps.c:202
#3  0x08049c14 in undepend (p=0x0, pkgname=0x810b180 acroread8-8.1.2_2)
at /usr/src/usr.sbin/pkg_install/delete/perform.c:385
#4  0x0804a769 in pkg_do (pkg=0x810b180 acroread8-8.1.2_2)
at /usr/src/usr.sbin/pkg_install/delete/perform.c:286
#5  0x0804a981 in pkg_perform (pkgs=0x810c060)
at /usr/src/usr.sbin/pkg_install/delete/perform.c:112
#6  0x08049b2a in real_main (argc=3, argv=0xbfbfeb60)
at /usr/src/usr.sbin/pkg_install/delete/main.c:163
#7  0x0804ab58 in main (argc=3, argv=0xbfbfeb60)
at /usr/src/usr.sbin/pkg_install/lib/pkgwrap.c:88
(gdb) bt full
#0  0x2815dae6 in strcmp () from /lib/libc.so.7
No symbol table info available.
#1  0x0804b50c in isinstalledpkg (name=0x0)
at /usr/src/usr.sbin/pkg_install/lib/match.c:374
result = Variable result is not available.
(gdb) up
#1  0x0804b50c in isinstalledpkg (name=0x0)
at /usr/src/usr.sbin/pkg_install/lib/match.c:374
374 if (strcmp(memo-iip_name, name) == 0)
(gdb)

should I do a full buildworld/installworld?


TFC



On Mon, Nov 17, 2008 at 2:36 PM, Mel
[EMAIL PROTECTED] wrote:
 On Monday 17 November 2008 20:15:46 Tsu-Fan Cheng wrote:
 hi,
 during recompiling some ports, I found my pkg_delete core dump on
 some ports (not all of them), when it dumped, it has something like
 this (print/acroread8):

 # gdb pkg_delete pkg_delete.core
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are welcome to change it and/or distribute copies of it under certain
 conditions. Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i386-marcel-freebsd...(no debugging
 symbols found)...
 Core was generated by `pkg_delete'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /lib/libmd.so.4...(no debugging symbols found)...done.
 Loaded symbols for /lib/libmd.so.4
 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
 Loaded symbols for /lib/libc.so.7
 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
 found)...done. Loaded symbols for /libexec/ld-elf.so.1
 #0  0x2815dae6 in strcmp () from /lib/libc.so.7
 (gdb) bt full
 #0  0x2815dae6 in strcmp () from /lib/libc.so.7
 No symbol table info available.
 #1  0x0804b50c in ?? ()
 No symbol table info available.

 snip incomplete backtrace

 You will have to recompile pkg_delete with debug symbols to get any idea. To
 do so, do the following (providing you have sources in /usr/src):
 cd /usr/src/usr.sbin/pkg_install
 make clean
 make obj
 make DEBUG_FLAGS='-ggdb' depend
 make DEBUG_FLAGS='-ggdb' all install

 If this gives errors, it's best to do a full buildworld/installworld.
 --
 Mel

 Problem with today's modular software: they start with the modules
and never get to the software part.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-16 Thread Tsu-Fan Cheng
Hi all,
   I was rebuilding all my ports due to an error in my library. After
a couple days, I think most of the ports were rebuilt, but some remain
(skipped, error, etc).  I then try to rebuild myself (by doing make
deinstall; make reinstall). I started with mplayer. The compilation
succeeded, but can't make deinstall my existed port:

# make deinstall
===  Deinstalling for multimedia/mplayer
===   Deinstalling mplayer-0.99.11_8
pkg_delete: package 'mplayer-0.99.11_8' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
linux-mplayerplug-in-3.50_1
mencoder-0.99.11_2
mkxvcd-2.0.2_5
smplayer-0.6.4
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/multimedia/mplayer.


it didn't give me too much to trouble shoot, any help from you guys is
appreciated.

TFC

On Thu, Nov 13, 2008 at 5:00 PM, Jerry [EMAIL PROTECTED] wrote:
 On Thu, 13 Nov 2008 15:41:25 -0500
 Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

what would happen if I don't compile ports all over again? will my
system crash?

 I believe that the total stability of your system might be jeopardized.
 Personally, I use 'portmanager' to force an update of all my installed
 ports. After updating your ports tree, using 'portmanager -u -f -y -l'
 will update everything in the correct order. If you have 'java'
 installed, make sure you download the required files prior to
 starting the update procedure.

 --
 Jerry
 [EMAIL PROTECTED]

 There are two kinds of pedestrians... the quick and the dead.

Lord Thomas Rober Dewar

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
Hi,
   just cvsup my port tree and upgrade a few of them by portmaster,
but somehow there is this error that blocks a lot of upgrades:
shared object libncurses.so.5.6 not found,  required by
xgettext/msgmerge/msgfmt...

if there something i missed these days? if was find a couple days ago
when I did my last upgrade. Any idea is appreciated!! thansk!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
as I look into my system, under /usr/local/lib, I found out that I not
only don't have libncurses.so.5.6, but instead I have
libncurses.so.5.7. And this file was created this morning (Nov 13,
09:03) while I was trying to upgrade my ports. Odd

I am running freebsd 7.0, as my uname tells me..

TFC

On Thu, Nov 13, 2008 at 11:47 AM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 On Thu, Nov 13, 2008 at 08:12:49AM -0800, [EMAIL PROTECTED] wrote:
 learned a new thing, here is the output:
 /usr/local/bin/xgettext:
 libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000)
 libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so (0x280de000)
 libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
 libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
 libz.so.4 = /lib/libz.so.4 (0x2831b000)
 libm.so.5 = /lib/libm.so.5 (0x2832d000)
 libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
 libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
 libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
 libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
 libncurses.so.5.6 = not found (0x0)
 libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
 libbsdxml.so.3 = /lib/libbsdxml.so.3 (0x28685000)
 libc.so.7 = /lib/libc.so.7 (0x286a3000)
 libncurses.so.5.6 = not found (0x0)
 libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x287a4000)
 libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
 libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)
 libm.so.4 = /lib/libm.so.4 (0x2945b000)

 it's weird that it still shows libncurses.so.5.6, any thoughts?? thanks!!

 It's not weird at all.  When a binary is linked to a shared library
 (during the linking phase), the library filename (libXXX.so.X.X) is
 stored in the binary, not libXXX.so.

 I'm not sure how/why a rebuild xgettext is linking to what appears to be
 a very old version of libncurses.  libncurses.so.5.6 would be for
 FreeBSD 5.x, I believe; my FreeBSD 6.x machines have libncurses.so.6,
 and my FreeBSD 7.x + CURRENT machines have libncurses.so.7.

 --
 | Jeremy Chadwickjdc at parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB |


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
Mel, thank you for your help, here is the output:

/usr/local/bin/xgettext:
libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so 
(0x280a9000)
libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so 
(0x280de000)
libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
libz.so.4 = /lib/libz.so.4 (0x2831b000)
libm.so.5 = /lib/libm.so.5 (0x2832d000)
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
libncurses.so.5.6 = not found (0x0)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libbsdxml.so.3 = /lib/libbsdxml.so.3 (0x28685000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libgettextsrc-0.17.so:
libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so 
(0x280de000)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libgettextlib-0.17.so:
libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
libz.so.4 = /lib/libz.so.4 (0x2831b000)
libm.so.5 = /lib/libm.so.5 (0x2832d000)
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libncurses.so.5.6 = not found (0x0)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libcroco-0.6.so.3:
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libxml2.so.5:
libz.so.4 = /lib/libz.so.4 (0x2831b000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libm.so.5 = /lib/libm.so.5 (0x2832d000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/lib/libz.so.4:
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/lib/libm.so.5:
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libglib-2.0.so.0:
libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libicui18n.so.38:
libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x287a4000)
libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)
libm.so.4 = /lib/libm.so.4 (0x2945b000)
/usr/local/lib/libintl.so.8:
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libpcre.so.0:
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/lib/libbsdxml.so.3:
libc.so.7 = /lib/libc.so.7 (0x286a3000)
/usr/local/lib/libicuuc.so.38:
libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)
libm.so.4 = /lib/libm.so.4 (0x2945b000)
/usr/lib/libstdc++.so.5:
libm.so.4 = /lib/libm.so.4 (0x2945b000)


thanks!!

TFC

On Thu, Nov 13, 2008 at 12:02 PM, Mel
[EMAIL PROTECTED] wrote:
 On Thursday 13 November 2008 17:47:34 Jeremy Chadwick wrote:
 On Thu, Nov 13, 2008 at 08:12:49AM -0800, [EMAIL PROTECTED] wrote:
  learned a new thing, here is the output:
  /usr/local/bin/xgettext:
  libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so
  (0x280a9000) libgettextlib-0.17.so =
  /usr/local/lib/libgettextlib-0.17.so (0x280de000) libcroco-0.6.so.3 =
  /usr/local/lib/libcroco-0.6.so.3 (0x281bb000) libxml2.so.5 =
  /usr/local/lib/libxml2.so.5 (0x281ef000)
  libz.so.4 = /lib/libz.so.4 (0x2831b000)
  libm.so.5 = /lib/libm.so.5 (0x2832d000)
  libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
  libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
  libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
  libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
  libncurses.so.5.6 = not found (0x0)
  libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
  libbsdxml.so.3 = /lib/libbsdxml.so.3 (0x28685000)
  libc.so.7 = /lib/libc.so.7 (0x286a3000)
  libncurses.so.5.6 = not found (0x0)
  libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 

Re: Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
yes, I found libncurses.so under /usr/lib, which is actual linked to
libncurses.so.7 under /lib. And I also have libncurses.so.6 too. I did
upgrade my system from 5 to 6 to 7. I didn't do a clean install, since
there is so many to back up.

TFC

On Thu, Nov 13, 2008 at 12:09 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 On Thu, Nov 13, 2008 at 12:03:14PM -0500, Tsu-Fan Cheng wrote:
 as I look into my system, under /usr/local/lib, I found out that I not
 only don't have libncurses.so.5.6, but instead I have
 libncurses.so.5.7. And this file was created this morning (Nov 13,
 09:03) while I was trying to upgrade my ports. Odd

 I am running freebsd 7.0, as my uname tells me..

 Mel's question applies as well (and is something that I've wondered
 too).  Now I'm wondering this as well:

 How/why do you have libncurses* in /usr/local/lib?  FreeBSD 7.0 comes
 with ncurses (see /usr/lib/libncurses.so.7).

 You must have some port or piece of software on your machine which is
 requiring an old (compat5x) version of libncurses, or you have a machine
 that has been upgraded from FreeBSD 5.x to 6.x to 7.x.

 I really don't know what to make of this.

 On Thu, Nov 13, 2008 at 11:47 AM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
  On Thu, Nov 13, 2008 at 08:12:49AM -0800, [EMAIL PROTECTED] wrote:
  learned a new thing, here is the output:
  /usr/local/bin/xgettext:
  libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so (0x280a9000)
  libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so (0x280de000)
  libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
  libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
  libz.so.4 = /lib/libz.so.4 (0x2831b000)
  libm.so.5 = /lib/libm.so.5 (0x2832d000)
  libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
  libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
  libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
  libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
  libncurses.so.5.6 = not found (0x0)
  libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
  libbsdxml.so.3 = /lib/libbsdxml.so.3 (0x28685000)
  libc.so.7 = /lib/libc.so.7 (0x286a3000)
  libncurses.so.5.6 = not found (0x0)
  libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x287a4000)
  libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
  libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)
  libm.so.4 = /lib/libm.so.4 (0x2945b000)
 
  it's weird that it still shows libncurses.so.5.6, any thoughts?? thanks!!
 
  It's not weird at all.  When a binary is linked to a shared library
  (during the linking phase), the library filename (libXXX.so.X.X) is
  stored in the binary, not libXXX.so.
 
  I'm not sure how/why a rebuild xgettext is linking to what appears to be
  a very old version of libncurses.  libncurses.so.5.6 would be for
  FreeBSD 5.x, I believe; my FreeBSD 6.x machines have libncurses.so.6,
  and my FreeBSD 7.x + CURRENT machines have libncurses.so.7.
 
  --
  | Jeremy Chadwickjdc at parodius.com |
  | Parodius Networking   http://www.parodius.com/ |
  | UNIX Systems Administrator  Mountain View, CA, USA |
  | Making life hard for others since 1977.  PGP: 4BD6C0CB |
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

 --
 | Jeremy Chadwickjdc at parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB |


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port upgrade problem: libncurses.so.5.6 not found

2008-11-13 Thread Tsu-Fan Cheng
what would happen if I don't compile ports all over again? will my
system crash?

TFC

On Thu, Nov 13, 2008 at 1:02 PM, Mel
[EMAIL PROTECTED] wrote:
 On Thursday 13 November 2008 18:17:02 Tsu-Fan Cheng wrote:
 Mel, thank you for your help, here is the output:

 /usr/local/bin/xgettext:
   libgettextsrc-0.17.so = /usr/local/lib/libgettextsrc-0.17.so 
 (0x280a9000)
   libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so 
 (0x280de000)
   libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
   libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
   libz.so.4 = /lib/libz.so.4 (0x2831b000)
   libm.so.5 = /lib/libm.so.5 (0x2832d000)
   libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
   libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
   libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
   libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
   libncurses.so.5.6 = not found (0x0)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libbsdxml.so.3 = /lib/libbsdxml.so.3 (0x28685000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)

 FreeBSD 7

 /usr/local/lib/libgettextsrc-0.17.so:
   libgettextlib-0.17.so = /usr/local/lib/libgettextlib-0.17.so 
 (0x280de000)
   libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libgettextlib-0.17.so:
   libcroco-0.6.so.3 = /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
   libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
   libz.so.4 = /lib/libz.so.4 (0x2831b000)
   libm.so.5 = /lib/libm.so.5 (0x2832d000)

 Also FreeBSD 7

   libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
   libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
   libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
   libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libncurses.so.5.6 = not found (0x0)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libcroco-0.6.so.3:
   libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x28342000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libxml2.so.5 = /usr/local/lib/libxml2.so.5 (0x281ef000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libxml2.so.5:
   libz.so.4 = /lib/libz.so.4 (0x2831b000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libm.so.5 = /lib/libm.so.5 (0x2832d000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /lib/libz.so.4:
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /lib/libm.so.5:
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libglib-2.0.so.0:
   libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x283f1000)
   libintl.so.8 = /usr/local/lib/libintl.so.8 (0x28559000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28562000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libicui18n.so.38:
   libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x287a4000)
   libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
   libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)
   libm.so.4 = /lib/libm.so.4 (0x2945b000)

 FreeBSD 6

 /usr/local/lib/libintl.so.8:
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28591000)
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libpcre.so.0:
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /lib/libbsdxml.so.3:
   libc.so.7 = /lib/libc.so.7 (0x286a3000)
 /usr/local/lib/libicuuc.so.38:
   libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x288b9000)
   libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2939)

 FreeBSD 6

   libm.so.4 = /lib/libm.so.4 (0x2945b000)
 /usr/lib/libstdc++.so.5:
   libm.so.4 = /lib/libm.so.4 (0x2945b000)

 Your system has stale libraries from the updates and linking is messy. It does
 not adequately explain the .5.6 library version numbers, but your system is
 in need of cleaning.

 Specifically, you forgot to do 'make delete-old-libs' when you upgraded from 6
 to 7 (and maybe from 5 to 6 as well,tho there's no evidence of that in this
 mail).

 The best course of action is to go into /usr/src and type:
 # make delete-old
 # make delete-old-libs

 Delete everything that the program offers you to delete. Then drop to single
 user mode, so that no services are running and recompile *all* ports, using
 portupgrade -fa. you may need to do /etc/rc.d/netif start, so you can
 download stuff.

 I'm quite confident this will fix your problems, even tho it gives no
 explanation for this rogue ncurses library.
 --
 Mel

 Problem with today's modular software: they start with the modules
and never get to the software part

Re: FSJ clone

2008-09-22 Thread Tsu-Fan Cheng
something.___a, something__b...

TFC

On Sun, Sep 21, 2008 at 9:41 PM, RW [EMAIL PROTECTED] wrote:
 On Sun, 21 Sep 2008 17:07:48 -0400
 Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 i try cat, but it doesn't seem right, The files i download are
 components of a movie, but after I cat them, mplayer can't read them.
 also the original post showed password is required when putting files
 together.

 Sounds like they are split rar or zip files. What do the ends of the
 filenames look like?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FSJ clone

2008-09-22 Thread Tsu-Fan Cheng
try both, neither work, appreciated though.

TFC

On Mon, Sep 22, 2008 at 8:36 AM, RW [EMAIL PROTECTED] wrote:
 On Mon, 22 Sep 2008 06:53:06 -0400
 Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 something.___a, something__b...


 I'd try joining with cat, and then unraring or unzipping.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FSJ clone

2008-09-21 Thread Tsu-Fan Cheng
Hi,
   is there a similar program like FSJ, file split/join tool on
freebsd? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FSJ clone

2008-09-21 Thread Tsu-Fan Cheng
i try cat, but it doesn't seem right, The files i download are
components of a movie, but after I cat them, mplayer can't read them.
also the original post showed password is required when putting files
together.

thanks

TFC

On Sun, Sep 21, 2008 at 4:13 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 what do you mean media file?


 On Sun, 21 Sep 2008, Tim Kellers wrote:

 For media files, there is also lxsplit in ports.
 /usr/ports/sysutils/lxsplit

 Tim


 Wojciech Puchar wrote:

 man split
 man cat


 On Sun, 21 Sep 2008, Tsu-Fan Cheng wrote:

 Hi,
  is there a similar program like FSJ, file split/join tool on
 freebsd? thanks!!

 TFC
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to run JDownloader on freebsd 7?

2008-08-28 Thread Tsu-Fan Cheng
Hi,
   I just download the JDownloader to use with megaupload, I have
jdk1.5 installed, but when running JDownloader.jar
java JDownloader.jar, it show
Exception in thread main java.lang.NoClassDefFoundError: JDownloader/jar

how should I do this right?

thanks!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


megaupload download script

2008-08-12 Thread Tsu-Fan Cheng
Hi,
   I use service from megaupload, i wonder if there is a script that
can automatically download each file, one after the other without me
clicking myself? thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3

2008-06-29 Thread Tsu-Fan Cheng
the gui looks just like v2, right?

TFC

On Sun, Jun 29, 2008 at 1:18 PM, Chad Perrin [EMAIL PROTECTED] wrote:
 On Sat, Jun 28, 2008 at 08:34:01AM +0200, herbs wrote:
 Yes, you invoke #firefox (the V2.x) or #firefox-devel (for the new one).
 Dont remember with the bookmarks and plugins though, you maybe have to
 import/reinstall these.

 Thanks for confirmation.

 --
 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
 Niccolo Machiavelli: It is a common failing of man not to take account
 of tempests during fair weather.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amule eats up my swap!!

2008-06-13 Thread Tsu-Fan Cheng
Hi all,
   I guess this is a rare issue, but I think my amule, when no
upload limit, eats up my swap, and cause amule to crash. After I set
limit to 10K, the mule runs fine. I have 1G ram and 2G swap, and
without upload limit, amule crash very often. does anyone know what is
going on?? thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux_sys_futex: unknown op 128

2008-06-12 Thread Tsu-Fan Cheng
hi all,
i have this weird log in my /var/log/messages, it keeps showing

Jun 12 06:53:36  kernel: linux_sys_futex: unknown op
Jun 12 06:53:36  kernel: 128
Jun 12 06:53:36  kernel: linux_sys_futex: unknown op 128

and it seems to have something to do with my flash plugin, as I kill
npviewer, this message goes away, does anyone know why?? thanks !!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux_sys_futex: unknown op 128

2008-06-12 Thread Tsu-Fan Cheng
i c, will do that, thank you!!

TFC

On Thu, Jun 12, 2008 at 7:30 AM, Aline de Freitas [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Em Thursday 12 June 2008 07:55:55 Tsu-Fan Cheng escreveu:
 hi all,
 i have this weird log in my /var/log/messages, it keeps showing

 Jun 12 06:53:36  kernel: linux_sys_futex: unknown op
 Jun 12 06:53:36  kernel: 128
 Jun 12 06:53:36  kernel: linux_sys_futex: unknown op 128

 and it seems to have something to do with my flash plugin, as I kill
 npviewer, this message goes away, does anyone know why?? thanks !!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 You may be running linux_base-f8 with 7.0-RELEASE, isn't it?

 linux_base-f8 uses some futex functions present only in STABLE. To get rid of
 it you could update to 7-STABLE, or, as I do, just copy linux_futex.c and
 linux_futex.h from CURRENT or STABLE into sys/compat/linux and rebuild your
 kernel, while keep using 7.0-RELEASE.

 - --
 Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
 gpg --keyserver keys.indymedia.org --recv-keys DE632016
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (FreeBSD)

 iEYEARECAAYFAkhRCOgACgkQhLRvs95jIBb/9ACeL1s+OZcl8S0FE+esZdBJi7OA
 ZFIAmgKUaN0VsW4XIze8AV5x/xrmS7Tt
 =Ivf3
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmaster argument question

2008-06-10 Thread Tsu-Fan Cheng
Hi all,
   now I am taking a step back, instead of letting portmaster decides
which to upgrade, I use the option -i to interactively update the
ports. and I found out that -uBdir is different from -u -B -d -i
-r, the latter one is the right way. I dont know how to use -R
option, since I have tried -R -r but portmaster still upgrade every
single port, With -i option, portmaster still re-upgrade gettext,
but at least it's moving to new ports that have not been upgraded.
this is just my two cents... thanks!

TFC

On Mon, Jun 9, 2008 at 6:05 PM, Kitche [EMAIL PROTECTED] wrote:
 Hi,
just noticed that I need to update a whole bunch of ports due to
 gettext issue, I am used to portmaster and henceforth exec portmaster
 -uBdr gettext\* -x avifile to server this need. however, the update is
 interrupted and needed to restart, I noticed an option (-R) to allow
 skipping ports already up to date. so it becomes portmaster -uBdRr
 gettext\* -x avifile, but i noticed that portmaster still
 recompile/reinstall gettext and everything that needs it. how can I
 get this done right?? thank you!!

 TFC
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 Yes I would like to know this as well to make sure I m doing it correctly.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmaster argument question

2008-06-09 Thread Tsu-Fan Cheng
Hi,
   just noticed that I need to update a whole bunch of ports due to
gettext issue, I am used to portmaster and henceforth exec portmaster
-uBdr gettext\* -x avifile to server this need. however, the update is
interrupted and needed to restart, I noticed an option (-R) to allow
skipping ports already up to date. so it becomes portmaster -uBdRr
gettext\* -x avifile, but i noticed that portmaster still
recompile/reinstall gettext and everything that needs it. how can I
get this done right?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amule crash

2008-06-06 Thread Tsu-Fan Cheng
Hi,
   my amule (freebsd 7.0/i386) crash regularly due to:

pid 2032 (amule), uid 1001, was killed: out of swap space

how does this happen? and how to fix this?? thanks!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bittyrant crash when moving from 7-stable to 7-release

2008-04-21 Thread Tsu-Fan Cheng
Hi, my bittyrant stop to work when moving from 7-stable to 7-release.
this is the error message:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x2810c887, pid=1034, tid=0x28201100
#
# Java VM: Java HotSpot(TM) Client VM
(1.5.0_14-p8-tfcheng_07_apr_2008_09_50 mixed mode)
# Problematic frame:
# C  [libc.so.7+0x61887]  calloc+0x9d7
#

---  T H R E A D  ---

Current thread (0x2823d180):  JavaThread main [_thread_in_native,
id=673190144]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xf4792b2c

Registers:
EAX=0x0044, EBX=0x281917f8, ECX=0x000c, EDX=0xf4792b24
ESP=0xbfbfc928, EBP=0xbfbfc970, ESI=0x37e0, EDI=0x3604e000
EIP=0x2810c887, EFLAGS=0x00010246

Top of Stack: (sp=0xbfbfc928)
0xbfbfc928:   2869bba0 0001 280a594f 2807da04
0xbfbfc938:   37e12564 0044 f4792b24 28201100
0xbfbfc948:   37fc0460 bfbfc95c 28058b16 28201100
0xbfbfc958:   280793f4 bfbfc99c 2810c83b 281917f8
0xbfbfc968:   37e12564 37e1256c bfbfc9a0 2810cb7e
0xbfbfc978:   3804e000 0001 bfbfc9a0 37eec8c5
0xbfbfc988:   282182e0 37e1a600 38055ae4 bfbfca08
0xbfbfc998:   3803bb34  bfbfc9b0 38015bd1

Instructions: (pc=0x2810c887)
0x2810c877:   8d 3c 32 8b 57 10 80 bb a9 60 00 00 00 89 55 d0
0x2810c887:   8b 72 08 0f 85 10 01 00 00 8b 93 a8 0e 00 00 8b

Stack: [0xbfa0,0xbfc0),  sp=0xbfbfc928,  free space=2034k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.7+0x61887]  calloc+0x9d7
C  [libc.so.7+0x61b7e]  free+0x2e
C  [libstdc++.so.6+0xc7bd1]  _ZdlPv+0x21
C  [libstdc++.so.6+0x6ec8d]  _ZNSs4_Rep10_M_destroyERKSaIcE+0x1d
C  [socket.so+0x4846]  _ZNK4scim12SocketConfig4readERKSsPSs+0x196
C  [libscim-1.0.so.10+0x3e631]  _ZNK4scim10ConfigBase4readERKSsS2_+0x41
C  [libscim-1.0.so.10+0x6128d]
_ZN4scim21FrontEndHotkeyMatcher12load_hotkeysERKNS_7PointerINS_10ConfigBaseEEE+0xdd
C  [im-scim.so+0x11707]  +0x61e7
C  [im-scim.so+0x17adc]  _Z28gtk_im_context_scim_shutdownv+0x288c
C  [libgobject-2.0.so.0+0x29102]  g_type_class_ref+0x7f2
C  [libgobject-2.0.so.0+0xf9c3]  g_object_newv+0x943
C  [libgobject-2.0.so.0+0xff21]  g_object_new_valist+0x281
C  [libgobject-2.0.so.0+0x10090]  g_object_new+0x40
C  [im-scim.so+0x140d7]  _Z23gtk_im_context_scim_newv+0x67
C  [im-scim.so+0x1ecdc]  im_module_create+0x3c
C  [libgtk-x11-2.0.so.0+0x12db11]  _gtk_im_module_create+0x71
C  [libgtk-x11-2.0.so.0+0x12e788]  gtk_im_multicontext_new+0x128
C  [libgtk-x11-2.0.so.0+0x12e99a]  gtk_im_multicontext_new+0x33a
C  [libgtk-x11-2.0.so.0+0x12bd5e]  gtk_im_context_set_client_window+0x4e
C  [libswt-pi-gtk-3347.so+0x40824]
Java_org_eclipse_swt_internal_gtk_OS__1gtk_1im_1context_1set_1client_1window+0x24
j  org.eclipse.swt.internal.gtk.OS._gtk_im_context_set_client_window(II)V+0
j  org.eclipse.swt.internal.gtk.OS.gtk_im_context_set_client_window(II)V+9
j  org.eclipse.swt.widgets.Control.gtk_unrealize(I)I+11
j  org.eclipse.swt.widgets.Widget.windowProc(II)I+358
j  org.eclipse.swt.widgets.Display.windowProc(II)I+15
v  ~StubRoutines::call_stub
V  [libjvm.so+0x17c634]
V  [libjvm.so+0x2823f9]
V  [libjvm.so+0x17b6ef]
V  [libjvm.so+0x18614a]
V  [libjvm.so+0x1a63c4]
C  [libswt-gtk-3347.so+0x2559]  callback+0x249
C  0x366fe212
C  [libgobject-2.0.so.0+0x1639f]  g_cclosure_marshal_VOID__VOID+0x4f
C  [libgobject-2.0.so.0+0x9159]  g_closure_invoke+0x129
C  [libgobject-2.0.so.0+0x1d649]  g_signal_handler_disconnect+0xf29
C  [libgobject-2.0.so.0+0x1f21b]  g_signal_emit_valist+0x88b
C  [libgobject-2.0.so.0+0x1f559]  g_signal_emit+0x29
C  [libgtk-x11-2.0.so.0+0x2737ed]  gtk_widget_realize+0x8d
C  [libswt-pi-gtk-3347.so+0x3960d]
Java_org_eclipse_swt_internal_gtk_OS__1gtk_1widget_1realize+0x1d
j  org.eclipse.swt.internal.gtk.OS._gtk_widget_realize(I)V+0
j  org.eclipse.swt.internal.gtk.OS.gtk_widget_realize(I)V+8
j  org.eclipse.swt.widgets.Control.paintWindow()I+6
j  
org.eclipse.swt.widgets.Control.getMonitor()Lorg/eclipse/swt/widgets/Monitor;+16
j  org.eclipse.swt.widgets.Shell.setInitialBounds()V+12
j  org.eclipse.swt.widgets.Control.createWidget(I)V+51
j  org.eclipse.swt.widgets.Scrollable.createWidget(I)V+2
j  org.eclipse.swt.widgets.Decorations.createWidget(I)V+2
j  
org.eclipse.swt.widgets.Shell.init(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/swt/widgets/Shell;IIZ)V+109
j  org.eclipse.swt.widgets.Shell.init(Lorg/eclipse/swt/widgets/Display;I)V+6
j  
org.gudy.azureus2.ui.swt.mainwindow.SplashWindow.init(Lorg/eclipse/swt/widgets/Display;Lorg/gudy/azureus2/ui/swt/mainwindow/Initializer;)V+42
j  
org.gudy.azureus2.ui.swt.mainwindow.SplashWindow.init(Lorg/eclipse/swt/widgets/Display;Lorg/gudy/azureus2/ui/swt/mainwindow/Initializer;Lorg/gudy/azureus2/ui/swt/mainwindow/SplashWindow$1;)V+3
j  org.gudy.azureus2.ui.swt.mainwindow.SplashWindow$1.runSupport()V+31
j  org.gudy.azureus2.core3.util.AERunnable.run()V+1
j  org.eclipse.swt.widgets.RunnableLock.run()V+11
j  org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
j  

crash after hibernating

2008-04-09 Thread Tsu-Fan Cheng
Hi,
  I am running 7.0 stable on a asus a8v skt board. I found my system
crash (cant wake up from keyboard/mouse) after I left the system
running over night. I can't login by ssh from my laptop, the sshd
seems dead too. does anyone have similar experiences?? thank you!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keysym error while starting X

2008-04-08 Thread Tsu-Fan Cheng
Hi,
   I found that I can't start x-window because of some keysym error,
when entering X using xinit, I have these on the screen:
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc

and kernel report stray irq7 (and lots of it)

tried google but not found much, any idea?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 7 stable, which tag??

2008-04-07 Thread Tsu-Fan Cheng
Hi,
I just update to 7.0 using csup, I have a question about how to
write the tag in src supfile. should I use RELENG_7 or RELENG_7_0? any
difference?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 7 stable, which tag??

2008-04-07 Thread Tsu-Fan Cheng
sorry, I just read some articles in the mailing list, it's RELENG_7
for stable, 7_0 is for current.

On Mon, Apr 7, 2008 at 12:45 PM, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:
 Hi,
 I just update to 7.0 using csup, I have a question about how to
  write the tag in src supfile. should I use RELENG_7 or RELENG_7_0? any
  difference?? thank you!!

  TFC

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd 7 stable, which tag??

2008-04-07 Thread Tsu-Fan Cheng
so in a sense, 7.0-release is for developers, and 7.0-stable for end
users, right?

TFC

On Mon, Apr 7, 2008 at 1:08 PM, Matthew Seaman
[EMAIL PROTECTED] wrote:
 Tsu-Fan Cheng wrote:

  sorry, I just read some articles in the mailing list, it's RELENG_7
  for stable, 7_0 is for current.
 
 

  Nope.

  RELENG_7_0 is for 7.0-RELEASE

  RELENG_7 is for 7.0-STABLE (at the moment)

  . is for 8-CURRENT

 Cheers,

 Matthew

  --
  Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
  PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


oxim compilation error under 7.0

2008-04-07 Thread Tsu-Fan Cheng
Hi,
   when trying to upgrade oxim under 7.0, error occurs,

c++ -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread -o
oxim-setup .obj/main.o  .obj/oxim-setup.o  .obj/globolsetting.o
.obj/gencin.o  .obj/chewing.o  .obj/installim.o
.obj/qmake_image_collection.o .obj/moc_oxim-setup.o
.obj/moc_globolsetting.o  .obj/moc_gencin.o  .obj/moc_chewing.o
.obj/moc_installim.o   -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -L../../lib/.libs -loxim -lqt-mt -lXext -lX11 -lm
/usr/bin/ld: warning: libstdc++.so.5, needed by
/usr/local/lib/libqt-mt.so, may conflict with libstdc++.so.6
/usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libqt-mt.so,
may conflict with libm.so.5
.obj/installim.o(.text+0x2931): In function `InstallIM::init()':
: undefined reference to `oxim_mirror_url'
.obj/installim.o(.text+0x5733): In function
`InstallIM::installTab_currentChanged(QWidget*)':
: undefined reference to `oxim_external_url'
.obj/installim.o(.text+0x5741): In function
`InstallIM::installTab_currentChanged(QWidget*)':
: undefined reference to `oxim_external_url'
*** Error code 1


any suggestion?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


avifile on fbsd 7

2008-04-06 Thread Tsu-Fan Cheng
good day,  I just started to update ports from 6.3 to 7.0 after done
updating my kernel. sadly to find out that avifile cant be compiled
under 7.0 due to error. I need this because I run mkxvcd and transcode
a lot to recode/encode multimedia files. is there any suggestion to
get around this besides going back to 6.3? thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


from 6.3 to 7.0, will this work?

2008-03-27 Thread Tsu-Fan Cheng
Hi,
I am thinking upgrading my hardware to core2 duo to enjoy fbsd
7.0, my old 6.3 runs on amd64 3400+. If I just buy a new m-board+core
2 cpu, can my old installation boot up the system, and then allow me
to recompile kernel and stuff? I thought about getting a new drive too
to do a fresh install, but my bay is full and kinda on a budget, thank
you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 6.3 to 7.0, will this work?

2008-03-27 Thread Tsu-Fan Cheng
forgot to mention, i am running i386 version, after finding out that
lots of ports still not supported well under amd64 arch...

TFC

On Thu, Mar 27, 2008 at 3:13 PM, mdh [EMAIL PROTECTED] wrote:

 --- Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

   Hi,
   I am thinking upgrading my hardware to core2 duo
   to enjoy fbsd
   7.0, my old 6.3 runs on amd64 3400+. If I just buy a
   new m-board+core
   2 cpu, can my old installation boot up the system,
   and then allow me
   to recompile kernel and stuff? I thought about
   getting a new drive too
   to do a fresh install, but my bay is full and kinda
   on a budget, thank
   you!!

  If you are running AMD64, then no it would not run on
  an Intel core2 duo based system.  Maybe consider an
  Athlon64 X2?  You could also just backup your data,
  then do a fresh install of FreeBSD 7 for whatever
  architecture you decide to build out with, and restore
  your data from the backup.
  - mdh




   
 
  Looking for last minute shopping deals?
  Find them fast with Yahoo! Search.  
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


install/upgrade question

2008-03-05 Thread Tsu-Fan Cheng
Hi,
   I think this Q is pretty basic, but I just want to make sure. I was
considering if upgrading from 6.3 to 7.0 and something goes wrong, and
I need to do a fresh install. Can I only change/overwrite the /etc
/usr, etc but leave /home intact?? thank you!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install/upgrade question

2008-03-05 Thread Tsu-Fan Cheng
yeah, I understand. backup is crucial. But I have 90% full in a 200G
drive, so it's a pain in the rear end. But I wonder if I can choose
what contents (or directories) to be installed so I can keep the rest
intact. just a thought



On Wed, Mar 5, 2008 at 9:09 AM, Chris [EMAIL PROTECTED] wrote:

 On Wed, 5 Mar 2008 08:59:45 -0500
  Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

   Hi,
  I think this Q is pretty basic, but I just want to make sure. I was
   considering if upgrading from 6.3 to 7.0 and something goes wrong, and
   I need to do a fresh install. Can I only change/overwrite the /etc
   /usr, etc but leave /home intact?? thank you!!

  Why not simply tar the dirs you want archived and save them off to some
  other media? This way you are certainly covered almost to the point of
  a hard disk failure.

  With the price of blank CD's, DVD's, and thumb drives - this seems to be
  a reasonable thing to consider.

  But to answer your question (somewhat) if I were either that unsure of
  what was going to happen (or paranoid) then I would most certainly have
  a backup (tarball) of the important stuff before I tried anything.

  Simply not invoking backups (of any type or any time) is silly.

  Just my 1/2 cent (applied current rate of inflation).

  --
  Best regards,
  Chris

  Fingerprint: 4201 94F9 E77F 9357 F3F3 56B7 8D20 ECC7 1AB5 FEF8

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install/upgrade question

2008-03-05 Thread Tsu-Fan Cheng
um... dont remember exactly.. but it mounts 2 other HD drives, and the
usual, such as / (root), procs (perhaps?), /home swap,  .. why??


On Wed, Mar 5, 2008 at 9:36 AM, Mel [EMAIL PROTECTED] wrote:

 On Wednesday 05 March 2008 14:59:45 Tsu-Fan Cheng wrote:

  I think this Q is pretty basic, but I just want to make sure. I was
   considering if upgrading from 6.3 to 7.0 and something goes wrong, and
   I need to do a fresh install. Can I only change/overwrite the /etc
   /usr, etc but leave /home intact?? thank you!!

  What's in your /etc/fstab?

  --
  Mel

  Problem with today's modular software: they start with the modules
 and never get to the software part.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hardware problem

2008-02-25 Thread Tsu-Fan Cheng
Hi guys,
   this is really not about freebsd per sa. But this is the only
computer-related forum I use. so please forgive me.
my desktop was relocated due to my recent moving to a new
apartment. After settling down at the new place, I plug in the cables
and the computer won't start up. I open the case and found out that
when i switched on the power supply from the back, the power fan and
cpu fan will spin for a split second then stop. I tried to debug by
unplugging the cables, when doing so, sometimes the fans will spin for
10 seconds, maybe, but most of the time, it just stopped right after
the power switched on. I also try to hold down the start button on the
front for a while, but no good. I was told the mother board maybe
short-circuit. can anyone give a second opinion?? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hardware problem

2008-02-25 Thread Tsu-Fan Cheng
thank you all for helping. I will reinstall my main again from
scratch. one thing i want to know is that if my m-board is short
somewhere, does this mean my board is damaged? or it's okay if i can
find out what is wrong, and so most likely i need to buy a power
supply, is that right at the moment?? thans!!

TFC

On Mon, Feb 25, 2008 at 10:22 AM, D G Teed [EMAIL PROTECTED] wrote:
 Every system I've seen with his description of the problem, where
  the power supply can't even run it's own fan, is having a power supply
  problem.  Power supplies are very often low quality these days and can't
  handle the stresses of typical electrical grid fluctuations.  Most people
  who deal with hardware have a spare power supply around just for
  testing as this is a very common problem.  Motherboards typically
  do not stop power supply fans when they can't post.



  On Mon, Feb 25, 2008 at 10:35 AM, DAve [EMAIL PROTECTED] wrote:
  
IMO, experience says the worst thing you can do to a computer is leave
it sit a year running, and then move it.
  
I would get a grounding wrist strap, open the case, remove all cards and
memory, disconnect all hard drives, clean with a soft brush (never a
vacuum cleaner), reseat all cards and memory, reconnect all hard drives,
and then try to restart it.
  
Even without a post code announcing a problem, I have fixed many moved
PCs this way.
  
DAve
  
--
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
  
  
   ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hardware problem

2008-02-25 Thread Tsu-Fan Cheng
hi guys,
   just take every part out and dust with a brush, reseat the m-board
and hook on the power supply, switch on the power and both fans spin
for quite a while, seeing this, I switch it off and start to connect
all the cables. After all is done, i turn on the power again, and this
time it stop again after a short spin. and I looked everywhere on the
board and found some silverish dust on the board, i dust it away, but
this time, the fans and the LED light on the board never spin or lit
up when i switch it on, i wonder if something i did kill the power
this time, any idea?? thank you for your help.

TFC

On Mon, Feb 25, 2008 at 7:53 PM, Chris Whitehouse [EMAIL PROTECTED] wrote:

 Derek Ragona wrote:
  At 08:06 AM 2/25/2008, Tsu-Fan Cheng wrote:
  Hi guys,
 this is really not about freebsd per sa. But this is the only
  computer-related forum I use. so please forgive me.
  my desktop  was relocated due to my recent moving to a new
  apartment. After settling down at the new place, I plug in the cables
  and the computer won't start up. I open the case and found out that
  when i switched on the power supply from the back, the power fan and
  cpu fan will spin for a split second then stop. I tried to debug by
  unplugging the cables, when doing so, sometimes the fans will spin for
  10 seconds, maybe, but most of the time, it just stopped right after
  the power switched on. I also try to hold down the start button on the
  front for a while, but no good. I was told the mother board maybe
  short-circuit. can anyone give a second opinion?? thanks!!
 
  TFC
 
  It sounds like you have something shorting out the motherboard.  I would
  remove everything you can, all add-on cards etc.  Just leave a video
  card, unless video is on the motherboard.  I would disconnect all the
  drives too.  The idea is to remove everything, so you can check just the
  motherboard alone.  If the motherboard still won't power on, remove and
  reseat the RAM.  If it still won't power up, remove and re-seat the CPU.
 
  I would guess something inside the case was moved around enough in your
  move to cause the short.
 
  -Derek
 
 Agree. The symptoms, fans starting and almost immediately stopping, say
 the power supply is starting, detecting a short and shutting down. If
 the video card is AGP double check it is properly seated, I've had that
 same result several times particularly with AGP cards lifting very
 slightly at the inboard end.

 Chris

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


should I change to multicore CPU??

2008-02-09 Thread Tsu-Fan Cheng
Hi,
 I know that freebsd7 has huge improvement on multi-threading
execution. I wonder if I upgrade to 7, would I feel it?? I now own a
amd64/3400+, running 6.3. It's just personal use, download files,
watch movies, etc. I guess it will be faster on multi-core when I run
mencoder to encode movie, but aside from that, will it mike much
difference to me?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vi+urxvt8.9+oxim for traditional chinese, HOW??

2008-02-02 Thread Tsu-Fan Cheng
like this:

from website:
在民進黨總統候選人
from urxvt+vi (iso8859-1 locale):
å\x9c¨æ°\x91é\x80²黨總統å\x80\x99é\x81¸

...

On Feb 1, 2008 10:05 PM, Edward G.J. Lee [EMAIL PROTECTED] wrote:
 On Fri, Feb 01, 2008, Tsu-Fan Cheng wrote:
  some are displayed correctly, but some are wrong, still looks like
  \XX\XX, feel like not all the characters are not well represented

 Maybe there have some characters not in Big-5 range.

 Can you send me the file personally?



 Edward

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: vi+urxvt8.9+oxim for traditional chinese, HOW??

2008-02-01 Thread Tsu-Fan Cheng
some are displayed correctly, but some are wrong, still looks like
\XX\XX, feel like not all the characters are not well represented


TFC

On Jan 30, 2008 11:30 PM, Edward G.J. Lee [EMAIL PROTECTED] wrote:

 On Wed, Jan 30, 2008, Tsu-Fan Cheng wrote:
  Hi,
 I use rxvt-unicode8.9+oxim, want to vi a text document in
  tradictional chinese. I have locale set as LC_CTYPE=zh_TW.UT-8. I
  first have my input looks like xx/xx/. Then I set LC_CTYPE to
  en_US.ISO8859-1, I got nothing. How should I get this done?? thank
  you!!

   Try,

   env LC_ALL=en_US.ISO8859-1 vi

   or if you are using sh/bash

   LC_ALL=en_US.ISO8859-1 vi


 Edward

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vi+urxvt8.9+oxim for traditional chinese, HOW??

2008-01-30 Thread Tsu-Fan Cheng
Hi,
   I use rxvt-unicode8.9+oxim, want to vi a text document in
tradictional chinese. I have locale set as LC_CTYPE=zh_TW.UT-8. I
first have my input looks like xx/xx/. Then I set LC_CTYPE to
en_US.ISO8859-1, I got nothing. How should I get this done?? thank
you!!

(freebsd 6.2)


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Next steps

2008-01-29 Thread Tsu-Fan Cheng
for me, it's compiling a custom kernel and installing apps.

TFC

On Jan 29, 2008 9:41 AM, Darryl Hoar [EMAIL PROTECTED] wrote:
 Greetings,
 I have just installed 6.3-Release on brand new hardware.
 In the past, I have not done much to a machine after
 initial installation.  What should be done to a machine
 after successful installation of 6.3-release ?  Do I need
 to compile a custom kernel ?  Do I need to apply any
 patches ?

 thanks,
 Darryl
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suitable laptops

2008-01-29 Thread Tsu-Fan Cheng
check out this site:
http://laptop.bsdgroup.de/freebsd/

TFC

On Jan 29, 2008 3:56 PM, Lee Shackelford [EMAIL PROTECTED] wrote:

 Dear FreeBSD enthusiast.  Greetings.  Is anyone aware of a list of laptop
 computers on which it is especially easy to install FreeBSD, or conversely,
 on which it is unusually difficult to install FreeBSD?  Alternately, does
 anyone know of a  vendor who offers a laptop with FreeBSD pre-installed?
 If this question has been answered before, it is sufficient to direct me to
 the location of the answer.  Many thanks for your assistance.  Yours truly,
 L e e S h a c k e l f o r d  @  d o t  .  c a . g o v

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


internet/p2p TV

2007-12-09 Thread Tsu-Fan Cheng
Hi,
   I like to watch some TV over the internet, on windows, there are
ppstream, pplive, etc. and there are a couple running on linux. I
wonder which linux app works on freebsd, thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmaster question

2007-10-25 Thread Tsu-Fan Cheng
hi,
   i been using portmaster for a while when upgrading my ports, often
times when there are some problems in certain ports, e.g. jdk, i will
use -x jdk so i can deal with it later. but when there are two or
more of them that need special attention, i cant find a way to do it
right, i tried -x A -x B, this seems only to register B as
neglected; -x A B void B in neglect. can someone show me the way??
thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount USB memory (Thumb Drive) and then to copy files

2007-10-16 Thread Tsu-Fan Cheng
1. plug in the drive
2. read your dmesg, look for device such as da0 (for me)
3. su as root, run mount_msdos /dev/da0s1 /mnt
then check /mnt, u should be able to use it now
after u finish,
4. umount -f /mnt

TFC

On 10/16/07, Lowell Gilbert [EMAIL PROTECTED] wrote:

 williamkow [EMAIL PROTECTED] writes:

  Could anybody assist me on how to mount a USB memory drive/thumb drive,
  so that I can copy file to and from it. Thank you.

 Or, alternatively, install the mtools port, which will let you copy
 files back and forth without mounting the device into your
 filesystem.  Much less danger of removing it without remembering to
 unmount it.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: software to cut mp3 files?

2007-10-13 Thread Tsu-Fan Cheng
or try audacity.

TFC

On 10/8/07, Eriam Schaffter [EMAIL PROTECTED] wrote:

 Zbigniew Szalbot wrote:
  Hello,
 
  Sorry for an unusual request - does anyone know of software that is
  able to split an mp3 file into multiple chunks at specified locations
  (doesn't have to have gui, actually best if it didn't), one that works
  under FreeBSD?
 
  I have files with a few songs in them and I would like to cut them
  into separate files. Never been there nor done that. All advice
  greatly appreciated.
 
 Hello

 I recently used MP3::Splitter, a perl module that does exactly this.
 It's not a full software tho but maybe then you can make it suits
 exactly your needs.

 Just in case.

 Thanks

 Eriam

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugin after xorg update

2007-09-19 Thread Tsu-Fan Cheng
so I googled.. and found that this flash thing could result from one of two
reasons,
1. composite extension might be internally made On, I add Composite
false to my xorg.conf
2. change depth from 16 to 24.

I did all of them, and now the flash is back on..at least i can watch
mlbtv.. :-)

TFC

On 9/17/07, Norberto Meijome [EMAIL PROTECTED] wrote:

 On Mon, 17 Sep 2007 09:48:33 +0200
 Zbigniew Komarnicki [EMAIL PROTECTED] wrote:

  On Monday 17 of September 2007 04:52:06 Norberto Meijome wrote:
   *(my symptoms were a bit different though, it would just time out when
   calling flash... so each flash object in a page would take 40 seconds
 or
   sosllooo brooowwwsssiiinnn :-) )
 
  This same behavior I have.

 Hi Zbigniew - did u try re-running nspluginwrapper -i {flash's .so} as
 root ?

 _
 {Beto|Norberto|Numard} Meijome

 All that is necessary for the triumph of evil is that good men do
 nothing.
   Edmund Burke

 I speak for myself, not my employer. Contents may be hot. Slippery when
 wet. Reading disclaimers makes you go blind. Writing them is worse. You have
 been Warned.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash plugin after xorg update

2007-09-17 Thread Tsu-Fan Cheng
This flash issue has made me reconsider buying a low-end laptop running
vista, so I dont have the urgency to deal with this issue. One thing I need
flash to work is that I watch mlbtv, and it requires flash plugin to
initiate. Also for some other multimedia on the internet, having flash
working just makes it so much easier... uhn

TFC

On 9/17/07, Zbigniew Komarnicki [EMAIL PROTECTED] wrote:

 On Monday 17 of September 2007 04:52:06 Norberto Meijome wrote:
  *(my symptoms were a bit different though, it would just time out when
  calling flash... so each flash object in a page would take 40 seconds or
  sosllooo brooowwwsssiiinnn :-) )

 This same behavior I have.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nspluginwrapper update problem

2007-09-07 Thread Tsu-Fan Cheng
my bad: )
  i should remove plugins dir from ~/.mozilla, after that, its good..
sorry..

TFC

On 9/7/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 Hi,
sorry if this seems like an old problem, I just upgraded
 nspluginwrapper with portmaster, but now at least my flash plugin is not
 working, I tried running nspluginwrapper with options to correct this but no
 use, would someone tell me how to do it right?? thanks!!

 TFC

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nspluginwrapper update problem

2007-09-07 Thread Tsu-Fan Cheng
Hi,
   sorry if this seems like an old problem, I just upgraded nspluginwrapper
with portmaster, but now at least my flash plugin is not working, I tried
running nspluginwrapper with options to correct this but no use, would
someone tell me how to do it right?? thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burn ape music to CD

2007-09-06 Thread Tsu-Fan Cheng
thank you, but still is a little bit confusing.. XD

TFC

On 9/6/07, Mario Lobo [EMAIL PROTECTED] wrote:

 On Thursday 06 September 2007, Karol Kwiatkowski wrote:
  Tsu-Fan Cheng wrote:
   Hi,
 I have some ape music files ready to burn to CD, I first comvert
 them
   into wav file then use cdrecord, but I heard that this is not
 necessary,
   ape file can burn to CD directly, how is this achieved?? Can I play
 the
   CD in regular stereo?? thank you!!
 
  No, you can't. Audio CD is a specific format without compression, etc.
  Either someone was using software which did ape decompression on the fly
  or he was using a special device to read them.
 
  Cheers,
 
  Karol

 Yes, he can !

 install
 /usr/ports/sysutils/k3b

 then install
 /usr/ports/audio/k3bmonkeyaudioplugin

 After that he will be able to drop .ape files directly into an audio
 project.

 --
 **
//| //| Mario Lobo
   // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
 **


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burn ape music to CD

2007-09-06 Thread Tsu-Fan Cheng
thank you folks,

TFC

On 9/6/07, Karol Kwiatkowski [EMAIL PROTECTED] wrote:

 Mario Lobo wrote:
  On Thursday 06 September 2007, Karol Kwiatkowski wrote:
  You can, however, use software which converts ape files into correct
  format in an invisible way to you. Do we agree? :)
 
 
  Of course we do. Sorry if I didn't refer to you answer to Tsu
 completely. It
  was because i was focused on solving his problem first, but yes, you
 were
  right from the start. That is exactly what the  monkey audio plugin
 does.

 Now that I read the OP post again, maybe I misunderstood his question...
 All in all, problem solved :)

 Cheers,

 Karol

 --
 Karol Kwiatkowski   karol.kwiat at gmail dot com
 OpenPGP 0x06E09309



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Burn ape music to CD

2007-09-05 Thread Tsu-Fan Cheng
Hi,
  I have some ape music files ready to burn to CD, I first comvert them into
wav file then use cdrecord, but I heard that this is not necessary, ape file
can burn to CD directly, how is this achieved?? Can I play the CD in regular
stereo?? thank you!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


skype trouble

2007-09-01 Thread Tsu-Fan Cheng
Hi,
   i am not sure what I did wrong, but this morning when i try skype:

skype_bin: error while loading shared libraries: /usr/X11R6/lib/libGL.so.1:
ELF file OS ABI invalid

this is probably not a skype problem, but what should I do?? thanks!!


TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype trouble

2007-09-01 Thread Tsu-Fan Cheng
yah, i have nvidia-driver installed, and i have linux_enable=YES in
rc.conf.

TFC

On 9/1/07, Mel [EMAIL PROTECTED] wrote:

 On Saturday 01 September 2007 13:29:01 Tsu-Fan Cheng wrote:

  skype_bin: error while loading shared libraries:
 /usr/X11R6/lib/libGL.so.1:
  ELF file OS ABI invalid
 
  this is probably not a skype problem, but what should I do?? thanks!!

 Do you have an nvidia driver installed without linux-compat?

 --
 Mel

 People using reply to all on lists, must think I need 2 copies.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype trouble

2007-09-01 Thread Tsu-Fan Cheng
thanks Mel,
   so I do have LINUX option in nv-driver:

/usr/ports/x11/nvidia-driver  grep LINUX
/var/db/ports/nvidia-driver/options
WITH_LINUX=true

my libGL.so output is:

/usr/ports/x11/nvidia-driver  /compat/linux/sbin/ldconfig -p|grep libGL.so
libGL.so.1 (libc6) = /usr/X11R6/lib/libGL.so.1
libGL.so.1 (libc6) = /usr/lib/libGL.so.1
libGL.so.1 (ELF) = /usr/local/lib/libGL.so.1
libGL.so (ELF) = /usr/local/lib/libGL.so

thanks for the trouble

TFC

On 9/1/07, Mel [EMAIL PROTECTED] wrote:

 On Saturday 01 September 2007 13:53:36 Tsu-Fan Cheng wrote:

  On 9/1/07, Mel [EMAIL PROTECTED] wrote:
   On Saturday 01 September 2007 13:29:01 Tsu-Fan Cheng wrote:
skype_bin: error while loading shared libraries:
  
   /usr/X11R6/lib/libGL.so.1:
ELF file OS ABI invalid
   
this is probably not a skype problem, but what should I do??
 thanks!!
  
   Do you have an nvidia driver installed without linux-compat?
  
  yah, i have nvidia-driver installed, and i have linux_enable=YES in
  rc.conf.
 

 If you have nvidia-driver installed, linux compat enabled but did NOT
 compile
 nvidia-driver with linux compat, that would explain this problem.
 You can find out by:
 grep LINUX /var/db/ports/nvidia-driver/options

 If it says WITHOUT_LINUX=true then:
 (cd /usr/ports/x11/nvidia-driver/  make rmconfig )
 portupgrade -f nvidia-driver

 (Or whatever ports management tool you use)
 Make sure that Build with support for Linux compatibility is on in the
 configuration dialogue.

 If it says WITH_LINUX=true I'll need the output of:
 /compat/linux/sbin/ldconfig -p|grep libGL.so
 --
 Mel

 People using reply to all on lists, must think I need 2 copies.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype trouble

2007-09-01 Thread Tsu-Fan Cheng
hey, it works! thansk!!!

TFC

On 9/1/07, Mel [EMAIL PROTECTED] wrote:

 On Saturday 01 September 2007 14:17:07 Tsu-Fan Cheng wrote:

  thanks for the trouble
 
  TFC
 
  On 9/1/07, Mel [EMAIL PROTECTED] wrote:
   On Saturday 01 September 2007 13:53:36 Tsu-Fan Cheng wrote:
On 9/1/07, Mel [EMAIL PROTECTED] wrote:
 On Saturday 01 September 2007 13:29:01 Tsu-Fan Cheng wrote:
  skype_bin: error while loading shared libraries:

 /usr/X11R6/lib/libGL.so.1:
  ELF file OS ABI invalid
 
  this is probably not a skype problem, but what should I do??
  
   thanks!!
  
 Do you have an nvidia driver installed without linux-compat?
   
yah, i have nvidia-driver installed, and i have linux_enable=YES
 in
rc.conf.
  
   If you have nvidia-driver installed, linux compat enabled but did NOT
   compile
   nvidia-driver with linux compat, that would explain this problem.
   You can find out by:
   grep LINUX /var/db/ports/nvidia-driver/options
  
   If it says WITHOUT_LINUX=true then:
   (cd /usr/ports/x11/nvidia-driver/  make rmconfig )
   portupgrade -f nvidia-driver
  
   (Or whatever ports management tool you use)
   Make sure that Build with support for Linux compatibility is on in
 the
   configuration dialogue.
  
   If it says WITH_LINUX=true I'll need the output of:
   /compat/linux/sbin/ldconfig -p|grep libGL.so
  /usr/ports/x11/nvidia-driver  /compat/linux/sbin/ldconfig -p|grep
 libGL.so
  libGL.so.1 (libc6) = /usr/X11R6/lib/libGL.so.1

 That entry is bogus. I think you upgraded linux-dri after installing
 nvidia-driver? This should fix it:
 portupgrade -f nvidia-driver\*


  libGL.so.1 (libc6) = /usr/lib/libGL.so.1
 That's the right one.

 --
 Mel

 People using reply to all on lists, must think I need 2 copies.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what to do with this..?

2007-08-08 Thread Tsu-Fan Cheng
Hi,
   i have a serial files named as 1.zip, 2.z01, 3.z02, etc. what to do with
this? I tried unzip but have trouble, thansk!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what to do with this..?

2007-08-08 Thread Tsu-Fan Cheng
On 8/8/07, Rolf G Nielsen [EMAIL PROTECTED] wrote:

 Tsu-Fan Cheng wrote:
  Hi,
 i have a serial files named as 1.zip, 2.z01, 3.z02, etc. what to do
 with
  this? I tried unzip but have trouble, thansk!!
 
  TFC
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
 If they're parts of the same archive, that's been split, just cat them
 together:

 cat *.z??  archive.zip

 (to get the files in correct order, you might need to specify every file
 instead, depending on how they're named).

 Then run

 zip -F archive.zip

 This should give you a fully compliant zip file, that you can unzip.

 --

 Sincerly,

 Rolf Nielsen




right on, I cat files from *.z01, *.z02.. *.zip into one archive, then unzip
it, it works!! thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


transcode compilation error

2007-07-30 Thread Tsu-Fan Cheng
hi,
  just updated the ports and found out about the thing about automake. So,
do as told, and transcode is having problems:

aud_aux.c: In function `audio_init_ffmpeg':
aud_aux.c:364: error: `ac3_encoder' undeclared (first use in this function)
aud_aux.c:364: error: (Each undeclared identifier is reported only once
aud_aux.c:364: error: for each function it appears in.)
aud_aux.c:365: error: `mp2_encoder' undeclared (first use in this function)
gmake[2]: *** [aud_aux.lo] Error 1

I do have liba52 installed, any idea??

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   >