[gentoo-user] Cannot compile poetry

2024-01-07 Thread Hung Dang
Hi,

I have not updated my system for a while. And my emerge command failed with
these errors. How do I fix the poetry's build failures?

Thanks,
Hung

>>> Compiling source in
/tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1 ...
 * python3_11: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for poetry-core-1.8.1 via poetry.core.masonry.api
python3.11 -m gpep517 build-wheel --prefix=/usr --backend
poetry.core.masonry.api --output-fd 3 --wheel-dir
/tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1-python3_11/wheel
2024-01-07 19:14:19,775 gpep517 INFO Building wheel via backend
poetry.core.masonry.api
Traceback (most recent call last):
  File "", line 198, in _run_module_as_main
  File "", line 88, in _run_code
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 429,
in 
sys.exit(main())
 ^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 425,
in main
return func(args)
   ^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 215,
in build_wheel
print(build_wheel_impl(args, args.wheel_dir), file=out)
  ^^
  File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 207,
in build_wheel_impl
wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
 ^
  File "/usr/lib/python3.11/site-packages/poetry/core/masonry/api.py", line
66, in build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
 
  File "/usr/lib/python3.11/site-packages/poetry/core/factory.py", line 43,
in create_poetry
raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
  - Additional properties are not allowed ('group' was unexpected)

 * ERROR: dev-python/poetry-core-1.8.1::gentoo failed (compile phase):
 *   Wheel build failed
 *
 * Call stack:
 * ebuild.sh, line  136:  Called src_compile
 *   environment, line 3878:  Called distutils-r1_src_compile
 *   environment, line 1866:  Called _distutils-r1_run_foreach_impl
'distutils-r1_python_compile'
 *   environment, line  728:  Called python_foreach_impl
'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3495:  Called multibuild_foreach_variant
'_python_multibuild_wrapper' 'distutils-r1_run_phase'
'distutils-r1_python_compile'
 *   environment, line 3052:  Called _multibuild_run
'_python_multibuild_wrapper' 'distutils-r1_run_phase'
'distutils-r1_python_compile'
 *   environment, line 3050:  Called _python_multibuild_wrapper
'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1151:  Called distutils-r1_run_phase
'distutils-r1_python_compile'
 *   environment, line 1848:  Called distutils-r1_python_compile
 *   environment, line 1663:  Called distutils_pep517_install
'/tmp/portage/dev-python/poetry-core-1.8.1/work/poetry-core-1.8.1-python3_11/install'
 *   environment, line 2204:  Called die
 * The specific snippet of code:
 *   local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed");


emerge-info.log
Description: Binary data


