[gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion

2014-03-01 Thread Kacper Kopczyński
Hello list,

I've installed newest boost into /usr/local - it's a custom installation and 
not via emerge/portage.

Today, after upgrading system, I've found that I need to use

emerge --update --newuse --deep --with-bdeps=y @world

to rebuild some dependencies.

In the process of recompiling I first noticed this strange thing:
checking for Boost headers version = 1.36.0... yes
checking for Boost's header version... 1_55

Portage installed boost is 1.52, my custom installed one is 1.55.

Then after a few seconds I saw this:
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\ 
-DPACKAGE_TARNAME=\libixion\ -
DPACKAGE_VERSION=\0.5.0\ -DPACKAGE_STRING=\libixion\ 0.5.0\ 
-DPACKAGE_BUGREPORT=\\ 
-DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\ -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_STDLIB_H=1 -
DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -
DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -
DHAVE_MDDS_RECTANGLE_SET_HPP=1 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1 -
DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -
DHAVE_BOOST_THREAD_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include -
I../lib/libixion/libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST -
D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden  -O2 -pipe -march=native -c -o 
ixion_sorter-
sort_input_parser.o `test -f 'sort_input_parser.cpp' || echo 
'./'`sort_input_parser.cpp
/bin/sh ../libtool --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe 
-march=native  -Wl,-
O1 -Wl,--as-needed -o ixion-parser ixion_parser-ixion_parser.o 
ixion_parser-model_parser.o 
libixion/libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread 
-lboost_program_options-mt 
libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 
-Wl,--as-needed -o 
.libs/ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o 
-pthread  
libixion/.libs/libixion-0.6.so -lboost_thread-mt -lboost_system-mt 
-lboost_program_options-mt -
pthread
libixion/.libs/libixion-0.6.so: undefined reference to 
`boost::thread::start_thread_noexcept()'
libixion/.libs/libixion-0.6.so: undefined reference to 
`boost::thread::join_noexcept()'
collect2: error: ld returned 1 exit status
make[2]: *** [ixion-parser] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory 
`/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'
make: *** [all-recursive] Error 1
 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase):


...so it failed because it tried to use my custom boost... I think.

To be sure that this is because of this I moved /usr/local/lib and 
/usr/local/include to /root and 
another compilation of this library went fine.
After doing so I runned revdep-rebuild and it had to recompile libkolabxml 
because it was linked to 
boost in /usr/local/lib.

So here is my question:
If libreoffice does need boost to compile, and I compiled libreoffice after I 
installed boost to 
/usr/local, then why it was able to use correct version of boost (from /usr not 
/usr/local)?

Libreoffice is just an example - there are many other programs that depend on 
boost, and the 
boost.thread library is very popular one.

libkolabxml at version 1.0.1
libixion at version 0.5.0

Should I create a bug for these two libraries or this is expected behaviour?

-- 
Kacper Kopczyński


Re: [gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion

2014-03-01 Thread Kacper Kopczyński
Dnia sobota, 1 marca 2014 14:57:23 Samuli Suominen pisze:
 On 01/03/14 13:23, Kacper Kopczyński wrote:
  Hello list,
  
  
  
  I've installed newest boost into /usr/local - it's a custom
  installation and not via emerge/portage.
  
  
  
  Today, after upgrading system, I've found that I need to use
  
  
  
  emerge --update --newuse --deep --with-bdeps=y @world
  
  
  
  to rebuild some dependencies.
  
  
  
  In the process of recompiling I first noticed this strange thing:
  
  checking for Boost headers version = 1.36.0... yes
  
  checking for Boost's header version... 1_55
  
  
  
  Portage installed boost is 1.52, my custom installed one is 1.55.
  
  
  
  Then after a few seconds I saw this:
  
  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\
  -DPACKAGE_TARNAME=\libixion\ -DPACKAGE_VERSION=\0.5.0\
  -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\
  -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\
  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
  -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
  -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
  -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\
  -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1
  -DHAVE_STDBOOL_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1
  -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -DHAVE_MDDS_RECTANGLE_SET_HPP=1
  -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1
  -DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1
  -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -DHAVE_BOOST_THREAD_HPP=1
  -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include
  -I../lib/libixion/libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST
  -D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe
  -march=native -c -o ixion_sorter-sort_input_parser.o `test -f
  'sort_input_parser.cpp' || echo './'`sort_input_parser.cpp
  
  /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2
  -pipe -march=native -Wl,-O1 -Wl,--as-needed -o ixion-parser
  ixion_parser-ixion_parser.o ixion_parser-model_parser.o
  libixion/libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread
  -lboost_program_options-mt
  
  libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1
  -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o
  ixion_parser-model_parser.o -pthread libixion/.libs/libixion-0.6.so
  -lboost_thread-mt -lboost_system-mt -lboost_program_options-mt -pthread
  
  libixion/.libs/libixion-0.6.so: undefined reference to
  `boost::thread::start_thread_noexcept()'
  
  libixion/.libs/libixion-0.6.so: undefined reference to
  `boost::thread::join_noexcept()'
  
  collect2: error: ld returned 1 exit status
  
  make[2]: *** [ixion-parser] Error 1
  
  make[2]: *** Waiting for unfinished jobs
  
  make[2]: Leaving directory
  `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'
  
  make[1]: *** [all-recursive] Error 1
  
  make[1]: Leaving directory
  `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'
  
  make: *** [all-recursive] Error 1
  
  * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase):
  
  
  
  
  
  ...so it failed because it tried to use my custom boost... I think.
  
  
  
  To be sure that this is because of this I moved /usr/local/lib and
  /usr/local/include to /root and another compilation of this library
  went fine.
  
  After doing so I runned revdep-rebuild and it had to recompile
  libkolabxml because it was linked to boost in /usr/local/lib.
  
  
  
  So here is my question:
  
  If libreoffice does need boost to compile, and I compiled libreoffice
  after I installed boost to /usr/local, then why it was able to use
  correct version of boost (from /usr not /usr/local)?
  
  
  
  Libreoffice is just an example - there are many other programs that
  depend on boost, and the boost.thread library is very popular one.
  
  
  
  libkolabxml at version 1.0.1
  
  libixion at version 0.5.0
  
  
  
  Should I create a bug for these two libraries or this is expected
  behaviour?
  
  
  
  
  Kacper Kopczyński
 
 There are multiple factors in play, some per package ./configure scripts
 add -I/usr/local/include so that headers are picked up from there by
 default,
 if compiler alone doesn't have that in it's default search path already.
 There are -L/usr/local/lib added by some, and /usr/local/lib in
 /etc/ld.so.conf
 
 What I'm really trying to say is that you can't install boost safely
 into /usr/local/lib and include, but you should put it in it's own
 directory outside of
 compilers or ld.so's scope, like for example, /home/username/boost, and
 then when you want something to use it, point the package to search it
 from there
 using package specific configure flags and environment variables like
 LD_LIBRARY_PATH, PKG_CONFIG_PATH, and so forth
 
 Bottom line is, It's not a bug you can file to Gentoo's bugzilla, it is
 expected behavior

Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?

2010-09-15 Thread Kacper Kopczyński
Dnia 2010-09-15, o godz. 13:49:53
a...@sourcegarden.de a...@sourcegarden.de napisał(a):

  On 09/15/10 13:46, Davide Carnovale wrote:
  You're welcome! I was just online at the right time =)
 
  Il giorno 15/set/2010 13:40, a...@sourcegarden.de
  a...@sourcegarden.de ha scritto:
 
  On 09/15/10 13:33, Davide Carnovale wrote:
  You definitely can. The usual gentoo install is based o...
  Great stuff, thanks for fast answere.
 
  Greeting from Germany
 
 
 
 
 What is about grub2 and gentoo? nerver used before and my Debian
 already have it. I rember from the last time with ubuntu that i got
 problem to boot, becources the option do work correctly.
 
 i got grub2-1.98+20100804-4
 
 
 
 
 --
 Sourcegarden GmbH HR: B-104357
 Steuernummer: 37/167/21214 USt-ID: DE814784953
 Geschaeftsfuehrer: Mario Scheliga, Rene Otto
 Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
 Schoenhauser Allee 55, 10437 Berlin

I suggest you try first on virtual environment before breaking anything
- virtualbox for example...

For creating 32bit gentoo on 64bit debian use /usr/bin/linux32 before
you chroot to gentoo stage root.

So the plan I see is:

1. create gentoo on server (linux32, chroot, compile, emerge -e world,
etc). You can always recompile world with another set of CFLAGS if you
have different machine, so set CGLAGS for generic 686
2. create experimental environment with debian and compiled gentoo in
virtualbox
3. learn about problems (bios, grub, grub2, backup copies)
4. do it :)

good luck

-- 
Kacper Kopczyński



Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?

2010-08-08 Thread Kacper Kopczyński
Dnia 2010-08-08, o godz. 12:19:07
Mark Shields laebsh...@gmail.com napisał(a):

 On Sat, Jul 31, 2010 at 3:14 PM, Volker Armin Hemmann 
 volkerar...@googlemail.com wrote:
 
  On Samstag 31 Juli 2010, Mick wrote:
   On Saturday 31 July 2010 19:04:47 Volker Armin Hemmann wrote:
On Samstag 31 Juli 2010, Mick wrote:
 On Saturday 31 July 2010 16:33:18 Dale wrote:
  Kacper Kopczyński wrote:
   Dnia 2010-07-31, o godz. 16:15:51
  
   Volker Armin Hemmannvolkerar...@googlemail.com
   napisał(a):
   On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
   Hi,
  
   My problem is really strange - I can't access my hard
   drive
  from
   linux, but it works from windows without problems. It
   has some bad blocks.
  
   it has a lot of bad blocks and a fucked up firmware it
   seems. No way it is working 'without problems'.
  
   Well total space taken by bad blocks according to chkdsk
   is less than 1MB, windows is still able to access all
   data. Linux is only able to see partition table for a
   while - as you can see in dmesg.
  
   If firmware is broken then how it is possible that
   windows is
  able
   to use this disk?
 
  Maybe windoze is ignoring the problem?  It's not like
  windoze has never done that before right?
 
  Just a thought.

 Couldn't it be that the MSWindows partition has no bad
 blocks, while Linux does?
   
it is not about partitions.
  
   Please explain, I thought that bad blocks would coincide with some
   partitions.
 
  because defectice partitions don't give you no sense errors nor do
  they give
  you zero capacity errors. Read his dmesg.
 
   If the firmware/logic board is bad, you might be able to replace
  it with
 one from the same model.  I've heard of some success from a coworker
 who took the logic board from a known good drive and put it on a HDD
 with good internals but a bad logic board, and it worked.  That's if
 you need the data, that is.
 
 - Mark Shields

After spending many hours on google it seems to me this is a bug in
firmware or seagate's firmware on barracuda discs likes to break itself
frequently.

Thank you for your help.

-- 
Kacper Kopczyński



Re: [gentoo-user] LVM on LUKS

2010-08-07 Thread Kacper Kopczyński
Dnia 2010-08-07, o godz. 11:48:34
Florian Philipp li...@f_philipp.fastmail.net napisał(a):

 Hi list!
 
 I'm building a new Gentoo system (notebook) and want to rearrange a
 few things. I thought it would be good to have the following layout:
 
  - boot on a normal partition
  - root on a normal partition
  - one big encrypted partition (dmcrypt / LUKS)
  - on that partition an LVM volume group
  - on that volume group all stuff not necessary for booting: home,
 var, tmp, etc.
 
 AFAIK, the Gentoo boot process is organized so that LVM gets stated
 before dmcrypt is started. I would need it vice versa.
 
 Is that possible with baselayout-1? Do I need to switch to
 baselayout-2?
 
 Thanks in advance!
 Florian Philipp
 

I've made my own initramfs to boot.

/boot   is a separate partition with ext2, grub, bzImage and
initramfs
/   is ext4 on logical volume on encrypted container
[ext4:lvm:luks:sda2]
swapis on another logical volume, next to /

I used two links as hints to build it:
http://jootamam.net/howto-initramfs-image.htm
http://jootamam.net/howto-basic-cryptsetup.htm

It's important to have all libraries copied to initramfs or to make all
binaries static (ldd). Some time ago I had dropbear in initramfs to
help booting headless server. Watch out for pivot_root restriction of
PID == 1.

-- 
Kacper Kopczyński



[gentoo-user] OT: hard disk access and recovery impossible under linux ?

2010-07-31 Thread Kacper Kopczyński
Hi,

My problem is really strange - I can't access my hard drive from linux,
but it works from windows without problems. It has some bad blocks.

I'm trying to access it from rescuecd which seems to be based on
gentoo - so it's not totally off topic :)

Here is dmesg: http://capsel.inten.pl/disk/dmesg

cat /dev/sda gives no output, fdisk fails with unable to
read /dev/sda. smartctl does not report model or serial, there is no
error log... hdparm shows Invalid exchange or
Inappropriate ioctl for device, all commands failed.

What else can I do?

-- 
Kacper Kopczyński



Re: [gentoo-user] OT: hard disk access and recovery impossible under linux ?

2010-07-31 Thread Kacper Kopczyński
Dnia 2010-07-31, o godz. 16:15:51
Volker Armin Hemmann volkerar...@googlemail.com napisał(a):

 On Samstag 31 Juli 2010, Kacper Kopczyński wrote:
  Hi,
  
  My problem is really strange - I can't access my hard drive from
  linux, but it works from windows without problems. It has some bad
  blocks.
 
 it has a lot of bad blocks and a fucked up firmware it seems. No way
 it is working 'without problems'.
 

Well total space taken by bad blocks according to chkdsk is less than
1MB, windows is still able to access all data. Linux is only able to
see partition table for a while - as you can see in dmesg.

If firmware is broken then how it is possible that windows is able to
use this disk?

  
  
  Here is dmesg: http://capsel.inten.pl/disk/dmesg
  
  cat /dev/sda gives no output, fdisk fails with unable to
  read /dev/sda. smartctl does not report model or serial, there is
  no error log... hdparm shows Invalid exchange or
  Inappropriate ioctl for device, all commands failed.
  
  What else can I do?
 
 maybe ask kernel devs if there is a way to access the drive even with
 a capacity of 0 to copy everything from it before you stuff it in the
 garbage can?
 

Well.. I've backed up data from it already.

-- 
Kacper Kopczyński



Re: [gentoo-user] firefox/xulrunner fails on Could not find compatible GRE between version 1.9.2.7 and 1.9.2.7.

2010-07-24 Thread Kacper Kopczyński
Dnia sobota 24 lipca 2010 o 12:10:52 William Kenworthy napisał(a):
 I am getting a Could not find compatible GRE between version 1.9.2.7
 and 1.9.2.7.
 
 Firefox 3.6.7 and xulrunner 1.9.2.7
 
 In the past, the fix was to recompile one or both a second time -
 unfortunately I now have two broken (probably soon to be 3 - havent
 tested yet :( systems where this is not working.
 
 Help!
 
 BillK

Have you tried running:
xulrunner-1.9.2 --register-global
as a root?

--
Kacper Kopczyński



Re: [gentoo-user] unmounting /usr in single user mode

2010-07-19 Thread Kacper Kopczyński
Dnia 2010-07-19, o godz. 14:58:37
Allan Gottlieb gottl...@nyu.edu napisał(a):

 I am unable to umount /usr in single user mode on an old system.
 I believe the system is baselayout-1 and is amd64.
 The trouble is open files, at least some of which appear to be related
 to bash and locale (see the files below).
 
 I use grub.  On the kernel line can I specify sh instead of bash?
 I know sh is linked to bash, but hope that it will not use locale.
 
 I need to umount /usr so that I can resize it (I use lvm and have
 already extended the logical volume).  Specifically i want to execute
 umount /usr
 resize2fs /dev/vg/usr
 mount /usr
 
 (I realize I will probably need an e2fsck).
 
 On my new system (baselayout-2), this was easy as /usr is not mounted
 when rebooting into single user mode.
 
 thanks,
 allan
 
 output of lsof | grep usr
 
 bash  1907 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive bash  1907 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache bash  2125 root
 mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive bash  2125 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache lsof  2149 root
 txt   REG  254,0   131144  92097 /usr/bin/lsof
 lsof  2149 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive grep  2150 root
 mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive grep  2150 root
 mem   REG  254,026050
 230642 /usr/lib64/gconv/gconv-modules.cache lsof  2151 root
 txt   REG  254,0   131144  92097 /usr/bin/lsof
 lsof  2151 root  mem   REG  254,0  1772320
 245830 /usr/lib64/locale/locale-archive
 
 
 output of fuser /usr/lib64/locale/locale-archive
 
   1907  2125
 
 and 1907 was /bin/bash
 

Because of /usr/lib I think you should use LiveCD.

If you really need to do this in single user mode try busybox and its
shell - create a link like:
cd /bin; ln -s /bin/busybox bsh

-- 
Kacper Kopczyński



Re: [gentoo-user] msfonts

2010-04-26 Thread Kacper Kopczyński
Dnia 2010-04-26, o godz. 11:20:12
fajfu...@wp.pl napisał(a):

 Hello
 
 
 I'm looking for the following fonts.
 Could you give me some indications of what packages contain the
 following fonts.
 
 Thank you.
 
  
 
 /usr/share/doc/msfonts
 /usr/share/doc/msfonts/hebrew.png
 /usr/share/doc/msfonts/index.html
 /usr/share/doc/msfonts/kdeconf.png
 /usr/share/doc/msfonts/konqconf.png
 /usr/share/doc/msfonts/mozconf.png
 /usr/share/doc/msfonts/msfonts-demo.kwd
 /usr/share/doc/msfonts/msfonts-demo.png
 /usr/share/doc/msfonts/msfonts-style-demo.kwd
 /usr/share/doc/msfonts/msfonts-style-demo.png
 /usr/share/doc/msfonts/orient.png
 /usr/share/doc/msfonts/thumb-hebrew.png
 /usr/share/doc/msfonts/thumb-msfonts-demo.png
 /usr/share/doc/msfonts/thumb-msfonts-style-demo.png
 /usr/share/doc/msfonts/thumb-orient.png
 /usr/share/fonts/msfonts
 /usr/share/fonts/msfonts/andalemo.ttf
 /usr/share/fonts/msfonts/arial.ttf
 /usr/share/fonts/msfonts/arialbd.ttf
 /usr/share/fonts/msfonts/arialbi.ttf
 /usr/share/fonts/msfonts/ariali.ttf
 /usr/share/fonts/msfonts/ariblk.ttf
 /usr/share/fonts/msfonts/comic.ttf
 /usr/share/fonts/msfonts/comicbd.ttf
 /usr/share/fonts/msfonts/cour.ttf
 /usr/share/fonts/msfonts/courbd.ttf
 /usr/share/fonts/msfonts/courbi.ttf
 /usr/share/fonts/msfonts/couri.ttf
 /usr/share/fonts/msfonts/georgia.ttf
 /usr/share/fonts/msfonts/georgiab.ttf
 /usr/share/fonts/msfonts/georgiai.ttf
 /usr/share/fonts/msfonts/georgiaz.ttf
 /usr/share/fonts/msfonts/impact.ttf
 /usr/share/fonts/msfonts/l_10646.ttf
 /usr/share/fonts/msfonts/lucon.ttf
 /usr/share/fonts/msfonts/micross.ttf
 /usr/share/fonts/msfonts/symbol.ttf
 /usr/share/fonts/msfonts/tahoma.ttf
 /usr/share/fonts/msfonts/tahomabd.ttf
 /usr/share/fonts/msfonts/times.ttf
 /usr/share/fonts/msfonts/timesbd.ttf
 /usr/share/fonts/msfonts/timesbi.ttf
 /usr/share/fonts/msfonts/timesi.ttf
 /usr/share/fonts/msfonts/trebuc.ttf
 /usr/share/fonts/msfonts/trebucbd.ttf
 /usr/share/fonts/msfonts/trebucbi.ttf
 /usr/share/fonts/msfonts/trebucit.ttf
 /usr/share/fonts/msfonts/verdana.ttf
 /usr/share/fonts/msfonts/verdanab.ttf
 /usr/share/fonts/msfonts/verdanai.ttf
 /usr/share/fonts/msfonts/verdanaz.ttf
 /usr/share/fonts/msfonts/webdings.ttf
 /usr/share/fonts/msfonts/wingding.ttf
 /usr/share/fonts/msfonts-style
 /usr/share/fonts/msfonts-style/ahronbd.ttf
 /usr/share/fonts/msfonts-style/gil_.ttf
 /usr/share/fonts/msfonts-style/gilb.ttf
 /usr/share/fonts/msfonts-style/gilbi___.ttf
 /usr/share/fonts/msfonts-style/gilc.ttf
 /usr/share/fonts/msfonts-style/gilcb___.ttf
 /usr/share/fonts/msfonts-style/gili.ttf
 /usr/share/fonts/msfonts-style/gilu.ttf
 /usr/share/fonts/msfonts-style/matha___.ttf
 /usr/share/fonts/msfonts-style/mathb___.ttf
 /usr/share/fonts/msfonts-style/mathc___.ttf
 /usr/share/fonts/msfonts-style/mtsorts_.ttf
 /usr/share/fonts/msfonts-style/nrkis.ttf
 /usr/share/fonts/msfonts-style/pala.ttf
 /usr/share/fonts/msfonts-style/palab.ttf
 /usr/share/fonts/msfonts-style/palabi.ttf
 /usr/share/fonts/msfonts-style/palai.ttf
 /usr/share/fonts/msfonts-style/upclb.ttf
 /usr/share/fonts/msfonts-style/upclbi.ttf
 /usr/share/fonts/msfonts-style/upcli.ttf
 /usr/share/fonts/msfonts-style/upcll.ttf
 

emerge gentoolkit
equery b /usr/share/fonts/msfonts/georgia.ttf

IMO

-- 
Kacper Kopczyński



Re: [gentoo-user] Re: Moving the system from one disk to another

2010-04-04 Thread Kacper Kopczyński
Dnia 2010-04-04, o godz. 21:04:03
Neil Bothwick n...@digimed.co.uk napisał(a):

 On Sun, 04 Apr 2010 20:35:11 +0100, Kerin Millar wrote:
 
  Whichever way you go about it, ensure that no pseudo-filesystem or
  bind mounts are present within /mnt/oldrootfs at the time.
 
 Use the -x option with rsync to stop it descending into other
 filesystems.
 
 

AFAIK

mount --bind / /somewhere and rsync'ing /somewhere/ instead of / would
be more useful then -x option - stage1,2,3 has static /dev entries
which should also be copied. Since udev mounts it with tmpfs, rsync
with -x would skip those entries (static and from tmpfs).

I suppose you can ignore static /dev if you use initrd.

Since author of this thread wants to mount filesystem(s) of the
system from livecd of some kind, there is no point in using any of
ideas in this or previous email - there will be no other filesystems
mounted.

I often use that trick with /somewhere/ to backup live system from
laptop to external drive. But it does not work well with innodb...

man mount
man rsync

good luck

-- 
Kacper Kopczyński



Re: [gentoo-user] umount nfs share

2010-03-15 Thread Kacper Kopczyński
Dnia 2010-03-15, o godz. 08:18:10
Harry Putnam rea...@newsguy.com napisał(a):

 I'm trying t umount an nfs mounted share but am told the resource is
 busy.  umount -f fails too.
 
 So first I turned off all the xterms I had running which should have
 killed any shell operating there.
 
 Still says resouce is busy.
 
 So trying to see what is doing it with `lsof'
 
 However, when I run `lsof' (no arguments), it fails to produce any
 output.
 
 Just been setting there for 5-6 minutes, now.  When I know from past
 use it should have produced quite a pile of output.
 
 I tried a lsof option that is supposed to show specifically nfs
 related 
 
  ( lsof -b /nfs/mount/point)
 
 So trying it on the one reporting `busy'
   lsof -b /projects
 
 Which gave a gout of output with this kind of stuff in it:
 
   lsof: avoiding readlink(/projects): -b was specified.
   lsof: avoiding readlink(/): -b was specified.
   lsof: avoiding stat(/): -b was specified.
   lsof: WARNING: can't stat() rootfs file system /
 Output information may be incomplete.
   lsof: avoiding readlink(/): -b was specified.
   lsof: avoiding stat(/): -b was specified.
   lsof: WARNING: can't stat() reiserfs file system /
 Output information may be incomplete.
 
  [...]
 
 Anyone know what might be going on here?
 
 
 

Perhaps server is not responding... so make it respond :)
If that is the case add some rule to firewall or /etc/hosts to redirect
requests to localhost (use REJECT not DROP). And then try
again unmounting.

