Andrew Lowe | 1 Jan 2012 15:42
Picon

Where's the examples?????

Hi all,
	I'm playing around with the Boost library, www.boost.org, at the moment 
and the question is in relation to it but the question also applies to 
other libraries I've played around with, where are the examples and doco 
kept?

	I can't seem to find the Boost example source code anywhere. I also 
can't find the doco that comes with Boost. Is there a default location 
that ebuilds should drop examples and doco when dealing with libraries 
such as Boost? Boost does not seem to have a USE flag that says "Install 
examples somewhere" so I'm at a bit of a loss as to where this stuff is?

	Any thoughts greatly appreciated,

		Andrew

Nilesh Govindarajan | 1 Jan 2012 15:46
Gravatar

Re: Where's the examples?????

On Sun 01 Jan 2012 08:12:30 PM IST, Andrew Lowe wrote:
> Hi all,
>     I'm playing around with the Boost library, www.boost.org, at the
> moment and the question is in relation to it but the question also
> applies to other libraries I've played around with, where are the
> examples and doco kept?
>
>     I can't seem to find the Boost example source code anywhere. I
> also can't find the doco that comes with Boost. Is there a default
> location that ebuilds should drop examples and doco when dealing with
> libraries such as Boost? Boost does not seem to have a USE flag that
> says "Install examples somewhere" so I'm at a bit of a loss as to
> where this stuff is?
>
>     Any thoughts greatly appreciated,
>
>         Andrew
>

I don't know about the examples, but the doc useflag installs 
documentation in /usr/share/doc/boost-<ver>

--

-- 
Nilesh Govindarajan
http://nileshgr.com

Pandu Poluan | 1 Jan 2012 15:53
Gravatar

Re: Where's the examples?????


On Jan 1, 2012 9:45 PM, "Andrew Lowe" <agl <at> wht.com.au> wrote:
>
> Hi all,
>        I'm playing around with the Boost library, www.boost.org, at the moment and the question is in relation to it but the question also applies to other libraries I've played around with, where are the examples and doco kept?
>
>        I can't seem to find the Boost example source code anywhere. I also can't find the doco that comes with Boost. Is there a default location that ebuilds should drop examples and doco when dealing with libraries such as Boost? Boost does not seem to have a USE flag that says "Install examples somewhere" so I'm at a bit of a loss as to where this stuff is?
>
>        Any thoughts greatly appreciated,
>
>                Andrew
>

Usually USE=docs install the docs. Also, some packages have USE=examples.

The customary location is /usr/share/docs/$PACKAGE-$VERSION

Rgds,

Jeff Cranmer | 1 Jan 2012 15:54

Re: Problems starting KDE

On Sat, 2011-12-31 at 13:37 -0500, Jeff Cranmer wrote:
> On Sat, 2011-12-31 at 14:59 -0200, Claudio Roberto França Pereira wrote:
> > On Sat, Dec 31, 2011 at 13:53, Jeff Cranmer <jeff <at> lotussevencars.com> wrote:
> > > I'm attempting to bring up a new system.  Processor is AMD Phenom 1055,
> > > running on a Sabertooth 990FX motherboard.  Graphics card is an NVIDIA
> > > GEForce GTX550Ti.
> > >
\After a little bit of further investigation, I discovered that the
> kdm.log file was full of old error messages.  Deleting this log file did
> not result in a replacement file when I retried startx
> 
> dmesg, however, was reporting some 'invalid opcode' errors.  After
> finding a 2-page pdf on the correct compile flags to use with and
> amdfam10 processors (attached), I had enabled a couple of extra compile
> flags, -mabm and -msse4a, as well as setting -march=amdfam10.
> 
> I've deleted the -mabm and -msse4a compile flag options from make.conf
> and I'm now running a full recompile (emerge -Dav system, emerge -Dav
> world).  If that doesn't work, I'll try changing the architecture flag
> to -march=amd64 and recompile once more.

I changed to -march=k8 in the make.conf file, removed all packages from
kde-base to trigger a meta recompile, then re-installed kde-meta and
compiled everything else using emerge -Dav system and emerge -Dav world.
I still get the same error.