Re: [gentoo-user] Please help with `C compiler cannot create executables'

2018-07-30 Thread Hung Dang
There are typos/errors in the configure script. From your error log I can
see that -V and -qversion are passed into gcc instead of -v and  --version.

Hung

On Mon, Jul 30, 2018 at 1:40 PM Akater  wrote:

> This came unexpectedly. An excerpt from compile.log is posted
> below. (I'll post more if necessary of course.) I'm not very experienced
> with C compilers in general and gcc in particular so I hope for some
> directions on what the cause of the issue might be. I tried removing
> CFLAGS settings from make.conf, to no effect.
> (CFLAGS is `-march=native -O2 -pipe')
>
> I upgraded GCC recently; world, kernel rebuilt successfully and gcc had
> been working just fine for some time since then.
>
> I did not do anything particularly weird with the system that could
> cause this. However,
> (1) I do use a somewhat old profile:
> hardened/linux/amd64 (stable).
> (2) I recently had a build conflict with
> util-linux and rfkill: the latter had been included in the former but I
> was not aware of that at the time and updated some packages (don't
> remember which ones) while masking the corresponding util-linux version
> and newer versions. Still, it was a normal portage update and no
> warnings were issued.
> (3) The kernel sources used are non-standard.
>
> A relevant bit from compile.log (the package is sys-apps/file):
>
> > gcc version 7.3.0 (Gentoo Hardened 7.3.0-r3 p1.4)
> > configure:3711: $? = 0
> > configure:3700: x86_64-pc-linux-gnu-gcc -V >&5
> > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
> > x86_64-pc-linux-gnu-gcc: fatal error: no input files
> > compilation terminated.
> > configure:3711: $? = 1
> > configure:3700: x86_64-pc-linux-gnu-gcc -qversion >&5
> > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option
> '-qversion'; did you mean '--version'?
> > x86_64-pc-linux-gnu-gcc: fatal error: no input files
> > compilation terminated.
> > configure:3711: $? = 1
> > configure:3731: checking whether the C compiler works
> > configure:3753: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe  -Wl,-O1
> -Wl,--as-needed conftest.c  >&5
> > cc1: fatal error: /usr/local/include/stdc-predef.h: Permission denied
> > compilation terminated.
> > configure:3757: $? = 1
> > configure:3795: result: no
> > configure: failed program was:
> > | /* confdefs.h */
> > | #define PACKAGE_NAME "file"
> > | #define PACKAGE_TARNAME "file"
> > | #define PACKAGE_VERSION "5.33"
> > | #define PACKAGE_STRING "file 5.33"
> > | #define PACKAGE_BUGREPORT "chris...@astron.com"
> > | #define PACKAGE_URL ""
> > | #define PACKAGE "file"
> > | #define VERSION "5.33"
> > | #define BUILTIN_ELF 1
> > | #define ELFCORE 1
> > | /* end confdefs.h.  */
> > |
> > | int
> > | main ()
> > | {
> > |
> > |   ;
> > |   return 0;
> > | }
> > configure:3800: error: in
> `/var/tmp/portage/sys-apps/file-5.33-r4/work/file-5.33-abi_x86_64.amd64':
> > configure:3802: error: C compiler cannot create executables
>
> Note:
>
> > ~ $ sudo ls -la /usr/local/include
> > total 12
> > drwxr-x--- 3 root root 4096 Jul 24 02:12 .
> > drwxr-xr-x 8 root root 4096 Jul 24 02:12 ..
> > drwxr-x--- 2 root root 4096 Jul 24 02:12 ykpers-1
>
> Thank you.
>


Re: [gentoo-user] Cannot emerge gnome because openssl's bindist use flag

2018-01-14 Thread Hung Dang
Thank a lot Mike. My problem is resolved after removing bindist use flag.

On Jan 14, 2018 10:47 AM, "Mike Gilbert" <flop...@gentoo.org> wrote:

> On Sun, Jan 14, 2018 at 9:51 AM, Hung Dang <hungp...@gmail.com> wrote:
> > I cannot emerge gnome in a fresh build ~amd64 system. Basically, if I
> enable
> > bindist use flag for openssl then emerge will ask me to disable it.
> However,
> > if I disable bindist flag for openssl then it will ask me to enable it.
> How
> > can I break this dependency loop?
>
> Remove USE="bindist" from /etc/portage/make.conf.
>
>


[gentoo-user] Cannot emerge gnome because openssl's bindist use flag

2018-01-14 Thread Hung Dang
I cannot emerge gnome in a fresh build ~amd64 system. Basically, if I 
enable bindist use flag for openssl then emerge will ask me to disable 
it. However, if I disable bindist flag for openssl then it will ask me 
to enable it. How can I break this dependency loop?


Thanks,
Hung

Below is the the output of emerge -pv --update --deep --newuse 
--backtrack=100 world


* use gnome/systemd profile

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by dev-python/m2crypto-0.27.0::gentoo[-libressl]
# required by net-wireless/crda-3.18-r1::gentoo
# required by net-wireless/wpa_supplicant-2.6-r4::gentoo
# required by net-misc/networkmanager-1.10.2::gentoo[wifi]
# required by gnome-base/gnome-control-center-3.24.3::gentoo[networkmanager]
# required by net-libs/gnome-online-accounts-3.24.4::gentoo[gnome]
# required by gnome-base/gvfs-1.32.1-r1::gentoo[google]
# required by sci-geosciences/geocode-glib-3.24.0::gentoo
# required by dev-libs/libgweather-3.24.1::gentoo
# required by gnome-base/gnome-settings-daemon-3.24.3::gentoo
# required by gnome-base/gnome-session-3.24.2::gentoo

=dev-libs/openssl-1.0.2n  -bindist


* In order to avoid wasting time, backtracking has terminated early
* due to the above autounmask change(s). The --autounmask-backtrack=y
* option can be used to force further backtracking, but there is no
* guarantee that it will produce a solution.

* Use >=dev-libs/openssl-1.0.2n -bindist

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by net-misc/openssh-7.6_p1-r1::gentoo[-libressl,ssl,-static]
# required by gnome-base/gvfs-1.32.1-r1::gentoo
# required by sci-geosciences/geocode-glib-3.24.0::gentoo
# required by dev-libs/libgweather-3.24.1::gentoo
# required by gnome-base/gnome-settings-daemon-3.24.3::gentoo
# required by gnome-base/gnome-control-center-3.24.3::gentoo
# required by net-libs/gnome-online-accounts-3.24.4::gentoo[gnome]
# required by dev-libs/libgdata-0.17.9-r1::gentoo[gnome-online-accounts]

=dev-libs/openssl-1.0.2n  bindist




Re: [gentoo-user] Cmake problem - please help

2017-11-23 Thread Hung Dang
Below are approaches that I would suggest if you want to go for the local
solution:

1. Use brewlinux to install mumps. I assume brew will pull all required
dependencies. This approach works well for me in different servers.

2. Compile mumps and it dependencies locally. You need to play around with
cmake or ccmake path setup so that mumps can use locally installed
libraries. This solution allow you to try new compilers and libraries,
however, you will have to maintain your build scripts. I have not tried
mumps before so I cannot give you detail information.

HTH
Hung

On Thu, Nov 23, 2017 at 12:14 PM, Helmut Jarausch <jarau...@skynet.be>
wrote:

> On 11/23/2017 06:07:39 PM, Hung Dang wrote:
>
>> Is this possible to install your packages locally in your home folder?
>> This
>> approach works better if you have to work on different machines.
>>
>> HTH
>> Hung
>>
>
> Yes, but how does this help. Cmake doesn't link to libscalapack and
> therefore fails.
>
>
>> On Thu, Nov 23, 2017 at 12:01 PM, Helmut Jarausch _ j_ a_ r_ a_ u_ s_
>> c_ h_ @_ s_ k_ y_ n_ e_ t_ ._ b_ e
>> wrote:
>>  Hi,
>>
>>  cmake is still a mystery to me.
>>
>>  I like to add a?  (non-Gentoo) package to my local overlay.
>>  This package is configured and built by 'cmake'
>>
>>  It needs and finds a package 'mumps' (from the Science Overlay)
>>  but linkage fails since the 'mumps' library needs another library
>>  (scalapack)
>>
>>  So, how can I tell 'cmake' to link to libscalapack (there
>>  is a
>>  /usr/lib64/pkgconfig/refscalapack.pc file on my machine)
>>
>>  But 'sci-libs/mumps' doesn't install a pkg-config file.
>>
>>  I have done 'grep' through all CMakeLists.txt files,
>>  but I have no idea where the 'mumps' library is included.
>>
>>  I'd be grateful to any hints and links (for 'cmake' dummies)
>>
>>  Helmut
>>
>>
>>
>>
>
>


Re: [gentoo-user] Cmake problem - please help

2017-11-23 Thread Hung Dang
Is this possible to install your packages locally in your home folder? This
approach works better if you have to work on different machines.

HTH
Hung

On Thu, Nov 23, 2017 at 12:01 PM, Helmut Jarausch 
wrote:

> Hi,
>
> cmake is still a mystery to me.
>
> I like to add a  (non-Gentoo) package to my local overlay.
> This package is configured and built by 'cmake'
>
> It needs and finds a package 'mumps' (from the Science Overlay)
> but linkage fails since the 'mumps' library needs another library
> (scalapack)
>
> So, how can I "tell" 'cmake' to link to libscalapack (there is a
> /usr/lib64/pkgconfig/refscalapack.pc file on my machine)
>
> But 'sci-libs/mumps' doesn't install a pkg-config file.
>
> I have done 'grep' through all CMakeLists.txt files,
> but I have no idea where the 'mumps' library is included.
>
> I'd be grateful to any hints and links (for 'cmake' dummies)
>
> Helmut
>
>


[gentoo-user] Could not link test program to Python

2016-01-02 Thread Hung Dang

Hi,

I could not update my system because of "Could not link test program to 
Python ..." error. I have attached the build log with this email and you 
can find the output of emerge --info command below. Please let me know 
if you have any suggestion?


Thanks a lot,
Hung

Portage 2.2.26 (python 3.4.3-final-0, 
default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, 
glibc-2.22-r1, 4.2.5-gentoo-i920 x86_64)

=
System uname: 
Linux-4.2.5-gentoo-i920-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2

KiB Mem:24678796 total,   6067472 free
KiB Swap:  0 total, 0 free
Timestamp of repository gentoo: Fri, 01 Jan 2016 06:00:01 +
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:  4.3_p42::gentoo
dev-java/java-config: 2.2.0::gentoo
dev-lang/perl:5.22.1::gentoo
dev-lang/python:  2.7.11-r1::gentoo, 3.3.5-r7::gentoo, 
3.4.3-r7::gentoo, 3.5.1-r2::gentoo

dev-util/cmake:   3.4.1::gentoo
dev-util/pkgconfig:   0.29::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:   1.11.6-r1::gentoo, 1.13.4::gentoo, 
1.14.1::gentoo, 1.15-r1::gentoo

sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config: 1.8::gentoo
sys-devel/libtool:2.4.6-r1::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:   2.22-r1::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ROKO__
location: /var/lib/layman/ROKO__
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc 
/usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ 
/etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ 
/etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo 
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d 
/etc/texmf/web2c"

CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect 
config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 
metadata-transfer news parallel-fetch preserve-libs protect-owned 
sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch userpriv usersandbox usersync xattr"

FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org;
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages"

PORTAGE_TMPDIR="/tmp/"
USE="X a52 aac acl acpi alsa amd64 apache2 asyncns bazaar berkdb blas 
bluetooth boost branding bzip2 cairo caps cdda cdr clang cli cmake 
colord corefonts cracklib crypt cups curl cxx dbus declarative djvu dri 
dts dvd dvdr emacs emboss encode equalizer exif extraengine fam fftw 
firefox flac fontconfig fortran fpm ftp fuse gd gdbm gif git glamor glib 
gphoto2 gpm graphviz gtk gtk3 gudev hdf5 iconv icu imagemagick 
introspection ios ipv6 jpeg jpeg2k json kde kipi lapack latex lcms ldap 
legacy-systray libatomic libav libmpv libnotify libxml2 lldb llvm lua 
luajit lximage lxqt lzma lzo mad mediawiki mercurial minizip mkv mmx 
mmxext mng modules mongodb mp3 mp4 mpeg mtp multilib mysql ncurses 
networkmanager nls nptl ogg opencl opengl openmp orc pam pango pcre pdf 
pdo phonon php plasma plugins png policykit postproc postscript ppds ptp 
ptp2 pulseaudio python qml qt3support qt4 qt5 rar readline script sdl 
seccomp semantic-desktop session skype sound spell sql sqlite sqlite3 
sse sse2 ssl ssse3 startup-notification svg systemd tbb tcpd threads 
tiff truetype udev udisks unicode unrar upower usb v4l video vorbis vpn 
wav wavpack webkit webp webrtc-aec widgets wma wmf wxwidgets x264 x265 
xattr xcb xcomposite xft xinerama xml xmlreader xmlwriter xmp 
xscreensaver xv xvid zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 

Re: [gentoo-user] Re: Gigabyte wont boot

2013-01-13 Thread Hung Dang

On 01/14/13 04:49, Kevin Chadwick wrote:

If all else fails, maybe it is dead.

Yeah no beep equals cpu | ram | mb

Check

if pin 1 on the cpu is in the right place and cpu power cables right
and no bent pins.
The cpu and ram are compatible with the mb.
Hoover the ram slot and reseat
If your second mb works you could try the cpu and ram seperately in
the working mb to eliminate the problems/problems bearing in mind they
could damage the working mb.


Did you check 2 power cables? And does your power supply work correctly?



Re: [gentoo-user] Kernel-3.4.4 No USB Keyboard

2012-07-01 Thread Hung Dang

On 07/01/2012 12:39 PM, Frank Peters wrote:

Is anyone having problems with the latest kernel-3.4.4?

After configuring with the same .config file that I used for 3.4.0,
the new 3.4.4 kernel boots but it cannot read the USB keyboard.
Presumably the USB mouse is also affected.

Here are, I believe, the relevant lines from the kernel log for
the working 3.4.0:

usb 1-1: new high-speed USB device number 2 using ehci_hcd
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 6 ports detected
usb 1-1.1: new low-speed USB device number 3 using ehci_hcd
input: Microsoft Natural Keyboard Elite as 
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input0
generic-usb 0003:045E:000B.0001: input: USB HID v1.10 Keyboard [Microsoft 
Natural Keyboard Elite] on usb-:00:1a.0-1.1/input0
usb 1-1.3: new low-speed USB device number 4 using ehci_hcd


For comparison, the corresponding lines from the 3.4.4 log are:

usb 1-1: new high-speed USB device number 2 using ehci_hcd
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high-speed USB device number 3 using ehci_hcd
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high-speed USB device number 4 using ehci_hcd
usb 1-1: device not accepting address 4, error -110
usb 1-1: new high-speed USB device number 5 using ehci_hcd
usb 1-1: device not accepting address 5, error -110


As I mentioned, the configuration has not changed since 3.4.0.
Unless I am missing some new parameter somewhere the kernel-3.4.4
must be broken.

The only related report that I could find is here:

http://bbs.archlinux.org/viewtopic.php?pid=1122440

Can anyone confirm or refute this?

Frank Peters


Have you rebuilt your x11-drivers? If you haven't please try this 
command emerge `qlist -I -C x11-drivers` then restart X.


Hope this help
Hung




Re: [gentoo-user] AMD hdaudio: why do I have two audio devices and two mixers?

2012-03-29 Thread Hung Dang

On 03/29/2012 09:18 PM, walt wrote:

Fresh gentoo install on new lenovo desktop.  Both linux and win7
(lenovo installed) tell me that this machine has two audio devices:

00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek HDMI 
Audio [Radeon HD 6500D and 6400G-6600G series]
Subsystem: Lenovo Device 3625
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller 
(rev 01)
Subsystem: Lenovo Device 3625
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

crw-rw+ 1 root audio 14,  0 Mar 29 18:07 /dev/mixer
crw-rw+ 1 root audio 14, 16 Mar 29 18:07 /dev/mixer1

crw-rw+  1 root audio 116,  3 Mar 29 18:07 controlC0
crw-rw+  1 root audio 116,  7 Mar 29 18:07 controlC1
crw-rw+  1 root audio 116,  2 Mar 29 18:07 pcmC0D3p
crw-rw+  1 root audio 116,  6 Mar 29 18:07 pcmC1D0c
crw-rw+  1 root audio 116,  5 Mar 29 18:07 pcmC1D0p
crw-rw+  1 root audio 116,  4 Mar 29 18:07 pcmC1D2c
crw-rw+  1 root audio 116, 33 Mar 29 18:07 timer

lrwxrwxrwx 1 root root  12 Mar 29 18:07 pci-:00:01.1 -  ../controlC0
lrwxrwxrwx 1 root root  12 Mar 29 18:07 pci-:00:14.2 -  ../controlC1


I spent an entire frustrating day discovering that the reason I
have no sound is that every app wants to use /dev/mixer when only
/dev/mixer1 actually works :(

Only some apps (like audacious) will let me choose which mixer to
use, and those apps work perfectly.

Anyone else seen this before, I hope?  Got a fix?

Thanks :)
I guess the second audio device is either HDMI or HD audio generic. You 
could verify this by opening alsamixer then select F6 to see a list of 
audio devices. If you use pulseaudio then you can select the default 
output device. Or use /etc/asound.conf to select your preferred default 
device.


Hung



Re: [gentoo-user] Keyboard stopped working

2011-11-14 Thread Hung Dang
You might need to remerge xorg11 driver. Try below command then reboot X 
to see if it fix your problem


emerge `qlist -I -C x11-drivers/`

Hung

On 11/14/11 19:25, Grant wrote:

I just finished updating my wife's laptop which hadn't been updated in
6-12 months.  Her laptop's hardware is identical to mine which is
always kept up-to-date and works great.  After rebooting, the keyboard
on her laptop doesn't work although the mouse does work.  The keyboard
works in grub and after booting to a LiveCD so it's not a hardware
problem.  Does anyone know what might have caused this?

- Grant






Re: [gentoo-user] Anyone get Acer laptop internal microphone working in Gentoo?

2011-02-12 Thread Hung Dang
I guest you may need to play around with the mixer (KDE,GNOME) or
alsamixer to enable internal microphone. I have to enable
recording/capture in GNOME volume applet to make the internal microphone
worked on my D630.

Hope this help,
Hung

On 02/12/11 18:45, Walter Dnes wrote:
   I got an Acer Aspire 4551-2728 earlier this year, and now I have some
 spare time on my hands, and I've got it almost 100% functional under 64
 bit Gentoo linux.  The networking was dead easy, as was the video (once
 I was pointed to the instructions).  The webcam took some digging, but
 I figured it out, with Mr. Google's help.  The last item that doesn't
 work yet is the internal microphone.

   Has anybody gotten an internal microphone on any Acer laptop working?
 My Google searches have found a couple of references to it works out of
 the box under some versions of Ubuntu, but no technical details, which
 doesn't really help.  Here are a few snippets from alsa-info...

 !!DMI Information
 !!---
 Manufacturer:  Acer
 Product Name:  Aspire 4551


 !!Kernel Information
 !!--
 Kernel release:2.6.36-gentoo-r5
 Operating System:  GNU/Linux
 Architecture:  x86_64
 Processor: AMD Athlon(tm) II P320 Dual-Core Processor
 SMP Enabled:   Yes

 !!Soundcards recognised by ALSA
 !!-
  0 [SB ]: HDA-Intel - HDA ATI SB
   HDA ATI SB at 0xd040 irq 16
  1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
   HDA ATI HDMI at 0xd011 irq 19


 !!PCI Soundcards installed in the system
 !!--
 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
 01:05.1 Audio device: ATI Technologies Inc Device 970f


 !!Advanced information - PCI Vendor/Device/Susbsystem ID's
 !!
 00:14.2 0403: 1002:4383 (rev 40)
   Subsystem: 1025:0372
 --
 01:05.1 0403: 1002:970f
   Subsystem: 1025:0372

 !!HDA-Intel Codec information
 !!---
 --startcollapse--
 Codec: Realtek ALC272X
 Address: 0
 AFG Function Id: 0x1 (unsol 1)
 Vendor Id: 0x10ec0272
 Subsystem Id: 0x10250372
 Revision Id: 0x11

 !!Aplay/Arecord output
 !!

 APLAY

  List of PLAYBACK Hardware Devices 
 card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

 ARECORD

  List of CAPTURE Hardware Devices 
 card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0





Re: [gentoo-user] Slotted PHP behavior

2011-01-04 Thread Hung Dang
On 01/04/11 10:27, Grant wrote:
 I just upgraded to php-5.3.4 which I believe went into a new slot.  Is
 slotted behavior new for PHP?  I think things have been rearranged.
 Can someone clue me in to the new layout?  For example, I get:

 # /etc/init.d/apache2 restart
  * Caching service dependencies ...
  * apache2 has detected an error in your setup:
 apache2: Syntax error on line 149 of /etc/apache2/httpd.conf: Syntax
 error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot
 load /usr/lib64/apache2/modules/libphp5.so into server:
 /usr/lib64/apache2/modules/libphp5.so: cannot open shared object file:
 No such file or directory

 - Grant

I had a similar problem before and I did solve it by running this
command: eselect php set apache2 php5.3. I believe I get this command
from a Gentoo official PHP guide.

Hung



Re: [gentoo-user] SVGA mode the console

2011-01-03 Thread Hung Dang
Hi,

You can try to modify the default font in /etc/conf.d/consolefont and
restart /etc/init.d/consolefont to see if the new font look OK for you
or not. The terminus-font looks OK for me.

Hope  this help
Hung

On 01/03/11 20:04, meino.cra...@gmx.de wrote:
 Paul Hartman paul.hartman+gen...@gmail.com [11-01-03 17:27]:
 On Sun, Jan 2, 2011 at 5:28 AM,  meino.cra...@gmx.de wrote:
 Final question after all there words: How can I get such a high
 resolution with this hardware and the nvidia-drivers???
 http://dev.gentoo.org/~spock/projects/uvesafb/

 Works for me on ~amd64 gentoo with nvidia-drivers :)

 Hi all,

 thank you very much for all the input !

 And(TADA!).it works now! :)

 Very last question:
 Is there any way to test what font looks best without haveing
 to boot each time ?


 Best regards,
 mcc








Re: [gentoo-user] E17 installation

2010-11-27 Thread Hung Dang
On 11/27/10 09:56, Mick wrote:
 On Saturday 27 November 2010 07:37:48 Alan McKinnon wrote:
 Apparently, though unproven, at 08:39 on Saturday 27 November 2010, Hung
 Dang

 did opine thusly:
 Hi all,

 I am trying to get E17 on my computer using this guide
 http://en.gentoo-wiki.com/wiki/E17. I have also added source
 /var/lib/layman/make.conf to make.conf and update PORTDIR_OVERLAY= to
 /var/lib/layman/make.conf. After that I try to emerge elightenment and
 can only get x11-wm/enlightenment-1.0.7. When I try to log in to
 enlightenment I can only get E16.

 Any idea?

 Thanks in advance
 Hung
 You didn't unmask/keyword anything, so you are getting the window manager
 in portage, which is e16.

 To get e17 you need to get it from an overlay. The only overlay that
 actually works right now is

 http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo

 vapier's overlay was out of date, is now being updated and is in a state of
 flux, i.e. constantly breaking and changing.

 I've never heard of the overlay on the gentoo-wiki page.

 To use the e17 window manager you *must* install the - efl libs from
 svn. The e17 ebuild does not cater for the -beta2 versions.
 I'm not sure that efl overlay is still required to run E17.  I just today 
 moved from efl to the enlightenment overlay (Vapier's).  I had to keyword all 
 necessary E17 packages as - ** to be able to install stuff, or the E16 
 packages were being drawn in.  The enlightenment overlay seems to be a couple 
 of months behind efl judging by the bugs that I thought were already resolved.

 Some packages (e.g. epdf) will not build because dependencies are missing and 
 what not, but the following packages were able to emerge without problems and 
 give (me) a functioning desktop:

 ===
 emerge -aDv dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina dev-
 libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb media-libs/evas 
 x11-wm/enlightenment media-libs/emotion dev-libs/eeze

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] dev-libs/eina-  USE=mempool-chained mempool-pass-through 
 mmx nls sse sse2 threads (-altivec) -debug -default-mempool -doc -mempool-
 buddy -mempool-ememoa-fixed -mempool-ememoa-unknown -mempool-fixed-bitmap -
 static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/embryo-  USE=nls -doc -static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/eet-  USE=nls ssl threads -debug -doc -examples 
 -gnutls -static-libs 0 kB [1]
 [ebuild   R   ] media-libs/evas-  USE=X cache eet fontconfig gif jpeg 
 mmx 
 nls opengl png sse svg threads tiff xcb xpm (-altivec) -bidi -directfb -doc -
 fbcon -gles -sdl -static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/ecore-  USE=X curl evas glib inotify nls opengl 
 ssl threads xcb xinerama xprint xscreensaver -ares -directfb -doc -fbcon -
 gnutls -sdl -static-libs -tslib 0 kB [1]
 [ebuild   R   ] media-libs/edje-  USE=nls -cache -debug -doc 
 -static-libs 
 -vim-syntax 0 kB [1]
 [ebuild   R   ] dev-libs/efreet-  USE=nls -doc -static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/eeze-1.0.0_beta2  USE=nls -doc -static-libs 0 kB 
 [0]
 [ebuild   R   ] media-libs/emotion-  USE=gstreamer nls xine -doc -static-
 libs 0 kB [1]
 [ebuild   R   ] dev-libs/e_dbus-  USE=bluetooth connman hal libnotify 
 nls 
 -doc -ofono -static-libs -ukit 0 kB [1]
 [ebuild   R   ] media-libs/ethumb-  USE=dbus emotion nls -doc -epdf 0 
 kB 
 [1]
 [ebuild   R   ] x11-wm/enlightenment-  USE=acpi bluetooth 
 e_modules_battery e_modules_clock e_modules_comp e_modules_conf-applications 
 e_modules_conf-borders e_modules_conf-clientlist e_modules_conf-colors 
 e_modules_conf-desk e_modules_conf-desklock e_modules_conf-desks 
 e_modules_conf-dialogs e_modules_conf-display e_modules_conf-dpms 
 e_modules_conf-edgebindings e_modules_conf-engine e_modules_conf-fonts 
 e_modules_conf-icon-theme e_modules_conf-imc e_modules_conf-interaction 
 e_modules_conf-intl e_modules_conf-keybindings e_modules_conf-menus 
 e_modules_conf-mime e_modules_conf-mouse e_modules_conf-mouse-cursor 
 e_modules_conf-mousebindings e_modules_conf-paths e_modules_conf-performance 
 e_modules_conf-profiles e_modules_conf-scale e_modules_conf-screensaver 
 e_modules_conf-shelves e_modules_conf-startup e_modules_conf-theme 
 e_modules_conf-transitions e_modules_conf-wallpaper e_modules_conf-wallpaper2 
 e_modules_conf-window-display e_modules_conf-window-focus e_modules_conf-
 window-manipulation e_modules_conf-window-remembers e_modules_conf-winlist 
 e_modules_connman e_modules_cpufreq e_modules_dropshadow e_modules_everything 
 e_modules_everything-apps e_modules_everything-calc 
 e_modules_everything-files 
 e_modules_everything-settings e_modules_everything-windows e_modules_fileman 
 e_modules_fileman_opinfo e_modules_gadman e_modules_ibar e_modules_ibox 
 e_modules_illume2 e_modules_mixer e_modules_msgbus e_modules_pager

Re: [gentoo-user] E17 installation

2010-11-27 Thread Hung Dang
On 11/27/10 11:57, Mick wrote:
 On Saturday 27 November 2010 17:57:45 Hung Dang wrote:
 On 11/27/10 09:56, Mick wrote:
 On Saturday 27 November 2010 07:37:48 Alan McKinnon wrote:
 Apparently, though unproven, at 08:39 on Saturday 27 November 2010, Hung
 Dang

 did opine thusly:
 Hi all,

 I am trying to get E17 on my computer using this guide
 http://en.gentoo-wiki.com/wiki/E17. I have also added source
 /var/lib/layman/make.conf to make.conf and update PORTDIR_OVERLAY= to
 /var/lib/layman/make.conf. After that I try to emerge elightenment and
 can only get x11-wm/enlightenment-1.0.7. When I try to log in to
 enlightenment I can only get E16.

 Any idea?

 Thanks in advance
 Hung
 You didn't unmask/keyword anything, so you are getting the window
 manager in portage, which is e16.

 To get e17 you need to get it from an overlay. The only overlay that
 actually works right now is

 http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo

 vapier's overlay was out of date, is now being updated and is in a state
 of flux, i.e. constantly breaking and changing.

 I've never heard of the overlay on the gentoo-wiki page.

 To use the e17 window manager you *must* install the - efl libs from
 svn. The e17 ebuild does not cater for the -beta2 versions.
 I'm not sure that efl overlay is still required to run E17.  I just today
 moved from efl to the enlightenment overlay (Vapier's).  I had to keyword
 all necessary E17 packages as - ** to be able to install stuff, or
 the E16 packages were being drawn in.  The enlightenment overlay seems
 to be a couple of months behind efl judging by the bugs that I thought
 were already resolved.

 Some packages (e.g. epdf) will not build because dependencies are missing
 and what not, but the following packages were able to emerge without
 problems and give (me) a functioning desktop:

 ===
 emerge -aDv dev-libs/ecore dev-libs/e_dbus dev-libs/eet dev-libs/eina
 dev- libs/embryo dev-libs/efreet media-libs/edje media-libs/ethumb
 media-libs/evas x11-wm/enlightenment media-libs/emotion dev-libs/eeze

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] dev-libs/eina-  USE=mempool-chained
 mempool-pass-through mmx nls sse sse2 threads (-altivec) -debug
 -default-mempool -doc -mempool- buddy -mempool-ememoa-fixed
 -mempool-ememoa-unknown -mempool-fixed-bitmap - static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/embryo-  USE=nls -doc -static-libs 0 kB
 [1] [ebuild   R   ] dev-libs/eet-  USE=nls ssl threads -debug -doc
 -examples -gnutls -static-libs 0 kB [1]
 [ebuild   R   ] media-libs/evas-  USE=X cache eet fontconfig gif
 jpeg mmx nls opengl png sse svg threads tiff xcb xpm (-altivec) -bidi
 -directfb -doc - fbcon -gles -sdl -static-libs 0 kB [1]
 [ebuild   R   ] dev-libs/ecore-  USE=X curl evas glib inotify nls
 opengl ssl threads xcb xinerama xprint xscreensaver -ares -directfb -doc
 -fbcon - gnutls -sdl -static-libs -tslib 0 kB [1]
 [ebuild   R   ] media-libs/edje-  USE=nls -cache -debug -doc
 -static-libs -vim-syntax 0 kB [1]
 [ebuild   R   ] dev-libs/efreet-  USE=nls -doc -static-libs 0 kB
 [1] [ebuild   R   ] dev-libs/eeze-1.0.0_beta2  USE=nls -doc
 -static-libs 0 kB [0]
 [ebuild   R   ] media-libs/emotion-  USE=gstreamer nls xine -doc
 -static- libs 0 kB [1]
 [ebuild   R   ] dev-libs/e_dbus-  USE=bluetooth connman hal
 libnotify nls -doc -ofono -static-libs -ukit 0 kB [1]
 [ebuild   R   ] media-libs/ethumb-  USE=dbus emotion nls -doc -epdf
 0 kB [1]
 [ebuild   R   ] x11-wm/enlightenment-  USE=acpi bluetooth
 e_modules_battery e_modules_clock e_modules_comp
 e_modules_conf-applications e_modules_conf-borders
 e_modules_conf-clientlist e_modules_conf-colors e_modules_conf-desk
 e_modules_conf-desklock e_modules_conf-desks e_modules_conf-dialogs
 e_modules_conf-display e_modules_conf-dpms e_modules_conf-edgebindings
 e_modules_conf-engine e_modules_conf-fonts e_modules_conf-icon-theme
 e_modules_conf-imc e_modules_conf-interaction e_modules_conf-intl
 e_modules_conf-keybindings e_modules_conf-menus e_modules_conf-mime
 e_modules_conf-mouse e_modules_conf-mouse-cursor
 e_modules_conf-mousebindings e_modules_conf-paths
 e_modules_conf-performance e_modules_conf-profiles e_modules_conf-scale
 e_modules_conf-screensaver e_modules_conf-shelves e_modules_conf-startup
 e_modules_conf-theme e_modules_conf-transitions e_modules_conf-wallpaper
 e_modules_conf-wallpaper2 e_modules_conf-window-display
 e_modules_conf-window-focus e_modules_conf- window-manipulation
 e_modules_conf-window-remembers e_modules_conf-winlist e_modules_connman
 e_modules_cpufreq e_modules_dropshadow e_modules_everything
 e_modules_everything-apps e_modules_everything-calc
 e_modules_everything-files e_modules_everything-settings
 e_modules_everything-windows e_modules_fileman e_modules_fileman_opinfo
 e_modules_gadman e_modules_ibar e_modules_ibox e_modules_illume2
 e_modules_mixer

[gentoo-user] E17 installation

2010-11-26 Thread Hung Dang
Hi all,

I am trying to get E17 on my computer using this guide
http://en.gentoo-wiki.com/wiki/E17. I have also added source
/var/lib/layman/make.conf to make.conf and update PORTDIR_OVERLAY= to
/var/lib/layman/make.conf. After that I try to emerge elightenment and
can only get x11-wm/enlightenment-1.0.7. When I try to log in to
enlightenment I can only get E16.

Any idea?

Thanks in advance
Hung




[gentoo-user] Bluetooth problem

2010-09-17 Thread Hung Dang
 Hi all,

I have Logitech Dinovo Edge and it works fine before. I update my system
recently and my bluetooth is messed up. Every time I start Bluetooth
Manager in GNOME I receive this message Bluez daemon is not running,
blueman-manager cannot continue.. I am using Bluez-4.7.1 and Linux
kernel 2.34 and 2.35. I also check the output of the lsmod command and
modules bnep, hcid and sco are not loaded when bluetooth service start.
Plus I get no device when scanning for devices using hcitool scan and
the utility hid2hci is not in the system path.

Any suggestion?

Thanks in advance
Hung

Output of lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 004: ID 046d:c714 Logitech, Inc.
Bus 008 Device 003: ID 046d:c713 Logitech, Inc.
Bus 008 Device 002: ID 046d:0b04 Logitech, Inc.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 041e:4055 Creative Technology, Ltd Live! Cam
Video IM Pro
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Output of lsmod
Module  Size  Used by
nvidia  11087655  28
coretemp5654  0
rfcomm 38363  1
l2cap  33680  3 rfcomm
snd_seq_dummy   1678  0
snd_seq_oss28171  0
snd_seq_midi_event  6939  1 snd_seq_oss
snd_seq53057  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device  6394  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss37296  0
snd_mixer_oss  16313  1 snd_pcm_oss
snd_hda_codec_realtek   287298  1
snd_hda_intel  22483  1
snd_hda_codec  71101  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep   6386  1 snd_hda_codec
snd_pcm76889  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer  20930  2 snd_seq,snd_pcm
snd66779  13
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore   7579  1 snd
snd_page_alloc  8428  2 snd_hda_intel,snd_pcm
i2c_i8018249  0



[gentoo-user] How to get hid2hci command

2010-09-16 Thread Hung Dang
 Hi all,

I need to use hid2hci for my bluetooth keyboad. However, I could not
figure out how to get the hid2hci command.
Any suggestion would be appreciate?

Thanks in advance
Hung


Re: [gentoo-user] How to get hid2hci command - SOLVED

2010-09-16 Thread Hung Dang
 On 09/16/10 20:34, Kyle Bader wrote:

 net-wireless/bluez maybe?

 Kyle

 On Sep 16, 2010 1:01 PM, Hung Dang hungp...@gmail.com
 mailto:hungp...@gmail.com wrote:

 Hi all,

 I need to use hid2hci for my bluetooth keyboad. However, I could not
 figure out how to get the hid2hci command.
 Any suggestion would be appreciate?

 Thanks in advance
 Hung
Thanks Kyle. I have bluez-4.7.1 installed in my system and it turn out
that hid2hci is located at /lib64/udev/ which does not include in system
path.

Thanks
Hung


Re: [gentoo-user] xorg-server 1.7.6 without mouse and keyboard

2010-07-13 Thread Hung Dang
 uOn 07/13/10 10:45, Willie Wong wrote:
 On Tue, Jul 13, 2010 at 05:57:14PM +0200, Tamer Higazi wrote:
 After upgrading my system, xorg-server 1.7.6 is on my system. I 
 regenrated the config file Xorg -configure. The display is shown 
 proparly with everything around it but I don't have a mice and keyboard.

 How do I get the mouse and keyboard to run. I followed the steps from 
 the official gentoo xorg guide, and nothing changed.

 Any ideas?!
 (1) Please post your xorg.conf
 (2) Please show the output of emerge -pv xorg-server

 Cheers, 
 W
You may need to rebuild the x11-drivers (emerge `qlist -I -C
x11-drivers/`).

Hung


[gentoo-user] compiz-fusion

2010-05-29 Thread Hung Dang
Hi all,

I try to set up compiz-fussion with GNOME  desktop using information
from wiki page ( http://en.gentoo-wiki.com/wiki/Compiz-Fusion). Compiz
seems to work , however, I experience the rendering problem and the
title bar of opened applications are missing. I am using compiz version
0.8.6.
Any suggestion would be appreciated.

Thanks in advance
Hung



Re: [gentoo-user] compiz-fusion [SOLVED]

2010-05-29 Thread Hung Dang
Thanks a lot. After I set windowmanager to compiz everything seems to be
OK now.

Hung

On 05/29/10 06:58, Ngoc Nguyen Bao wrote:
 On Sat, May 29, 2010 at 4:14 PM, Hung Dang hungp...@gmail.com wrote:
   
 Hi all,

 I try to set up compiz-fussion with GNOME  desktop using information from
 wiki page ( http://en.gentoo-wiki.com/wiki/Compiz-Fusion). Compiz seems to
 work , however, I experience the rendering problem and the title bar of
 opened applications are missing. I am using compiz version 0.8.6.
 Any suggestion would be appreciated.

 Thanks in advance
 Hung


 
 Did you set 'window decorator' to 'gtk-window-decorator --replace' or
 'emerald --replace' in compiz?

   




Re: [gentoo-user] gd problem [SOLVED]

2010-05-23 Thread Hung Dang
Thanks a lot Peter. I have fixed gd problem using  with gd-2.0.35-r2

Hung

On 05/23/10 03:42, Peter Ruskin wrote:
 On Sunday 23 May 2010 06:50:05 Hung Dang wrote:
   
 Hi all,

 I compile my system and received the following errors:

 /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so
 /usr/lib64/libexpat.so /usr/lib64/libpng14.so
 /usr/lib64/libXrender.so /usr/lib64/libX11.so
 /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so
 -lz -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so
 /usr/lib64/libglib-2.0.so -ldl -Wl,-rpath -Wl,/usr/lib64/graphviz
 ../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
 `gdImageCreateFromPng'
 ../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
 `gdImagePngCtx'
 ../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
 `gdImagePng' collect2: ld returned 1 exit status

 I tried to recompile gd, however, it does not fix the problem.
 Any idea?

 
 Known problem, which has been fixed in gd-2.0.35-r2.ebuild. Run:

 # echo media-libs/gd-2.0.35-r2  /etc/portage/package.keywords 
 and try again.

   




