[gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
I have an optical out on my on-board Intel Hi Def audio controller
(also an Intel motherboard) and wanted to route the optical output to
my receiver, so I could play internet radio on my home audio system.
I got everything plugged in, but the receiver didn't pick up any
signal (I made sure all the right settings are selected on the
receiver).

So my question...  Is optical output supported in ALSA and the driver
for Intel High Definition audio controller?  Do I have to compile with
any specific flags to get it working?



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
> Also, the digital output may show up as a different playback device in
> ALSA, so you may need to specify this in whatever program you're using

Thanks, Paul, I will check that out.  I am mostly interested in
streaming audio from browser, stuff like Pandora radio and what have
you.  Otherwise, I use Audacious when I'm not streaming.



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
I also had:

 aplay -l

 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I basically emerged alsa-plugins and went through alsaconfig document
again, followed by mixer settings to make certain all channels are
unmuted.  I looked at the sound card ports, and the optical was lit up
red, so I connected it to the receiver, and it works now!

Thanks :-)



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
On Tue, Apr 27, 2010 at 6:58 PM, Paul Hartman
 wrote:
>
> Great! Glad you got it going. I've never tried the digital port.

It's pretty cool!  I never thought I'd use it until I got a receiver
that got optical in, and it's a nice solution for routing internet and
computer music to home stereo - sounds really good, actually :-)

Looks like Gentoo has it together for making use of the digital port
without having to doctor any config files or module loading options
for Intel HDA, other than emerging alsa-plugins and making sure
alsamixer has all the relevant ports unmuted.



[gentoo-user] audacious 2.1.0 - CD Play plugin excruciatingly slow

2009-09-19 Thread Denis
Fellow Penguins,

I must say I'm not exactly crazy about Audacious version 2 upgrade...
My gripes are about the CD Audio plugin only, but this is what I use
all the time, so it is somewhat of a nuisance.

1) The CD Audio plugin (cdda flag) takes a very long time to load and
would hang Audacious for something like 30 seconds before it finally
opens.

2) I have a problem unloading a CD from the playlist and then loading
a new CD.  Basically, the tracks and timing information from the
previous CD would remain and get re-loaded when I add a new CD, which
has completely different tracks and timing...

3) If you use the Play CD option, it's more consistent in clearing the
previous CD information and loading new one, but then I can't
intermingle it with the play list I already have made up, as that
makes a new playlist.

4) If you use the Add CD option, you can use that in your existing
play list, but the CD info just will not refresh when I want to unload
the CD and load in a new one!

Anyone experience these similar problems?  I don't remember
experiencing any of these problems with Audacious version 1 - that is
very robust, and I am thinking about downgrading to it.

Any way of fixing this, or is downgrading the only option?

Thanks,
Denis

P.S. System completely up to date with all latest portage updates,
running kernel 2.6.27-gentoo-r8, alsa-plugins-1.0.20,
alsa-utils-1.0.20-r5, alsa-lib-1.0.20-r1, audacious-2.1,
audacious-plugins-2.1-r1.



[gentoo-user] gimp-2.6.4 fails with libxcb 1.4

2009-10-06 Thread Denis
Hello everyone,

I just upgraded to libxcb 1.4, and the only side effect so far is that
I cannot get gimp to compile.

The build log clearly points to the broken libxcb dependency, although
I followed the Upgrade Guide:

