[gentoo-user] Anybody Know x86 Assembler?

2007-01-26 Thread Neil Hodges
Hello,

Does anybody know x86 assember?  The following code is in a kernel
source file, and GCC fails to build it, saying "invalid operands to
'mov'".  What's wrong with it?

- Neil

Code:

asm volatile ("movl %%fs,%0":"=m" (*(int *) &m.fs)); 
asm volatile ("movl %%gs,%0":"=m" (*(int *) &m.gs));

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] x11-drm Fails to Build (No Configure Script)

2007-01-26 Thread Neil Hodges
Hello,

I am unable to install x11-drm from the ebuild due to the following
error.  This happens to be against a 2.4 kernel: 2.4.32-gentoo-r7.  Why
does this error occur?  What can I do about it?

- Neil



make -C /usr/src/linux  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.4.32-gentoo-r7'
make -C  /var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r
7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpre
ferred-stack-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.4.32-gentoo-r7/
include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory
`/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux'
gcc -I/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r7/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stac
k-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.32-gentoo-r7/include/lin
ux/modversions.h -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=radeon_drv  -c -o radeon_drv.o radeon_dr
v.c
drm_stub.h:37: warning: 'debug' defined but not used
gcc -I/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r7/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stac
k-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.32-gentoo-r7/include/lin
ux/modversions.h -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=radeon_cp  -c -o radeon_cp.o radeon_cp.c
gcc -I/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r7/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stac
k-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.32-gentoo-r7/include/lin
ux/modversions.h -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=radeon_state  -c -o radeon_state.o radeo
n_state.c
radeon_state.c: In function `radeon_cp_cmdbuf':
radeon_state.c:2768: warning: 'kbuf' might be used uninitialized in this
function
gcc -I/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r7/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stac
k-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.32-gentoo-r7/include/lin
ux/modversions.h -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=radeon_mem  -c -o radeon_mem.o radeon_me
m.c
gcc -I/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux
-D__KERNEL__ -I/usr/src/linux-2.4.32-gentoo-r7/include -
Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stac
k-boundary=2 -march=i586 -fno-unit-at-a-time -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.32-gentoo-r7/include/lin
ux/modversions.h -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=radeon_irq  -c -o radeon_irq.o radeon_ir
q.c
ld -m elf_i386 -r -o radeon.o radeon_drv.o radeon_cp.o radeon_state.o
radeon_mem.o radeon_irq.o
make[2]: Leaving directory
`/var/tmp/portage/x11-base/x11-drm-20060608/work/drm/linux'
make[1]: Leaving directory `/usr/src/linux-2.4.32-gentoo-r7'

!!! ERROR: x11-base/x11-drm-20060608 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 4087:   Called src_compile
x11-drm-20060608.ebuild, line 117:   Called econf
  ebuild.sh, line 577:   Called die

  !!! no configure script found
  !!! If you need support, post the topmost build error, and the
  call stack if relevant.
  !!! A complete build log is located at
  '/var/tmp/portage/x11-base/x11-drm-20060608/temp/build.log'.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Weird mysql problem.

2006-10-30 Thread Neil Hodges
Hello,

I was unable to locate one specific, but there are quite a few problems.
It has to do with a slight change in the MySQL API.

- Neil
On 12:54 Sun 29 Oct , Bartlomiej Syryjczyk wrote:
> Neil Hodges napisal(a):
> > Hello,
> >
> > This problem is well-known, and present in the bugzilla.  The problem
> > lies in MySQL 5.0.26-r1, and many threads in the forums have been spawned.
> Can you send me link to the bugzilla or official MySQL forum?
> 
> guzik

-- 
 /  /  - |--|--|
/-//-/   |\-|----
 /  /||-|-|  -
/  / |\- \ \

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to discover what is the package of a given file?

2006-10-25 Thread Neil Hodges
Hello,

Isn't qfile deprecated?