[gentoo-user] gd problem

2010-05-22 Thread Hung Dang
Hi all,

I compile my system and received the following errors:

/usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so
/usr/lib64/libexpat.so /usr/lib64/libpng14.so /usr/lib64/libXrender.so
/usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so
/usr/lib64/libXdmcp.so -lz -lm /usr/lib64/libgobject-2.0.so
/usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so -ldl -Wl,-rpath
-Wl,/usr/lib64/graphviz
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
`gdImageCreateFromPng'
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
`gdImagePngCtx'
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to `gdImagePng'
collect2: ld returned 1 exit status

I tried to recompile gd, however, it does not fix the problem. Any idea?

Thanks in advance
Hung



Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...

2010-02-19 Thread Hung Dang
On 02/19/10 04:43, Iain Buchanan wrote:
 On Fri, 2010-02-19 at 00:49 -0500, James Homuth wrote:
   
 I performed a bit of an update on my laptop a day or two ago, and
 after reboot, I lost the ability to do anything with /dev/hda*. I
 currently have 0 swap space, and according to stat, ls etc, they don't
 exist. But, booting to an install CD I burned for diagnostic purposes,
 it sees them just fine. Also, and this is the strange part. It boots
 no problem, so the OS is able to mount at least /dev/hda3, even though
 from the command line I'm not seeing it. I'm probably missing
 something completely dead obvious (it's after midnight here and all),
 and Google's turning up nothing, so if someone could kindly slap me in
 the face with it, that'd be appreciated. Thanks either way for
 whatever help comes my way.
 
 The first thing that jumps to my mind is you have an older initrd that
 has your HD drivers in it (such as ATA), but the newer kernel you've
 probably just built (is that what you mean by a bit of an update?)
 doesn't.

 Check for an initrd, and tell us what a bit of an update means :)  You
 could also compare config files between your rescue CD and your system,
 if you can find it!

 HTH,
   
You could see your HDD because the boot CD have enabled all drivers.
Could you double check if you have configured the kernel for your HDD
correctly?

Hung



Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...

2010-02-18 Thread Hung Dang
On 02/18/10 22:49, James Homuth wrote:
 I performed a bit of an update on my laptop a day or two ago, and
 after reboot, I lost the ability to do anything with /dev/hda*. I
 currently have 0 swap space, and according to stat, ls etc, they don't
 exist. But, booting to an install CD I burned for diagnostic purposes,
 it sees them just fine. Also, and this is the strange part. It boots
 no problem, so the OS is able to mount at least /dev/hda3, even though
 from the command line I'm not seeing it. I'm probably missing
 something completely dead obvious (it's after midnight here and all),
 and Google's turning up nothing, so if someone could kindly slap me in
 the face with it, that'd be appreciated. Thanks either way for
 whatever help comes my way.
How about /dev/sda1,2,3?

Hung



[gentoo-user] pdfimages

2010-02-15 Thread Hung Dang
Hi all,

I could not find poppler-utils package which has pdfimages command. Does
anyone know which package I should install to have pdfimages installed?

Thanks in advance
Hung


Re: [gentoo-user] pdfimages

2010-02-15 Thread Hung Dang
Hi Boris and Alan,

Thanks a lot for your quick reply. I have installed poppler and I could be
able to use pdfimages now.

Regards,
Hung

On Mon, Feb 15, 2010 at 3:04 PM, Boris Fersing kernelsen...@gentoo.orgwrote:

 Hi,

 emerge app-text/poppler

 regards,

 Boris

 On Mon, Feb 15, 2010 at 22:09, Hung Dang hungp...@gmail.com wrote:
  Hi all,
 
  I could not find poppler-utils package which has pdfimages command. Does
  anyone know which package I should install to have pdfimages installed?
 
  Thanks in advance
  Hung
 
 



 --
 42




-- 
Hung Dang
New Mexico State University


Re: [gentoo-user] Re: in-memory database - SOLVED

2010-02-12 Thread Hung Dang
Hi all,

Thank a lot for your advices. I will try both mysql and sqlite to see
which one is better for our purpose.

Have a nice weekend,
Hung

On 02/12/10 10:56, Doug O'Neal wrote:
 On 02/11/2010 12:27 PM, Hung Dang wrote:
 Hi all,

 I am looking for an open source in-memory database for data mining
 purpose. I have tried to look into /usr/portage/dev-db/ and have not
 found any in-memory package. Any suggestion?
  
 Thanks in advance
 Hung

 mysql has a `memory' table engine.

 Doug