--
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc
-O2 -march=prescott$
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -Wall
-Wdeclaration-after-statement -Wm$
creating file-pcx
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc
-I/usr/include/libpn$
i686-pc-linux-gnu-gcc -pthread -I/usr/include/poppler/glib
-I/usr/include/poppler -I/us$
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
make[3]: *** [file-pdf] Error 1
make[3]: *** Waiting for unfinished jobs
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -Wall
-Wdeclaration-after-statement -Wm$
creating file-pix
i686-pc-linux-gnu-gcc -I/usr/include/libpng12 -O2 -march=prescott
-pipe -Wall -Wdeclara$
creating file-png
make[3]: Leaving directory
`/var/tmp/portage/media-gfx/gimp-2.6.4/work/gimp-2.6.4/plug-$
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-gfx/gimp-2.6.4/work/gimp-2.6.4/plug-$
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-gfx/gimp-2.6.4/work/gimp-2.6.4'
make: *** [all] Error 2
 * ERROR: media-gfx/gimp-2.6.4 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 3352:  Called gnome2_src_compile
 * environment, line 2196:  Called die
 * The specific snippet of code:
 *   emake || die "compile failure"
 *  The die message:
 *   compile failure
--

Is there some way to get around this?

If this may help, my emerge --info:

--

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2,
glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686)
=
System uname: 
linux-2.6.27-gentoo-r8-i686-intel-r-_core-tm-2_cpu_66...@_2.40ghz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 07 Oct 2009 02:45:01 +
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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 aac acl aim alsa ao bash-completion bdf berkdb branding bzip2
cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups
djvu emacs encode exif firefox flac foomaticdb fortran gdbm gif glut
gpm graphics gs gtk iconv ieee1394 imagemagick imlib ipv6 java
javascript jbig jpeg jpeg2k kpathsea lame latex ldap libnotify libwww
lm_sensors mad mmx mmxext mng modules motif mp3 mpeg mplayer msn
mudflap ncurses nls nptl nptlonly openal opengl openmp oss pam pcre
pdf perl plotutils png ppds preview-latex pstricks python qt3support
qt4 quicktime readline reflection rtc samba science sdl sensord
session smp sndfile spell spl sse sse2 ssl svga swat sysfs tcl tcpd
tetex tiff tk truetype tta unicode usb wavpack winbind wmp x86 xcb
xine xml xorg yahoo zlib"



Re: [gentoo-user] Re: gimp-2.6.4 fails with libxcb 1.4

2009-10-07 Thread Denis
> You forgot the very last step of the xcb upgrade:
>
> # rm -i /usr/lib/libxcb-xlib.so*
>
> Read the upgrade guide again :o)
>

Oops, I figured I didn't know what I was doing, but it always makes
sense in the end :-P

Thanks!  That got things all fixed up, including a bunch of other
packages revdep-rebuild picked up as a result of deleting the link..

Denis



[gentoo-user] Xlib: extension "Generic Event Extension" missing on display ":0.0".

2009-10-07 Thread Denis
I did some searching and found that this problem is fairly widespread,
but I wasn't able to find a solution to it.

Basically, ever since I upgraded to libxcb-1.4 yesterday, whenever I
launch an application in Xorg, be that firefox, acroread, gimp, etc, I
get:

Xlib:  extension "Generic Event Extension" missing on display ":0.0".

The applications still run fine but take a long time to load.  Now, I
confess that I am still running

xorg-server-1.5.3-r6
xorg-x11-7.2
nvidia-drivers-180.60
gentoo-sources-2.6.27-gentoo-r8

Is this because I did not upgrade to xorg-server-1,6 with the new
versions of x11 libraries installed, or is that a bug in the new
version of the libraries somewhere?



Re: [gentoo-user] Re: Xlib: extension "Generic Event Extension" missing on display ":0.0".

2009-10-07 Thread Denis
> The xorg-server upgrade and the libxcb upgrade go together as pair.
> You need to upgrade the server now -- carefully following the upgrade
> guide, please.

Thanks - I will do that.  But the upgrade guide doesn't have anything
in it, except how to enable Ctrl-Alt-Bkspc to kill the server...



Re: [gentoo-user] Re: Xlib: extension "Generic Event Extension" missing on display ":0.0".

2009-10-07 Thread Denis
As a related question, does the kernel need to be upgraded from
2.6.27-gentoo-r8 (i686) for the xorg-server-1.6 upgrade?  I think the
bulletin mentioned upgrade necessary on an alpha, so I just wanted to
check if I will have all functionality without doing kernel upgrade...

Thank you - sorry for the dumb question

On Wed, Oct 7, 2009 at 4:10 PM, Denis  wrote:
>> The xorg-server upgrade and the libxcb upgrade go together as pair.
>> You need to upgrade the server now -- carefully following the upgrade
>> guide, please.
>
> Thanks - I will do that.  But the upgrade guide doesn't have anything
> in it, except how to enable Ctrl-Alt-Bkspc to kill the server...
>



Re: [gentoo-user] Re: Xlib: extension "Generic Event Extension" missing on display ":0.0".

2009-10-07 Thread Denis
On Wed, Oct 7, 2009 at 4:56 PM, walt  wrote:
> The tricky part is the libxcb upgrade guide.  Did you do all the stuff
> it says when upgrading libxcb?

Indeed, with your help, my upgrade for libxcb is complete and appears
successful.  :-)



[gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
I am running the xorg-server-1.6, to which I just upgraded, and kernel
 2.6.27-gentoo-r8, and I am having an issue with the server crashing
whenever I try to drag the scroll bar within Mathematica - which never
happened to me before with previous xorg-servers, and I use
Mathematica extensively.  So I just wanted to ask some questions to
see if any of the warnings and errors I am seeing in the log may
actually cause X to be unstable...

1.  In the log (see below), Xorg shows an error trying to load dri...
Since I have nvidia and glx and don't have dri, I don't have the dri
drivers, so how can I stop Xorg from trying to load dri/dri2?

2.  I get a warning:

(--) PCI:*(0:1:0:0) 10de:01d1:: nVidia Corporation G72
[GeForce 7300 LE] rev 161, Mem @ 0x9100/16777216,
0x8000/268435456, 0x9000/16777216
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel

Will this make X unstable in any way?

3.  Are the freetype and type1 modules now incorporated into X or phased out?


Here is my xorg.conf:
=
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/default/ghostscript/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/dejavu/"
FontPath "/usr/share/fonts/freefonts/"
FontPath "/usr/share/fonts/intlfonts/"  
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/unifont/"
FontPath "/usr/share/fonts/Mathematica/AFM/"
FontPath "/usr/share/fonts/Mathematica/BDF/"
FontPath "/usr/share/fonts/Mathematica/Type1/"


EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "glx"
#Load  "type1"
#Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/input/mice"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Sony"
ModelName"G520"
DisplaySize  405 305
EndSection

Section "Device"
Identifier  "Card0"
Driver  "nvidia"
VendorName  "nVidia Corporation"
BoardName   "GeForce 7300 LE"
BusID   "PCI:1:0:0"
Option "UseEdidDpi" "FALSE"
#   Option "DPI" "100 x 100"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
Modes "1600x1200"
EndSubSection
EndSection


And here is the Xorg.0.log file:

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686
Current Operating System: Linux langevin 2.6.27-gentoo-r8 #1 SMP
PREEMPT Sat Feb 28 18:50:18 EST 2009 i686
Build Date: 08 October 2009  11:20:23AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct  9 10:33:25 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) FontPath set to:
/usr/share/fonts/misc/:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/ttf-bitstream-vera/,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/default/ghostscript/,
/usr/share/fonts/corefonts/,
/usr/share/fonts/cyrillic/,

Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
>> Section "Device"
>>       Identifier  "Card0"
>>       Driver      "nvidia"
>>       VendorName  "nVidia Corporation"
>>       BoardName   "GeForce 7300 LE"
>>       BusID       "PCI:1:0:0"
>>       Option "UseEdidDpi" "FALSE"
 why? =
>
>> #     Option "DPI" "100 x 100"
>> EndSection

Sorry  - what was that "why?" referring to?  I think I put those
options in when I was working on anti-aliasing the fonts to make them
look smooth.  That still works.


>
> 1.6.3.901
> is - lets just say you should either use 1.6.3 or 1.6.4
> and what about your driver version?
> and why 2.6.27? that kernel is acient!
>
>

Well, I used 1.6.3.901-r2 because that's what the portage pulled in
when I did emerge -NDavu world.  Portage tree seems to have options to
use 1.6.4, but it was not pulled in by emerge, so maybe it is masked
or keyworded?

The kernel...  Well, I am guilty of not keeping up on kernel updates
because restarting the machine for each upgrade isn't always an option
with my work.  Do you think this version of the kernel may contribute
to X instability?



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
I see.

Well, I am running nvidia-drivers-180.60, and versions 185 and 190 are
masked by ~x86.  Same for the xorg-server-1.6.4.  So the only thing I
could do really is to update the kernel...

But xorg-server-1.5 was perfectly stable for me, so I don't see how
kernel upgrade would be helpful here, given that nvidia-drivers aren't
in the kernel.



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-09 Thread Denis
> nvidia drivers load into the kernel. Driver-kernel interaction can cause a lot
> of problems.

Alright, I am now running 2.6.30-gentoo-r6 kernel, but I still have
the same issue.

I think it's a scroll-bar that triggers it.  If I drag a scrollbar
down with my mouse and then run it back up, there is a delayed
response (especially in Acrobat Reader), and when I do that in
Mathematica 5.2, that simply crashes X.

Now I am kind of regretting that I upgraded to xorg-server-1.6...  I
was very happy with 1.5 and before.  Sigh.  May this be a library
issue?  Gtk?  I received some kind of an error from Gtk, if I recall,
while using acroread, but acroread did not crash...



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-11 Thread Denis
> He may also want to ask the question "Do I *really* need acroread?" and get
> the full complete answer. In my experience very few people actually need all
> the features in acroread, and okular|evince are quite adequate

I am flexible on acroread, but acroread doesn't crash X - just gets a
little backed up.  I am OK with that.

But X crashing from my use of Mathematica is absolutely unacceptable -
this is what I need for my work.  Before I upgraded to xorg-1.6 and
libxcb-1.4, this *never* happened, not once, *in several years*, under
extensive use, and I have been using the same Mathematica version all
this time, 5.2.  So if downgrading X and libxcb is what I have to do
to restore reliable operation of my machine with Mathematica, then
this is what I am doing next.

Let me ask this next:  is the downgrade of libxcb and xorg-server possible?



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-11 Thread Denis
>> But X crashing from my use of Mathematica is absolutely unacceptable -
>
> I agree, it shouldn't crash.  Are you starting Mathematica by clicking on
> an icon in a menu?  If so, I'd suggest starting it from an xterm command
> prompt because you may see some helpful error messages before the crash.

I tried that, actually.  There is no warning in the terminal window.
And I have been looking at Xorg error logs also, but there is nothing
useful at the end of them!

All I have is:

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)

One curious thing...

(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver

Why does it say "compiled for 4.0.2" when all the other X modules say
"compiled for 1.6.3.901", which is the xorg-server version?  I'm sure
that's nothing, but I'm just grabbing at straws here.



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-11 Thread Denis
Brandon,

Thanks very much for all this information about Mathematica - that
gives me a glimmer of hope!

> 1) If you haven't already, recompile your xf86* packages. Somehow I
> missed those when upgrading X, which caused issues for me.

I did recompile all the xf86 packages that qlist came up with.


> 2) Mathematica (at least version 7) ships its own version of Qt, which
> it will use instead of the system version of Qt. If Mathematica 5 does
> something similar -- sorry, I have never used that version on Linux, so
> I do not know -- then it's possible that the old libraries are causing
> issues. At least in version 7, removing the Mathematica-supplied Qt
> libraries will cause Mathematica to use the updated system Qt libraries.
> For me, the Qt libraries shipped with Mathematica are under
> (install_directory)/SystemFiles/Libraries/Linux-x86-64/. If Mathematica
> 5 ships libraries that are also installed system-wide, then I would
> suggest moving the Mathematica files to another location and seeing if
> using the system libraries helps with your crashing issue. For me,
> removing the Mathematica Qt libraries made Mathematica faster and look
> better.

This is very illuminating.  I looked in the
"/usr/local/Wolfram/Mathematica/5.2/SystemFiles/Libraries/Linux"
directory, and this is what it contains for me:

libguide.so
libgmp.so.3
libvml.so
libmkl.so
libmkl_def.so
libmkl_lapack32.so
libmkl_lapack64.so
libmkl_p3.so
libmkl_p4.so
libmkl_p4p.so
libmkl_vml_def.so
libmkl_vml_p3.so
libmkl_vml_p4.so
libmkl_vml_p4p.so

Are these names familiar to anyone?  Are these Qt libraries or are
there others too?



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
Brandon,

Thank you for helping me along here!

Here is the output of "ldd Mathematica":

linux-gate.so.1 =>  (0xb8042000)
libm.so.6 => /lib/libm.so.6 (0xb800c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ff4000)
librt.so.1 => /lib/librt.so.1 (0xb7feb000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7f9a000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7f8b000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7f74000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7f6a000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7f51000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e3a000)
libc.so.6 => /lib/libc.so.6 (0xb7cf7000)
/lib/ld-linux.so.2 (0xb8043000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7cf2000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7cd7000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7cd3000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7ccd000)
libdl.so.2 => /lib/libdl.so.2 (0xb7cc9000)

So far, I see a bunch of references Java directories in the
installation and a few .jar files.  I haven't seen any reference to
Qt.  I did see the GUI-Kit and JLink in the AddOns directory.

Basically, the only thing that triggers the crash is if I hold down
the mouse button and drag the scrollbar UP right after I drag it DOWN.
 Dragging it down doesn't seem to make any difference by itself and
hasn't crashed the program until I reverse and drag UP.  Sometimes
going up slowly will be OK too, but if I drag UP rapidly, it will
crash.  I can use the scroll arrows on top and bottom of the
scrollbar, and it will scroll without incident, albeit slowly.

Can the integrity of the above library links be checked, or would
rebuilding all of them again make any difference?  What is the command
to determine which package the given .so.* file belongs to?

Many thanks,
Denis



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
I tried a few things today:

1)  rebuilt all x11-libs, media-libs, and anything I could think of
that would be related to x11-libs (such as gtk+, qt...)

2)  downgraded to xorg-server-1.5

Neither of these things helped.  Alan's hypothesis sounds plausible,
but I don't even know which package to point fingers at!  Probably
it's the Mathematica interface itself, which is horribly old by now,
but I cannot upgrade it at this time.  As I said, dragging the
scrollbar down works fine, but you drag the scroll bar up, and in a
few seconds X gets zapped.  I tried instead clicking above or below
the scroll bar to avoid dragging.  That is a tad better, but after a
few times, it goes down again...

The weird thing is that I never had this problem before doing the
massive lib-xcb upgrade, and obviously the xorg-server doesn't seem to
be helping or hurting anything, so I went back to xorg-server 1.6.

Is there any procedure out there about de-Xifying your system?  I
don't have the time right now to do all this, but I am just wondering
if some people have removed everything X-related from their system and
started anew without completely wrecking the box...



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
> Have you `emerge -e world` yet?
>
> Stroller.

I have that going now.  I offloaded OpenOffice to shorten the duration
of the rebuild, and I don't have KDE or Gnome - just fluxbox.  So it
should finish by sometime tomorrow, probably.  There are 604 packages
total.  Instead of trying to rebuild X-related stuff in parts, I
should have just done that from the beginning.

Dale - thanks for the advices also.  That's the route I thought about
taking.  Doing 'emerge -e world' first seems like a reasonable thing
to do.  It could be that whatever is causing this cannot be resolved
by a simple rebuild.  Whatever went into the lib-xcb upgrade probably
is either incompatible with the Mathematica frontend or has a bug
that's being exploited in this situation.  Keeping my fingers crossed
for the rebuild for now. :-)

-Denis



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-13 Thread Denis
Ok, "emerge -e world" completed successfully.

Bad news: X still crashes when scrolling in Mathematica...

On to the downgrade of xcb then, as much as I'd rather not do that.
As suggested, I would edit the world file to remove main X packages
and then use emerge --depclean to prune out the danglers.  As someone
who has never done this before, I got two questions:

1.  The easy one:  where is the world file located these days?

2.  The hard one:  which packages do I remove from the world file to
clean out anything X-related?  I read of a suggestion to remove
"x11-base/xorg-x11" and the rest would follow from depclean...  Is
that too optimistic?

Thanks,
Denis



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-13 Thread Denis
Perhaps I should try this procedure on my home gentoo box first.

Here are my USE flags:

 X aac aim alsa ao bash-completion bdf branding bzip2 cairo cdda cddb
 cdparanoia cdr cpudetection djvu emacs encode exif firefox flac
 foomaticdb gif glut graphics gs gtk ieee1394 imagemagick imlib java
 javascript jbig jpeg jpeg2k kpathsea lame latex ldap libnotify libwww
 lm_sensors mad mmx mmxext mng motif mp3 mpeg mplayer msn openal opengl
 oss pdf plotutils png ppds preview-latex pstricks qt3support qt4
 quicktime rtc samba science sdl sensord smp sndfile spell sse sse2 svga
 swat tcl tetex tiff tk truetype tta usb wavpack winbind wmp xcb xine xml
 yahoo -dri -isdnlog -pppd

When "world" is edited, should I leave make.conf be or do I also need
to remove all X-related USE flags from there?

Here is my world file.  I did not include anything under x11-* for brewity.

I marked everything I am planning to remove with a preceding "- "
Could someone look this over, please, to make sure I didn't select
anything critical?  I did use "equery depends" and some common sense,
but I could use a sanity check!

- app-admin/emacs-updater
app-admin/syslog-ng
- app-editors/emacs
- app-emacs/emacs-common-gentoo
- app-office/abiword
- app-office/abiword-plugins
app-portage/gentoolkit
app-portage/mirrorselect
app-portage/portage-utils
app-portage/ufed
app-shells/bash-completion
- app-text/acroread
- app-text/djvu
- app-text/enchant
- app-text/ghostscript-gpl
- app-text/gnome-doc-utils
- app-text/gtkspell
- app-text/gv
- app-text/hunspell
- app-text/iso-codes
- app-text/libpaper
- app-text/libwpd
app-text/poppler-data
app-text/poppler-utils
- app-text/ps2eps
- app-text/psutils
- app-text/rarian
- app-text/rman
- app-text/scrollkeeper
- app-text/scrollkeeper-dtd
app-text/sgml-common
- app-text/t1utils
- app-text/texi2html
- app-text/texlive
- app-text/wv
- app-vim/fluxbox-syntax
dev-java/javatoolkit
dev-java/sun-jdk
dev-lang/tcl
dev-libs/dbus-glib
dev-libs/libtasn1
dev-libs/mpfr
dev-perl/XML-Parser
dev-python/pygobject
dev-python/pygtk
- dev-tex/latex-beamer
- dev-tex/mh
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-latexextra
dev-util/pkgconfig
- gnome-base/gdm
- gnome-base/libgnomecanvas
- media-fonts/corefonts
- media-fonts/dejavu
- media-fonts/encodings
- media-fonts/font-adobe-100dpi
- media-fonts/font-adobe-75dpi
- media-fonts/font-adobe-utopia-100dpi
- media-fonts/font-adobe-utopia-75dpi
- media-fonts/font-adobe-utopia-type1
- media-fonts/font-alias
- media-fonts/font-arabic-misc
- media-fonts/font-bh-100dpi
- media-fonts/font-bh-75dpi
- media-fonts/font-bh-lucidatypewriter-100dpi
- media-fonts/font-bh-lucidatypewriter-75dpi
- media-fonts/font-bh-ttf
- media-fonts/font-bh-type1
- media-fonts/font-bitstream-100dpi
- media-fonts/font-bitstream-75dpi
- media-fonts/font-bitstream-speedo
- media-fonts/font-bitstream-type1
- media-fonts/font-cronyx-cyrillic
- media-fonts/font-cursor-misc
- media-fonts/font-daewoo-misc
- media-fonts/font-dec-misc
- media-fonts/font-ibm-type1
- media-fonts/font-isas-misc
- media-fonts/font-jis-misc
- media-fonts/font-micro-misc
- media-fonts/font-misc-cyrillic
- media-fonts/font-misc-ethiopic
- media-fonts/font-misc-meltho
- media-fonts/font-misc-misc
- media-fonts/font-mutt-misc
- media-fonts/font-schumacher-misc
- media-fonts/font-screen-cyrillic
- media-fonts/font-sony-misc
- media-fonts/font-sun-misc
- media-fonts/font-util
- media-fonts/font-winitzki-cyrillic
- media-fonts/font-xfree86-type1
- media-fonts/freefonts
- media-fonts/gnu-gs-fonts-std
- media-fonts/intlfonts
- media-fonts/terminus-font
- media-fonts/ttf-bitstream-vera
- media-fonts/unifont
- media-gfx/gimp
- media-gfx/gqview
- media-gfx/imagemagick
- media-gfx/jpeg2ps
- media-gfx/sam2p
- media-gfx/transfig
- media-gfx/xfig
- media-gfx/xv
media-libs/alsa-lib
media-libs/audiofile
- media-libs/babl
media-libs/flac
- media-libs/fontconfig
- media-libs/freeglut
- media-libs/freetype
- media-libs/ftgl
- media-libs/gd
- media-libs/gegl
- media-libs/giflib
- media-libs/glew
- media-libs/gst-plugins-base
- media-libs/gst-plugins-good
- media-libs/gstreamer
- media-libs/imlib2
- media-libs/jasper
- media-libs/jbigkit
- media-libs/jpeg
- media-libs/lcms
media-libs/libart_lgpl
media-libs/libcddb
- media-libs/libexif
media-libs/libid3tag
media-libs/libmad
- media-libs/libmng
media-libs/libogg
media-libs/libpng
media-libs/libsdl
media-libs/libsndfile
media-libs/libvorbis
- media-libs/mesa
- media-libs/netpbm
media-libs/openjpeg
- media-libs/pdflib
- media-libs/plotutils
media-libs/raptor
media-libs/svgalib
-media-libs/t1lib
media-libs/tiff
- media-libs/vigra
media-plugins/alsa-plugins
media-sound/alsa-utils
media-sound/asunder
media-sound/audacious
media-sound/cdparanoia
media-sound/cdplay
media-sound/wavpack
- media-video/nvidia-settings
net-analyzer/netselect
net-fs/samba
- net-im/pidgin
- net-irc/xchat
net-misc/dhcpcd
- net-print/cups
perl-core/IO-Compress
- sci-misc/qcad
- sci-visualization/gnuplot
sy

how to force libxcb version below 1.4 when re-installing X (was: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?)

2009-10-13 Thread Denis
I cleared everything X related from my box, and it is still alive and well :-)

Now, as I was explaining in my previous thread, I would like to
re-install X and all related apps, but forcing the older libxcb
version.  After I upgraded to libxcb 1.4 a few days ago, my X was
unstable and kept crashing while scrolling in Mathematica, so I wanted
to clear everything X out, start from scratch, and revert to my
original X configuration.

Here is the new problem.

In my package.mask, I specify:

>=x11-libs/libxcb-1.4
>=x11-base/xorg-server-1.6
>=x11-base/xorg-x11-7.4

My USE is now:  "alsa ao bash-completion bzip2 cdda cddb cdparanoia
cdr cpudetection ieee1394 lame ldap libwww
   mad mmx mmxext mp3 openal oss ppds rtc smp
spell sse sse2 tta usb wavpack winbind xml -dri -isdnlog -pppd"

So, I put in the X USE flag and attempt

emerge -NDavu xorg-x11

and get

!!! All ebuilds that could satisfy ">=x11-libs/libxcb-1.2" have been masked.
!!! One of the following masked packages is required to complete your request:
 - x11-libs/libxcb-1.4-r1 (masked by: package.mask)

(dependency required by "x11-libs/libX11-1.2.2" [ebuild])
(dependency required by "x11-libs/libXext-1.0.5" [ebuild])
(dependency required by "x11-libs/libXv-1.0.4" [ebuild])
(dependency required by "x11-base/xorg-x11-7.2" [ebuild])
(dependency required by "xorg-x11" [argument])

What gives?  Am I doing something stupid (well, aside from trying to
downgrade...), or is there a way for me to fix this by some keywording
trickery or something to that effect?  Help, please :-)



Re: how to force libxcb version below 1.4 when re-installing X (was: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?)

2009-10-13 Thread Denis
Sorry, I don't tinker around with gentoo much, mostly just user :-)

I got around this block so far:  also masked >=x11-libs/libXext-1.0.5,
>=x11-libs/libX11-1.2, in addition to libxcb 1.4.  Reading ebuilds
really helps!  ha.



Re: how to force libxcb version below 1.4 when re-installing X (was: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?)

2009-10-13 Thread Denis
> I got around this block so far:  also masked >=x11-libs/libXext-1.0.5,
>>=x11-libs/libX11-1.2, in addition to libxcb 1.4.

Now I run into a bit of a problem:

libX11-1.1.5 fails when compiled :-(

I attached a build.log for this package...  Can anyone tell me if this
is fixable?  Maybe some other package needs to be downgraded?

The only reason why I am using 1.1.5 version is because libX11-1.2.*
requires libxcb-1.2 and greater and I only have 1.1.90 as the highest
before 1.4 (can I tweak the ebuild for libX11-1.2 and put xcb 1.1.90
instead of 1.2 limitation?)...

I would try libX11-1.1.4, but xorg-server-1.5.3 requires 1.1.5 and
above...  maybe I could tweak this ebuild to accept 1.1.4 and see if
that compiles?

Any constructive thoughts appreciated!  :-)



Re: how to force libxcb version below 1.4 when re-installing X (was: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?)

2009-10-13 Thread Denis
Michael Higgins  wrote:
> Heh. Let me google that *exact error string* for you, by way of
> illustration...

Thanks, Michael - I generally turn to google first.  It's been a tough
day, and I appreciate you pointing this out to me.
I ran into another snag, this time with x11-libs/libXext-1.0.4 - it
would not compile with x11-proto/xextproto-7.0.5.  But downgrading to
x11-proto/xextproto-7.0.4 fixed that!  When I saw that one fail, I
thought to myself "this is gonna be a long night"...  ha.  But
happily, everything compiled in the end, and xorg-x11 is now
installed.  I will see the state of things tomorrow when I get into
the office.


Keith Dart  wrote:
> The close-source binaries like Mathematica are usually the problem.
> They almost always lag behind the current open-source offering and only
> support older, stable versions of libraries. So if you really want to
> run that I would recommend that you stick with stable arch and
> re-compile and/or re-install your base system. You have /home on a
> separate partition, right?

Keith - thanks for the thoughts.  As I reiterated before, I am not
arguing that Mathematica isn't the source of the problem.  Other than
Mathematica crashing X, I had no other problems with X since the
upgrade to libxcb-1.4 and xorg-server-1.6.  So my action to downgrade
and revert to the previous configuration shouldn't be taken to mean
that the upgrade was crappy - it just doesn't seem to agree with the
proprietary software I am currently running.  I would much rather
upgrade Mathematica, but that is not an option for me at this time.
Thankfully, I was able to remove X and reinstall it based on the
previous versions of the libraries  I don't yet know whether this
resolved my Mathematica issue - I will test tomorrow.  But I will
investigate the install script for Mathematica and see what it does.

Denis



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Denis
> Let us know what blows up.  ;-)
>
> Dale

Nothing blew up ;-)  I was successful removing X, downgrading, and
getting X working again with xorg-server-1.5.3 and libxcb-1.1

FYI, the working package.mask file for this operation is:

>=x11-libs/libXext-1.0.5
>=x11-libs/libX11-1.2
>=x11-libs/libxcb-1.4
>=x11-base/xorg-server-1.6
>=x11-base/xorg-x11-7.4
>=x11-proto/xproto-7.0.15
>=x11-proto/xextproto-7.0.5
>=x11-libs/xcb-util-0.3.5
>=x11-proto/xcb-proto-1.2

However, this must not have restored my previous X configuration fully
because Mathematica still crashes.  So I've decided to abandon this
attempt, remove all masks, and allow the full X upgrade because I
reinstall all the X packages back onto my system.  While some folks
here probably think this attempt foolish, I still think it was worth a
try, and I learned some new things, which is always good.

I appreciate everyone's help and support with this.
Denis



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Denis
> Have you tried "strace'ing" mathematica to see why it dies?
>
> BillK

I ran an strace, but I can't make sense out of it.  There's a bunch of
polling and trying to access unavailable resources, from what I can
see...  The file is huge, but here is the tail end of it:

=
poll([{fd=11, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}],
2, 0) = 0 (Timeout)
gettimeofday({1255560657, 709869}, NULL) = 0
gettimeofday({1255560657, 709891}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
gettimeofday({1255560657, 709945}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
poll([{fd=11, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}],
2, 0) = 0 (Timeout)
gettimeofday({1255560657, 710025}, NULL) = 0
gettimeofday({1255560657, 710046}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{";\0\5\0o\5 \1\0\0\0\0\0\0\0\0\202\4$\0;\0\5\0!\0
\1\0\0\0\0\0"..., 2204}, {NULL, 0}, {""..., 0}], 3) = 2204
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{"=\0\4\0|\5 \1\2\0\16\0\v\0)\4>\4\7\0w\5 \1|\5 \1.\3
\1\0"..., 100}, {NULL, 0}, {""..., 0}], 3) = 100
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
read(10, "\6\0pa\23\4\t\1I\2\0\0|\5
\1\0\0\0\0\6\5\315\0\6\0`\0\0\1\1\0\16"..., 4096) = 96
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
gettimeofday({1255560657, 718652}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{";\0\5\0o\5 \1\0\0\0\0\0\0\0\0\202\4$\0;\0\5\0!\0
\1\0\0\0\0\0"..., 640}, {NULL, 0}, {""..., 0}], 3) = 640
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
read(10, "\6\0\335a\34\4\t\1I\2\0\0|\5
\1\0\0\0\0\6\5\314\0\6\0_\0\0\1\1\0\1"..., 4096) = 64
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{"8\0\4\0o\5 \1\4\0\0\0\0\0\0\0>\4\7\0\3\6 \1\202\5 \1o\5
\1\0"..., 48}, {NULL, 0}, {""..., 0}], 3) = 48
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
read(10, "\16$\364a\202\5
\1\0\0>\n\0\371\34\10\361\207\t\10\320n1\n\332\0o\0}\3~\0\1"..., 4096)
= 64
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
gettimeofday({1255560657, 723910}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
poll([{fd=11, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}],
2, 0) = 0 (Timeout)
gettimeofday({1255560657, 723992}, NULL) = 0
gettimeofday({1255560657, 724014}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
gettimeofday({1255560657, 724068}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
poll([{fd=11, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}],
2, 0) = 0 (Timeout)
gettimeofday({1255560657, 724148}, NULL) = 0
gettimeofday({1255560657, 724181}, NULL) = 0
poll([{fd=10, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=21,
events=POLLIN|POLLPRI}], 3, 0) = 0 (Timeout)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{";\0\5\0o\5 \1\0\0\0\0\0\0\0\0\202\4$\0;\0\5\0!\0
\1\0\0\0\0\0"..., 1536}, {NULL, 0}, {""..., 0}], 3) = 1536
read(10, 0x9d67130, 4096)   = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}])
writev(10, [{"=\0\4\0|\5 \1\2\0\16\0\v\0)\4>\4\7\0w\5 \1|\5 \1.\3
\1\0"..., 100}, {NULL, 0}, {""..., 0}], 3) = 100
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN|POLLHUP}])
read(10, ""..., 4096)   = 0
close(2)= 0
dup2(20, 2) = 2
write(2, "XIO:  fatal IO error 11 (Resource"..., 79) = 79
write(2, "  after 90691 requests (90613"..., 77) = 77
exit_group(1)   = ?
=

Does this make any sense to anyone?



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-15 Thread Denis
Ordinarily, I would also point to I/O errors, but not this time.  I
have had this same version of Mathematica, 5.2, for *years*, on this
same machine, over several kernels and several Xorg upgrades, and it
was rock-solid.  Not one X hang or crash.  Ever.  No error messages or
I/O warnings ever.  The only thing I'd ever see in the console would
be GTK+ errors from other programs.  Something about this latest X
upgrade is making Mathematica unhappy, either because some previously
supported format that worked fine with it has been altered or
something else in that general regard.  This version being so outdated
- that isn't a surprise.  It may not be a bug, so much as an
incompatibility, perhaps

I think the only thing I can do at this point that probably will fix
this is to go to stable arch, but I am not willing to do that because
I like my box the way it is now :-)  It's great and efficient for all
other things.  Before I can get a local Mathematica upgrade, I will
have to resort to using it via X forwarding off the central server.



Re: [gentoo-user] Ctrl+Alt+bksp in Xorg

2009-10-26 Thread Denis
Seriously!  ;-)

> You just got to love that hal.  All that when one line does it in
> xorg.conf.  Yep, it's a serious improvement over the old way.  LOL
>
> Dale
>
> :-)  :-)
>
> P. S.  This was meant to be funny.  Note the LOL at the end.



Re: [gentoo-user] Kernel upgrading and linux symlink

2009-10-31 Thread Denis
On Sat, Oct 31, 2009 at 12:52 PM, Harry Putnam  wrote:
> And in fact does it really matter if its pointing at the newly
> installed or actual running kernel, when kernel compiling operations
> take place?

When I upgrade a kernel, I first change the symlink using eselect to
point to the source I'm about to install.  Then, after I configure and
compile the kernel, I use the "module-rebuild rebuild" to rebuild any
kernel modules against the new source.  Move the bzImage to /boot,
reboot, and that's it.  I don't know how genkernel changes any of this
- I use manual menuconfig.



Re: [gentoo-user] Firefox 3.5...

2009-11-10 Thread Denis
> sync again. My local ebuild has a datestamp of yesterday. I suspect your
> mirrors are running behind.

I keyworded and installed Firefox 3.5.4 yesterday, and now it is no
longer keyworded.  As Alan said, dated 11/10/2009.



[gentoo-user] fstab and cdrom question

2009-12-17 Thread Denis
Hello folks,

Quick question.

My main HD is SATA and gets /dev/sda in fstab.  My CDROM, which is the
only device on the IDE bus, seems to be /dev/hda.  That's what
Audacious declared when it was looking for a CD to play.  I had CDROM
device forced to /dev/cdrom in Audacious, unwittingly, before and was
wondering why my CDs were not playing!  However, my fstab is still
"/dev/cdrom  /mnt/cdrom  autonoauto,user
  0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
If so, should some link be made to /dev/cdrom, if other programs may
be querying /dev/cdrom for the sake of Linux standard convention, or
is /dev/cdrom already a link, which was broken in my case?

Thank you,
Denis



Re: [gentoo-user] fstab and cdrom question

2009-12-17 Thread Denis
> The default udev scripts should have been able to automatically create
> symlinks for optical devices in /dev. Whether yours is broken, you can
> find out by trying to ls -l /dev/cdrom :)