- Neil
On 16:35 Wed 25 Oct , Justin Findlay wrote:
> On AD 2006 October 26 Thursday 03:44:29 AM +0530, Vikas Kumar wrote:
> > # equery belongs 
> > 
> > equery comes with gentoolkit.
> > 
> > # emerge gentoolkit
> 
> You can alternatively try qfile from portage-utils.
> 
> # emerge portage-utils
> $ qfile $(which file)
> -- 
> gentoo-user@gentoo.org mailing list

-- 
 /  /  - |--|--|
/-//-/   |\-|----
 /  /||-|-|  -
/  / |\- \ \

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Weird mysql problem.

2006-10-24 Thread Neil Hodges
Hello,

This problem is well-known, and present in the bugzilla.  The problem
lies in MySQL 5.0.26-r1, and many threads in the forums have been spawned.

- Neil

On 14:14 Tue 24 Oct , A. R. wrote:
> Hi,
> 
> I am running Gentoo ~amd64 and I recently upgraded MySQL from
> 5.0.26 to 5.0.26-r1 and things are not working anymore (for example mythtv).
> 
> After spending a great deal of time looking at logs, changing
> configuration files (namely, my.cnf), installing and de-installing
> MySQL, I  still cannot get any programs to connect to mysql, including
> "mysql_secure_installation" which outputs the following error message:
> 
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> ''/var/run/mysqld/mysqld.sock'' (2)
> 
> But, here is the thing, the socket and pid file values in
> /etc/mysql/my.cnf are set to the following:
> 
> [client]
> socket = /tmp/mysqld.sock
> .
> .
> [mysqld]
> socket = /tmp/mysqld.sock
> pid-file = /tmp/mysqld.pid
> 
> 
> 
> And, after re-starting the MySQL process (/etc/init.d/mysql restart) I
> list the processes and find that the mysqld daemon has indeed been
> passed the correct configuration values.
> 
> mysql24056 1  0 11:20 ?00:00:00 /usr/sbin/mysqld
> --defaults-file=/etc/mysql/my.cnf --basedir=/usr
> --datadir=/storage/mysql-db --pid-file=/tmp/mysqld.pid
> --socket=/tmp/mysqld.sock
> 
> 
> Could someone please help?
> I know I am running ~arch and that this is perhaps "part of the game"
> in doing that, but maybe it can be easily fixed...
> 
> Thank you,
> 
> - AR
> 
> -- 
> If you stare long enough into an abyss, the abyss will stare back into 
> you...
> -- 
> gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] want to ditch kopete

2006-10-18 Thread Neil Hodges
Hello,

I've been using Gaim 2.0.0_rc3 (some `r' version I can't recall) for
some time, due to Kopete's compilation issues.

I also hope Kopete will be fixed.

- Neil

On 13:35 Wed 18 Oct , Roy Wright wrote:
> Howdy,
> 
> ~x86, kde user.  kopete-3.5.5-r1 will not compile.  Already a bug report
> on it.
> I'd like to just ignore this version instead of having it fail every
> time I run an update.
> I don't use kopete so don't really care about it.
> Tried unmerging it.  Update world insists on reinstalling it.  Tried
> package.masking
> it, now it blocks update world.
> Any other tricks to ditch this dog?
> 
> TIA,
> Roy
> 
> -- 
> 
> ruby -e 'puts "qnxv?bhrbn-bnl".tr(" -}","!-~")'
> -- 
> gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help! Xorg broken!

2006-10-16 Thread Neil Hodges
Hello,

The error regarding the "/var/run/acpid.socket" means that you don't
have acpid installed, nor running. I don't know if the fault has
something to do with that.

It may be a good idea to emerge sys-power/acpid and add it to your
default runlevel: rc-update add acpid default

Also, add Option "UseEDID" "false" to your xorg.conf under the nVidia
Device section.  It fixes a lot of issues.

- Neil
On 19:42 Mon 16 Oct , Jeff Cranmer wrote:
> Hi,
> 
> I am running gentoo kernel 2.6.15-r1
> I recently updated xorg, and installed the new nvidia-drivers package.
> Xorg now appears to be horribly broken.
> The nvidia splash screen appears, then it faults out back to the command line.
> 
> Looking at Xorg.0.log, I have the following warnings and errors
> 
> Open ACPI failed (/var/run/acpid.socket) (no such file or directory)
> No modes were requested; the default mode "nvidia-auto-select" will be used 
> as the requested mode.
> Could not init font path element /usr/share/fonts/CID/, removing from list!
> FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing
> 
> Any assistance gratefully received.
> 
> Jeff
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Changing Konqueror Timeouts