[gentoo-user] in-memory database

2010-02-11 Thread Hung Dang
Hi all,

I am looking for an open source in-memory database for data mining purpose.
I have tried to look into /usr/portage/dev-db/ and have not found any
in-memory package. Any suggestion?

Thanks in advance
Hung


Re: [gentoo-user] in-memory database

2010-02-11 Thread Hung Dang
Hi Alexander,

Thanks a lot for your quick reply. I just start my project then I might have
to try some in-memory dbs and see which one is suitable for my application.

Thanks
Hung


On Thu, Feb 11, 2010 at 10:50 AM, Alexander b3n...@yandex.ru wrote:

 On Thursday 11 February 2010 20:27:15 Hung Dang wrote:
  Hi all,
 
  I am looking for an open source in-memory database for data mining
 purpose.
  I have tried to look into /usr/portage/dev-db/ and have not found any
  in-memory package. Any suggestion?
 
  Thanks in advance
  Hung
 

 What kind of database are you looking for? There is several ways of
 in-memory
 db: Berkley DB, native languages hash tables  and etc




-- 
Hung Dang
New Mexico State University


Re: [gentoo-user] changing nvidia settings dynamically

2010-01-26 Thread Hung Dang
I configure xorg.conf for the laptop screen only and use nvidia-setting to
setup twinview mode for the external screen (it does not require to restart
X). It works fine so far.

Hope this help
Hung

On Fri, Jan 15, 2010 at 12:25 AM, Iain Buchanan iai...@netspace.net.auwrote:

 Hi all,

 For a long time I've been using nvidia's twinview for two 1920x1200
 displays (laptop and external LCD).

 Whenever I dock / undock I have to run nvidia-settings to change the
 resolution from the virtual 3840x1200 to 1920x1200 or vice versa.  Also
 since two screens is the Default I have to do this when I log in with
 only the laptop.

 I am looking for a way to use the command line nvidia-settings (as much
 as I've studied the help I can't find out how to do it - all attributes
 seem read-only to the command line nvidia-settings)

 Then I can call nvidia-settings --some-options on a dock / undock event.

 Alternatively, I read in the nvidia-drivers README that you can use
 metamodes and then use the FN-F8 (CRT/LCD switch key) to switch between
 them.  However, when I use metamodes I always get a 3840 wide screen,
 and I can scroll left and right to the unseen space.

 These are the metamodes I've tried:
 1. The two-screen only metamode:
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0
 2. attempt to use a 1920 metamode as well:
Option metamodes DFP-0: 1920x1200; DFP-0: 1920x1200 +1920+0,
 DFP-2: 1920x1200 +0+0
 3. attempt 2:
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0; DFP-0: 1920x1200 +0+0,

 Here's my screen section (all other sections are basic):
 Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option TwinView 1
Option TwinViewXineramaInfoOrder DFP-2
Option metamodes DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200
 +0+0
SubSection Display
Depth   24
EndSubSection
 EndSection

 Has anyone done a dynamic mode change with nvidia xinerama?

 thanks,
 --
 Iain Buchanan iaindb at netspace dot net dot au

 If you have nothing to do, don't do it here.






-- 
Hung Dang
New Mexico State University


Re: [gentoo-user] How to determine if a NIC is playing gigabit?

2010-01-18 Thread Hung Dang
One more thing. The file transfer speed is
min(max(HDD),max(NIC),max(others)) so it will depend on your HDD, your
network and other reasons. I find out that using sftp command seem to be
faster than NFS or Samba. Could you try sftp and check if it is faster
or not? Then check the dmesg as well as network cables to see if there
is any problem. 

Hung

On 01/18/10 05:46, Dan Cowsill wrote:
 On Mon, Jan 18, 2010 at 6:50 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
   
 Hi there,

 Yesterday I reseated the network cable between my server cupboard and my
 desk, and it now lights up on the switch by my desk as gigabit. But a
 file-transfer today is slower than I might have hoped.

 I'm not ruling out the cable, because it's pretty beat up (but the switch
 *is* lighting up as 1000), but how do I determine, please, that the Linux
 server at the other end is recognising the NIC and negotiating as gigabit
 speeds?

 The hard-drives on the server are using an older PCI SATA card, and the NIC
 is also PCI. But I would have expected it to be a bit faster than 100Mbps.

 Any estimates over what kind of speed I should be seeing for large
 file-transfers over Samba? Wildly ball-park is fine - I wouldn't expect a
 10x speed increase, but maybe 2x or 3x - 4x would be great!

 I'll be testing between my Macs (both on the desktop switch, ruling out both
 the Linux box and the suspicious cable) later today, I'd just like some
 ideas of where I should be starting from.

 Right now I'm seeing 10 gigs of .mp4 files (1gb - 2gb per video file) taking
 about an hour - that's about what I'd expect from old 100Mbps networking,
 not this shiny new stuff.

 I'm not seeing any difference commenting  uncommenting aio read size = 1,
 aio write size = 1 (separate lines) from /etc/samba/smb.conf and then
 running `/etc/init.d/samba reload`, but maybe I shouldn't expect that to
 make any difference on an existing transfer. I just don't want to interfere
 with this right now - I just want to copy as much as possible on to my
 laptop before I go out, and I'll take a look at this performance issue when
 I get home.

 Thanks in advance for any suggestions or pointers,

 Stroller.



 
 In all likelihood, its your hard disk slowing down the network
 transfer, and not the cabling.  Generally speaking, if the hardware
 says gigabit, than you've got gigabit.

   




Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-26 Thread Hung Dang
Have you received a lot of debugging messages at the output of dmesg
when copying files?