It appears the links /dev/cdrom1 and /dev/cdrw1 are tied to /dev/hda.
Is that the default behavior instead of /dev/cdrom now?



Re: [gentoo-user] grub emerge make boot screen and others unreadable

2008-07-09 Thread Denis
Thanks for this thread.  I had a bunch of gibberish on the screen,
too, after the most recent emerge and figured it was grub but didn't
know why.  Strangely, the splash image was missing from /boot/grub -
is it not supposed to be in /boot or was this an ebuild error??

I found the splash image (splash.xpm.gz) under /usr/share/grub, and
moving it to /boot/grub fixed this issue for me.

Denis
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts

2008-09-22 Thread Denis
Could you help me decipher what I need to do in order to get this to compile?

Here is the message on emerge:

=
Traceback (most recent call last):
  File "/usr/bin/depend-java-query", line 8, in 
from java_config_2 import __version__
ImportError: No module named java_config_2
 * Unable to determine VM for building from dependencies:
NV_DEPEND: tcl? ( >=dev-lang/tcl-8.4 )
java? ( >=virtual/jdk-1.4 )
>=sys-devel/binutils-2.16.1  test? ( >=dev-lang/tcl-8.4 )
java? ( >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 )
=sys-devel/automake-1.10*
>=sys-devel/autoconf-2.61
sys-devel/libtool
VNEED:
 *
 * ERROR: sys-libs/db-4.5.20_p2-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called pkg_setup
 *   ebuild.sh, line 1244:  Called java-pkg-opt-2_pkg_setup
 *   java-pkg-opt-2.eclass, line   44:  Called java-pkg_init
 * java-utils-2.eclass, line 2090:  Called java-pkg_switch-vm
 * java-utils-2.eclass, line 2516:  Called die
 * The specific snippet of code:
 *  die "Failed to determine VM for building."
 *  The die message:
 *   Failed to determine VM for building.
 *