-- 
Kacper Kopczyński



Re: [gentoo-user] Re: Compiz effects vs kwin

2010-03-14 Thread Kacper Kopczyński
Dnia 2010-03-14, o godz. 05:34:04
Nikos Chantziaras rea...@arcor.de napisał(a):

 On 03/14/2010 04:57 AM, ubiquitous1980 wrote:
  Nikos Chantziaras wrote:
  On 03/14/2010 02:53 AM, ubiquitous1980 wrote:
  The effects in kwin (such as window wobble) are vastly less
  smooth than that in compiz.  I have noticed that compiz is faster
  in both kde4 and in gnome (with slight preference to gnome in
  speed) and wondering if this is normal, or something to do with
  my kwin setup.  Running on GM 965
 
  kwin got crappy animation speed in KDE 4.4.  It was as smooth as
  compiz in 4.3.  I asked about it in the KDE mailing list, but there
  was zero interest in this regression.  So you either have to live
  with it, or switch to compiz.
 
 
  Thanks for your reply.  I am currently using kde 4.3 because I try
  only to update to downstream-stable.  Is there another explanation?
 
 Too old drivers and X maybe.  Since you're using downstream-stable,
 but the cool DRM/GL/KMS stuff is only in the latest upstream
 versions, this might be the problem.
 
 