Hung

On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.

 lsusb -vv output for this device:

 Bus 001 Device 031: ID 0421:01c7 Nokia Mobile Phones
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   idVendor   0x0421 Nokia Mobile Phones
   idProduct  0x01c7
   bcdDevice3.16
   iManufacturer   1 Nokia
   iProduct2 N900 (Storage Mode)
   iSerial 3 (censored)
   bNumConfigurations  2
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   32
 bNumInterfaces  1
 bConfigurationValue 1
 iConfiguration  4 Max power
 bmAttributes 0x80
   (Bus Powered)
 MaxPower  500mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   2
   bInterfaceClass 8 Mass Storage
   bInterfaceSubClass  6 SCSI
   bInterfaceProtocol 80 Bulk (Zip)
   iInterface  6 Mass Storage
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x81  EP 1 IN
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x01  EP 1 OUT
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   32
 bNumInterfaces  1
 bConfigurationValue 2
 iConfiguration  5 Self-powered
 bmAttributes 0xc0
   Self Powered
 MaxPower  100mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   2
   bInterfaceClass 8 Mass Storage
   bInterfaceSubClass  6 SCSI
   bInterfaceProtocol 80 Bulk (Zip)
   iInterface  6 Mass Storage
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x81  EP 1 IN
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x01  EP 1 OUT
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   1
 Device Qualifier (for other device speed):
   bLength10
   bDescriptorType 6
   bcdUSB   2.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   bNumConfigurations  2
 Device Status: 0x
   (Bus Powered)



 dmesg output when it is plugged in:

 [2920730.031010] usb 1-4: new high speed USB device using ehci_hcd 

Re: [gentoo-user] P55 Chipset Support

2009-11-23 Thread Hung Dang
I have never tried P55 before, however, I have no problem with P35, P45,
and X58. I believe Gentoo should work with P55 without any problem.
When using make menuconfig you need to configure network interface,
SATA, and IDE drivers correctly for the hardware specifications obtained
from lspci command.

Hung


Jason Carson wrote:
 Jason Carson wrote:
 
 Hello everyone,

 I am considering upgrading to a 64 bit CPU but haven't decided on what I
 am going to buy. One of the motherboards I am looking at has a P55
 chipset
 so my question is will the P55 chipset work with Gentoo? If so where in
 menuconfig do I configure this?

 Thanks


   
 How about a link to the mobo.  I been googling but p55 is also a network
 card or something.  Sort of hard to weed them out.

 Dale

 :-)  :-)


 
 It's the ASRock P55 Deluxe...

 http://www.asrock.com/MB/overview.asp?Model=P55%20Deluxe


   




Re: [gentoo-user] Unable to set up wireless lan - followed documentation

2009-11-15 Thread Hung Dang
I would suggest to find out which wireless card you have and configure
the correct kernel driver for it. Then you can emerge wireless toll such
as wicd and let it configure your wireless connection.

Hung


Stroller wrote:

 On 14 Nov 2009, at 17:55, Nelis Botha wrote:
 ...
 I need some help. I am trying to set up my wireless lan on gentoo. I
 have recompiled kernel. Every attempt at configuring /etc/conf.d/net
 end in faed to configure wireless for wlan0 i have folowed the advice
 given when it fails and give info/advice to resolve but nothing has
 worked thus far. My question then is : what should the /etc/conf.d/net
 look like if I want to connect to dhcp enabled adsl router that does
 not need authenticating ?


 Hi there,

 Could you start by telling us which make  model of wireless card
 you're using, please?

 Do you have the right drivers compiled into the kernel for it, or as
 modules?

 Please post the output of `lspci` / `lsusb` as appropriate, of `lsmod`
 and `iwconfig`.

 Stroller.





Re: [gentoo-user] KDE-4.3.37 with USE=semantic-desktop

2009-11-05 Thread Hung Dang
I got the same problem with kde-4.3.3 last night, however, I can solve
it by reemerge soprano first then emerge kde.

Hung

Crístian Viana wrote:
 Nepomuk also didn't build for me, while I was emerging kde-meta-4.3.3
 (no overlay). I'll still check if I can solve it by myself.

 On Thu, Nov 5, 2009 at 7:40 PM, Alan McKinnon alan.mckin...@gmail.com
 mailto:alan.mckin...@gmail.com wrote:

 Has anyone successfully built kde-4.3.73 from kde-testing overlays
 with USE=semantic-desktop? If so, how did you manage?

 I get about 8 build failures with the flag set, due to this
 failure in nepomuk:

  $ grep -i error kde-base\:nepomuk-4.3.73\:
 20091105-205415.log
 
 /var/tmp/portage/kde-base/nepomuk-4.3.73/work/nepomuk-4.3.73/nepomuk/services/queryservice/queryservice.cpp:52:
 error: 'class Soprano::NRLModel' has no member named
 'setEnableQueryPrefixExpansion'
 make[2]: ***
 
 [nepomuk/services/queryservice/CMakeFiles/nepomukqueryservice.dir/queryservice.o]
 Erro 1
 make[1]: ***
 [nepomuk/services/queryservice/CMakeFiles/nepomukqueryservice.dir/all]
 Error 2
 make: *** [all] Error 2
  * ERROR: kde-base/nepomuk-4.3.73 failed:



 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com




 -- 
 Crístian Deives dos Santos Viana [aka CD1]
 Sent from Campinas, São Paulo, Brazil 




[gentoo-user] Eclipse 3.4-r2

2009-11-01 Thread Hung Dang

Hi all,
I installed Eclipse 3.4 on my system and I could be able to enable 
Classic Update under Window  Preferences  General  Capabilities.
Then I try to update Eclipse using Help  Software Updates  Find and 
Update dialog, however, nothing happened when I clicked Next button.

Any idea?

Thanks a lot
Hung

PS: Attached is the output of the emerge --info command and the 
java-check-environment command show that my Java environment if OK.
Portage 2.1.7.2 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 
2.6.30-gentoo-r8-hhserver x86_64)
=
System uname: 
linux-2.6.30-gentoo-r8-hhserver-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-2.0.1
Timestamp of tree: Sat, 31 Oct 2009 17:15:01 +
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.4, 3.1.1-r1
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r1
sys-apps/sandbox:2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS=amd64 ~amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash 
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d 
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distlocks fixpackages metadata-transfer news 
parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs 
unmerge-orphans userfetch
GENTOO_MIRRORS=http://gentoo.osuosl.org/ 
LDFLAGS=-Wl,-O1
LINGUAS=en en_US
MAKEOPTS=-j7
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X a52 aac accessibility acl acpi alsa amd64 apache2 aspell bash-completion 
berkdb bluetooth boost branding bzip2 cairo cdr cg cli compat consolekit 
contrib cracklib crypt cups dbus djvu dri dts dvd dvdr dvipdfm eds emboss 
encode evo extra extras fam fbcondecor fbsplash festival ffmpeg fftw flac fltk 
fortran gd gdbm gfortran gif git gnuplot gpm graphics gstreamer gtk hal hddtemp 
hdf5 iconv imagemagick ipv6 isdnlog java java6 jpeg jpeg2k kde kerberos 
kpathsea lapack laptop latex lcms ldap libnotify lm_sensors lua lyx mad math 
mbrola mikmod mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib 
multislot mysql ncurses netcdf nls npp nptl nptlonly nsplugin nvidia ocaml ogg 
omega opengl openmp pam patented pch pcre pdf perl php plotutil png ppds pppd 
pstricks publishers python qt3support qt4 quicktime rdesktop readline 
reflection samba science sdl sensord server session spell spl sql sse sse2 ssl 
ssse3 startup-notification svg symlink sysfs syslog tcl tcpd threads thunar 
thunderbird tidy tiff tk truetype unicode usb v4l v4l2 vhosts vnc vorbis webkit 
wicd winbind wma wxwidgets wxwindows x264 xcomposite xml xorg xulrunner xv xvid 
xvmc yahoo zeroconf zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x 
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci 
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug 
rate route share shm softvol APACHE2_MODULES=actions alias auth_basic 
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache 
filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack 
vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text LINGUAS=en en_US USERLAND=GNU VIDEO_CARDS=nvidia 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, 
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, 
PORTDIR_OVERLAY



[gentoo-user] Icon loading problem after updating for GNOME based application

2009-10-22 Thread Hung Dang
Hi all,
After updating my system I find out that some gnome based applications
have problem with png images. For example, I got this message when
trying to open stadict
Can not load image. Couldn't recognize the image file format for file
'/usr/share/pixmaps/stardict.png' and this problem happened to at least
two of my machines.
Does anyone know what is going on with my system? I use KDE 4.3.2 then
only gtk USE flag is enabled on my box. Please see the output of emerge
--info in the attached file for more information.

Thanks a lot
Hung

 
Portage 2.1.7.1 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, 
glibc-2.10.1-r0, 2.6.30-gentoo-r8-hhserver x86_64)
=
System uname: 
linux-2.6.30-gentoo-r8-hhserver-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-2.0.1
Timestamp of tree: Tue, 20 Oct 2009 21:45:01 +
app-shells/bash: 4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.3, 3.1.1-r1
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r1
sys-apps/sandbox:2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS=amd64 ~amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash 
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d 
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distlocks fixpackages metadata-transfer news 
parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs 
unmerge-orphans userfetch
GENTOO_MIRRORS=http://gentoo.osuosl.org/ 
LDFLAGS=-Wl,--as-needed
LINGUAS=en en_US
MAKEOPTS=-j7 -s
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X a52 aac accessibility acl acpi alsa amd64 apache2 aspell bash-completion 
bluetooth boost branding bzip2 cairo cdr cg cli compat consolekit cracklib 
crypt cups dbus djvu dri dts dvd dvdr dvipdfm eds emboss encode esd evo extra 
fam fbcondecor fbsplash ffmpeg fftw flac fltk fortran gcj gd gdbm gfortran gif 
gnuplot gpm graphics gstreamer gtk hal hddtemp hdf5 iconv imagemagick ipv6 
isdnlog java java6 jpeg jpeg2k kde kerberos kpathsea lapack laptop latex lcms 
ldap libnotify lm_sensors lua lyx mad math mikmod mmx mmxext mng modules mp3 
mp4 mpeg msn mudflap multilib multislot mysql ncurses netcdf nls npp nptl 
nptlonly nsplugin nvidia ocaml ogg omega opengl openmp pam patented pcre pdf 
perl php plotutil png ppds pppd pstricks publishers python qt3support qt4 
quicktime rdesktop readline reflection science sdl sensord server session spell 
spl sql sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcl tcpd 
threads thunar thunderbird tidy tiff tk truetype unicode usb v4l v4l2 vhosts 
vnc vorbis webkit winbind wma wxwidgets wxwindows x264 xcomposite xml xorg 
xulrunner xv xvid xvmc yahoo zeroconf zlib ALSA_CARDS=ali5451 als4000 atiixp 
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null 
plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic 
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache 
filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack 
vhost_alias ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text LINGUAS=en en_US USERLAND=GNU VIDEO_CARDS=nvidia 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, 
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, 
PORTDIR_OVERLAY



Re: [gentoo-user] Icon loading problem after updating for GNOME based application [SOLVED]

2009-10-22 Thread Hung Dang
Thanks a lot for valuable suggestions. By running update-mime-database
~/.local/share/mime/ my GNOME applications work again :).

Hung


Neil Bothwick wrote:
 On Thu, 22 Oct 2009 15:55:31 +, Jacob Todd wrote:

   
 On Thu, Oct 22, 2009 at 01:48:57PM -0600, Hung Dang wrote:
 
 Hi all,
 After updating my system I find out that some gnome based applications
 have problem with png images. For example, I got this message when
 trying to open stadict
 Can not load image. Couldn't recognize the image file format for file
 '/usr/share/pixmaps/stardict.png' and this problem happened to at
 least two of my machines.
 Does anyone know what is going on with my system? I use KDE 4.3.2 then
 only gtk USE flag is enabled on my box. Please see the output of
 emerge --info in the attached file for more information.

 Thanks a lot
 Hung

  
   
 # update-mime-database /usr/share/mime-info
 

 This doesn't exist here.

   
 # update-mime-database /usr/share/mime
 

 This is done by the ebuild, you need to do it for /usr/local/share/mime
 and it should be done as root.

   
 % update-mime-database ~/.config/mime
 

 This should be ~/.local/share/mime/ and needs to be run by each user.

 http://bugs.gentoo.org/show_bug.cgi?id=288312 contains the details, and
 the elog from emerging shared-mime-info also covers the details now,
 although it didn't when the current version was first added to portage.


   