from dmesg
kded4[16907] trap invalid opcode ip:7fde193e74d7 sp:7fffa5120510 error:0
in libqtGui.so.4.7.4[7fde19226000+a74000]
kcminit_startup[16909] trap invalid opcode ip:7fde193e74d7
sp:7fffa5120610 error:0 in libqtGui.so.4.7.4[7fde19226000+a74000]
kcmserver[16911] trap invalid opcode ip:7fde193e74d7 sp:7fffa511ff70
error:0 in libqtGui.so.4.7.4[7fde19226000+a74000]

So it appears that the problem is in libQtGui.so.4.7.4
How do I know that I've recompiled this?  I suspect this is still a
hangover from the original compile settings.

Jeff

Pandu Poluan | 1 Jan 2012 15:55
Gravatar

Re: Where's the examples?????


On Jan 1, 2012 9:49 PM, "Nilesh Govindarajan" <contact <at> nileshgr.com> wrote:
>
> On Sun 01 Jan 2012 08:12:30 PM IST, Andrew Lowe wrote:
> > Hi all,
> >     I'm playing around with the Boost library, www.boost.org, at the
> > moment and the question is in relation to it but the question also
> > applies to other libraries I've played around with, where are the
> > examples and doco kept?
> >
> >     I can't seem to find the Boost example source code anywhere. I
> > also can't find the doco that comes with Boost. Is there a default
> > location that ebuilds should drop examples and doco when dealing with
> > libraries such as Boost? Boost does not seem to have a USE flag that
> > says "Install examples somewhere" so I'm at a bit of a loss as to
> > where this stuff is?
> >
> >     Any thoughts greatly appreciated,
> >
> >         Andrew
> >
>
> I don't know about the examples, but the doc useflag installs
> documentation in /usr/share/doc/boost-<ver>
>

The examples are also placed there, usually in compressed form.

Rgds,

Mick | 1 Jan 2012 16:30
Picon

Re: Problems starting KDE

On Sunday 01 Jan 2012 14:54:06 Jeff Cranmer wrote:
> On Sat, 2011-12-31 at 13:37 -0500, Jeff Cranmer wrote:
> > On Sat, 2011-12-31 at 14:59 -0200, Claudio Roberto França Pereira wrote:
> > > On Sat, Dec 31, 2011 at 13:53, Jeff Cranmer <jeff <at> lotussevencars.com> 
wrote:
> > > > I'm attempting to bring up a new system.  Processor is AMD Phenom
> > > > 1055, running on a Sabertooth 990FX motherboard.  Graphics card is
> > > > an NVIDIA GEForce GTX550Ti.
> 
> \After a little bit of further investigation, I discovered that the
> 
> > kdm.log file was full of old error messages.  Deleting this log file did
> > not result in a replacement file when I retried startx
> > 
> > dmesg, however, was reporting some 'invalid opcode' errors.  After
> > finding a 2-page pdf on the correct compile flags to use with and
> > amdfam10 processors (attached), I had enabled a couple of extra compile
> > flags, -mabm and -msse4a, as well as setting -march=amdfam10.
> > 
> > I've deleted the -mabm and -msse4a compile flag options from make.conf
> > and I'm now running a full recompile (emerge -Dav system, emerge -Dav
> > world).  If that doesn't work, I'll try changing the architecture flag
> > to -march=amd64 and recompile once more.
> 
> I changed to -march=k8 in the make.conf file, removed all packages from
> kde-base to trigger a meta recompile, then re-installed kde-meta and
> compiled everything else using emerge -Dav system and emerge -Dav world.
> I still get the same error.
> 
> from dmesg
> kded4[16907] trap invalid opcode ip:7fde193e74d7 sp:7fffa5120510 error:0
> in libqtGui.so.4.7.4[7fde19226000+a74000]
> kcminit_startup[16909] trap invalid opcode ip:7fde193e74d7
> sp:7fffa5120610 error:0 in libqtGui.so.4.7.4[7fde19226000+a74000]
> kcmserver[16911] trap invalid opcode ip:7fde193e74d7 sp:7fffa511ff70
> error:0 in libqtGui.so.4.7.4[7fde19226000+a74000]
> 
> So it appears that the problem is in libQtGui.so.4.7.4
> How do I know that I've recompiled this?  I suspect this is still a
> hangover from the original compile settings.
> 
> Jeff