===

Here are my environment variables:
GENTOO_VM=
CLASSPATH="."
JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS=
COMPILER=

Contents of "emerge --info" are attached as text file.

Thanks,
Denis
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 
2.6.24-gentoo-r7 i686)
=
System uname: 2.6.24-gentoo-r7 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 21 Sep 2008 22:15:01 +
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo 
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans 
userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo "
LANG="C"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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 aac acl aim alsa ao bash-completion bdf berkdb branding bzip2 cdparanoia 
cdr cli cpudetection cracklib crypt cups djvu emacs encode exif firefox 
foomaticdb fortran gcj gdbm gif glut gpm gs gtk iconv ieee1394 imagemagick 
imlib ipv6 java javascript jbig jpeg jpeg2k lame latex ldap libnotify libwww 
lm_sensors mad midi mmx mmxext mng motif mp3 mpeg mplayer msn mudflap ncurses 
nls nptl nptlonly openal opengl openmp oss pam pcre pdf perl plotutils png ppds 
preview-latex python qt3support qt4 quicktime readline reflection rtc samba sdl 
sensord session smp sndfile spl sse sse2 ssl svga swat tcl tcpd tetex tiff tk 
truetype tta unicode usb wavpack winbind wmp x86 xcb xine xml xorg yahoo zlib" 
ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" 
VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, 
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Re: [gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts

2008-09-22 Thread Denis
> Run python-updater.
>
> Cheers, Dave

That is pulling in two different versions of Samba into the tree:


 * Starting Python Updater from 2.4 to 2.5 :
 *   Adding to list: =net-analyzer/rrdtool-1.2.27
 *   Adding to list: =dev-python/python-fchksum-1.7.1
 *   Adding to list: =dev-python/pycairo-1.4.12
 *   Adding to list: =dev-python/numeric-24.2-r6
 *   Adding to list: =dev-python/pycrypto-2.0.1-r6
 *   Adding to list: =dev-python/pyopengl-2.0.0.44
 *   Adding to list: =dev-java/java-config-1.3.7
 *   Adding to list: =dev-java/java-config-2.1.6
 *   Adding to list: =net-fs/samba-3.0.28a-r1
 *   Adding to list: =gnome-extra/libgsf-1.14.7
 *   Adding to list: =sys-apps/file-4.23
 *   Adding to list: =media-libs/alsa-lib-1.0.16
 *   Adding to list: =media-libs/pdflib-7.0.2_p8
 *   Adding to list: =sys-libs/cracklib-2.8.12

Calculating dependencies -
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

net-fs/samba:0

  ('ebuild', '/', 'net-fs/samba-3.0.28a-r1', 'merge') (no parents)

  ('ebuild', '/', 'net-fs/samba-3.0.32', 'merge') pulled in by
('installed', '/', 'net-print/cups-1.3.8-r1', 'nomerge')


So I tried masking net-fs/samba-3.0.28a-r1, but that wasn't productive.

Where would I go from here?



Re: [gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts

2008-09-22 Thread Denis
>> Run python-updater.
>>
>> Cheers, Dave

No wait - this worked.  It was pulling in 2 Samba versions because
Samba was due for an update from the most recent "emerge --sync".  So
I updated Samba separately first, via "emerge samba", and running
python-updater after that did not pull in any Samba.

Mission accomplished: emerge -NDavu world works fine now!

Many thanks,
Denis



[gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread Denis
The Open Office seems to run ok, but at start-up, I get the following message:

javaldx: Could not find a Java Runtime Environment!

I tried putting JRE in my PATH, just in case, but that didn't seem to
help...  Anyone know a resolution to this?



Re: [gentoo-user] openoffice-2.4.1 complaining about Java Runtime Environment

2008-09-26 Thread Denis
> Open OpenOffice.org, go to Tools -> Options -> Java and select an installed 
> JDK.

I tried selecting /opt/sun-jdk-1.5.0.16/jre/bin but it will not take
it!  Where is JRE installed then?



[gentoo-user] Re: [gentoo-user] Продажа квартир.Скидки становятся меньше...

2008-10-08 Thread Denis
Um no - it was Russian SPAM.

The message said "Apartments for Sale!"



On Wed, Oct 8, 2008 at 1:06 PM, Erik Hahn <[EMAIL PROTECTED]> wrote:
> There are language-specific mailing lists, see
> http://www.gentoo.org/main/en/lists.xml
>
> --
> hackerkey://v4sw5hw2ln3pr5ck0ma2u7LwXm4l7Gi2e2t4b7Ken4/7a16s0r1p-5.62/-6.56g5OR
>
>



[gentoo-user] fix for e2fsprogs BLOCK?

2008-11-05 Thread Denis
This probably was already discussed at length...  But I keep waiting
for an automatic portage tree fix to this...  Any idea if there will
be a fix, or will I need to take care of this manually?  (Intel Core
Duo 32-bit system, FYI).



Re: [gentoo-user] fix for e2fsprogs BLOCK?

2008-11-05 Thread Denis
I did this

emerge -f e2fsprogs e2fsprogs-libs
emerge -C com_err ss

but it still complained about blocks when I tried "emerge e2fsprogs"

So I had to do

emerge -C e2fsprogs
emerge e2fsprogs

This seems to work fine - no more blocks.

Thank you,
Denis



[gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Denis
Hello and Happy New Year!

I was just updating from kernel linux-2.6.24-gentoo-r7 to
linux-2.6.27-gentoo-r7 using the "oldconfig" method, and I cannot get
the new kernel to load my network.  I have Intel network hardware that
runs on the E1000 driver, which I generally compile right into the
kernel - never had any problem.  For some reason, the
linux-2.6.27-gentoo-r7 kernel leaves me netless.  I try to start the
"net.eth0", and it says 'please verify your hardware driver' or
something to that extent.  Has anyone else encountered this problem?

I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no
network problems at all!

Is this a known problem, or have I run into a freak case of bad luck?

Cheers,
Denis



Re: [gentoo-user] Re: kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Denis
Looks like there are other bugs filed elsewhere on the net about E1000
not loading with the 2.6.27 kernel.

Here's a curious note from
https://bugs.launchpad.net/launchpad-foundations/+bug/275611

=
If I remove the line of the card in
/etc/udev/rules.d/70-persistent-net.rules and boot with kernel
2.6.27-4, nothing happens, it's like the card does not exist.
If I modprobe e1000, and try to bring up manually eth0:

eth0: error fetching interface information: Device not found
If I boot back in kernel 2.6.27-3, everything works fine,
/etc/udev/rules.d/70-persistent-net.rules is correctly configured, and
so on.
=

Sounds like something's up.  I will try to configure my 2.6.27 using
menuconfig, but why do I get the sense that I'll just waste time doing
that and end up at square one?



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Denis
I'm doubtful that using oldconfig would make a driver not work because
I have done it this way for a while, going between various 2.6.x
versions, like 2.6.21 to 2.6.24...  And there was never an issue.
Maybe the E1000 driver somehow got messed up in this particular
version of the kernel.

Now, that e1000e driver someone mentioned - how is it different from
the e1000 driver, and does the kernel float two versions, or it
depends on which kernel it is?

Thanks,
Denis



[gentoo-user] how to extract driver info from genkernel

2009-01-12 Thread Denis
Hello,

This will probably sound simplistic to most...  I'm setting up an
older Dell PC, and I used genkernel to get it up and running, but how
do I figure out which drivers I actually need without knowing for sure
which hardware I have in the machine?  Genkernel loads a lot of
drivers, and the kernel takes a very long time to compile - I
understand why, and I'm not complaining about that.  But suppose I now
wanted to set up the X server, and I don't know which graphics driver
I need to choose.  Or, suppose I wanted to compile the kernel myself,
and I don't really know which drivers I *must* select (since I don't
know which chips the machine has).  Does anyone have any tips on this?

Many thanks,
Denis



Re: [gentoo-user] how to extract driver info from genkernel

2009-01-12 Thread Denis
> You can use the "lspci" command, its in the pciutils package (if I'm
> not mistaken) to get your system hardware information.

Just like magic :-)  Thank you so much!

Denis



[gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong

2009-01-12 Thread Denis
Hello again,

I just installed Xorg on the older Dell machine, for which I have a
17-inch Sony LCD screen.  Before I did anything with X, my screen
colors were just like I'm used to.  Now, I fired up X, got it to work
fine, and the colors are fine, but then I kill X and go back to text
mode, and the colors in text mode are all wrong, like I'm using a
dying CRT that's not firing right.  I go back to X, and the colors are
fine again.  Back to text mode - same deal.  Is X setting some
variable wrong when it shuts off, or do I need to tweak something?
Using manual controls on the LCD menu don't help at all.  Anyone run
into this before and might know what to do about this?

Thanks,
Denis



Re: [gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong

2009-01-12 Thread Denis
That certainly is of interest - I never had this happen before, and I
always used nvidia cards (when possible).  This one is an older Dell
with Radeon 7500 in it...  Maybe it's a sign that it's dying or
something.  Or maybe it's something else entirely.



Re: [gentoo-user] Re: how to extract driver info from genkernel

2009-01-13 Thread Denis
>> And for the drivers list only --> lspci -k
>> Cuts out all the extras that you're very unlikely to need :D
>>
>>
>
> You the man!  Very nice information there.
>
> Dale
>

you mean...  as in "man lspci"?  ;-)



[gentoo-user] xorg-server 1.5.3 doesn't like 'freetype' and 'vga' modules?

2009-04-11 Thread Denis
I was updating the xorg-server on my other gentoo box from 1.3.x to
1.5.3, and my X would not launch until I commented out 'freetype' or
'vga' modules in the xorg.conf - why is that?

Basically, I am going the old keyboard and mouse route for now, and I
rebuilt my nvidia drivers, mouse drivers, and keyboard drivers, as the
instructions told me - but X still wouldn't launch because the loader
complained that it can't find freetype and vga modules.  Are these
modules phased out of the new xorg-server, or am I needing to rebuild
something else still?

Thanks!
Denis



[gentoo-user] question about portage capabilities

2009-04-18 Thread Denis
Hello all,

I am using a package called Rasmol, which is used for visualization of
molecular structures.  This software uses a certain table for atomic
sizes, and I need to change some values in that table - it is stored
in a header file within Rasmol source code.  There is an ebuild for
Rasmol, and it works fine - but what I'm wondering is how I can tell
portage to STOP once it unpacks Rasmol in the temporary work directory
- so I can tweak some things in the source code - and then resume the
build, using what's already in the work directory.  Looking at a
manpage for emerge, I didn't immediately get any creative ideas, but
might someone offer some advice for how to accomplish this?

Many thanks,
Denis



Re: [gentoo-user] question about portage capabilities

2009-04-19 Thread Denis
I would like to thank everyone who responded for taking the time and
explaining ways how my goal can be accomplished.

I did look into how a patch may be written, but basically, in my case,
I just needed to tweak a couple constants in the Rasmol source code.
I haven't educated myself on how to patch or deal with patches yet,
and I'm sort of pressed for time, so I just tweaked the source code
and installed the package by performing ebuild steps manually.

While that may not be a satisfying method in general, my task was very
simple, and this did the job quickly.  If I had a more massive task,
or series of tasks, then I'd certainly look into how to deal with
patches and overlays.

Again, thanks to this wonderful community :-)

-Denis



Re: [gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"

2009-04-30 Thread Denis
In your /etc/ssh/ssh_config (not sshd_config), make sure you have:

ForwardAgent yes
ForwardX11 yes

I used to get the same error, and after I enabled these options, it
worked like it should.  I also do ssh -Y u...@machine - but that may
be redundant, I'm not sure.

Denis



[gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-12 Thread Denis
Folks,

I am currently running Gentoo on a dual-processor machine that has 2
Intel Xeons with hyperthreading on a Tyan board, with 2GB of RDRAM. 
Some 3 years ago when I bought this machine, it was a marvel, and it
still is a solid computational workhorse for me, doing things like
Monte Carlo and Finite Element calculations.  Because of
hyperthreading, there are 4 logical processors, which gives me a good
multi-tasking ability.  I can run 3 or 4 Monte Carlo tasks at the same
time and not get any noticeable slow-down compared to running only one
Monte Carlo task.  That has been indispensable in my productivity.

Now, I am about to purchase a new machine, but I'd like to solicit
some advice first, so I can get the most bang for the buck.  The main
thing is, I still need to have those 4 logical processors to maintain
my productivity.  So that gives me two choices:

- 2 64-bit Irwindale Xeons (EM64T) with Hyperthreading, 2MB L2 Cache,
800 MHZ FSB, somewhere in 3.4-3.8 GHz range

- 2 64-bit AMD Dual-Core Opterons somewhere in the 265-275 range

With my need for parallel execution of several single-thread Monte
Carlo and Finite Element tasks, what would be the pros and cons in
considering the Xeons and Opterons?

I looked at several benchmarks, and the Opterons seem to be leading
the way significantly in pretty much every category except things like
Matrix multiplications (because of vectoring?)...  Is that the general
impression of folks with experience on these systems running Linux?

What would be some issues and software limitations for me in trying to
get the AMD Opterons running on Gentoo?  And would I use an x86
platform or an AMD64 platform?

Thanks!
Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-12 Thread Denis
I was leaning toward the Opterons myself.

While we're on the topic of hardware, has anyone here used Tyan S2895
Thunder K8WE?  I understand it's an NVIDIA-based high-end board that
supports dual Opterons.  I've always liked Tyan's products, as well as
NVIDIA's, so I would be happy with such a choice...  But I am curious
to hear about people's experiences with or what they heard (good and
bad) about this particular board...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-12 Thread Denis
Bob, 

Thanks for that detailed write-up.  I don't pretend to have any
understanding of the architecture of the new dual-core Opterons, but I
did want to clarify a couple things...

I was under the impression that the Opterons didn't have the same type
of a NorthBridge bottleneck that Intel processors experience and were
thus quite a bit more efficient in the way they integrate with RAM and
themselves!...  In fact, from reading the numbers posted on the AMD
website comparing FSB and memory bandwidth, the numbers for the
Opteron were much superior to those for Intel.  Reading what you wrote
would make me think that the numbers AMD published were some kind of a
marketing ploy??

The numbers I am referring to are in this PDF:
http://multicore2.amd.com/Products/CompetitiveComparisons/2P_Server_Comparison.pdf

Also, I read on more than one occasion that the DDR2-400 and DDR2-533
suffer from latency issues and perform more sluggishly than their DDR1
counterparts as of right now..

I mean, out of most benchmarks I've read, it looked like an Opteron
comes out on top compared to the Irwindale Xeons (even with their 2MB
L2 cache) including floating-point arithmetic, only with the exception
of matrix multiplication...  Also, it appears that the dual-core
Opterons have true multithreading as opposed to Intel's seemingly
superficial Hyperthreading?

I've been using Intel-only products so far in my computer experiences,
and this is the first time I am considering buying a non-Intel system,
so I want to make sure I understand enough about both processors to
make an educated decision.

You mentioned compilers...  Do you HAVE to use those instead of the
standard GCC stuff?  I've never used anything but GCC before for
compiling things.

Thanks!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-12 Thread Denis
Ok, I felt compelled to find more info on the issue that Bob raised
with the memory bandwidth limitation on the Opterons, and here is an
excerpt from an article on anandtech.com on this issue:

"The one limitation that both AMD and Intel have is bandwidth.  In
order to maintain compatibility with present day Socket-940 and
Socket-939 motherboards, AMD could not increase the pincount of their
dual core processors.  The benefit is that AMD's dual core CPUs will
work in almost all Socket-940 and Socket-939 motherboards (more on
this later), but the downside is that the memory bus remains unchanged
at 128-bits wide and supports a maximum memory speed of DDR400.  So,
while single core Athlon 64 and Opteron CPUs get a full 6.4GB/s of
memory bandwidth, today's dual core CPUs are given the same memory
bandwidth to share among two cores instead of one.

AMD's solution to the problem will come in the form of DDR2 and a new
socket down the road, but for now there's no getting around the memory
bandwidth limitations.  Intel is actually in a better position from a
memory bandwidth standpoint. At this point, their chipsets provide
more memory bandwidth than what a single core needs with their dual
channel DDR2-667 controller.  The problem is that the Intel dual core
CPUs still run on a 64-bit wide 800MHz FSB, which makes Intel's
problem more of a FSB bandwidth limitation than a memory bandwidth
limitation."

So basically...  I would pretty much be buying an already outdated
technology if I were to purchase a dual Xeon or a dual Opteron system
now?

I guess the other advantage is that a good dual Xeon system with 4GB
RAM will run me around $3000, whereas a dual Opteron (with dual core)
system with 4GB RAM will run me more like $4300.  If the Opterons are
currently at their memory bandwidth limit, I will have spent the $4300
for nothing, especially since I need the fastest memory integration I
can get for my codes.

Would I be better buying a dual Xeon system if I needed to buy right
now instead of waiting for the bandwidth issue to be resolved?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread Denis
I read AnandTech.  And many other reviews by now.  But since I've been
out of hardware buying venture for a long time, I figured I'd read up
on the specs directly from the manufacturers' websites first and then
the reviews.  I can't say I am handy with different relationships
between front size bus speeds, system clock, and memory transfer
rates.  The point that Bob brought up about memory bus limitations was
very specific and only appeared in a couple reviews that I could
locate when I knew what to look for.

The general spirit seems to proclaim AMD ahead of the game, leaving
Intel in the dust.  However, there are things where Intel is still
ahead - such as areas of specialized scientific computing, for
example.  For example, I can get a 4-thread capability much cheaper
from Intel than from AMD, thanks to their much-criticized
HyperThreading technology.  Hyperthreading has been excellent for my
particular application of computing.  So, if I can build a good Intel
workstation with will give me 4 threads for around $2,000 instead of a
similar AMD workstation with 4 threads for over $3,500 - then I'd
rather stick to Intel on my budget.  At least for now.  Perhaps, in a
year or so, I'll migrate to AMD if Intel hasn't come up with something
suitable for my computing needs for a reasonable price.  I am sure
many people will disagree with what I am saying here, and I am not
trying to start a flame war over preferences, but in the case of
highly multithreaded computing in my case, this solution seems to make
sense right now.  For people with less specific needs, a dual AMD box
with single-core processors would probably make more sense on the same
budget.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: gmail

2005-09-21 Thread Denis
heck I got 99 invites just collecting dust...  :)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] file system corrupted

2005-04-09 Thread Denis
Here's the problem.  My Gentoo 1.4 box (Intel P3, 1 GHz) has been up
for around 240 days without a reboot, and finally I went ahead and
rebooted yesterday, and during the boot-up, after performing the file
system checks, it says that my /usr partition (/dev/sda4) is corrupted
and needs to be repaired by running fsck *manually*.  (my /, /usr, and
/home partitions all use ext3 file system).  As a result of this, X
won't start because it complains about some libraries being
inaccessible.  So I get a text prompt, I log into root, I try running
fsck, but it says that the partition is still mounted and running it
on a mounted partition could cause severe file system damage.  I try
to unmount it, using "umount /usr", but it responds to this request by
"failed:  device is busy".

How do I handle this?  I'm sort of a newbie when it comes to this sort
of administration, so I would really appreciate any help.  Could I put
some sort of a boot flag into Grub, so that the system doesn't mount
/usr when it boots up?  I don't remember how to do this either.

Many thanks
Denis
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file system corrupted

2005-04-09 Thread Denis
> I think `rc single` should do it.

at the root prompt after the system has booted up?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file system corrupted

2005-04-09 Thread Denis
Problem solved, thank you.  I used the LiveCD to boot and then fsck
fixed everything quickly.

I now have another problem - not sure where it came from but i'll post
in another thread.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] portage gone mad?