Re: [gentoo-user] nvidia-drivers [SOLVED]

2009-10-08 Thread Hung Dang
Thanks a lot Volker. I can emerge nvidia-drivers after resync.

Hung

Volker Armin Hemmann wrote:
 On Donnerstag 08 Oktober 2009, Hung Dang wrote:
   
 Hi all,

 I updated my system yesterday today and find out that the latest
 nvidia-drivers requires old glbc version 2.5. I have goggled for a while
 and have not found out the solution. Below is the output of emerge command

 emerge -pv nvidia-drivers

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild UD] sys-libs/glibc-2.5-r4 [2.10.1] USE=(multilib) nls
 nptl%* nptlonly%* -build% -debug -glibc-compat20% -glibc-omitfp
 (-hardened) -profile (-selinux) (-gd%*) (-vanilla%) 0 kB
 [ebuild   R   ] x11-drivers/nvidia-drivers-185.18.31  USE=acpi gtk
 (multilib) -custom-cflags 0 kB

 Any idea?

 Thanks a lot
 Hung Dang

 

 resync. There is nothing about glibc in the ebuild.

 see changelog after sync:
 06 Oct 2009; Jeroen Roovers j...@gentoo.org
   nvidia-drivers-71.86.09.ebuild, nvidia-drivers-71.86.11.ebuild,
   nvidia-drivers-96.43.09.ebuild, nvidia-drivers-96.43.11.ebuild,
   nvidia-drivers-96.43.13.ebuild, nvidia-drivers-173.14.15.ebuild,
   nvidia-drivers-173.14.18.ebuild, nvidia-drivers-173.14.20.ebuild,
   nvidia-drivers-180.29.ebuild, nvidia-drivers-180.60.ebuild,
   nvidia-drivers-185.18.14.ebuild, nvidia-drivers-185.18.29.ebuild,
   nvidia-drivers-185.18.31.ebuild, nvidia-drivers-190.18.ebuild,
   nvidia-drivers-190.25.ebuild, nvidia-drivers-190.32.ebuild,
   nvidia-drivers-190.36.ebuild:
   Remove elibc_glibc dependency for now as it breaks horribly.

   




[gentoo-user] nvidia-drivers

2009-10-07 Thread Hung Dang
Hi all,

I updated my system yesterday today and find out that the latest
nvidia-drivers requires old glbc version 2.5. I have goggled for a while
and have not found out the solution. Below is the output of emerge command

emerge -pv nvidia-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild UD] sys-libs/glibc-2.5-r4 [2.10.1] USE=(multilib) nls
nptl%* nptlonly%* -build% -debug -glibc-compat20% -glibc-omitfp
(-hardened) -profile (-selinux) (-gd%*) (-vanilla%) 0 kB
[ebuild   R   ] x11-drivers/nvidia-drivers-185.18.31  USE=acpi gtk
(multilib) -custom-cflags 0 kB

Any idea?

Thanks a lot
Hung Dang



Re: [gentoo-user] Re: dhcpcd-5.1.1 compiling error

2009-09-25 Thread Hung Dang
Nikos Chantziaras wrote:
 On 09/25/2009 03:22 AM, Hung Dang wrote:
 walt wrote:
 On 09/24/2009 02:06 PM, Hung Dang wrote:
 Hi all,

 I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do
 you
 know which package  net/if_dl.h and net80211/ieee80211_ioctl.h are
 belong to?

 if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
 if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
 directory

 I'm sorry but I don't know.  I see that the ebuild mentions the
 KEYWORDS
 ~sparc-fbsd and ~x86-fbsd.  Are you using one of those platforms?

 Hi Walt,
 This is a AMD64 system. The interesting thing is I have another system
 which has similar USE flags and it does not have those header files ,
 however, I can compile this version of dhcpcd without any problem.

 If this is an AMD64 system, then something has gone totally haywire;
 the errors you posted indicate that dhcpcd thinks it's being compiled
 on BSD.  if-bsd.c is a source file that does not get compiled on
 Linux; if-linux.c does.

 Can you post your emerge --info?  Maybe someone can spot something
 wrong in it.


Walt: Thanks a lot for your quick reply.
Please find the output of emerge --info in the attached file. Again, my
system only has problem with dhcpcd 5.1.* and it can compile dhcpcd
5.0.6 without any problem.

Thanks
Hung
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, 
glibc-2.10.1-r0, 2.6.31-gentoo-hhserver x86_64)
=
System uname: 
linux-2.6.31-gentoo-hhserver-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Sep 2009 16:30:01 +
app-shells/bash: 4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r2, 3.1.1-r1
dev-util/cmake:  2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r3
sys-apps/sandbox:2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1, 2.19.51.0.14
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS=amd64 ~amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash 
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d 
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-march=core2 -msse4 -mcx16 -msahf -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks fixpackages metadata-transfer parallel-fetch protect-owned 
sandbox sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=http://gentoo.osuosl.org/ 
LDFLAGS=-Wl,--as-needed
LINGUAS=en en_US
MAKEOPTS=-j7 -s
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X a52 aac accessibility acl acpi alsa amd64 apache2 aspell bash-completion 
bluetooth boost branding bzip2 cairo cdr cg cli compat consolekit cracklib 
crypt cups dbus djvu dri dts dvd dvdr eds emboss encode esd evo fam fbcondecor 
fbsplash ffmpeg fftw flac fltk fortran gcj gd gdbm gfortran gif gnuplot gpm 
gstreamer gtk hal hddtemp hdf5 iconv imagemagick ipv6 isdnlog java java6 jpeg 
jpeg2k kde kerberos kpathsea lapack laptop latex lcms ldap libnotify lm_sensors 
lua lyx mad math mikmod mmx mmxext mng modules mp3 mp4 mpeg msn mudflap 
multilib multislot mysql ncurses netcdf nls npp nptl nptlonly nsplugin nvidia 
ocaml ogg opengl openmp pam patented pcre pdf perl php plotutil png ppds pppd 
python qt3support qt4 quicktime rdesktop readline reflection samba sdl server 
session spell spl sql sse sse2 ssl ssse3 startup-notification svg swat symlink 
sysfs tcl tcpd threads thunar thunderbird tidy tiff tk truetype unicode usb v4l 
v4l2 vhosts vnc vorbis webkit winbind wma wxwidgets wxwindows x264 xcomposite 
xml xorg xulrunner xv xvid xvmc yahoo zeroconf zlib ALSA_CARDS=ali5451 
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx 
via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop 
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 
mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions 
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host

[gentoo-user] dhcpcd-5.1.1 compiling error

2009-09-24 Thread Hung Dang
Hi all,

I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
know which package  net/if_dl.h and net80211/ieee80211_ioctl.h are
belong to?

if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or directory

Thanks a lot
Hung




Re: [gentoo-user] Re: dhcpcd-5.1.1 compiling error

2009-09-24 Thread Hung Dang
Hi Walt,
This is a AMD64 system. The interesting thing is I have another system
which has similar USE flags and it does not have those header files ,
however, I can compile this version of dhcpcd without any problem.

Thanks
Hung

walt wrote:
 On 09/24/2009 02:06 PM, Hung Dang wrote:
 Hi all,

 I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
 know which package  net/if_dl.h and net80211/ieee80211_ioctl.h are
 belong to?

 if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
 if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
 directory

 I'm sorry but I don't know.  I see that the ebuild mentions the KEYWORDS
 ~sparc-fbsd and ~x86-fbsd.  Are you using one of those platforms?






[gentoo-user] Server standby

2009-09-15 Thread Hung Dang
Hi all,
I try to set up my server such that it can go to standby state if it has
not been used for a while and can be wake up when there are some events
such as that come keyboard, mouse, or it is great if it can wake up from
LAN request. I try to google for a while and have not found any useful
information.
Any suggestion?

Thanks a lot
Hung



[gentoo-user] Thunderbird 2.0.0.23

2009-09-10 Thread Hung Dang
Hi all,
Thunderbird 2.0.0.23 is hang when I try to sent an email using IMAP
protocol even though it works  fine before. However, everything is OK
when I start Thunderbird with command thunderbird -safe-mode from
console.

Any idea?

Thanks a lot
Hung




Re: [gentoo-user] dmesg output

2009-09-04 Thread Hung Dang
Paul Hartman wrote:
 On Mon, Aug 17, 2009 at 11:54 AM, Hung Danghungp...@gmail.com wrote:
   
 Hi all,
 After I upgrade to the later version of xorg-server, dmesg output is
 full of debugging input event messages. It is inconvenient when I want
 to see what is going on with my computer. Below is the sample of
 debugging message obtained from dmesg command

 evbug.c: Event. Dev: input3, Type: 4, Code: 4, Value: 458795
 evbug.c: Event. Dev: input3, Type: 1, Code: 15, Value: 0
 evbug.c: Event. Dev: input3, Type: 0, Code: 0, Value: 0

 What should I do to get rid off these messages in dmesg output?
 

 I think of 3 things to try:

 1) fix the problem with the device that is causing the errors
 2) rmmod the evbug module
 3) blackist the evbug module

   
Hi Paul,
Sorry for my late reply. I was busy with other thing. Finally, I can
solve this problem by disabling the option  Event debugging in
the kernel configuration.

Thanks
Hung



Re: [gentoo-user] KDE4: Constant crashes in conjunction with Konsole

2009-08-20 Thread Hung Dang

Frank Steinmetzger wrote:

Hi guys,

until now I've been quite a KDE4 hater, but I'm willing to give it a try from 
time to time. So I installed 4.3 parallel to my beloved 3.5.10 and was quite 
pleased with it. However, I have repeating crashes of my entire X. Mostly it 
happens when I open Konsole, the next often occasion is opening a menu (main 
menu, context menu, you name it), but also only after a Konsole windows was 
opened. All I see is a quick error message about glibc, then X restarts and 
I'm back at kdm.


I use a laptop with a Geforce 7600 GPU, running on nvidia-drivers-180.60.
First I had 4.3.0 installed from main portage tree, but I had a faint
hope they would have fixed it by now, so I installed the live slot from
kde-testing. I already had this issue with older version.

Could anyone shed some light on this, please? One thing I can think of is to
disable 3D effects, but they're working quite well and it's the same with 
*cough* Vista - they are the main reason for switching over from a previous

version.

TIA
  
I had a similar problem on my laptop last time but I do not remember if 
it is a glibc problem or not. And my problem had gone after I rebuild 
the whole system using emerge -aeNv world.


Hung



[gentoo-user] dmesg output

2009-08-17 Thread Hung Dang
Hi all,
After I upgrade to the later version of xorg-server, dmesg output is
full of debugging input event messages. It is inconvenient when I want
to see what is going on with my computer. Below is the sample of
debugging message obtained from dmesg command

evbug.c: Event. Dev: input3, Type: 4, Code: 4, Value: 458795
evbug.c: Event. Dev: input3, Type: 1, Code: 15, Value: 0
evbug.c: Event. Dev: input3, Type: 0, Code: 0, Value: 0

What should I do to get rid off these messages in dmesg output?

Thanks a lot
Hung



Re: [gentoo-user] KDM problem - SOLVED

2009-07-21 Thread Hung Dang
Volker Armin Hemmann wrote:
 On Dienstag 21 Juli 2009, Hung Dang wrote:
   
 Hi all,
 For some reason I could not start kde4 on my laptop. Everything is fine
 and when I try to log into my account using the kdm log in window it
 will log in for a second then get back to kdm window. Here is the
 content of ~/.xsession-errors

 Warning: Cannot convert string 12x24 to type FontStruct
 Warning: Cannot convert string nil2 to type FontStruct
 X connection to :0.0 broken (explicit kill or server shutdown).
 X connection to :0.0 broken (explicit kill or server shutdown).

 Does anyone know what is going on with my kde4 session? I have installed
 KDE-4.2.4 and Xorg-server 1.6.2-r1 on my laptop.

 Thanks
 Hung
 

 ok, there is nothing in Xorg.0.log and your xorg.conf is ok too.

 You can either check kdm.log now - or start checking permissions for /tmp 
 /var/tmp and the kde related directories in /usr/share.



   
Hi Volker,
I rebuild kde-meta package and find out that I have not add consolekit
to default boot level. After I have done that everything is fine.

Thanks
Hung




Re: [gentoo-user] OT - mozilla-thunderbird; how do I get rid of pgp?