$ qfile libQtGui.so.4.7.4
x11-libs/qt-gui (/usr/lib64/qt4/libQtGui.so.4.7.4)

Look at the date time that you built x11-libs/qt-gui (in your emerge.log, or 
use genlop) and compare with said file.
--

-- 
Regards,
Mick
Dale | 1 Jan 2012 17:03
Picon

dracut and the init thingy

Howdy,

I been messing with this init thing again.  I installed dracut, Googled 
like a mad man and finally got something to work, I think.  Here is some 
info:

root <at> fireball / # dmesg | grep dracut
[    3.378296] dracut: Checking reiserfs: /dev/sda3
[    3.378644] dracut: issuing reiserfsck -a  /dev/sda3
[    3.391728] dracut: Reiserfs super block in block 16 on 0x803 of 
format 3.6 with standard journal
[    3.392314] dracut: Blocks (total/free): 4883760/2828326 by 4096 bytes
[    3.392636] dracut: Filesystem is clean
[    3.393060] dracut: Remounting /dev/sda3 with -o ro
[    3.481926] dracut: Mounted root filesystem /dev/sda3
[    3.572413] dracut: Switching root
root <at> fireball / #

In my grub.conf I have this:

title=Initramfs-test
root (hd0,0)
kernel /boot/bzImage-3.1.5-1 root=/dev/sda3 init=/sbin/init
initrd /initramfs-3.1.5-gentoo.img

That is also what I booted with.  So, is it set up right?  It scrolls so 
fast I can't really see what it is doing in real time.  I don't know and 
can't find a way to confirm it is working so figured I would post what I 
can find here.  It did boot tho.

By the way, my root partition is sda3.

Thanks.

Dale

:-)  :-)

--

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"

Jeff Cranmer | 1 Jan 2012 17:13

Re: Problems starting KDE

>  
> > Jeff
> 
> $ qfile libQtGui.so.4.7.4
> x11-libs/qt-gui (/usr/lib64/qt4/libQtGui.so.4.7.4)
> 
> Look at the date time that you built x11-libs/qt-gui (in your emerge.log, or 
> use genlop) and compare with said file.

The files match, last compiled in the morning, two days ago, which is
before I tried my most recent changes.  

Success - Recompilation of this file gets me a k desktop.

Is there a good way to force-recompile an entire system's code?  emerge
-Dav system and emerge -Dav world don't seem to go down far enough in
the hierarchy to recompile all dependencies.

Many thanks.

Jeff

Tanstaafl | 1 Jan 2012 17:18

Xen vs Citrix XenServer

Hi all,

I'm looking into virtualizing my servers (all 3 of them), and am a 
little confused as to the differences between Xen and XenServer...

First - I want to use a bare metal hypervisor that supports the following:

1. Can be installed on a USB FLASH drive (I have some Dell Poweredge 
2970 servers with the internal USB slot for just this purpose), and

2. Fully supports both Windows Server 2008 (our Domain Controller), and 
Gentoo Linux (our mail and web servers).

By 'fully' above, I mean, I can install the guest tools/additions, so 
I'll be able to safely manage the VMs (shutdown in case of an extended 
power failure, snapshots, migrations, etc)

I can't seem to find an ebuild for the xenserver tools, and when looking 
found out about Xen (I had thought that it went away a long time ago)...

Anyway, looking for any pointers from anyone currently running either of 
the two...

Thanks,

Charles

Peter Humphrey | 1 Jan 2012 17:23

Re: Problems starting KDE

On Sunday 01 January 2012 16:13:16 Jeff Cranmer wrote:

 

> Is there a good way to force-recompile an entire system's code? emerge

> -Dav system and emerge -Dav world don't seem to go down far enough in

> the hierarchy to recompile all dependencies.

 

Emerge -e system && emerge -e world.

 

--

Rgds

Peter Linux Counter 5290, 1994-04-23

 


Gmane