2005-04-09 Thread Denis
Ok, I updated my portage to the latest version in the database.

Now when I try to emergy various things, I get this message:


 emerge -p gdm

These are the packages that I would merge, in order:

Calculating dependencies |
emerge: there are no ebuilds to satisfy ">=sys-devel/gcc-4.7".

-

 emerge -p world

These are the packages that I would merge, in order:

Calculating world dependencies -
emerge: there are no ebuilds to satisfy ">=sys-devel/gcc-4.3".


!!! Problem with ebuild app-editors/emacs-21.4
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
---


Where does this GCC madness come from???  Version 4 of GCC isnt even a
public release, right??

Is it the bug in portage?  
I did

emerge metadata 

after emerging new version of portage and did

etc-update

Help?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage gone mad?

2005-04-09 Thread Denis
yep, Bugzilla Bug 70296 

--- Additional Comment #2 From Ben Cressey  2004-11-06 13:26 PST ---

Removed /var/db/pkg/sys-devel/gcc-2.95.3-r5/PROVIDE to correct the problem.




So I followed that and removed PROVIDE files for all the versions of
GCC I have on my system, and the problem is gone.  Weird.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] global variables and memory limitations

2005-04-12 Thread Denis
Folks,

I am not certain if this has anything to do with Gentoo or not.  I am
programming something in C, and I need to address as much memory as
possible for the arrays that need to be specified as global variables.
 I have 2 GB memory on this machine, and I'd like to use as much of it