2009-07-20 Thread Hung Dang
Michael Sullivan wrote:
 My wife uses thunderbird as her email client.  Every time she tries to
 send an email, she is asked to input a passphrase to encrypt the mail.
 Because of this, she rarely sends email.  I wish to get rid of it.  I
 tried unchecking the Use OpenPGP box and clicking okay, but it still
 asks for the passphrase.  I remerged the package with -crypt, but it's
 still asking for that stupid passphrase.  Here's the emerge info:

 catherine mom # emerge -pv mozilla-thunderbird

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] mail-client/mozilla-thunderbird-2.0.0.22  USE=ipv6
 replytolist -bindist -crypt -debug -gnome -ldap -mozdom -moznopango
 -xinerama LINGUAS=en es fr -af -be -bg -ca -cs -da -de -el -en_GB
 -en_US -es_AR -es_ES -eu -fi -ga -ga_IE -he -hu -it -ja -ko -lt -mk -nb
 -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ru -sk -sl -sv
 -sv_SE -tr -uk -zh -zh_CN -zh_TW 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB


 How do I get it to send mail without the passphrase???
 -Michael Sullivan-


   

Have you  disabled paraphrase asking in OpenPGP-Preferences?

Hung



[gentoo-user] KDM problem

2009-07-20 Thread Hung Dang
Hi all,
For some reason I could not start kde4 on my laptop. Everything is fine
and when I try to log into my account using the kdm log in window it
will log in for a second then get back to kdm window. Here is the
content of ~/.xsession-errors

Warning: Cannot convert string 12x24 to type FontStruct
Warning: Cannot convert string nil2 to type FontStruct
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).

Does anyone know what is going on with my kde4 session? I have installed
KDE-4.2.4 and Xorg-server 1.6.2-r1 on my laptop.

Thanks
Hung




Re: [gentoo-user] plainTeX instead of LaTeX

2009-06-28 Thread Hung Dang
meino.cra...@gmx.de wrote:
 Hi,

 after removing tetex and installing texlive-2008 by following
 his guide
 http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
 I run into a mysterious problem:
 All my *.tex-files are handled as they would be written in 
 LaTeX. But they are good old plainTeX.

 Where can I change thsi behaviour and what did I wrong in
 migrating from tetex?

 Thank you very much for your help in advance!
 Have a nice weekend!
 Kind regards,
 Meino Cramer




   
I have moved from Tetex to Texlive without any problem. What kind of
problem do you have?

Regards,
Hung



Re: [gentoo-user] LVM HDD problem

2009-06-26 Thread Hung Dang
Mike Kazantsev wrote:
 On Thu, 25 Jun 2009 18:01:04 -0600
 Hung Dang hungp...@gmail.com wrote:

   
 Hi all,
 We have some hard drives on our server and one of them seem to have
 problem. I wonder how can I check and fix the error from a specific hard
 drive?
 

 Try using smartctl (sys-apps/smartmontools), it can usually show at
 once that there's something wrong with the drive (-H flag). And if it
 doesn't, you can use it to perform SMART-tests (-t flag) to make sure
 that drive is ok.

   

Hi Mike,
Thanks a lot for your suggestion. I use smartctl to check hard drives
now and it is very handy.

Hung



[gentoo-user] LVM HDD problem

2009-06-25 Thread Hung Dang
Hi all,
We have some hard drives on our server and one of them seem to have
problem. I wonder how can I check and fix the error from a specific hard
drive?

Thanks a lot
Hung



Re: [gentoo-user] Question about xorg and a kill process

2009-05-27 Thread Hung Dang
I often use Ctrl+F1 to F6 to back to the command line and if your X is 
fine you can back the X screen using Ctrl+F7. Or if you want to kill 
your X then Ctrl+Alt+Backspace may be helpful.


Hung


Dale wrote:

I know the subject is a bit lacking but here goes.  I'm thinking about
trying this xorg-server upgrade again.  I been thinking about a way to
do this and not have to pull the plug on my rig if it fails, which I bet
it does.  This is the command I am thinking about trying. 


/etc/init.d/xdm start  sleep 5m  /etc/init.d/xdm stop

I'm thinking this way.  Start X first.  If it fails, it will stop in 5
minutes and come back to a console.  Think this will work?  If xorg
works, I can switch back to a console and ctrl C the command and carry on.

Thoughts?  Better ideas?

Dale

:-)  :-) 

  





Re: [gentoo-user] Re: emerge --oneshot gcc-4.1.2

2009-05-03 Thread Hung Dang
I need gcc-4.1.2 because CUDA examples are failed when compiled with 
gcc-4.3.3 or at least I could not make it work with CUDA.
Now I have the new problem that I could not compile gcc-4.1.2 with 
gcc-4.3.3 and it seem hard to solve this problem.


Does anyone here in our forum could make CUDA work on Gentoo with gcc-4.3?

Thanks a lot
Hung


Jorge Morais wrote:

On Sat, 02 May 2009 20:34:02 +0300
Nikos Chantziaras rea...@arcor.de wrote:

  

Hung Dang wrote:


Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the 
following message.


!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?
  

Try:

   emerge --oneshot =gcc-4.1.2

(that is, you need an = in front.)

Or simply just:

   emerge --oneshot gcc

if you're not using an ~arch (testing) GCC.



In many architectures GCC 4.3 is the newest stable versions, dude.

  





[gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Hung Dang

Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the 
following message.


!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?

Thanks a lot
Hung



Re: [gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Hung Dang

Thanks all of you for the quick help. Thing seem to be OK now

Have a nice weekend
Hung

Xavier Parizet wrote:

Hung Dang a écrit :
  

Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the
following message.

!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?



emerge --oneshot =sys-devel/gcc-4.1.2
Check man 5 ebuild to have more information about package atom syntax :)

HTH

  

Thanks a lot
Hung





  





[gentoo-user] gnome-base/gnome-keyring-2.24.1 failed

2009-04-19 Thread Hung Dang

Hi all
I can not build gnome-base/gnome-keyring  because it could not find 
libtasn1-config script.

Any suggestion?

Thanks
Hung


Error message:
..
checking LIBGCRYPT API version... 
okay 

checking for libtasn1-config... 
no 

checking for libtasn1 - version = 0.3.4... 
no 

*** The libtasn1-config script installed by LIBTASN1 could not be 
found

*** If LIBTASN1 was installed in PREFIX, make sure PREFIX/bin is 
in

*** your path, or set the LIBTASN1_CONFIG environment variable to 
the  

*** full path to 
libtasn1-config.  

configure: 
error:  


***
*** LibtASN1 0.3.4 was not found.




[gentoo-user] LVM2 problem

2009-04-04 Thread Hung Dang
Hi all
I have a strange problem with LVM2. I follow this guide
http://www.gentoo.org/doc/en/lvm2.xml to create the LVM2 volume named vg
then create the logical volume /dev/vg/data. Everything went fine and I
can mount the volume /dev/vg/data to /mnt/data without any problem.
However, when I restart my computer the logical volume is disappeared.
I  can always replicate this problem by create a new LVM group then
restart my computer.

Any suggestion ?


Thanks
Hung

Here is the configuration for Device mapper support and I use kernel 2.6.29

--- Multiple devices driver support (RAID and
LVM)
  RAID
support 
  

  *   Device mapper
support 
  

  [*] Device mapper debugging
support 

Crypt target
support 
  

Snapshot
target  
 

Mirror
target  


Zero
target  


Multipath
target  

I/O delaying target (EXPERIMENTAL)
   [ ] DM uevents
(EXPERIMENTAL)  
   

Bad Block Relocation Device Target (EXPERIMENTAL) 



Re: [gentoo-user] LVM2 problem

2009-04-04 Thread Hung Dang
Hi Alan,
Thanks a lot for a quick reply. It turn out that I need to activate LVM
at the boot time using rc-update.

Hung

Alan McKinnon wrote:
 On Saturday 04 April 2009 08:36:08 Hung Dang wrote:
   
 Hi all
 I have a strange problem with LVM2. I follow this guide
 http://www.gentoo.org/doc/en/lvm2.xml to create the LVM2 volume named vg
 then create the logical volume /dev/vg/data. Everything went fine and I
 can mount the volume /dev/vg/data to /mnt/data without any problem.
 However, when I restart my computer the logical volume is disappeared.
 I  can always replicate this problem by create a new LVM group then
 restart my computer.
 

 Most likely is that the commands necessary to activate the LVM at boot time 
 are not being run. Test this theory by running as root:

 vgchange -a y
 and mount the device.

 If it then works, check the usual things, like /etc/init.d/lvm is in your 
 boot 
 runlevel

 Also check dmesg for obvious errors.

   




Re: [gentoo-user] gentoo-sources-2.6.29 won't recognize my IDE chipset, at all.

2009-04-01 Thread Hung Dang
Dale wrote:
 Helmut Jarausch wrote:
   
 On  1 Apr, Dale wrote:
   
 
 Hi,

 I been trying to upgrade my kernel and I seem to have ran into a huge
 mountain.  I finally got it to compile but when I try to boot it doesn't
 recognize my IDE chipset at all.  It only sees my CD and DVD but nothing
 else.

 Here is some info:  From lspci:

 00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)

 From the config screen of the kernel:

 *   AMD and nVidia IDE support

 And that is the correct driver for my chipset.  I been using that driver
 for several years now.

 Is this kernel hopeless?

 
   
 Have you changed the hardware?

 In that case, try to

 rm /etc/udev/rules.d/70-persistent*

 and boot again.

 Helmut.

   
 

 No hardware change at all.  To broke to do any of that right now.  I am
 currently starting a new kernel from scratch.  I ran make mrproper and
 all his friends and started from scratch.  I'm hoping that I am just
 missing something in oldconfig.

 Thanks.

 Dale

 :-)  :-) 

   
Could you check if the of your hard drives are changed from /dev/hd* to
/dev/sd*. If that is the case you may need  to update your /etc/fstab
and may be the boot loader.

Hung



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-19 Thread Hung Dang

Jarry wrote:

Hung Dang wrote:

Justin wrote:

  │ - Device Drivers
  │   - Network device support (NETDEVICES [=y])
  │ - Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
  │   - nForce Ethernet support (FORCEDETH [=n])
  

To have nForce support you need to select:
[*]   Ethernet (10 or 100Mbit)  ---
   [*]   EISA, VLB, PCI and on board controllers
  *   nForce Ethernet support


Yep, this works, thank you! I did not search for this driver
in 10/100mbit, because manual says it is 1gbit. Does it mean
this net-adapter is working only as 100mbit in linux? Anyway
it does not matter. My internet connection is not that fast...

Just one more surprise:
During installation before chrooting I copied resolv.conf
to new system, as advised in handbook (chapter 6.a. Chrooting).
But after I first booted freshly installed system, I found out
that /etc/resolv.conf is empty, just saying something like:

# Generated by net-scripts for interface eth0
domain mydomain

Nothing else. So I edited this file, included nameservers, and
again, after booting it is empty. I went through handbook once
again, carefully checked chapter 8.b. Networking information,
but there is no info about this strange feature.
Did I do something wrong during installation???

Jarry

Jarry: You got the empty /etc/resolve.conf because dhcpcd overwrite this 
file whenever your computer start, to avoid this you only need to set up 
/etc/conf.d/net (for example config_eth0=( dhcp ) ) as suggestion in 
the Gentoo handbook.


Hung



Re: [gentoo-user] nForce4 eth driver not working...

2009-03-18 Thread Hung Dang

Justin wrote:

Jarry wrote:
  

Justin wrote:



CONFIG_FORCEDETH
and it is a standard driver.
  

I searched my .config file, and there is nothing like that.
I'm using gentoo-sources 2.6.27-r8...




$ make menuconfig
type /
type FORCEDETH


Location:
│
  │ - Device Drivers
  │
  │   - Network device support (NETDEVICES [=y])
  │
  │ - Ethernet (10 or 100Mbit) (NET_ETHERNET [=n])
  │
  │   - nForce Ethernet support (FORCEDETH [=n])

  

To have nForce support you need to select:

[*]   Ethernet (10 or 100Mbit)  ---
   [*]   EISA, VLB, PCI and on board controllers
  *   nForce Ethernet support

Hung
  



Re: [gentoo-user] rsync + tar + bz2 ?

2009-03-09 Thread Hung Dang

Dirk Heinrichs wrote:

Am Samstag, 7. März 2009 17:04:17 schrieb Grant:
  

I'm backing up numerous large files on another machine on my local
network.  I've only been using rsync, but it occured to me that I
might be able to save some time and space if I incorporate tar and
bzip2.  How will rsync interact with those?  If I turn the whole
backup into a big tar.bz2, would rsync need to redownload the whole
thing if I change one file?  If so, maybe I should turn different
groups of files into tar.bz2 archives so rsync only needs to
redownload an archive if one of its files has changed?



Another way, although a bit more work to setup, whould be to use a Network 
block device. Unlike NFS, the server just exports the block device, 
everything else (mkfs, encryption) can be done on the client.