kwin is slower on intel cards. Kwin with gnome or xfce is much
faster... Intel video cards are very slow...

From my experience every version of kde above 3.0 is slower than any
other window manager (gnome (sawfish, metacity, enlightenment),
xfce(xfwm), compiz, lxde,...), on every machine I've had. It needs more
memory, faster hard disks, stable filesystem (ext4::delalloc?), better
video card... and so on. Even Qt seems to be slower than GTK+ if you
launch application that does similar thing.

...or it's just my imagination :)

If you want smooth kde get a nvidia or ati card, at least 256MB, 2GB
ram, 1.6GHz.

You could also try nice/renice

-- 
Kacper Kopczyński



Re: [gentoo-user] xf86-video-intel, compiz, mplayer -fs file.avi freeze

2008-12-08 Thread Kacper Kopczyński

On Thu, 4 Dec 2008, Jorge Peixoto de Morais Neto wrote:


How about you replace the = symbols by '~', such that revision
updates are also alwowed?



I'll try as soon as I fix my laptop. It survived journey across the country,
daily trips by bus... But it didn't survived my mother taking care of flowers.

...Most accidents happen at home.

--
Kacper Kopczyński


[gentoo-user] xf86-video-intel, compiz, mplayer -fs file.avi freeze

2008-11-24 Thread Kacper Kopczyński