as possible, but my code segfaults if I try to allocate more than
around 1 GB of RAM to my running code like that.  I heard that this is
due to the dynamic libraries.  If I compile with gcc and use the
"static" flag, I can allocate close to the physical limit (maybe 1.7
or 1.8 GB) and also if I allocate my variables dynamically, I can do
the same thing.  But the problem is, I cannot compile statically since
I need the math libraries.  I could go the route of dynamic
allocation, but I need to invest significant efforts to restructure my
code.  I saw a thread on something similar to this on Beowulf, where
they suggested moving the dynamic libraries somehow :

 "changing
the location of the shared libraries in memory by changing the
variable __PAGE_OFFSET in kernel header files"... 

How do I do that and do i need to recompile the kernel after
attempting something like this?

Thanks!
Denis
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Are my emails reaching the list?

2005-05-06 Thread Denis
Once I got an email from the gentoo-user list manager saying that it
failed to deliver a message from the list to my G-Mail account.  So
far, it's just been once.  What's going on?  Does G-Mail have serious
issues to resolve?  I haven't had complaints from any one of my
friends about not being able to send me mail, but I am just curious...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Are my emails reaching the list?

2005-05-06 Thread Denis
> I have this all the time, and from real people too (ie not lists). I
> regularly get messages saying that a mail server has been trying for a
> day to get to me etc...