2006-10-12 Thread Neil Hodges
Hello,

I've been having issues with timeouts in Konqueror, particularly DNS
timeouts.  How can I change the values for these?

- Neil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw2100 problems - ieee80211?

2006-10-11 Thread Neil Hodges
Hello,

You would run the command:
# ln -s /etc/init.d/net.{lo,ethX}

However, "ethX" would refer to the device name of your network card,
which you should be able to find out via a search on Google.

- Neil
On 21:53 Wed 11 Oct , Lord Sauron wrote:
> On Wednesday 11 October 2006 21:45, Trenton Adams wrote:
> > You create net.eth0, or whatever, by linking /etc/init.d/net.ethX to
> > /etc/init.d/net.lo  The driver will create the actual kernel device
> > name of eth0, ath0, or whatever, and then your link will make it
> > work.
> 
> Makes sense.  How do I do that?
> 
> I'm a little dense here: how would I do that?  Is there some special 
> command?  Do I copy the thing and rename it?  Do I do the funky Gentoo 
> dance and burn a sacrificial hard drive to the gods of the IBM 
> DeathStar hard drives and hope it'll work in a week?
> 
> Just kidding about that last one, but I'm know where you're going, just 
> not how to get there ; )
> 
> Thanks for your help, by the way - wouldn't have gotten past the funky 
> Gentoo dance w/o you : )
> 
> -- 
> http://lordsauronthegreat.googlepages.com/



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] app-i18n/scim-qtimm-0.9.4 Fails to Configure to Build

2006-08-29 Thread Neil Hodges
Hello,

app-i18n/scim-qtimm-0.9.4 fails to configure, whereas the previous
version has no trouble.  What is the cause of this problem?