I have a MSI Wind U100 netbook. I'm using xfce with compiz-fusion.

When I try to start mplayer -fs file.avi the Xserver freezes. It also 
freezes when the logout window of xfce, that gray transparent 
background, tries to show 3 buttons (logout, restart, poweroff). I can 
only move mouse cursor. Pressing ctrl+fN, ctrl+backspace, clicking ... 
does not work. Xorg.0.log says something like EQ overflowing and 
something about infinite loop. I don't have access to it right now (I'm 
in job).


When compiz is disabled everything works well.

Everything started to happen after move from xf86-video-i810 to 
xf86-video-intel. At least this is a time when it stopped to work for me.


I've checked some other versions of that driver by unmasking it and it's
dependencies... I tried changing to XAA, EXA in xorg.conf but it did not 
helped.


Can some one help me with this?

--
Kacper Kopczyński


[gentoo-user] CodeBlocks and Makefile

2007-10-22 Thread Kacper Kopczyński
I'm tring to set up CodeBlocks to use Makefiles' but the option Build 
method is still inactive. What should I do to enable it?


I want to make a project that compiles under codeblocks and pure console. 
I'm a vi-freak but my comakers (friends) are not. Please help me.


--
Morpheus: No, what happened, happened and couldn't have happened any
other way.
--
[EMAIL PROTECTED] mailing list



[gentoo-user] r8169 and slow transfers over LAN

2007-09-25 Thread Kacper Kopczyński
When I'm tring to transfer a big file from my gentoo box to windows 
(win_ip) box over smb the speed is about 2kB/s or less (until timeout). If 
in the same time I start `ping -f win_ip` the speed grows up to about 
5MB/s.


I couldn't find anything on google.

The problem is repeatable on my two computers with r8169 NIC under two 
different environments (LANs). Issue disappears when I switch to different 
NIC.


Please help.

--
Morpheus: No, what happened, happened and couldn't have happened any
other way.
--
[EMAIL PROTECTED] mailing list