Hm, that isn't good.  Makes me wonder if I missed any emails from
people.  I wasn't aware of this until recently.  Hotmail had this
weird problem where the emails I'd send wouldn't be delivered to
people (even who were on Hotmail also) over the course of a day or two
or in some cases not delivered at all.

Yahoo, curiously, seems to have been the most reliable out of the free
webmails I've used so far.  GMail doesn't have any graphic banner ads,
which makes it cleaner, more pleasant, and more importantly, light on
the resources used.  But if it misses emails, that is an issue.  Those
guys got some work to do.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] test

2005-05-06 Thread Denis
That's right.  When I send a message with a new subject to the list,
GMail saves the message to a new thread that it starts in my Sent-Mail
folder with that subject line.  I do not get an email from the list
sending me my own message.  Then, if someone replies to my post, GMail
adds the message to the thread started in the Sent-Mail folder and
migrates it to the Inbox.  It's kind of weird.  Avoid being redundant
but doesn't confirm that the list got your message either.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] mkdir in a C program?

2008-04-04 Thread Denis
Does anyone know if a directory can be created from inside a C program
and how that is done?  Suppose I run the code from my own directory
/home/mydir, and I want the code to create a directory
/home/mydir/mydata, where data is to be written, what would the format
for such a command be?  Also, when you write files to
/home/mydir/mydata, do i put in something like "./mydata/filename" as
the filename to open/write?

Many thanks!
Denis
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] mkdir in a C program?

2008-04-04 Thread Denis
Thank you for all the quick replies!  That answers my question :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] mkdir in a C program?

2008-04-04 Thread Denis
Here's the simple program that demonstrates usage that's good enough for me:

#include 
#include 

int main ()
{

  mkdir("./mydata", 0777);

  return 0;

}


On Fri, Apr 4, 2008 at 11:22 AM, Francisco Rivas <[EMAIL PROTECTED]> wrote:
> :D Good. Wich one you used?
>
>
>
> On Sat, Apr 5, 2008 at 10:50 AM, Denis <[EMAIL PROTECTED]> wrote:
> >
> > Thank you for all the quick replies!  That answers my question :-)
> >
> >
> >
> > --
> >
> > gentoo-user@lists.gentoo.org mailing list
> >
> >
>
>
>
>
> --
> Francisco Rivas
> http://www.vaslibre.org.ve
> -
>  And on the seventh day God said :wq and then make
> http://beck3r.wordpress.com/
>  Linux User (New) : #448324
> Linux Machine (New) : 355187
> ---
> 4to Congreso Nacional de SL
> http://www.cnsl.org.ve/tiki-index.php?page=carabobo
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] mkdir in a C program?

2008-04-04 Thread Denis
> Actually a think my question must be "Wich one did you use?" correct?, I
> wrote wrong, didn't I?

Yea, it should be "Which one did you use?" :-)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [OT] any way to split PCMCIA slot on laptop?

2006-02-26 Thread Denis
Hello folks,

Sorry for another off-topic thread.

I have a Toshiba laptop that I got for real cheap, and it has one
PCMCIA slot, no Firewire plugs, and a bunch of USB plugs.  It now
turns out that for my application, I need the PCMCIA slot to install a
specialty sound card, but I also need to have a Firewire input!  I
understand that the only way to add Firewire to a laptop is to use a
PCMCIA slot...  Is there a way somehow to "split" the one PCMCIA slot
on my laptop and be able to use it for both the sound card and a
Firewire port?  Any way I can add a Firewire port and still keep my
PCMCIA sound card?

This is a Toshiba Satellite L25-S119 laptop.  I actually run Windows
XP on it just because I need to for the specialty software I have to
use.

Any thoughts (other than buying another laptop!) would be appreciated :)

Denis

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sound recording software in gentoo

2006-03-04 Thread Denis
I wanted to see if there's a way to set up a home recording
mini-studio using Linux.  In Windoze, there's things like Cubase,
Ableton, Reason, Wavelab, etc...  What's available in Linux for that
purpose (recording, sequencing, mixing, sound effects), and which of
those does Gentoo have in the Portage tree?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sound recording software in gentoo

2006-03-05 Thread Denis
Does anyone know if the "E-MU" sound cards are well-supported in Linux
sound recording?  I still havent made up my mind which pro audio card
to invest in for the final result, but it would be nice if the card
has good support in Linux.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mobo/proc combination

2006-03-13 Thread Denis
Iain,

So are you saying that a P4 is actually faster with HT disabled, or
simply that you don't have much to gain by using HT?  I've had a
dual-Xeon machine with 4 logical processors running Gentoo for a
couple years now, and I like being able to run 4 threads of
simulations at the same time.  The threads, when started nearly
simultaneously, seem to finish the same jobs in nearly the same amount
of time...  I've been told before that it's simply because the HT
makes both the actual processors less efficient...  Either way - I
haven't had any complaint about HT, but if there is conclusive
evidence that HT drastically takes away from true P4 power, then I'd
definitely like to know about it.

Thanks
Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mobo/proc combination

2006-03-13 Thread Denis
> processing unit. If the thread on one input wants all the cpu power, it gets
> it and the other input stalls and starves. It's easy to see by running top on
> a busy P4 with HT computer.

Never seen my dual Xeon machine starve :)  And that's with 4 Monte
Carlo codes running at the same time and me being able to do other
things...  I don't have any complaints.

Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Quoting styles

2005-10-31 Thread Denis
Why go through all this trouble trying to learn how to set up Mozilla
mail?  What's the benefit?  I have been using YahooMail and GMail
quite happily, where you have an easy, no-frills, light-weight
interface, where you can customize exactly how you want to compose
your response and arrange quotes and to what extent you want to quote
someone.

I think this whole thread is common sense.  To me anyway.  You give a
short little quote to refresh people's memory of what you're replying
to and give it just enough context without it getting too long and
right under the quote you put your own response, so that there's a
conversation-like flow.

We should make an effort to keep personal stuff out of these lists. 
Everyone has enough problems of their own to start a drama.  We just
want to help each other out, further our knowledge, and contribute if
we can be useful.

Cheers
Denis

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
So last night I do "emerge sync", and all of a sudden portage is
giving me a whole lot of I/O errors right before "emerge sync" is
completed, like

stat app-misc/esekeyd : Input/output error
rsync: recv_generator: mkdir "app-misc/esekeyd/files": Input/output error (2)
stat app-misc/esekeyd/files : Input/output error
io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(85)

The emerge will not complete successfully.  Tried it again this
morning - no luck.  Thought I'd reboot, and on boot-up I get a message
telling me that my "/dev/sda4" filesystem, which is where my /usr is
mounted, contains errors.  So as Gentoo is trying to repair it, I hear
periodic beeps coming from inside my PC.  Finally, the PC boots.  I
run "emerge sync", and again - same errors that I posted above.  But
this time, I hear beeps from inside my PC even as emerge is running
trying to complete syncing.  The sync will not complete successfully,
so I cannot even use portage until I get a successful sync (right?).

Do I have a problem with my hardware in this case, or is it something
software related?  I am using two big old Seagate SCSI drives (47 GB
each), with Adaptec drivers.

My partition table is as follows, if it helps resolve this:

/dev/sda1 --> /boot  (200MB)
/dev/sda2 --> SWAP (2GB)
/dev/sda3 --> / (25GB)
/dev/sda4 --> /usr (20GB)

/dev/sdb1 --> /home (47GB)

I am running an Intel x86-based system.  Would appreciate any help.
Denis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
> Getting the obvious out of the way first, do you have free space
> on /usr/portage?

Neil - I doubt that could be a problem.  I have 20 GB allocated to
/usr partition alone!  I think portage couldn't have filled all that
up - I have had no problems of the sort on other machines, where my
/usr partition was much smaller.

I think hard drive failure is a possibility, although it's kind of
funny that the failure should be limited to just that /usr partition! 
Or does that happen sometimes?  I'll try badblocks and see what I get.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-03 Thread Denis
Running "df" shows that /usr partition is at 18% use.  However,
running "du" gives more input/output errors...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] i'm new of list

2005-12-19 Thread Denis
> Few words of advice.  Bottom post and email text only.

but with sufficient clipping of the text that you're including in the reply :)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] ripperX hangs while trying to acquire from freedb server

2007-07-29 Thread Denis
Does anyone else use ripperX for ripping CDs?  I've been using it for
quite a while and was always able to fill in the track info
automatically via the freedb server.  However, lately, ripperX
wouldn't get any info from freedb at all.  In fact, it hangs the front
end while trying to acquire from freedb and will unfreeze only after
it gives up, maybe in 5-10 mins, with Error 22.  Still, I am left to
fill the track info myself...

I use the recommended address:

URL: freedb.freedb.org/~cddb/cddb.cgi
Port: 80

Does anyone have any advice on how to solve this?

Thanks
-Denis
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update World situation (again)

2007-08-08 Thread Denis
> > And I still think nvidia cards are crap!

What is that statement based on?  I have been running nothing BUT
Nvidia cards under Linux and did not have a single issue with them.

When I update the nvidia driver, I generally prefer to do the following:

1. Shut down X and remove xdm from the default runlevel to prevent it
from re-starting.
2. Remove the nvidia module currently running from the kernel
3. Emerge nvidia-drivers package
4. Launch the new nvidia driver via modprobe
5. Attempt startx to see if X loads without complaints
6. Add xdm back to the default runlevel and resume normal operation.

Regards,
-Denis
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update World situation (again)

2007-08-08 Thread Denis
> I did everything that the nvdia How To said - to the letter.  :-)

Funny I did the same and never had any hiccups.  ha.