Bye...

Dirk
  

rsync will download only if source and destination files are different.
From my experiences using rar is faster and save more space  than bz2.

Hung



Re: [gentoo-user] backup program recommendations?

2009-03-05 Thread Hung Dang

James Wall wrote:

Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW drive
to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall

  

You can try k3b

Hung



Re: [gentoo-user] Re: backup program recommendations?

2009-03-05 Thread Hung Dang

Nikos Chantziaras wrote:

Hung Dang wrote:

James Wall wrote:

Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW 
drive

to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall

  

You can try k3b


Well, that's not a backup app.  But anyway, I don't use a backup app 
either.  I just tar.lzma the whole thing and burn it :P




My bad :( I thought it is the program to write to DVD.
I am not sure what you want. In my case, I combine a bash script to 
compress, rsync ... with cron to do the back up weekly. It seem to be 
quite convenient.


If you have big files using rar is faster and save more space than tar.

Hung




Re: [gentoo-user] perfect IDE

2009-02-17 Thread Hung Dang
Andrei Hanganu wrote:
 helo group,

 i've been trying the past 2-3 years to find the most usable and nice ide
 for c/c++ code writing. I've been through vim/vim + plugins/emacs +
 different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every
 single one of them has at least one drawback.

 In short words, i am looking for an ide that can do this:
 - syntax highlighting
 - autocomplete (on the fly, not on demand, and maybe smart? - identify
 structures/classes )
 - concurrent editing of multiple files (splitting)
 - tabs or buffer list
 - file browser
 - project manager
 - symbol list/browser current editing buffer
 - regex search/replace
 - flexible build options that include scons, not just makefile
 - code folding (with detection of blocks)
 - lightweight/ergonomic interface (i dislike space being occupied by the
 bar that displays the line numbers, with a padding of 10px for example)

 i don't desire gdb or valgrind integration, but would be a +

 does anyone know the answer to this ultimate question? I keep comparing
 different editors with the microsoft's visual studio, that is not by far
 as powerful as emacs but it just plain and simple does the job. They
 will reach a milestone when the brackets matching will actually work,
 but despite small inconveniences, i find it to be very close to what i
 am looking for.
 kdevelop also seemed very close to what i wanted, but somehow the fonts
 or the dpi make it very crowded, i get very little space for the code.
 On the other hand netbeans is a good example of how the interface should
 be arranged, but java driven ide tends to stop being able to respond in
  tolerable time.

 i am on the edge of despair, and i am willing to try even a commercial
 solution.
 Anyone had some very positive experience with a specific ide?

 thanks,
 Andrei

   
I have a similar question long time ago. Finally, I found that Eclipse
with extension for C/C++ is a reasonable solution.

Hung



Re: [gentoo-user] vncviewer Recommendation

2009-02-09 Thread Hung Dang
Drew Tomlinson wrote:
 David Negreira wrote:
   
 Drew Tomlinson wrote:
   
 
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

 Thanks,

 Drew

   
 
   
 Hi,

 You could use grdesktop that has all that features.
   
 

 Thank you for your reply.  However grdesktop appears to be only for
 connecting to Windows Remote Desktop and NOT VNC.  Am I missing
 something?  I need to connect to VNC servers.

 Thanks,

 Drew


   
You can adjust your bandwidth in vncviewer using option -compresslevel
and -quality.

Hung



[gentoo-user] Time keeper app for KDE 4.2

2009-02-08 Thread Hung Dang

Hi all
I know that there is an option in GNOME which allows the computer 
keyboard, mouse and screen to freeze for a certain time for example 3 
minutes for each hour. I wonder if there is something similar in KDE?


Thanks
Hung



Re: [gentoo-user] Re: DVD RW (recommendations

2009-02-03 Thread Hung Dang
Nikos Chantziaras wrote:
 James wrote:
 Hello
 SATA or Eide on DVD rw choices (internal unit).

 Any cheap DVD rw that have success writing to
 the many forms of rw DVDS, that one
 would recommend?

 Any bands (plextor?) to avoid on gentoo?

 Instead of recommending what I have, I'll recommend what disc burning
 lunatics recommend (the folks from cdfreaks.com for example): The LG
 LS GH20LS15 is an excellent burner with very good write quality (read:
 your discs will live longer).  It's a CD/DVD+R/DVD-R/Dual Layer combo
 burner.  It's also very cheap (16 bucks here; that is Euros).  It's a
 SATA drive.

 If you can't find the exact model, any LG model with GH20 in the
 name will do.  Make sure NOT to get a GH22 model (like GH22LS30). 
 Those have poor write quality due to a different chipset that doesn't
 perform well.


Check this link to find out which DVD-RW is suit for you:
http://www.newegg.com/Product/ProductList.aspx?Submit=ENEN=201015%201036506653name=DVD%20Burner
I use this DVD burner
(http://www.newegg.com/Product/Product.aspx?Item=N82E16827129023) in an
external box and have no complain about it.



[gentoo-user] KDE 4.2 blocked packages

2009-01-30 Thread Hung Dang
Hi all,
I am trying to emerge KDE 4.2 and receive the following message:

.
[ebuild U ] kde-base/kmail-4.2.0-r1 [4.2.0] USE=kdeprefix kontact
semantic-desktop -debug -htmlhandbook 0 kB
[ebuild  NS   ] kde-base/step-4.1.4 [4.2.0] USE=gsl kdeprefix
qalculate 0 kB
[blocks B ] kde-base/phonon-xine (kde-base/phonon-xine is blocking
media-sound/phonon-4.3.0)

Total: 215 packages (1 upgrade, 8 new, 206 in new slots), Size of
downloads: 0 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'media-sound/phonon-4.3.0', 'nomerge') pulled in by
media-sound/phonon required by ('ebuild', '/',
'kde-base/knotify-4.1.4', 'merge')
media-sound/phonon required by ('ebuild', '/',
'kde-base/kttsd-4.1.4', 'merge')
media-sound/phonon-4.1.0 required by ('ebuild', '/',
'kde-base/libtaskmanager-4.1.4', 'merge')
(and 9 more)

  ('ebuild', '/', 'kde-base/phonon-xine-4.1.4', 'merge') pulled in by
=kde-base/phonon-xine-4.1.4:4.1 required by ('ebuild', '/',
'kde-base/kdebase-meta-4.1.4', 'merge')
kde-base/phonon-xine:4.1[xcb] required by ('ebuild', '/',
'kde-base/dragonplayer-4.1.4', 'merge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

I have remove pulled packages but there is still no luck. Any idea ?

Hung



Re: [gentoo-user] KDE 4.2 blocked packages

2009-01-30 Thread Hung Dang
Paul Hartman wrote:
 On Fri, Jan 30, 2009 at 10:52 AM, Hung Dang hungp...@gmail.com wrote:
   
 Hi all,
 I am trying to emerge KDE 4.2 and receive the following message:

 .
 [ebuild U ] kde-base/kmail-4.2.0-r1 [4.2.0] USE=kdeprefix kontact
 semantic-desktop -debug -htmlhandbook 0 kB
 [ebuild  NS   ] kde-base/step-4.1.4 [4.2.0] USE=gsl kdeprefix
 qalculate 0 kB
 [blocks B ] kde-base/phonon-xine (kde-base/phonon-xine is blocking
 media-sound/phonon-4.3.0)

 Total: 215 packages (1 upgrade, 8 new, 206 in new slots), Size of
 downloads: 0 kB
 Conflict: 1 block (1 unsatisfied)

  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.

  ('installed', '/', 'media-sound/phonon-4.3.0', 'nomerge') pulled in by
media-sound/phonon required by ('ebuild', '/',
 'kde-base/knotify-4.1.4', 'merge')
media-sound/phonon required by ('ebuild', '/',
 'kde-base/kttsd-4.1.4', 'merge')
media-sound/phonon-4.1.0 required by ('ebuild', '/',
 'kde-base/libtaskmanager-4.1.4', 'merge')
(and 9 more)

  ('ebuild', '/', 'kde-base/phonon-xine-4.1.4', 'merge') pulled in by
=kde-base/phonon-xine-4.1.4:4.1 required by ('ebuild', '/',
 'kde-base/kdebase-meta-4.1.4', 'merge')
kde-base/phonon-xine:4.1[xcb] required by ('ebuild', '/',
 'kde-base/dragonplayer-4.1.4', 'merge')


 For more information about Blocked Packages, please refer to the following
 section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

 I have remove pulled packages but there is still no luck. Any idea ?

 Hung


 

 Try to unmerge KDE 4.1 first. It looks like you've still got some of
 it in your system (my 4.2 doesn't use phonon-xine).

   
Hi Paul,
I have unmerge KDE-4.1 using command:  emerge -C $(qfile -C -q -e
/usr/kde/4.1) and there is no KDE-4.1 packages.
And I still get the same problem.


Thanks
Hung



[gentoo-user] Share hard drive for multiple users

2009-01-20 Thread Hung Dang
Hi all,
I need to mount a new hard drive formatted in ext3 to /mnt/C such that
multiple users can use it.
However, all users can only read the data from the share drive
Any suggestion?

Below is my fstab  configuration:
/dev/sda1   /mnt/C   ext3  rw,auto,noatime,defaults 0 1

Thanks
Hung



Re: [gentoo-user] Share hard drive for multiple users - SOLVED

2009-01-20 Thread Hung Dang
Thanks all of you for quick replies.

I follow Dirk's suggestion and all users can be able to use  the share
hard drive now.

Have a good day
Hung

Dirk Heinrichs wrote:
 Am Dienstag, 20. Januar 2009 18:16:47 schrieb Hung Dang:
   
 Hi all,
 I need to mount a new hard drive formatted in ext3 to /mnt/C such that
 multiple users can use it.
 However, all users can only read the data from the share drive
 Any suggestion?

 Below is my fstab  configuration:
 /dev/sda1   /mnt/C   ext3  rw,auto,noatime,defaults 0 1
 

 Put all users which should use the new drive into one group and after 
 mounting 
 it, do

 chgrp thegroup /mnt/C
 chmod g+ws /mnt/C

 HTH...

   Dirk 
   




Re: [gentoo-user] Re: Problem with resolv.conf

2009-01-08 Thread Hung Dang
»Q« wrote:
 In 49657ecd.7060...@gmail.com,
 Hung Dang hungp...@gmail.com wrote:

   
 References:
 58965d8a0901071528u464c7aa7w8cd5bcfab7530...@mail.gmail.com
 496544cc.5050...@xs4all.nl 49656893.2040...@podgeweb.com
 

   
 Hi all,
 I have a strange problem that the resolv.conf  file  is reset to the
 default file every time I reboot my computer.
 Does anyone has similar problem before?
 

 I think you're question's been answered.  But in the future, please
 don't post new issues by replying to existing threads and changing the
 Subject header -- just make a new post.

   
Thanks all of you for the help. I found out that I have two internet
connections but only have the dhcp config for eth0 in /etc/conf.d/net.
When I add the
config for eth1 everything went fine :).

Thanks a lot and Happy New Year :)

Hung



[gentoo-user] Problem with resolv.conf

2009-01-07 Thread Hung Dang
Hi all,
I have a strange problem that the resolv.conf  file  is reset to the
default file every time I reboot my computer.
Does anyone has similar problem before?

Thanks,
Hung



Re: [gentoo-user] Problem with resolv.conf

2009-01-07 Thread Hung Dang
Eric Martin wrote:
 Hung Dang wrote:
 Hi all,
 I have a strange problem that the resolv.conf  file  is reset to the
 default file every time I reboot my computer.
 Does anyone has similar problem before?

 Thanks,
 Hung

   
 dhcpcd does this.  Are you running dhcp on the machine?
 # Generated by dhcpcd
 # /etc/resolv.conf.head can replace this line

Eric: Thanks for a quick reply.

You are correct. Every time I reboot my machine dhcpcd override
resolv.conf file. I only use dhcpcd in my system and below is the
content of the new resolv.conf

# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line


I guest the head and tail of the resolv.conf can be replace by
/etc/resolv.conf.head and /etc/resolv.conf.tail files.
My question is I have several Gentoo machines, how ever this problem
only happen with the new one. Do you have any suggestion for my problem?

Thanks
Hung





Re: [gentoo-user] Re: kernel config hell

2008-12-27 Thread Hung Dang
I would suggest to follow the Gentoo handbook first.
Leave all options you are not sure as default, using lspci to find out
more about your hardware specifications.
From my experiences I will make sure that the kernel is bootable first
then adapt it to hardware later. Use modules or not is your choice, both
ways work fine.

If you want to make sure that thing is stable, you can back up your old
config later then have a bunch of test kernels to test. The help from
kernel config interface does help you to get a general idea about what
is the purpose of the option.

Not everyone can get the kernel work for the first try, do not panic.
Once you get through the first time, thing will go more smoothly than
you thought. It happened to me one year before but now it take me about
less than 10 minutes to have the new kernel configured in my computer.

Good luck,