- Neil
== log ==
*** Creating acinclude.m4
make[1]: Entering directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
make[1]: Leaving directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
*** Creating list of subdirectories
make[1]: Entering directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
cd . && make -f admin/Makefile.common subdirs
make[2]: Entering directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
make[2]: Leaving directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
make[1]: Leaving directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
*** Creating configure.files
*** Creating configure.in
make[1]: Entering directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
cd . && make -f admin/Makefile.common configure.in ;
make[2]: Entering directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
make[2]: Leaving directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
make[1]: Leaving directory 
`/var/tmp/portage/scim-qtimm-0.9.4/work/scim-qtimm-0.9.4'
*** Creating aclocal.m4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
make: *** [cvs] Error 1

!!! ERROR: app-i18n/scim-qtimm-0.9.4 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_unpack
  ebuild.sh, line 709:   Called src_unpack
  scim-qtimm-0.9.4.ebuild, line 41:   Called die

!!! reautotooling failed
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate"

2006-08-27 Thread Neil Hodges
On 17:31 Sun 27 Aug , Richard Fish wrote:
> On 8/27/06, Neil Hodges <[EMAIL PROTECTED]> wrote:
> >Hello again,
> >
> >These are all libpython is linked against:
> >  linux-gate.so.1 =>  (0xe000)
> >  libpthread.so.0 => /lib/libpthread.so.0 (0xb7e7f000)
> >  libdl.so.2 => /lib/libdl.so.2 (0xb7e7b000)
> >  libutil.so.1 => /lib/libutil.so.1 (0xb7e77000)
> >  libm.so.6 => /lib/libm.so.6 (0xb7e52000)
> >  libc.so.6 => /lib/libc.so.6 (0xb7d33000)
> >  /lib/ld-linux.so.2 (0x8000)
> 
> Ok, then I have nfc why you get references to deflate in your
> libpython.  Emerge --info and emerge -pv python output might be
> illuminating.
> 
> -Richard
> 
> PS. please don't top-post.
> -- 
> gentoo-user@gentoo.org mailing list
Hello,

Here is the information.

- Neil
== emerge --info ==
Gentoo Base System version 1.12.4
Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, 
glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=
System uname: 2.6.17-suspend2-r4 i686 Intel(R) Celeron(R) M processor 
1.50GHz
Last Sync: Sun, 27 Aug 2006 20:20:01 +
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -mmmx -msse -msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler 
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo 
/etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -pipe -mmmx -msse -msse2 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms 
strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ 
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo 
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ 
http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ 
ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo 
ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net 
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ 
ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo 
http://gentoo.llarian.net/";
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl 
/usr/portage/local/layman/zugaina /usr/local/portage 
/usr/local/overlays/xfce4-svn"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aim alsa apache2 arts artswrappersuid artworkextra asf avi 
berkdb bidi bitmap-fonts branding browserplugin bzip2 cairo cdparanoia cdr cjk 
cli crypt cscope css cups dbus dhcpi directfb dlloader dri dts dv dvd dvdnav 
dvdr dvdread dvi eds elibc_glibc emboss encode esd evo exif exo expat fam fbcon 
ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm gecko-sdk gif gimp 
gimpprint glitz glut gnutls gphoto2 gpm grammar graphviz gstreamer gstreamer010 
gtk gtk2 gtkhtml hal ieee1394 imagemagick imlib immqt-bc input_devices_keyboard 
input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber java javascript 
jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux kqemu ldap libg++ 
libgda libnotify libsexy libvisual libwww linguas_en linguas_ja logrotate mad 
madwifi math matroska mbox mikmod mmx mmx2 mmxext mono motif mozilla 
moznocompose moznomail mozsvg mp3 mpeg msn musepac

Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate"

2006-08-27 Thread Neil Hodges
Hello again,

These are all libpython is linked against:
  linux-gate.so.1 =>  (0xe000)
  libpthread.so.0 => /lib/libpthread.so.0 (0xb7e7f000)
  libdl.so.2 => /lib/libdl.so.2 (0xb7e7b000)
  libutil.so.1 => /lib/libutil.so.1 (0xb7e77000)
  libm.so.6 => /lib/libm.so.6 (0xb7e52000)
  libc.so.6 => /lib/libc.so.6 (0xb7d33000)
  /lib/ld-linux.so.2 (0x8000)

- Neil
On 15:28 Sun 27 Aug , Richard Fish wrote:
> On 8/27/06, Neil Hodges <[EMAIL PROTECTED]> wrote:
> >Hello all,
> >
> >I've run into a build error with OpenOffice.org 2.0.3 regardless of USE.  
> >The command checkdll.sh claims that there is no symbol 
> >"deglate" in libpython2.4.so.1.0, but there is:
> >
> >$ readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
> >58:  0 NOTYPE  GLOBAL DEFAULT  UND deflate
> >   467:  0 NOTYPE  GLOBAL DEFAULT  UND deflateInit_
> >   586:  0 NOTYPE  GLOBAL DEFAULT  UND deflateInit2_
> >  1118:  0 NOTYPE  GLOBAL DEFAULT  UND deflateEnd
> >
> >Why does the build fail?
> 
> 
> Hmm,
> 
> carcharias rjf # readelf -s /usr/lib/libpython2.4.so.1.0  | grep deflate
> carcharias rjf #
> 
> It looks like somehow you built python so it is dynamically linked
> against libz.  Normally those dependancies are only on the module
> libraries in lib-dynload.  What does ldd /usr/lib/libpython2.4.so.1.0
> report?
> 
> I suggest posting the outputs of "emerge -pv python" and emerge --info.
> 
> -Richard
> -- 
> gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate"

2006-08-27 Thread Neil Hodges
Hello all,

I've run into a build error with OpenOffice.org 2.0.3 regardless of USE.  The 
command checkdll.sh claims that there is no symbol "deglate" in 
libpython2.4.so.1.0, but there is:

$ readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
58:  0 NOTYPE  GLOBAL DEFAULT  UND deflate
   467:  0 NOTYPE  GLOBAL DEFAULT  UND deflateInit_
   586:  0 NOTYPE  GLOBAL DEFAULT  UND deflateInit2_
  1118:  0 NOTYPE  GLOBAL DEFAULT  UND deflateEnd

Why does the build fail?

- Neil
== log ==
Making: ../../unxlngi6.pro/lib/libpyuno.so
g++ -Wl,-z,combreloc -Wl,-rpath,'$ORIGIN' -Wl,-zdynsort -shared 
-L../../unxlngi6.pro/lib -L../lib 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/lib
 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
 -L/opt/blackdown-jdk-1.4.2.03/lib -L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/client 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/native_threads -L/usr/lib 
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/slo/pyuno_version.o 
../../unxlngi6.pro/slo/pyuno_description.o -o 
../../unxlngi6.pro/lib/libpyuno.so ../../unxlngi6.pro/slo/pyuno_runtime.o 
../../unxlngi6.pro/slo/pyuno.o ../../unxlngi6.pro/slo/pyuno_callable.o 
../../unxlngi6.pro/slo/pyuno_module.o ../../unxlngi6.pro/slo/pyuno_type.o 
../../unxlngi6.pro/slo/pyuno_util.o ../../unxlngi6.pro/slo/pyuno_except!
 .o ../../unxlngi6.pro/slo/pyuno_adapter.o ../../unxlngi6.pro/slo/pyuno_gc.o 
-luno_cppu -luno_cppuhelpergcc3 -luno_sal -lpython2.4 -ldl -lpthread -lm 
Wl,-Bdynamic -lstlport_gcc
rm -f ../../unxlngi6.pro/lib/check_libpyuno.so
mv ../../unxlngi6.pro/lib/libpyuno.so ../../unxlngi6.pro/lib/check_libpyuno.so
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/bin/checkdll.sh
 -L../../unxlngi6.pro/lib -L../lib 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/lib
 
-L/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/unxlngi6/lib
 -L/opt/blackdown-jdk-1.4.2.03/lib -L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/client 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/native_threads -L/usr/lib 
-L/usr/lib/mozilla-firefox ../../unxlngi6.pro/lib/check_libpyuno.so Checking 
DLL ../../unxlngi6.pro/lib/check_libpyuno.so ...: ERROR: 
/usr/lib/libpython2.4.so.1.0: undefined symbol: deflate
dmake:  Error code 1, while making '../../unxlngi6.pro/lib/libpyuno.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/pyuno/source/module
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  openoffice-2.0.3.ebuild, line 252:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if 
relevant.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] KDE Screensaver Crashes with SCIM Input

2006-08-26 Thread Neil Hodges
Hello,

I'm having issues with the login dialog of KDE's screensaver and SCIM.  The 
dialog crashes every single time. I've compiled everything with -O3 CFLAGS and 
CXXFLAGS, but have compiled scim, skim, scim-qtimm, and kdesktop with -O2.  
This only happens when I enable the password-protected screen locking.  Where 
could the problem lie?
- Neil
== Console Output ==
$ kdesktop_lock
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode:  2
Minor opcode:  0
  Resource id:  0x280008c
  WARNING: DCOPReply<>: cast to 'QStringList' error
  WARNING: DCOPReply<>: cast to 'QString' error
  ScimInputContextPlugin()
  *** glibc detected *** kdesktop_lock: free(): invalid pointer:
  0x0815ee28 ***
  === Backtrace: =
  /lib/libc.so.6[0xb673ddb0]
  /lib/libc.so.6(__libc_free+0x84)[0xb673f3f4]
  
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0xb68daef1]
  /usr/lib/libscim-1.0.so.8[0xb106a8ed]
  
/usr/lib/libscim-1.0.so.8(_ZN4scim20scim_get_module_listERSt6vectorISsSaISsEERKSs+0x37)[0xb106b9a7]
  
/usr/lib/libscim-1.0.so.8(_ZN4scim29scim_get_imengine_module_listERSt6vectorISsSaISsEE+0x45)[0xb1066345]
  
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN4scim23QScimInputContextGlobal10initializeEv+0x241)[0xb1120d61]
  
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN4scim17QScimInputContextC1Ev+0x31e)[0xb1122afe]
  
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN22ScimInputContextPlugin6createERK7QString+0x7e)[0xb111bc8e]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN26QInputContextPluginPrivate6createERK7QString+0x1b)[0xb724b8db]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN20QInputContextFactory6createERK7QStringP7QWidget+0x66)[0xb724b416]
  
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext17changeInputMethodE7QString+0xc3)[0xb1170939]
  
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext5slaveEv+0x43)[0xb1170b43]
  
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext15setHolderWidgetEP7QWidget+0x26)[0xb1170db2]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN20QInputContextFactory6createERK7QStringP7QWidget+0x7a)[0xb724b42a]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget18createInputContextEv+0x6a)[0xb6fa6f2a]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget17resetInputContextEv+0x22)[0xb6fa71a2]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN9QLineEdit7setTextERK7QString+0x22)[0xb712b772]
  
/usr/kde/3.5/lib/libkdeui.so.4(_ZN13KPasswordEdit12focusInEventEP11QFocusEvent+0x72)[0xb7a939c2]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x2ed)[0xb7086bad]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN9QLineEdit5eventEP6QEvent+0x3b)[0xb712a43b]
  
/usr/kde/3.5/lib/libkdeui.so.4(_ZN13KPasswordEdit5eventEP6QEvent+0x4c)[0xb7a9365c]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x97)[0xb6fdfb97]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xa9)[0xb6fe0b89]
  
/usr/kde/3.5/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x19e)[0xb77d500e]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN7QDialog4showEv+0x16e)[0xb71f060e]
  
kdesktop_lock(_ZN12KApplication9saveStateER15QSessionManager+0x8f1)[0x80537c1]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN7QDialog4execEv+0x62)[0xb71ef0c2]
  kdesktop_lock[0x8055d32]
  kdesktop_lock[0x805de09]
  kdesktop_lock[0x805e205]
  
/usr/kde/3.5/lib/libkdecore.so.4(_ZN12KApplication14x11EventFilterEP7_XEvent+0x7b)[0xb77dd93b]
  kdesktop_lock[0x8056b0b]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xc7)[0xb6f6dd57]
  
/usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x6d5)[0xb6f83835]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x51)[0xb6ff9481]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x26)[0xb6ff9306]
  /usr/qt/3/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f)[0xb6fdf74f]
  kdesktop_lock[0x8060be7]
  /lib/libc.so.6(__libc_start_main+0xd8)[0xb66f0878]
  kdesktop_lock(_ZN7QWidget22windowActivationChangeEb+0x51)[0x80531b1]
  === Memory map: 
  08048000-08075000 r-xp  03:04 5225768
  /usr/kde/3.5/bin/kdesktop_lock
  08075000-08076000 rw-p 0002d000 03:04 5225768
  /usr/kde/3.5/bin/kdesktop_lock
  08076000-081c rw-p 08076000 00:00 0  [heap]
  b0f0-b0f21000 rw-p b0f0 00:00 0
  b0f21000-b100 ---p b0f21000 00:00 0
  b1002000-b10d8000 r-xp  03:04 5785567
  /usr/lib/libscim-1.0.so.8.1.0
  b10d8000-b10e6000 rw-p 000d6000 03:04 5785567
  /usr/lib/libscim-1.0.so.8.1.0
  b10e7000-b110c000 r-xp  03:04 4437104
  /usr/qt/3/plugins/inputmethods/libqsimple.so
  b110c000-b110d000 rw-p 00024000 03:04 4437104
  /usr/qt/3/plugins/inputmethods/libqsimple.so
  b110d000-b112b000 r-xp  03:04 5782765
  /

Re: [gentoo-user] Space Bar Does't Work with GDM and GNOME

2006-08-18 Thread Neil Hodges
On 09:03 Fri 18 Aug , Andrew Frink wrote:
Hello again,

The only files located under ~/.gnome/ are:
===
$ ls -R
.:
accels  application-info  gnome-vfs  GSnes9x  gsnes9x.d

./accels:
GSnes9x

./application-info:
user.applications

./gnome-vfs:

./gsnes9x.d:
== user.applications ==
# This file is automatically generated by gnome-vfs application registry
# Do NOT edit by hand
# Generated: Tue May 16 00:24:30 2006

Firefox
requires_terminal=false
command=/usr/lib/mozilla-firefox/firefox
can_open_multiple_files=false
mime_types=application/xhtml+xml,text/html
supported_uri_schemes=http,https,ftp,gopher,chrome,file
expects_uris=true
name=Mozilla Firefox
mime_types=text/html,application/xhtml+xml

gxine
requires_terminal=false
command=/usr/bin/gxine
can_open_multiple_files=true
name=gxine 0.5.6

mime_types=application/x-flac,audio/x-mp3,audio/mp3,audio/mpegurl,x-mpegurl,audio/x-mpeg,audio/mpeg,audio/x-mpeg3,audio/mpeg3,audio/x-mpeg2,audio/mpeg2,audio/x-pn-windows-acm,audio/x-pn-wav,audio/wav,audio/x-wav,video/x-mpeg,video/mpeg,application/vnd.rn-realmedia,audio/x-real-audio,audio/x-pn-realaudio-plugin,audio/x-pn-realaudio,application/x-ogg,audio/x-speex,audio/x-ogg,video/anim,video/x-anim,image/ilbm,image/x-ilbm,audio/168sv,audio/x-16sv,audio/8svx,audio/x-8svx,audio/x-pn-au,audio/x-basic,audio/basic,audio/x-realaudio,audio/x-pn-aiff,audio/aiff,audio/x-aiff,video/x-flic,video/x-msvideo,video/msvideo,video/mkv,application/x-quicktimeplayer,audio/x-m4a,video/x-quicktime,video/quicktime,application/x-annodex
===
As far as I can tell, there aren't any keybindings there.

What would a keybindings file be called?

- Neil

> Neil,
> Check to see if you have anything set to the space bar in your gnome
> keybindings, I had a problem like that once, if i remember right I went into
> ~/.gnome and deleted the file ffor the keybindings... or i had to delete the
> whole dir(i forget)
> 
> Andrew
> 
> 
> On 8/17/06, Neil Hodges <[EMAIL PROTECTED]> wrote:
> >
> >Hello all,
> >
> >I've run into a problem with GNOME and GDM.  When I start a GNOME
> >session from GDM, the space bar stops working in X.  There are no
> >problems with TWM, FVWM2, E16, or XFce4.  What could be causing this
> >problem?
> >
> >- Neil
> >== Xorg.0.log ==
> >X Window System Version 7.1.1
> >Release Date: 12 May 2006
> >X Protocol Version 11, Revision 0, Release 7.1.1
> >Build Operating System: Linux 2.6.17-suspend2-r3 i686
> >Current Operating System: Linux hsd3 2.6.17-suspend2-r4 #1 PREEMPT Sat Aug
> >12 10:47:50 PDT 2006 i686
> >Build Date: 10 August 2006
> >Before reporting problems, check http://wiki.x.org
> >to make sure that you have the latest version.
> >Module Loader present
> >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: Thu Aug 17 17:40:00 2006
> >(==) Using config file: "/etc/X11/xorg.conf"
> >(==) ServerLayout "Simple Layout"
> >(**) |-->Screen "Screen 1" (0)
> >(**) |   |-->Monitor "My Monitor"
> >(**) |   |-->Device "* Generic VESA compatible"
> >(**) |-->Input Device "TouchPad"
> >(**) |-->Input Device "Keyboard1"
> >(==) |-->Input Device ""
> >(WW) The core pointer device wasn't specified explicitly in the layout.
> >Using the default mouse configuration.
> >(WW) The directory "/usr/share/fonts/cryllic" does not exist.
> >Entry deleted from font path.
> >(**) FontPath set to:
> >/usr/share/fonts/misc:unscaled,
> >/usr/share/fonts/75dpi,
> >/usr/share/fonts/100dpi,
> >/usr/share/fonts/TTF,
> >/usr/share/fonts/Type1,
> >/usr/share/fonts/ttf-bitstream-vera,
> >/usr/share/fonts/artwiz,
> >/usr/share/fonts/kochi-substitute,
> >/usr/share/fonts/arphicfonts,
> >/usr/share/fonts/corefonts,
> >/usr/share/fonts/baekmuk-fonts,
> >/usr/share/fonts/sharefonts,
> >/usr/share/fonts/freefonts,
> >/usr/share/fonts/cjkuni-fonts
> >(==) RgbPath set to "/usr/share/X11/rgb"
> >(**) ModulePath set to "/usr/lib/xorg/modules/"
> >(**) Option "AIGLX" "off"
> >(II) Open ACPI succes

[gentoo-user] Space Bar Does't Work with GDM and GNOME

2006-08-17 Thread Neil Hodges
Hello all,

I've run into a problem with GNOME and GDM.  When I start a GNOME
session from GDM, the space bar stops working in X.  There are no
problems with TWM, FVWM2, E16, or XFce4.  What could be causing this
problem?

- Neil
== Xorg.0.log ==
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-suspend2-r3 i686 
Current Operating System: Linux hsd3 2.6.17-suspend2-r4 #1 PREEMPT Sat Aug 12 
10:47:50 PDT 2006 i686
Build Date: 10 August 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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: Thu Aug 17 17:40:00 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "* Generic VESA compatible"
(**) |-->Input Device "TouchPad"
(**) |-->Input Device "Keyboard1"
(==) |-->Input Device ""
(WW) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
(WW) The directory "/usr/share/fonts/cryllic" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/ttf-bitstream-vera,
/usr/share/fonts/artwiz,
/usr/share/fonts/kochi-substitute,
/usr/share/fonts/arphicfonts,
/usr/share/fonts/corefonts,
/usr/share/fonts/baekmuk-fonts,
/usr/share/fonts/sharefonts,
/usr/share/fonts/freefonts,
/usr/share/fonts/cjkuni-fonts
(==) RgbPath set to "/usr/share/X11/rgb"
(**) ModulePath set to "/usr/lib/xorg/modules/"
(**) Option "AIGLX" "off"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.0
X.Org XInput driver : 0.6
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1002,5a31 card 1179,ff10 rev 01 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1002,5a3f card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:13:0: chip 1002,4374 card 1179,ff10 rev 00 class 0c,03,10 hdr 80
(II) PCI: 00:13:1: chip 1002,4375 card 1179,ff10 rev 00 class 0c,03,10 hdr 00
(II) PCI: 00:13:2: chip 1002,4373 card 1179,ff10 rev 00 class 0c,03,20 hdr 00
(II) PCI: 00:14:0: chip 1002,4372 card 1179,ff10 rev 11 class 0c,05,00 hdr 80
(II) PCI: 00:14:1: chip 1002,4376 card 1179,ff10 rev 00 class 01,01,8a hdr 00
(II) PCI: 00:14:3: chip 1002,4377 card 1179,ff10 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:14:4: chip 1002,4371 card , rev 00 class 06,04,01 hdr 81
(II) PCI: 00:14:5: chip 1002,4370 card 1179,ff10 rev 02 class 04,01,00 hdr 80
(II) PCI: 00:14:6: chip 1002,4378 card 1179,0001 rev 02 class 07,03,00 hdr 80
(II) PCI: 01:05:0: chip 1002,5a42 card 1179,ff10 rev 00 class 03,00,00 hdr 00
(II) PCI: 02:04:0: chip 168c,001a card 144f,7094 rev 01 class 02,00,00 hdr 00
(II) PCI: 02:06:0: chip 104c,ac50 card a400, rev 02 class 06,07,00 hdr 02
(II) PCI: 02:07:0: chip 10ec,8139 card 1179,ff10 rev 10 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1  0   0x9000 - 0x90ff (0x100) IX[B]
[1] -1  0   0x9400 - 0x94ff (0x100) IX[B]
[2] -1  0   0x9800 - 0x98ff (0x100) IX[B]
[3] -1  0   0x9c00 - 0x9cff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1  0   0xc01000