The one time I got the error you got after updating the drivers was
when I forgot to remove the old running module and insert the new one
before starting X.  Reading what you wrote about updating everything,
it does sound like you did everything right but something's not quite
catching.  When I do this procedure, I first do the lsmod and see all
modules in the list, then rmmod nvidia and lsmod again, just to check
visually that the nvidia module is actually gone.  And only then do a
modprobe nvidia.  Maybe you *think* you removed the old module but
it's still hanging around.

I would get out of X, rmmod nvidia, do emerge -C nvidia-drivers-* to
remove the old nvidia versions, and then do emerge nvidia-drivers-*,
lsmod to check no nvidia drivers loaded, and do modprobe to load the
new module.  True, Portage should take care of the emerge -C
operation, but it's something to try as a measure of desperation, I
suppose.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update World situation (again)

2007-08-08 Thread Denis
> Denis wrote:
> >>> And I still think nvidia cards are crap!

First, *Denis* did NOT write that Nvidia cards are crap - quite the
opposite actually.  So don't anybody dare pinning this statement on me
in the future replies!  ;)

>Maybe it was some incompatibility with the 2.6.21-r4 kernel (I'm
using genkernel, not
> vanilla sources)??

I have nvidia-drivers-100.14.09 running under kernel 2.6.21-gentoo-r4
(manually configured vanilla sources), on both machines actually, and
not a single problem getting those running.

I didn't have any special options for nvidia enabled in the kernel
either.  Usually the main thing is to disable a certain nvidia
framebuffer option in the kernel (and perhaps use VESA framebuffer
instead), since it conflicts with the nvidia driver, and enable MTRR,
if I remember correctly.  Nothing else special.

I never used genkernel, so I wouldn't be able to say anything about that ;)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Update World situation (again)

2007-08-09 Thread Denis
On 8/9/07, Neil Bothwick <[EMAIL PROTECTED]> wrote:

> The Nvidia installer does, but this doesn't happen when you install with
> Portage. IMO, this is A Good Thing, you can install and compile a kernel
> update then emerge nvidia-drivers to have the drivers available when you
> boot into your new kernel.

Oh I never thought about that.  So you need just the new kernel's
sources and not necessarily having the new kernel *running* when you
emerge nvidia-drivers for the new kernel?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

2007-08-13 Thread Denis
When I was upgrading on one of the machines, I did encounter this same
error on a couple gnome-related ebuilds (I don't actually have either
gnome or kde desktops installed - only fluxbox).  I ended up upgrading
XML-Parser, then did a revdep-rebuild, which told me to re-install
gettext, dbus, and dbus-glib.  Once those steps were done, the
packages that were giving me compile errors emerged smoothly.  In the
end, I had to also re-install audacious-plugins package.  Most of the
re-installs were due to expat lib as well.

However, on my other machine, the upgrade of the same packages was
seamless, and the list of packages to upgrade were somewhat different,
although the two machines are configured pretty much identically.

The only difference I could see is that my work machine has a
different default RSYNC mirror selected than the one at home.  Could
some of the packages have been out of sync on the different mirrors
and cause this messy upgrade procedure to happen on some machines?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] upgrade to expat 2 blows up system

2007-08-14 Thread Denis
On 8/14/07, Michael Higgins <[EMAIL PROTECTED]> wrote:
> Anyway, it seems like there's a problem resolving emerge order I think 
> you must emerge -u expat, then XML-Parser, then revdep-rebuild, then auDNv 
> world.
>
> Perhaps forcing rebuild of XML-Parser and gettext after updating expat would 
> be a fix?

That's what I did when I first ran into the XML error.  I did 'emerge
-NDavu XML-Parser', and that had two packages to upgrade - expat and
XML-Parser.  Doing a revdep-rebuild after that yielded a list of 17
packages to rebuild, including Mozilla Firefox.  They all rebuilt
without errors.  After this operation was over, I went back and did
'emerge -NDavu world' for the remaining packages, again without
errors.

When I originally ran 'emerge -NDavu world' command, expat-2 was the
first package in the list of about 10, and XML-Parser was last...  But
that by itself, without fixing broken dependencies first, would have
probably yielded some compile-time errors.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] removing old kernels from system

2007-08-23 Thread Denis
My "eselect kernel list" was getting too long for my liking, so I
decided to remove some of the older kernel versions.  I did

emerge -C sys-kernel/gentoo-sources-VERSION

for the versions I wanted to get rid of but soon discovered that
"eselect kernel list" hasn't gotten any shorter.  Indeed, the old
kernel directories were still in /usr/src, and they were still filled
with executables.  The modules for the old kernels in /lib/modules
were also still there.  I ended up removing all those directories by
hand.

Is there a tool for automatically removing the old kernels/modules and
all their respective directories?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Denis
After you "emerge --sync", run "emerge -NDpvu world" and post here the
output - the list of software your system wants to install/upgrade -
that should give us a better idea of what kind of an upgrade we're
dealing with here.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] off topic : Dolphin massacre in Japan

2007-02-26 Thread Denis

Let's stop replying to this thread and let it die already, please?
There's no "Save-A-Thread" society after you here...
--
gentoo-user@gentoo.org mailing list



[gentoo-user] what causes "HAVE_CONFIG_H not found"?

2007-02-28 Thread Denis

It's not really a Gentoo question but more a general Linux question
about "make".  I'm trying to install a third-party numerics package
for multidimensional integration that was written in C and also uses
the "mcc" compiler to build Mathematica executables from the C code
(MathLink package).  The configure operation runs fine and generates a
config.h in the main directory of the package.  The main directory of
the package is ".", then there's a common source directory
"./src/common" and the subpackage directory "./src/vegas", Vegas being
the name for one algorithm used for multi-dimensional adaptive Monte
Carlo integration.

Here's the output when I run "make":

CC=gcc mcc -O3 -fomit-frame-pointer -ffast-math -DHAVE_CONFIG_H
-I./src/common -I. -I. -o Vegas ./src/vegas/Vegas.tm

/usr/bin/mcc: line 1: exec: HAVE_CONFIG_H: not found
make: *** [Vegas] Error 127


There's a config.h file in the main "." directory, an stddecl.h file
in the "./src/common" directory that refers to config.h:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

and a decl.h file in the "./src/vegas" directory that has a line

#include "stddecl.h"

in it.  Now, since the compiler call has -I. and -I./src/common in its
statement above, I figure the notation is probably consistent.

So why oh why am I getting the "HAVE_CONFIG_H" not found error
message??  What's wrong with the linking?

Appreciate any help
Denis
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what causes "HAVE_CONFIG_H not found"?

2007-02-28 Thread Denis

supposed to invoke gcc on that line? that 'CC=gcc mcc' construction is a
little odd. looks like the Makefile is broken - have you chosen


Boy this one was messy, but I figured it out.  It turns out that
there's another "mcc" compiler from MatLab, and it was installed on my
system in /usr/bin.  Mathematica's "mcc" compiler/linker, which I
needed to use with the Monte Carlo integration package, was linked to
my PATH also, but for some reason, the wrong "mcc" (from MatLab) was
getting invoked first and thus messing up the compile process
completely.  I deleted the MatLab "mcc" from /usr/bin, and after that
the make script worked like a charm and built all executables just
like it was supposed to!

Thanks for the help - looking into the makefile and then finding out
and comparing the two mcc's and their respective command lines made me
realize what's going on.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge coreutils-6.4 says "expr" binary missing

2007-03-01 Thread Denis

I was emerging coreutils to update portage, and it failed with the following:


emerge (1 of 1) sys-apps/coreutils-6.4 to /


--- SNIP md5 messages ---

/usr/lib/portage/bin/ebuild.sh: line 1: /bin/expr: No such file or directory
* Your expr binary appears to be broken, please fix it.
* For more info, see http://bugs.gentoo.org/123342

!!! ERROR: sys-apps/coreutils-6.4 failed.
!!! Function pkg_setup, Line 43, Exitcode 0
!!! your expr is broke

It appears that I have no previous version of coreutils showing on my
system...  Anyone know of a way to fix this?

Denis
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing

2007-03-01 Thread Denis

You really need to tell us more about your system. What did you do preceding
this?


emerge --info gives the following:

Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.5,
glibc-2.3.1-r2,glibc-2.3.4.20040808-r1, 2.4.19-gentoo-r10 i686)
=
System uname: 2.4.19-gentoo-r10 i686 Intel(R) XEON(TM) CPU 2.20GHz
Gentoo Base System version 1.4.2.8
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 0.2.7, 1.2.11
dev-lang/python: 2.2.2, 2.3.4-r1
dev-python/pycrypto: [Not Present]
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.12, 1.2.17
sys-devel/autoconf:  2.13, 2.59-r6, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.10
sys-devel/binutils:  2.13.90.0.18, 2.15.92.0.2-r1
sys-devel/gcc-config: 1.3.1, 1.3.8-r4
sys-devel/libtool:   1.4.1-r10, 1.5.22
virtual/os-headers:  2.4.19
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo";
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"

SNIP a bunch of "use" flags...

I know, I haven't updated for a while.  I was trying to update
Portage, and coreutils was listed as the necessary package to emerge
first.


What's the output of `emerge -pv coreutils`?


Calculating dependencies ...done!
[ebuild  N] sys-apps/coreutils-6.4  -acl +nls (-selinux) -static 0 kB


please show the output of either `equery check coreutils` or `qcheck coreutils`.


BLANK.  I ran it, and it doesn't give any output at all.

Denis




On Thursday 01 March 2007 18:35:54 Denis wrote:
> I was emerging coreutils to update portage, and it failed with the
following:
> >>> emerge (1 of 1) sys-apps/coreutils-6.4 to /
>
> --- SNIP md5 messages ---
>
> /usr/lib/portage/bin/ebuild.sh: line 1: /bin/expr: No such file or
> directory * Your expr binary appears to be broken, please fix it.
>  * For more info, see http://bugs.gentoo.org/123342
>
> !!! ERROR: sys-apps/coreutils-6.4 failed.
> !!! Function pkg_setup, Line 43, Exitcode 0
> !!! your expr is broke

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge coreutils-6.4 says "expr" binary missing

2007-03-02 Thread Denis

Many thanks - it worked...  the Portage is now current, which I cannot
say for the rest of my system...  ugh.  I think eventually I'll just
have to make an archive of my home directory and clean-slate install
the latest Gentoo distro.  There are too many dangling ends from back
when - would probably take less time than trying to transition X11 to
Xorg, gcc3.3.5 to gcc4, etc etc...
--
gentoo-user@gentoo.org mailing list



  1   2   >