Re: [gentoo-user] Is my system (really) using nptl

2012-10-13 Thread Canek Peláez Valdés
On Sat, Oct 13, 2012 at 12:10 PM, Mark Knecht  wrote:
> On Sat, Oct 13, 2012 at 9:15 AM, Canek Peláez Valdés  wrote:
> 
>>
>> We can only know seeing the code. Timur, this is the little test I
>> made which creates 5 threads and runs them for 1 minute. In my case,
>> `ps x` shows only 1 PID, care to give it a try?
>>
>> ----------
>> #include  <<==
>> #include 
>> #include 
>> #include 
>
> Thanks for the test case. Like you I see only one thread. However the
> test case wouldn't compile for me without the -pthread option so it
> makes me wonder what happens to a program like I had pointed to
> yesterday that uses the old style threading that did create lots of
> process ids? Possibly an nptl system would still generate lots of ids
> for that program and that's what he's seeing?
>
> Just curious. I don't program but I'm always sort of interested.

You got your answer. NTPL stands for Native POSIX Thread *Library*. As
it name says, it is a library (with support in the kernel and in
glibc). If you don't use the library (-lpthread), you cannot make use
of its advantages.

What "old style threading" did you use for your test case?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] google drive

2013-02-04 Thread Yohan Pereira
On 04/02/13 at 01:43pm, András Csányi wrote:
> Hi All,
> 
> I would like to get some advise what would be the good - reasonably
> good - solution use my Google Drive storage under Gentoo. In the last
> 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
> about the actualities.
> 
> I found grive but it is not compiling. At the moment I don't have time
> to figure out what could be the issue with it and I have no time to
> report it. Maybe, later.

Place the attached file in the folder (create the folder if it doesn't
exists)
/etc/portage/patches/net-misc/grive-0.2.0/

Here's how it looks on my system.

$ cat /etc/portage/patches/net-misc/grive-0.2.0/binutils.patch
--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc  2012-07-07 21:13:18.0 
+0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc2012-10-25 
19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include "Debug.hh"
 
 #include 
-
+#define PACKAGE
 #include 
 #include 
 #include 

> What I'm looking for is similar to I had under Windows. The drive
> could be mountable and it is  synchronized. At the moment does not
> matter it is synchronized automatically or it requires a command.

after you configure grive, it syncs the current folder with your google
drive. You need to run it again to sync any changes. I use a cron entry
to periodically sync my drive.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain
--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc	2012-07-07 21:13:18.0 +0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc	2012-10-25 19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include "Debug.hh"
 
 #include 
-
+#define PACKAGE
 #include 
 #include 
 #include 


[gentoo-user] memset_s

2017-11-10 Thread Jorge Almeida
I'm trying to use memset_s() but the system (glibc?) doesn't know
about it. I also tried to compile against musl, same result.

There's precious little info about memset_s in the net. Does it exist
at all? No man page.

(https://www.cs.helsinki.fi/group/boi2016/doc/cppreference/reference/en.cppreference.com/w/c/string/byte/memset.html)

What I tried:

#include 
#include 
#include 
#define __STDC_WANT_LIB_EXT1__  1
#include 
#include 

int main(int argc, char** argv){
#ifndef __STDC_LIB_EXT1__
printf("CRAP\n");
#else
printf("COOL\n");
#endif
}

Compiled with -std=c11

You can guess what the output is.

Someone using it?

Jorge Almeida



Re: [gentoo-user] dev-lang/php-7.4.21-r1::gentoo failed (compile phase)

2021-07-17 Thread Michael Orlitzky
On Sat, 2021-07-17 at 15:13 -0600, the...@sys-concept.com wrote:
> On of my system is giving me an error when compiling php
> 
> In file included from /usr/include/libxml2/libxml/parser.h:812,
>  from 
> /var/tmp/portage/dev-lang/php-7.4.21-r1/work/sapis-build/cli/ext/libxml/libxml.c:34:
> /usr/include/libxml2/libxml/encoding.h:31:10: fatal error: unicode/ucnv.h: No 
> such file or directory
>31 | #include 
>   |  ^~~~
> 

Was your dev-libs/libxml2 built with USE=icu? And is icu installed? If
you look in /usr/include/libxml2/libxml/encoding.h you probably see,

  #ifdef LIBXML_ICU_ENABLED
  #include 
  #endif

so that unicode header should only be used when libxml2 was built with
USE=icu. In that case, USE=icu also pulls in dev-libs/icu, which is
what provides the header.





Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Alexey Asprov
On Wed, 12 Oct 2005 11:21:08 -0400
Dave Nebinger <[EMAIL PROTECTED]> wrote:

> On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
> > Hi list again..
> 
> Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set 
> correctly; I can tell because your sent time is in the future ;-)

Hello Dave. Why this can be so important? Yes, I set my local timezone
to GMT. If it won't harm the system, who cares? Or, does it harm? 
And yes, I am in st.Petersburg (Russia), but I coudn't find any
relevant timesone when I've installed Gentoo for the (3)rd time
and thoght this would be fine. Does this interfere with my using
and compiling the system?
 
> > I will attempt to bootstrap with following USE flags for the NPTL.
> > I will not be using Gnome or KDE. I'd appreciate peoples opinion
> > about them and welcome their examples of USE flags ( real working
> > experiences) for bootstraping. This will be done for Pentium3
> > machine, if this matters.
> 
> Hmm, well I can't tell you what to predict in regards to the list of flags 
> that you generated.  The list is all over the place in regards to media and 
> web flags, yet the -kde and -gnome will hogtie most of the resulting 
> packages.

I have only found exaple with "working" ( as athour claims) USE flags for
"working"bootstraping . If you feel that some packages will hogtie, please
advice on what USE flags have to be removed ( or added).
> 
> Use emerge --pretend to see what kind of results you'll actually get.


Not sure what do you mean by that. Emerge -pv just estimating what packages
have to be emerged.

> 
> > Another question I'd like to ask if I need to include my CPU flags
> 
> In /etc/make.conf you define your CFLAGS to match your cpu.  In your case 
> (which is just like mine) the following should suffice:
> 
> CFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686 -fomit-frame-pointer"
> CXXFLAGS="${CFLAGS}"

I was asking about USE variable "USE=", not about CFLAGS.. ( those will
come up later).., and from various sources, they have to be ( for instance)
-mmmx, msse, etc.. But do I have to include thoe flags to my USE variable?
( like mmx, sse, etc).
> 
> You might want to add the USE options for the supported mmx, mtrr, etc.  but 
> I 
> honestly can't tell you what effects they actually have on the builds.

Thanks for your response, but probably some one added to USE flags in make.conf?
And how did it go in bootstrapping? Also, to rephrase my original question
do I have include all of them or only mmx, sse, mtrr as Dave suggested?

Thanks. Alex.
> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] My first initramfs

2013-11-12 Thread Neil Bothwick
On Tue, 12 Nov 2013 16:49:33 -0500, Tanstaafl wrote:

> > To create an initramfs, it is important that you know what
> > additional drivers, scripts and tools you need to boot your system.
> > For instance, if you use LVM, then you will need to support LVM tools
> > on the initramfs. Likewise, if you use software RAID, you need mdadm,
> > etc.  
> 
> I thought I'd mentioned/asked this before, but don't recall a 
> satisfactory answer...
> 
> Ok, up until now, I haven't *had* to 'know' what additional drivers are 
> needed by my system to boot.
> 
> So... how the heck am I supposed to find out? Trial and error?
> 
> I do know I need lvm, so have that one listed... but what else? There 
> has *got* to be some kind of way to analyze an existing system to
> reveal the 'drivers, scripts and tools' I need for my initramfs so I
> know what to include?

You need to be able to mount your root filesystem, and possibly /usr.

So you need anything needed for that that isn't compiled not your kernel,
such as SATA drivers, filesystem etc. You would normally build anything
like this into the kernel, so you just need the userspace tools. For
standard operations, that is all covered by busybox, but if you use LVM,
RAID or dmcrypt for those filesystems, include the relevant tools.

There is a very capable tool for examining your system and deciding what
is needed... you. 


-- 
Neil Bothwick

"If you can't explain it simply, you don't understand it well enough."
 (Albert Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] Cloned partition won't emerge some packages

2011-01-09 Thread Alex Schuster
Mick writes:

> On Sunday 09 January 2011 21:11:02 Alex Schuster wrote:
>> Mick writes:
>>> I used:
>>>  tar -X file.list -lcvSf - . | (cd /new_gentoo_partition; tar -xpvf - )
>>>
>>> to clone a gentoo / partition to another partition on the same disk (I
>>> want to run some tests from it).
>>>
>>> The file.list has this is in it:
>>>
>>> tmp/*
>>> proc/*
>>> sys/*
>>> dev/*
>>> etc/mtab
>>> usr/portage/distfiles/*
>>
>> Which also excludes /usr/include/sys, not only /sys. And so on. You
>> probably have to rewrite this as ./tmp/* , but I did not test this.
>>
>> And I just learnt that -l is no longer a synonym for --one-file-system,
>> at least for tar 1.25. I'd do it with a bind mount this:
>>
>> mount -o bind / /mnt
>> cd /mnt
>> tar -cvSf - . | (cd /new_gentoo_partition; tar -xpvf - )
>>
>> This way, the original /dev is being copied (including entries console
>> and null), without the udev stuff that is mounted on top of /dev, while
>> with --one-file-system only the empty /dev directory would be created.
> 
> Thanks Wonko, it seems that I fell victim to my regex ignorance.  I started 
> with /tmp, but that would also exclude the directories and I didn't fancy 
> creating them manually afterwards.  Also dir/* does not include dir/.* 
>
> What shall I use for excluding all the contents of a directory, but not the 
> directory itself?

Actually it does, although this is wrong in my opinion. But maybe what
the user normally intends.

I created two directories sys/ and usr/include/sys/, with normal and
hidden files:

wo...@weird ~/tmp/tar $ ls -a  . sys  usr/include/sys
.:
.  ..  sys  usr

sys:
.  ..  .hidden  visible

usr/include/sys:
.  ..  .hidden.h  visible.h


I tarred them as you did. Note that the hidden file is also excluded,
although I did not exclude sys/.*, too:

wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='sys/*' .
wo...@weird ~/tmp/tar $ tar tf ../foo.tar
./
./usr/
./usr/include/
./usr/include/sys/
./sys/


As suggested, I added a './' to the exclude file list and tarred the
directory. Seems to work:

wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='./sys/*' .
wo...@weird ~/tmp/tar $ tar tf ../foo.tar
./
./usr/
./usr/include/
./usr/include/sys/
./usr/include/sys/visible.h
./usr/include/sys/.hidden.h
./sys/


> What shall I use for excluding all the contents of a directory, but
> not the directory itself?

sed -i 's:^:./:g' file.list

Wonko



Re: [gentoo-user] Is my system (really) using nptl

2012-10-13 Thread Mark Knecht
On Sat, Oct 13, 2012 at 11:16 AM, Canek Peláez Valdés  wrote:
> On Sat, Oct 13, 2012 at 12:10 PM, Mark Knecht  wrote:
>> On Sat, Oct 13, 2012 at 9:15 AM, Canek Peláez Valdés  
>> wrote:
>> 
>>>
>>> We can only know seeing the code. Timur, this is the little test I
>>> made which creates 5 threads and runs them for 1 minute. In my case,
>>> `ps x` shows only 1 PID, care to give it a try?
>>>
>>> ------
>>> #include  <<==
>>> #include 
>>> #include 
>>> #include 
>>
>> Thanks for the test case. Like you I see only one thread. However the
>> test case wouldn't compile for me without the -pthread option so it
>> makes me wonder what happens to a program like I had pointed to
>> yesterday that uses the old style threading that did create lots of
>> process ids? Possibly an nptl system would still generate lots of ids
>> for that program and that's what he's seeing?
>>
>> Just curious. I don't program but I'm always sort of interested.
>
> You got your answer. NTPL stands for Native POSIX Thread *Library*. As
> it name says, it is a library (with support in the kernel and in
> glibc). If you don't use the library (-lpthread), you cannot make use
> of its advantages.
>
> What "old style threading" did you use for your test case?
>
> Regards.
> --
> Canek Peláez Valdés
> Posgrado en Ciencia e Ingeniería de la Computación
> Universidad Nacional Autónoma de México
>

As for 'old style' I only meant code that did threads but didn't use
the POSIX libraries. (I guess...)

Actually I hadn't run the test case at the time but was referring to
the one I pointed the OP at yesterday:

http://www.makelinux.net/alp/032

However it's essentially the same as yours (not as elegant, but
functionally similar). However the results shown on that page show
different pids for the threads. When I run that same code here I get
the same pids:

mark@c2stable ~ $ ./pthread2
main thread pid is 5387
child thread pid is 5387
^C
mark@c2stable ~ $

Now, this does make me curious about some things running on my system.
Two for instance, Google Chrome and akonadi_agent, have LOTS of pids.
I was assuming those were different threads and were demonstrating
what the OP was asking about, but now I'm not so sure. How does a
single program on an nptl system generate all these different pids?

Thanks,
Mark



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon  wrote:
   

On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
 

One thing I haven't found so far is what to put in make.conf to get
the buildpkg feature to include the configs. It's easy at the command
line. Where's the documentation on how to actually use this the right
way automatically?



- Mark
         

when you use buildpkg feature the packages contain the virgin unedited
configs  as they are installed by the package and not any edits done by
you.
   

Just checking something:

We are all aware of the difference between

emerge --buildpkg

and

quickpkg

right/

--
alan dot mckinnon at gmail dot com
 

Volker is. I am not sure I am and I'm not sure that Neil was talking
about quickpkg which is what I am using so far. The command

quickpkg --include-configs

says it includes the configs. That's what I thought we (you and I
Alan) were talking about.

On the other hand I presumed (apparently incorrectly) that the
FEATURES="buildpkg" (which is what I think Neil is speaking about)
gave me the same option but I now guess it doesn't.

If I need to use quickpkg to save the configs then I think I'll do
that being that as I simple-minded home user with no admin experience
I have no in-place rigorous methods for doing __any__ backups. I just
tar up directories once in awhile and deal with the problems that come
later. (If they come...when they come...they do come, don't they?) ;-)

- Mark

   


This is how I understand it.  If you use buildpkg with emerge, you get 
the original configs from the source tarball.  If you use quickpkg, then 
you get the config files YOU created.  If I understand this correctly, 
you can remember it this way as well.  Doing it during the emerge gives 
you what emerge produces.  Doing it with quickpkg gives you what you 
produced.


All that and I didn't confuse myself.  So, I'm probably wrong in how I 
understand it.  lol


Dale

:-)  :-)



Re: [gentoo-user] gnome-control center 3.23.98 fails to compile

2017-03-25 Thread John Covici
On Sat, 25 Mar 2017 20:40:25 -0400,
Alarig Le Lay wrote:
> 
> [1  ]
> On sam. 25 mars 20:25:15 2017, John Covici wrote:
> > Hi.  I am getting the following error when emerging
> > gnome-control-center on my most recent update -- I am using unstable
> > gentoo.
> > libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H
> > -I. -I../.. -pthread -I/usr/include/gtk-3.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> > -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm
> > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> > -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas
> > -I../../ -DG_LOG_DOMAIN=\"common-cc-panel\" -DPANEL_ID=\"common\"
> > -pthread -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0
> > -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> > -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pixman-1 -I/usr/include/libdrm
> > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> > -I/usr/include/freetype2 -I/usr/include/gsettings-desktop-schemas
> > -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -O2 -mtune=core2 -pipe -ggdb -c
> > gsd-device-manager-udev.c  -fPIC -DPIC -o
> > .libs/gsd-device-manager-udev.o
> > gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No
> > such file or directory
> > 
> > I do have -wailan as a use flag (there by default), so this doesn't
> > make too much sense.
> > 
> > What can I do, or should I file a bug?
> > 
> > thanks in advance for any suggestions.
> 
> Hi,
> 
> What are your useflags for x11-libs/gtk+? I think that you must enable
> the wayland one.

Well, for one thing, I do not want to use wayland at all, it conflicts
with accessibility, and if I enable the wayland flag (and I had to
enable it on a few more packages and get dev-libs/wayland which I
never had) I get the following:

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

Calculating dependencies  ... done!
[ebuild   R] x11-libs/libxkbcommon-0.7.1::gentoo  USE="X doc
-static-libs {-test}" ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild  N ] dev-libs/wayland-1.12.0::gentoo  USE="doc
-static-libs" ABI_X86="32 (64) (-x32)" 371 KiB
[ebuild   R] media-libs/mesa-17.0.2::gentoo  USE="classic dri3 egl
gallium gbm gles2 llvm nptl wayland* -bindist -d3d9 -debug -gles1
-opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind
-vdpau -vulkan -xa -xvmc" ABI_X86="32 (64) (-x32)"
VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -imx -intel -r100 -r200
-r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB
[ebuild  N ] dev-libs/wayland-protocols-1.7::gentoo  111 KiB
[ebuild   R] x11-libs/gtk+-3.22.11:3::mv  USE="X colord cups
introspection wayland* -adwaita-icon-theme (-aqua) -atk-bridge
-broadway -cloudprint -debug -examples {-test} -vim-syntax -xinerama"
ABI_X86="32 (64) (-x32)" 0 KiB

Total: 5 packages (2 new, 3 reinstalls), Size of downloads: 482 KiB

!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/gtk+:3

  (x11-libs/gtk+-3.22.11:3/3::mv, ebuild scheduled for merge) pulled
  in by
  =x11-libs/gtk+-3.22.11 (Argument)

  (x11-libs/gtk+-3.22.11:3/3::mv, installed) pulled in by
  >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by
  (media-libs/clutter-gtk-1.8.2:1.0/1.0::gentoo, installed)
 


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Gentoo on Xeon

2006-05-24 Thread Gessy

Hi again!!!

When I use a stage3-pentium4  for instalation and i tried compile the
kernel - gentoo-sources-2.6.16-r7.
My make.conf is:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
USE="-ipv6 multilib"

In the kernel configuration:
( ) AMD-Opteron/Athlon64
(X) Intel EM64T
( ) Generic-x86-64


I get the follow error:
CHK include/linux/version.h
 SPLIT   include/linux/autoconf.h -> include/config/*
 CC  arch/x86_64/kernel/asm-offsets.s
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Whereas, I have a lot of doubts. Well,  what architeture i should use.
( I guess it is x86) . I'm very confusing with x86 or x86_64. What I
should use in CFLAGS. For AMD64, everything seems explaned but how to
install gentoo on intel's machines with EM64 support doesn't. Someone
can help me?


On 5/24/06, Teresa and Dale <[EMAIL PROTECTED]> wrote:

Gessy wrote:

> Hi,
>
>
> I'd like know how to install gentoo on Xeon  with 64bits supports.
> What stage can i use? Can I use stage3?
>
> My processor is:
> vendor_id   : GenuineIntel
> cpu family  : 15
> model   : 4
> model name  :   Intel(R) Xeon(TM) CPU 3.00GHz
> stepping: 3
> cpu MHz : 2992.626
> cache size  : 2048 KB
> physical id : 3
> siblings: 2
> core id : 0
> cpu cores   : 1
> fpu : yes
> fpu_exception   : yes
> cpuid level : 5
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
> nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
> bogomips: 5984.23
> clflush size: 64
> cache_alignment : 128
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
>
> 
>
>
> I need a help?
>
> Thanks a lot.
>
>


I'm pretty sure that stage 3 is all that is supported now.  If you
really want to make sure you are optimized, do a minimal install, to
where you can boot and be stable, then do a emerge -e system then a
emerge -e world.  That should get you the same thing as a stage 1 from
what I have read.  Then install whatever else you need.

You were cheated out of almost 8MHz too.  :-(

Hope that helps.

Dale
:-)
--
gentoo-user@gentoo.org mailing list





--
+---+
(o< Larry the Cow was a bit frustrated at the
//\   current state of Linux distributions...
V_/_  ... until he tried Gentoo Linux.
  ...and i do too!!!
+---+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Removing pulseaudio

2013-04-21 Thread Dale
Mick wrote:
>
>
> I guess that the gnome/kde make.profiles may include this USE flag in
their
> defaults?
>
>

I'm on 13.0/desktop/kde profile.  It isn't included here either.

<>
local use flags (searching: pulseaudio)

no matching entries found
root@fireball / #

Dale

:-)  :-)

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



Re: [gentoo-user] display image in links?

2005-06-15 Thread Matthew Cline
>  x, svgalib, sdl

What USE flags did you use for links? (I think) you need to include
fbcon and/or directfb in order to use links with the framebuffer.


Matt

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nvidia driver - blank screen not even console display

2013-02-22 Thread Dale
Joseph wrote:
> On 02/22/13 02:36, Dale wrote:
>> Joseph wrote:
>>> On 02/22/13 09:10, Alexandre Domi wrote:
>>>>   Seems you're getting a nvidia segfault... Did you try
>>>> revdep-rebuild,
>>>>   or updating your system?
>>>>
>>>>   Regards
>>>
>>> Yes, I just updated the system.
>>> When I try to compile nvidia-drivers I get this message:
>>> ...
>>> test -e include/generated/autoconf.h -a -e include/config/auto.conf ||
>>> (  \
>>> echo;    \
>>> echo "  ERROR: Kernel configuration is invalid.";  \
>>> echo " include/generated/autoconf.h or
>>> include/config/auto.conf are missing.";\
>>> echo " Run 'make oldconfig && make prepare' on kernel src to
>>> fix it.";   \
>>> echo;
>>> ...
>>>
>>> And I did run "ake oldconfig" when I upgraded the kernel.
>>>
>>
>> It also says to run make prepare.  Me, I would run "make all" if I
>> could.  I'm assuming you have complete access to your own system here.
>>
>> My next question in my mind.  How did you compile a kernel and not run
>> make all?  If you compiled the kernel you are running on that system
>> then all that should be there.  That leads to a new question.  What
>> kernel is /usr/src/linux pointing too?  Is it the correct one?
>>
>> Just thinking out loud here.  Maybe it helps.
>>
>> Dale
>
> I just run: make all
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `relocs'.
>   CHK include/linux/version.h
>   CHK     include/generated/utsrelease.h
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
> make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
> Kernel: arch/x86/boot/bzImage is ready  (#2)
>   Building modules, stage 2.
>   MODPOST 6 modules
>
> usuall after: make oldconfig
> I run: make && make modules_install
>
> the kernel I'm using is linux-3.5.7-gentoo
>


Then the error you are getting is weird.  I do basically the same thing
as you.  I run make oldconfig, answer the questions there, run make all
&& make modules_install and that is it.  After that, I can update
nvidia's drivers and such and it not complain.  I have in the past
forgot to change the symlink tho.  I used to do it manually but now use
eselect to do that.  Just for giggles, what does eselect kernel list
show as being selected?  Maybe something is not quite right there.

Dale

:-)  :-) 

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




Re: [gentoo-user] disaster recovery - planning

2017-03-20 Thread Rich Freeman
On Mon, Mar 20, 2017 at 7:15 PM,   wrote:
> Besides standard "data" backup, if I was to plan for a disaster
> recovery; what to include in a backup system if I was to rebuild a new box?
>
> - /etc
> - /var/lib/portage/world
> - /usr/src/linux/.config
> - /var/spool/fax/ (if needed)
> - /var/www/localhost/htdocs/ (if needed)
> - crontab (users and root)
>

Here is what I'm backing up to the cloud via duplicity (where storage
is expensive so I have a more selective set of rules here):
--include /boot --include /usercache --include /etc --include
/data/www --include /data/home --include /root --include
/var/lib/samba --include /var/spool/tftp --include /var/lib/cdcat
--include /var/bind --include /usr/local --include
/var/lib/portage/world --include /data/diskless/gentooinst64 --include
/data/diskless/mythliv2 --include /var/lib/bitcoin/.bitcoin/wallet.dat
--include /var/lib/quassel/ --include /var/lib/ --include
/data/sstorage3/containers/mariadb/ --include
/data/sstorage3/containers/vpn/ --include
/data/sstorage3/containers/ddclient/ --include
/data/sstorage3/containers/dns/

(I realize that a lot of this references mountpoints that are useless
to you, but the end of the paths is probably good enough as a
checklist.  Yes, I realize a few of those are redundant, but I suspect
they might get around exclusions.)

My excludes for these more expensive backups contain things like:
www cache directories for some apps
Trash directories
NNTP client caches
Download directories
~/.cache
mail client caches (I use IMAP)
bitcoin blockchains
mysql data directory (I separately run mysqldump and back that up)
.snapshots on volumes that use zfs/btrfs
/usr and /var/log on my containers
Any random /tmp that would otherwise be caught

In general I try to stick stuff I want to back up in /home, and stick
stuff I don't want to backup elsewhere and just symlink it into /home
where needed.  The include/excludes just handle the random stuff where
this policy isn't practical.

Now, I also keep local backups of everything and the rules are much
more inclusive there.  I just exclude things like /sys, /proc,
anything with a bind mount (so as to not save it twice), /usr/portage
(changes constantly, trivial to restore), all those .snapshots
directories, and the same sorts of things in chroots (but not
containers).

As far as the suggestion to use ansible/etc goes for things like /etc
- I certainly agree it is a best practice.

-- 
Rich



Re: [gentoo-user] Portage option "--changed-use" not working?

2012-01-19 Thread Dale
Hilco Wijbenga wrote:
> Hi all,
> 
> In "man emerge" I read:
> 
> --changed-use
>   Tells  emerge  to  include  installed packages where USE flags have
> changed since installation. This option also implies the --selective
> option. Unlike --newuse, the --changed-use option does not trigger
> reinstallation when flags that the user has not enabled are added or
> removed.
> 
> So I always include "--changed-use" when upgrading @world. But with
> the removal of kdeenablefinal I now get 150 reinstalls with
> changed-use. This seems to be contradicting the man page? Or am I
> misunderstanding things? Or did I misconfigure something? To be clear,
> I have never enabled kdeenablefinal.
> 
> The full command I usually run is
> 
> emerge --verbose --deep --with-bdeps=y --complete-graph --update
> --changed-use --keep-going world
> 
> should that be relevant.
> 
> Cheers,
> Hilco
> 
> 


Just to be clear, it was a dev that changed the kdeenablefinal flag.  It
was sort of discussed on -dev.  I think the dev that did it doesn't use
-N so it doesn't affect him and I guess he thinks it won't affect others
either.

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"



Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-02 Thread Dale
Michael wrote:
> On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
>
> Unless you create your own sddm config file in /etc, the sddm package uses a 
> default config file.  From the man page:
>
> FILES
>/usr/share/sddm/sddm.conf.d
>   System configuration directory
>
>/etc/sddm.conf.d
>   Local configuration directory
>
>/etc/sddm.conf
>   Local configuration file for compatibility
>
>/usr/share/sddm/themes
>   Where sddm looks for themes
>
> Search in the above paths and you should find the default sddm config file, 
> which you can copy over to /etc and tweak it to stop it recording events in 
> your user xsession log file.
>


For the first file, not here.  I have this but no config file that I
see.  Others below that.


root@fireball / # ls /usr/share/sddm/
total 44
drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
root@fireball / #

cat /etc/sddm.conf.d/01gentoo.conf
[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=
root@fireball / #

cat /etc/sddm.conf
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=maldives
CursorTheme=Adwaita

[Users]
MaximumUid=60000
MinimumUid=1000
root@fireball / #


This may help give ideas on what I do have. 


root@fireball / # locate sddm.conf
/etc/sddm.conf
/etc/sddm.conf.d
/etc/config-archive/etc/sddm.conf
/etc/config-archive/etc/sddm.conf.dist
/etc/sddm.conf.d/01gentoo.conf
/usr/lib/sysusers.d/acct-group-sddm.conf
/usr/lib/sysusers.d/acct-user-sddm.conf
/usr/lib/tmpfiles.d/sddm.conf
/usr/share/dbus-1/system.d/org.freedesktop.sddm.conf
/usr/share/dbus-1/system.d/org.kde.kcontrol.kcmsddm.conf
/usr/share/man/man5/sddm.conf.5.bz2
root@fireball / #


>> Since this is
>> actually dolphin, what does dolphin use to generate those thumbnails? 
>> Maybe I need to beat some sense into that thing.  Another thing that hit
>> me, I have three video packages installed, these three. 
> I would think it uses ffmpeg to decompress, parse, decode and play a file 
> when 
> previewed in dolphin.
>
>
>> root@fireball / # equery list mpv ffmpeg mplayer
>>  * Searching for mpv ...
>> [IP-] [  ] media-video/mpv-0.36.0-r1:0/2
>>
>>  * Searching for ffmpeg ...
>> [IP-] [  ] media-video/ffmpeg-4.4.4-r8:0/56.58.58
>>
>>  * Searching for mplayer ...
>> [IP-] [  ] media-video/mplayer-1.5_p20230618:0
>> root@fireball / #
>>
>>
>>
>> I'm wondering, if I remove ffmpeg, could my video players use mpv or
>> mplayer?
> I understand these video players use ffmpeg libraries too.
>
>
>> Does dolphin use ffmpeg or mplayer to generate the
>> thumbnails?
> Yes:
>
> ~ $ lsof | grep ffmpeg
> kioslave5 8826   michael  mem   REG   0,19
>   
> 435168 /usr/lib64/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so (path dev=0,23)
>
>
> Dolpin would not need a video player's functionality just to preview a 
> thumbnail of a video file.
>
>
>> I need to keep mpv because I use that to play videos
>> directly.  I think smplayer needs mplayer, maybe.Another thought,
>> you see any USE flags that need to be changed?  Maybe I missed a new one
>> that I need to enable or something. 
> If I recall correctly you have NVidia graphics card(s), so you should enable 
> the nvidia related hardware acceleration for better performance and less CPU 
> load; e.g. nvencm and/or vdpau
>


I'm working on enabling those USE flags.  For months now, I've ran into
a block with opencascade, vlc, pipewire and several other video
packages.  I have to emerge -C vlc and opencascade to do emerges on
video stuff then re-emerge them when done.  I don't know if it is me or
something else but it has been that way for months.  I posted a thread
about it a few months back.  I dunno.  I'm working on the change now.  ;-) 

And mplayer just failed with this nifty message. 


SIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg
-march=native -O2 -pipe -fno-tree-vectorize
-fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT
-D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2
-I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o
libmpcodecs/img_format.o libmpcodecs/img_format.c
x86_64-pc-linux-g

Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Dale wrote:
> chrome://messenger/locale/messengercompose/composeMsgs.properties:
> > On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon  
wrote:
> >> On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
> >>>> One thing I haven't found so far is what to put in make.conf to get
> >>>> the buildpkg feature to include the configs. It's easy at the command
> >>>> line. Where's the documentation on how to actually use this the right
> >>>> way automatically?
> >>>> 
> >>>> 
> >>>> 
> >>>> - Mark
> >>> 
> >>> when you use buildpkg feature the packages contain the virgin unedited
> >>> configs  as they are installed by the package and not any edits done by
> >>> you.
> >> 
> >> Just checking something:
> >> 
> >> We are all aware of the difference between
> >> 
> >> emerge --buildpkg
> >> 
> >> and
> >> 
> >> quickpkg
> >> 
> >> right/
> >> 
> >> --
> >> alan dot mckinnon at gmail dot com
> > 
> > Volker is. I am not sure I am and I'm not sure that Neil was talking
> > about quickpkg which is what I am using so far. The command
> > 
> > quickpkg --include-configs
> > 
> > says it includes the configs. That's what I thought we (you and I
> > Alan) were talking about.
> > 
> > On the other hand I presumed (apparently incorrectly) that the
> > FEATURES="buildpkg" (which is what I think Neil is speaking about)
> > gave me the same option but I now guess it doesn't.
> > 
> > If I need to use quickpkg to save the configs then I think I'll do
> > that being that as I simple-minded home user with no admin experience
> > I have no in-place rigorous methods for doing __any__ backups. I just
> > tar up directories once in awhile and deal with the problems that come
> > later. (If they come...when they come...they do come, don't they?) ;-)
> > 
> > - Mark
> 
> This is how I understand it.  If you use buildpkg with emerge, you get
> the original configs from the source tarball.  If you use quickpkg, then
> you get the config files YOU created.  If I understand this correctly,
> you can remember it this way as well.  Doing it during the emerge gives
> you what emerge produces.  Doing it with quickpkg gives you what you
> produced.
> 
> All that and I didn't confuse myself.  So, I'm probably wrong in how I
> understand it.  lol
> 
> Dale
> 
> :-)  :-)

no, this is entirely correct.



[gentoo-user] entrance login fails

2017-02-19 Thread Mick
I am guessing there is something not being set in the /etc/pam.d/entrance file 
which was installed with entrance.  I am getting a wrong credentials error, 
when both my username and passwd are entered correctly.

This is the file installed by entrance:

$ cat /etc/pam.d/entrance
#%PAM-1.0
authrequisite   pam_nologin.so
authrequiredpam_env.so readenv=1
authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
authoptionalpam_gnome_keyring.so
@include common-account
session requiredpam_limits.so
@include common-session
session optionalpam_gnome_keyring.so auto_start
@include common-password


In contrast the sddm pam file looks like this:

$ cat /etc/pam.d/sddm
#%PAM-1.0

authinclude system-login
account include system-login
passwordinclude system-login
session include system-login
-auth   optionalpam_kwallet.so kdehome=.kde4
-auth   optionalpam_kwallet5.so
-sessionoptionalpam_kwallet.so
-sessionoptionalpam_kwallet5.so auto_start


The sddm pam file works fine, but I do not want to start hacking the entrance 
pam file without understainding what all these pam_foo.so directives do.  What 
do you suggest I need to change in it to make pam like my user/passwd?  

PS.  I do not use Gnome on this box.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Kernel build error

2009-01-29 Thread Dale
Saphirus Sage wrote:
> Dale wrote:
>   
>> Hi,
>>
>> I'm trying to upgrade my kernel but I got this.
>>
>> r...@smoker /usr/src/linux-2.6.27-gentoo-r8 # make all && make
>> modules_install
>>   CHK include/linux/version.h
>>   CHK include/linux/utsrelease.h
>>   CALLscripts/checksyscalls.sh
>>   CHK include/linux/compile.h
>> make[1]: *** No rule to make target `n/n', needed by
>> `firmware/n.gen.o'.  Stop.
>> make: *** [firmware] Error 2
>> r...@smoker /usr/src/linux-2.6.27-gentoo-r8 #  
>>
>> I have always used that command but it doesn't usually end like this.  I
>> think that is right.  What is target 'n/n'?  Am I missing something? 
>> Kernel version is in the prompt up there too. 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
>>
>>   
>> 
> What firmware drivers had you enabled when you configured the kernel?
>
>
>   

Well, I copied .config from my old kernel, ran oldconfig then menuconfig
to check on a couple things.  Everything looked normal enough for me
system.  I did say no to the new stuff tho.  My old kernel works fine so
I am really only updating the kernel.

I'm not sure what you mean by "firmware drivers"?  I don't use modules
but it does have a couple that are default and can't get rid of.

Dale

:-)  :-) 



Re: [gentoo-user] Portage option "--changed-use" not working?

2012-01-19 Thread Dale
Hilco Wijbenga wrote:
> On 19 January 2012 14:28, Dale  wrote:
>> Hilco Wijbenga wrote:
>>> Hi all,
>>>
>>> In "man emerge" I read:
>>>
>>> --changed-use
>>>   Tells  emerge  to  include  installed packages where USE flags have
>>> changed since installation. This option also implies the --selective
>>> option. Unlike --newuse, the --changed-use option does not trigger
>>> reinstallation when flags that the user has not enabled are added or
>>> removed.
>>>
>>> So I always include "--changed-use" when upgrading @world. But with
>>> the removal of kdeenablefinal I now get 150 reinstalls with
>>> changed-use. This seems to be contradicting the man page? Or am I
>>> misunderstanding things? Or did I misconfigure something? To be clear,
>>> I have never enabled kdeenablefinal.
>>>
>>> The full command I usually run is
>>>
>>> emerge --verbose --deep --with-bdeps=y --complete-graph --update
>>> --changed-use --keep-going world
>>>
>>> should that be relevant.
>>>
>>> Cheers,
>>> Hilco
>>>
>>>
>>
>>
>> Just to be clear, it was a dev that changed the kdeenablefinal flag.  It
>> was sort of discussed on -dev.  I think the dev that did it doesn't use
>> -N so it doesn't affect him and I guess he thinks it won't affect others
>> either.
> 
> I know and I don't mind the kdeenablefinal flag being removed. That
> makes perfect sense.
> 
> It's just that --changed-use ought to have prevented the 150
> unnecessary reinstalls. Or at least, I think it should have. :-)
> 
> 


Well, the USE flag got changed.  Isn't that what -N is supposed to do?

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"



Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jack

On 2022.04.06 14:51, Jude DaShiell wrote:

I'm curious, with a system about to build a kernel does a command or
command switch exist to tell the kernel build process to build the  
kernel
in such a way that all hardware now enabled gets enabled in the build  
of

the kernel?
Which pieces get built into the kernel (or as loadable modules) is  
controlled by .config.  To get the new kernel to include all the  
drivers/modules enabled in the current kernel, you can "zcat  
/proc/config.gz > .config" in the new /usr/src/linux.  (That does  
assume the running kernel is built with the parameters to create  
/proc/config.gz.)  Then run "make oldconfig" (or one of it's variants)  
to include new lines to .config.  To see (a subset) of those modules  
are actually used by existing hardware, do "lspci -k".  I don't know of  
any script to automatically parse that output, although I wouldn't be  
surprised if there was one (or more.)  Note hat probably won't include  
modules used for usb devices, just the usb hubs.  Currently loaded  
modules can be listed with lsmod, but that doesn't include anything  
built in.


Is a11y a typo, or just something I don't understand?  If you mean to  
say (all Y) Y to all kernel config questions, I believe there is a make  
option for the kernel which will do that - but I'd have to read the  
docs for the details.  Also, while that's of use for a distro kernel  
(where you have no idea what will be in PCs where it gets used) it will  
add lots of stuff to the kernel that you are unlikely to ever use.   
What is your actual goal?


Jack



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon  wrote:
> On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
>> > One thing I haven't found so far is what to put in make.conf to get
>> > the buildpkg feature to include the configs. It's easy at the command
>> > line. Where's the documentation on how to actually use this the right
>> > way automatically?
>> >
>> >
>> >
>> > - Mark
>>
>> when you use buildpkg feature the packages contain the virgin unedited
>> configs  as they are installed by the package and not any edits done by
>> you.
>
> Just checking something:
>
> We are all aware of the difference between
>
> emerge --buildpkg
>
> and
>
> quickpkg
>
> right/
>
> --
> alan dot mckinnon at gmail dot com

Volker is. I am not sure I am and I'm not sure that Neil was talking
about quickpkg which is what I am using so far. The command

quickpkg --include-configs

says it includes the configs. That's what I thought we (you and I
Alan) were talking about.

On the other hand I presumed (apparently incorrectly) that the
FEATURES="buildpkg" (which is what I think Neil is speaking about)
gave me the same option but I now guess it doesn't.

If I need to use quickpkg to save the configs then I think I'll do
that being that as I simple-minded home user with no admin experience
I have no in-place rigorous methods for doing __any__ backups. I just
tar up directories once in awhile and deal with the problems that come
later. (If they come...when they come...they do come, don't they?) ;-)

- Mark



Re: [gentoo-user] ERROR: x11-base/xorg-server-1.0.2-r7 failed.

2006-08-08 Thread Julia Fischer

2006/8/8, Noack, Sebastian <[EMAIL PROTECTED]>:

> I have some trouble with emerging x11-base/xorg-x11. I tried to run
> emerge -avD x11-base/xorg-x11

-D affects only something if you pass also -u.

I get the same when I call emerge -auD x11-base/xorg-x11, which was
what I intended.


> !!! ERROR: x11-base/xorg-server-1.0.2-r7 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   ebuild.sh, line 1248:   Called x-modular_src_compile
>   x-modular.eclass, line 330:   Called x-modular_src_make
>   x-modular.eclass, line 325:   Called die
>
> !!! emake failed
> !!! If you need support, post the topmost build error, and the call
> stack if relevant.

There are also error messages from the compiler?

Here everythin from the first compiler error:

glxcmds.c: In function `__glXBindSwapBarrierSGIX':
glxcmds.c:1749: warning: cast to pointer from integer of different size
glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':
glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared
(first use in this function)
glxcmds.c:1796: error: (Each undeclared identifier is reported only once
glxcmds.c:1796: error: for each function it appears in.)
glxcmds.c:1796: error: `req' undeclared (first use in this function)
glxcmds.c:1796: error: syntax error before ')' token
glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared
(first use in this function)
glxcmds.c:1812: error: `reply' undeclared (first use in this function)
glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply'
undeclared (first use in this function)
glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX':
glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared
(first use in this function)
glxcmds.c:1836: error: `req' undeclared (first use in this function)
glxcmds.c:1837: error: syntax error before ')' token
glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply'
undeclared (first use in this function)
glxcmds.c:1851: error: `reply' undeclared (first use in this function)
glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply'
undeclared (first use in this function)
glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX':
glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared
(first use in this function)
glxcmds.c:1871: error: `req' undeclared (first use in this function)
glxcmds.c:1872: error: syntax error before ')' token
glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared
(first use in this function)
glxcmds.c:1889: error: `reply' undeclared (first use in this function)
glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply'
undeclared (first use in this function)
glxcmds.c: In function `__glxHyperpipeConfigSGIX':
glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first
use in this function)
glxcmds.c:1915: error: `req' undeclared (first use in this function)
glxcmds.c:1916: error: syntax error before ')' token
glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared
(first use in this function)
glxcmds.c:1935: error: `reply' undeclared (first use in this function)
glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared
(first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include -I../../include
-I../../include -I../../GL/include -I../../hw/xfree86/os-support
-DHAVE_DIX_CONFIG_H
-I/var/tmp/portage/xorg-server-1.0.2-r7/work/Mesa-6.4.2/include
-DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include
-I../../include -I../../Xext -I../../composite -I../../damageext
-I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow
-I../../miext/damage -I../../render -I../../randr -I../../fb
-I../../lbx -march=k8 -O2 -pipe -MT glxcmdsswap.lo -MD -MP -MF
.deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o
.libs/glxcmdsswap.o
make[2]: Leaving directory
`/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.2-r7 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 ebuild.sh, line 1248:   Called x-modular_src_compile
 x-modular.eclass, line 330:   Called x-modular_src_make
 x-modular.eclass, line 325:   Called die

!!! emake failed
!!! If you need s

Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jude DaShiell
#a11y is an accessibility hash tag you may run across on the internet.
That covers assistive technologies like screen readers; refreshable
braille displays, magnifiers, and similar other technologies I've been
fortunate to have never needed to use for work on technology.
The information you provided I think will help my next gentoo install go
better in the kernel build phase thanks.


On Wed, 6 Apr 2022, Jack wrote:

> On 2022.04.06 14:51, Jude DaShiell wrote:
> >I'm curious, with a system about to build a kernel does a command or
> >command switch exist to tell the kernel build process to build the kernel
> >in such a way that all hardware now enabled gets enabled in the build of
> >the kernel?
> Which pieces get built into the kernel (or as loadable modules) is controlled
> by .config.  To get the new kernel to include all the drivers/modules enabled
> in the current kernel, you can "zcat /proc/config.gz > .config" in the new
> /usr/src/linux.  (That does assume the running kernel is built with the
> parameters to create /proc/config.gz.)  Then run "make oldconfig" (or one of
> it's variants) to include new lines to .config.  To see (a subset) of those
> modules are actually used by existing hardware, do "lspci -k".  I don't know
> of any script to automatically parse that output, although I wouldn't be
> surprised if there was one (or more.)  Note hat probably won't include modules
> used for usb devices, just the usb hubs.  Currently loaded modules can be
> listed with lsmod, but that doesn't include anything built in.
>
> Is a11y a typo, or just something I don't understand?  If you mean to say (all
> Y) Y to all kernel config questions, I believe there is a make option for the
> kernel which will do that - but I'd have to read the docs for the details.
> Also, while that's of use for a distro kernel (where you have no idea what
> will be in PCs where it gets used) it will add lots of stuff to the kernel
> that you are unlikely to ever use.  What is your actual goal?
>
> Jack
>
>



Re: [gentoo-user] SVGA mode & the console

2011-01-03 Thread meino . cramer
Paul Hartman  [11-01-03 17:27]:
> On Sun, Jan 2, 2011 at 5:28 AM,   wrote:
> > Final question after all there words: How can I get such a high
> > resolution with this hardware and the nvidia-drivers???
> 
> http://dev.gentoo.org/~spock/projects/uvesafb/
> 
> Works for me on ~amd64 gentoo with nvidia-drivers :)
> 

Hi,

that sounds really promising! :)

I tried to compile the stuff...but...

When starting to emerge v86d (was it that name...cant remember
exactly) also linux-2.6.26 starts to download and klibc.*

I checked, for what klibc is good for and in this case it is
used for calling the userland tool via from initram, which I
do not plan...

Ok, I thought, than "low level".

I compiled v86d by hand using "./configure --default" for the
default configuration.

But this time it fails to compile with:

   make[1]: Leaving directory 
`/home/mccramer/data/downloads/v86d-0.1.9/libs/x86emu'
   cc -march=native -O2 -pipe -msse3 -I/lib/modules/2.6.36.2/source/include 
-Ilibs/x86emu -c -o v86_x86emu.o v86_x86emu.c
   In file included from /usr/include/asm/types.h:4,
    from /lib/modules/2.6.36.2/source/include/linux/types.h:4,
    from 
/lib/modules/2.6.36.2/source/include/linux/connector.h:25,
from v86.h:7,
    from v86_x86emu.c:4:
   /lib/modules/2.6.36.2/source/include/asm-generic/int-ll64.h:11:29: error: 
asm/bitsperlong.h: No such file or directory
   In file included from 
/lib/modules/2.6.36.2/source/include/linux/connector.h:25,
from v86.h:7,
    from v86_x86emu.c:4:
   /lib/modules/2.6.36.2/source/include/linux/types.h:13:2: warning: #warning 
"Attempt to use kernel headers from user space, see 
http://kernelnewbies.org/KernelHeaders";
   make: *** [v86_x86emu.o] Error 1


I dont know, what the problem is...I am using linux-2.6.36.2 vanilla
and compile this kernel with uvesafb support in beforehand.
Nonetheless there seems something to be missed in the kernel
sources...

My goal is to have a better resolution on the console as this
8bit homecomputer like crap. It doesnot matter that much, whether
switching to the higher resolution happens when the first boot scripts
are read from /etc ...

May I ask you for a little more informations how to proceed here?
How did you achieve a working uvesafb? Do you use the gentoo sources
or the vanilla kernel?

Best regards and thank you very much in advance for your help!
mcc




Re: [gentoo-user] gnome-control center 3.23.98 fails to compile

2017-03-25 Thread Alarig Le Lay
On sam. 25 mars 20:25:15 2017, John Covici wrote:
> Hi.  I am getting the following error when emerging
> gnome-control-center on my most recent update -- I am using unstable
> gentoo.
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H
> -I. -I../.. -pthread -I/usr/include/gtk-3.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas
> -I../../ -DG_LOG_DOMAIN=\"common-cc-panel\" -DPANEL_ID=\"common\"
> -pthread -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/libdrm
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/gsettings-desktop-schemas
> -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -O2 -mtune=core2 -pipe -ggdb -c
> gsd-device-manager-udev.c  -fPIC -DPIC -o
> .libs/gsd-device-manager-udev.o
> gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No
> such file or directory
> 
> I do have -wailan as a use flag (there by default), so this doesn't
> make too much sense.
> 
> What can I do, or should I file a bug?
> 
> thanks in advance for any suggestions.

Hi,

What are your useflags for x11-libs/gtk+? I think that you must enable
the wayland one.

-- 
alarig


signature.asc
Description: PGP signature


Re: [gentoo-user] Kernel build error

2009-01-29 Thread KH
Dale schrieb:
> Saphirus Sage wrote:
>   
>> Dale wrote:
>>   
>> 
>>> Hi,
>>>
>>> I'm trying to upgrade my kernel but I got this.
>>>
>>> r...@smoker /usr/src/linux-2.6.27-gentoo-r8 # make all && make
>>> modules_install
>>>   CHK include/linux/version.h
>>>   CHK include/linux/utsrelease.h
>>>   CALLscripts/checksyscalls.sh
>>>   CHK include/linux/compile.h
>>> make[1]: *** No rule to make target `n/n', needed by
>>> `firmware/n.gen.o'.  Stop.
>>> make: *** [firmware] Error 2
>>> r...@smoker /usr/src/linux-2.6.27-gentoo-r8 #  
>>>
>>> I have always used that command but it doesn't usually end like this.  I
>>> think that is right.  What is target 'n/n'?  Am I missing something? 
>>> Kernel version is in the prompt up there too. 
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>>
>>>   
>>> 
>>>   
>> What firmware drivers had you enabled when you configured the kernel?
>>
>>
>>   
>> 
>
> Well, I copied .config from my old kernel, ran oldconfig then menuconfig
> to check on a couple things.  Everything looked normal enough for me
> system.  I did say no to the new stuff tho.  My old kernel works fine so
> I am really only updating the kernel.
>
> I'm not sure what you mean by "firmware drivers"?  I don't use modules
> but it does have a couple that are default and can't get rid of.
>
> Dale
>
> :-)  :-) 
>
>   
Hi,

if you don't want to have this driver atall there should be nothing in
there. Best thing ist to run make menuconfig to search for the mentioned
line.

Sorry for my tiping but I am really sleepy :-)

kh



Re: [gentoo-user] Any ideas??

2005-05-16 Thread Andreas Karlsson
Hi,

I don´t think this has anything to do with your motherboard. Though I really 
don´t know what the specific error is. What USE-flags are you useing? It 
compiled fine at my enviroment with USE="gpm" and nothing more.

Best regards,
Andreas Karlsson
Sweden


On Monday 16 May 2005 06.38, timothy johnson wrote:
> I am doing a fresh install on a VIA Mirco-ITX board. This isnt my
> first gentoo install, usually they go great.
>
> cd ../obj_s;   -I../c++ -I../include
> -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
> -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
> -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686
> -fomit-frame-pointer -fPIC -c
> /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesm.cc
> /bin/sh: line 1: -I../c++: No such file or directory
> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: *** Waiting for unfinished jobs
> /bin/sh: line 1: -I../c++: No such file or directory
> make[1]: *** [../obj_s/cursesm.o] Error 127
> make[1]: Leaving directory
> `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++' make: *** [all] Error 2


pgpmrB9X5N4vs.pgp
Description: PGP signature


Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 4:29 PM, Volker Armin Hemmann
 wrote:
> On Freitag 12 Februar 2010, Dale wrote:

>>
>> This is how I understand it.  If you use buildpkg with emerge, you get
>> the original configs from the source tarball.  If you use quickpkg, then
>> you get the config files YOU created.  If I understand this correctly,
>> you can remember it this way as well.  Doing it during the emerge gives
>> you what emerge produces.  Doing it with quickpkg gives you what you
>> produced.
>>
>> All that and I didn't confuse myself.  So, I'm probably wrong in how I
>> understand it.  lol
>>
>> Dale
>>
>> :-)  :-)
>
> no, this is entirely correct.
>
>
>From what I've seen last night and today I do not think this is correct.

quickpkg =NAME

produces a binary package with NO config files included.

You have to use

quickpkg --include-configs =NAME

to get the configs, at least from what I can see from the messages it
produces when it runs.

There is another option to limit the configs to only the unedited ones.

- Mark



Re: [gentoo-user] complete switch from openssl to libressl on gentoo

2020-04-17 Thread Dale
Tamer Higazi wrote:
> Dear everybody,
>
> I got my Gentoo system running compiled with openssl.
> I'd like to rebuild my entire system based on libreSSL.
>
> What best practices do you advise ?
>
>
> Thanks.
>
>
> best, Tamer
>
>
>


If all you're doing is changing a USE flag, emerge -Na world should do
it.  If you think it needed, emerge -DNa world.  The -D, deep, may catch
a few more packages but I've never tested it.  If you want to go to the
extreme, emerge -ea world will recompile everything, changed USE flag or
not.  It won't miss a thing.  The first one should work in most cases.
If you run into trouble, maybe add the -D. 

The -N is this from man emerge:

--newuse, -N
Tells emerge to include installed packages where USE flags have changed
since compilation. This option also implies the --selective  option.  
USE  flag  changes include:

A USE flag was added to a package.  A USE flag was removed from a
package.  A USE flag was turned on for a package.  A USE flag was turned
off for a package.

Hope that helps. 

Dale

:-)  :-) 



Re: [gentoo-user] Why is KDE part of the system set?

2011-02-24 Thread Walter Dnes
On Thu, Feb 24, 2011 at 11:34:09AM -0600, Dale wrote

> I didn't tell portage to include KDE, qt, and a boatload of other stuff 
> to be part of @system.  Did I enable the kde USE flag, yea.  That should 
> be part of the world stuff not the system stuff.  If I disable kde, qt 
> and all the others then my GUI is going to be junk if it would even work 
> at all.

  What you're saying is that you want *SOME*, but not all, packages to
be built with certain flags.  That's what package.use was designed for.
If you enable "kde" globally in your USE var, everything that can be
built with KDE support will be built with KDE support.  If you enable it
for only certain packages, it will only show up for certain packages.

  You have "kde" and "symantic-desktop" in your USE, sorry, you're going
to pull in a lot of crap, no if's-and's-or's-but's.  BTW, I assure you
that I am absolutely neutral in the GNOME/KDE war...  the pox on both
their houses.  I didn't buy a computer to run desktops, I bought a
computer to run applications.

  Now it's possible that many of the flags in your "combined" USE are
pulled in by your profile.  The way to avoid that is to start your USE
with "-*" and only add what is absolutely necessary, either in USE in
make.conf or on a package-by-package basis in package.use.  I started
doing that some years ago after the developers "in their infinite
wisdom" decided to include "ipv6" by default.  Firefox and mplayer and
anything else that connected to the net would spin their wheels for 30
to 45 seconds, while IPV6 DNS requests timed out, and then fall back to
IPV4.  I did *NOT* appreciate that.

> I guess the kernel will have the kde USE flag next.  lol  At least
> that should be in @system tho.  ;-)

  Check your profile.  Is it kde-desktop?  And while you're at it, set
your "ALSA_CARDS" variable in /etc/make.conf.  It seems to be pulling in
everything by default.

-- 
Walter Dnes 



Re: [gentoo-user] memset_s

2017-11-10 Thread Marc Joliet
Am Freitag, 10. November 2017, 10:54:53 CET schrieb Jorge Almeida:
> I'm trying to use memset_s() but the system (glibc?) doesn't know
> about it. I also tried to compile against musl, same result.
> 
> There's precious little info about memset_s in the net. Does it exist
> at all? No man page.
> 
> (https://www.cs.helsinki.fi/group/boi2016/doc/cppreference/reference/en.cppr
> eference.com/w/c/string/byte/memset.html)
> 
> What I tried:
> 
> #include 
> #include 
> #include 
> #define __STDC_WANT_LIB_EXT1__  1
> #include 
> #include 
> 
> int main(int argc, char** argv){
> #ifndef __STDC_LIB_EXT1__
> printf("CRAP\n");
> #else
> printf("COOL\n");
> #endif
> }
> 
> Compiled with -std=c11
> 
> You can guess what the output is.
> 
> Someone using it?
> 
> Jorge Almeida

It seems as though it is simply not implemented, I found a variety of links  
that all support this:

https://stackoverflow.com/a/40162721

https://stackoverflow.com/questions/38322363/when-will-the-safe-string-functions-of-c11-be-part-of-glibc

https://gcc.gnu.org/wiki/C11Status (which states that Annex K is not 
implemented)

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] /etc/hosts include file?

2013-03-08 Thread Alan McKinnon
On 08/03/2013 02:29, Michael Mol wrote:
> On 03/07/2013 05:24 PM, Alan McKinnon wrote:
>> Anyone know if there's a way to get /etc/hosts to support the notion of
>> an include file? I did my homework and found nothing, maybe someone else
>> knows more.
>>
>> I really do need this, I have an app that discovers things on the
>> network and knows their address. This makes it's automated way into DNS
>> but takes a few days, and another app needs to use the fqdn right now.
>> So /etc/hosts is the way to go for the interim three days.
>>
>> I've worked around it by creating /etc/hosts.d/ containing a header and
>> a data file. cat the two and redirect to /etc/hosts.d/hosts and the real
>> hosts file is a symlink to that. It's a sub-directory as none of these
>> apps run as root and only root can modiy the real hosts file.
>>
>> This works well enough, but a supported include mechanism would make
>> life so much simpler, not to mention easier for my colleagues to
>> understand what the blazes I set up :-)
> 
> No, there's not an "include" directive.
> 
> There are, however, two other ways to get hostnames recognized.
> 
> The first is /etc/resolv.conf . You can point your host at a local DNS
> server which is aware of the discovered hosts, and which forwards the
> rest of the queries. (This is how Samba 4's internal DNS server
> operates; anything it knows, it responds to. Everything else, it forwards.)
> 
> Read the manpage for resolv.conf...there's a lot of stuff in there
> you'll want to know as you start coping with IPv6. (And some useful
> stuff if you want to favor a particular IP range...)

And the day started off so well. Then you had to come along and mention
IPv6 :-)

IPv6 is wonderfully easy to use client-side and reasonably easy to plug
into an existing network (the routers mostly know what to do already).
The fun starts when you need to write an app that tracks and does range
allocations at ISP scale, all while keeping the PTRs in line too. Sadly
for me, my team works in that area and such a magic app is one of our
deliverables

One day when I've climbed down off the walls and my fingernails have
grown back, I might be up to relating what it is taking to get that
done :-)

> 
> The second is /etc/nsswitch.conf . nsswitch.conf is how you inject
> samba-discovered, NIS-offered -- or whatever provider you care to inject
> -- hostname databases into the system resolver. You could have it query
> your provided database first, moving on to other sources if your
> provided database doesn't have what you're looking for. (I'm actually
> kinda surprised avahi doesn't come with an nss plugin...)

One day I should read nsswitch's man page completely. I never needed to
know more than "dns files" for the hosts directives and that shadow does
user. All those other lookup schemes are things I never use.




-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] [Way OT] Kernel Symlink use or not use?

2007-03-23 Thread Boyd Stephen Smith Jr.
On Thursday 22 March 2007, Jakob Buchgraber 
<[EMAIL PROTECTED]> wrote about '[gentoo-user] [Way OT] 
Kernel Symlink use or not use?':
> I considered switching to LFS a while ago as this would be the only
> Linux "distribution" fulfilling my requirements (besides Gentoo, of
> course). So when reading the LFS Book there was a warning saying
>
> Quote from LFS Book 6.2:

I have never seen having the symlink cause a problem, unless the symlink 
was to the "wrong" kernel.  I can't imagine a case where that would be 
true, so I'm dubious that this quote is based on any real issues.

> The Gentoo Documentation however says:

Are you using LFS or Gentoo?  I guess you should follow the documentation 
for what you are actually using.  Or, do you regularly consult your 
toaster's manual for how to operate your microwave?

> But the $KERNEL_DIR/README says:

This is an instruction for compiling userland programs.  In particular 
userland shouldn't include headers from /usr/src/linux, EVER.  Those files 
may change depending on what kernel is installed so they can't be 
accurately targeted by anything that doesn't closely track the kernel.  
(If it tracks the kernel that close, so that it has to be compiled for a 
specific kernel [and specific /configuration/ of that kernel], it should 
be a kernel module.)

Instead your userland programs should use the /usr/include/linux area.  (If 
they have need of linux-specific headers; standard POSIX / C99 / C++03 
headers can be found elsewhere.)

> So after reading this I searched groups.google.com and the forums about
> this issue and found a different approach, which can be used instead of
> the /usr/src/linux symlink.

Just setting KERNEL_DIR should be enough, but I'm not sure if that will be 
supported by Gentoo, you should just use the symlink, as the docs say (and 
as many proprietary, out-of-tree modules expect).

> So what's the best way and _why_?

/usr/src/linux symlink to "current" (generally running) kernel.
Because that's what the docs say so that's what Gentoo supports.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!


pgpLRdS0XJCJD.pgp
Description: PGP signature


[gentoo-user] Snort and Postgresql9

2011-03-10 Thread James
Hello,

Before I file a bug report, maybe somebody
on this list has some additional info on PG9?

Well a routine compilation of snort, croaked
based on removal of pg8 and only pg9 being
on the system. Note: I have little interest
in going back to PG8; I'll leave snort broken
until I figure out PG9.

Here's were I have looked for PG9 information:
/usr/share/doc/postgresql-9.0

/usr/portage/dev-db/postgresql-base/
postgresql-base-9.0.3.ebuild
Here I find this:
elog "If you need a global psqlrc-file, you can place it in:"
elog "'${ROOT}/etc/postgresql-${SLOT}/'"


/var/log/elog 

checking for mysql setting of reconnect option 
before connect bug... no
checking for postgresql... 

**
  ERROR: unable to find postgresql header file (libpq-fe.h)
  checked in the following places
    /usr/include
    /usr/include/pgsql
    /usr/local/include
/usr/local/include/pgsql
/usr/local/pgsql/include
/usr/local/pgsql/include/pgsql
    /usr/pgsql/include
/usr/pgsql/include/pgsql
    /usr/local/include
/usr/local/include/pgsql
**
/var/tmp/portage/net-analyzer/snort-2.9.0.3/
work/snort-2.9.0.3/config.log
ERROR: net-analyzer/snort-2.9.0.3 failed (configure phase)

BUG 356001
>From my reading on another pgsql bug, make sure you use eselect to set your
postgres version. After you do that, you should be able to merge pgadmin.

# eselect postgresql show
(none)


It seems the eselect mechanism fixed the problem for one user,
but mine broken, so I'll "-1" eselect-postgresql and see what
happens...

same result.

guidance?

james







Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jack
Ah - a11y sort of like i18n and l10n (at least in how to read it.)   I  
just found a web page calling it a numeronym.


After all your reading, I would still suggest thinking carefully about  
your goal.  The link Peter sent has a good summary of all the "make Xc  
onfig" options, and I agree with him that "make localmodconfig" sounds  
like what you want.  Extra "Y" or "M" in your config might save you  
from recompiling the kernel again later, but it makes your kernel  
larger, and take longer to compile and load, although how much those  
delays bother you is very personal.


Jack

On 2022.04.06 17:16, Jude DaShiell wrote:

#a11y is an accessibility hash tag you may run across on the internet.
That covers assistive technologies like screen readers; refreshable
braille displays, magnifiers, and similar other technologies I've been
fortunate to have never needed to use for work on technology.
The information you provided I think will help my next gentoo install  
go

better in the kernel build phase thanks.


On Wed, 6 Apr 2022, Jack wrote:

> On 2022.04.06 14:51, Jude DaShiell wrote:
> >I'm curious, with a system about to build a kernel does a command  
or
> >command switch exist to tell the kernel build process to build the  
kernel
> >in such a way that all hardware now enabled gets enabled in the  
build of

> >the kernel?
> Which pieces get built into the kernel (or as loadable modules) is  
controlled
> by .config.  To get the new kernel to include all the  
drivers/modules enabled
> in the current kernel, you can "zcat /proc/config.gz > .config" in  
the new
> /usr/src/linux.  (That does assume the running kernel is built with  
the
> parameters to create /proc/config.gz.)  Then run "make oldconfig"  
(or one of
> it's variants) to include new lines to .config.  To see (a subset)  
of those
> modules are actually used by existing hardware, do "lspci -k".  I  
don't know
> of any script to automatically parse that output, although I  
wouldn't be
> surprised if there was one (or more.)  Note hat probably won't  
include modules
> used for usb devices, just the usb hubs.  Currently loaded modules  
can be

> listed with lsmod, but that doesn't include anything built in.
>
> Is a11y a typo, or just something I don't understand?  If you mean  
to say (all
> Y) Y to all kernel config questions, I believe there is a make  
option for the
> kernel which will do that - but I'd have to read the docs for the  
details.
> Also, while that's of use for a distro kernel (where you have no  
idea what
> will be in PCs where it gets used) it will add lots of stuff to the  
kernel

> that you are unlikely to ever use.  What is your actual goal?
>
> Jack
>
>








Re: [gentoo-user] Cloned partition won't emerge some packages

2011-01-11 Thread Mick
On Monday 10 January 2011 02:34:13 Alex Schuster wrote:

> I created two directories sys/ and usr/include/sys/, with normal and
> hidden files:
> 
> wo...@weird ~/tmp/tar $ ls -a  . sys  usr/include/sys
> .:
> .  ..  sys  usr
> 
> sys:
> .  ..  .hidden  visible
> 
> usr/include/sys:
> .  ..  .hidden.h  visible.h
> 
> 
> I tarred them as you did. Note that the hidden file is also excluded,
> although I did not exclude sys/.*, too:
> 
> wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='sys/*' .
> wo...@weird ~/tmp/tar $ tar tf ../foo.tar
> ./
> ./usr/
> ./usr/include/
> ./usr/include/sys/
> ./sys/
> 
> 
> As suggested, I added a './' to the exclude file list and tarred the
> directory. Seems to work:
> 
> wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='./sys/*' .
> wo...@weird ~/tmp/tar $ tar tf ../foo.tar
> ./
> ./usr/
> ./usr/include/
> ./usr/include/sys/
> ./usr/include/sys/visible.h
> ./usr/include/sys/.hidden.h
> ./sys/
> 
> > What shall I use for excluding all the contents of a directory, but
> > not the directory itself?
> 
> sed -i 's:^:./:g' file.list

Thank you very much - I also repeated your findings.

My confusion was whether the list passed to -X should be defined as an 
absolute path, or a pattern.

When I originally tried /dir it didn't work, but as you say ./tmp does.  Good 
trick about mount -o bind, too, I had forgotten about that.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Mark Knecht wrote:
> On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon  
wrote:
> > On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
> >> > One thing I haven't found so far is what to put in make.conf to get
> >> > the buildpkg feature to include the configs. It's easy at the command
> >> > line. Where's the documentation on how to actually use this the right
> >> > way automatically?
> >> > 
> >> > 
> >> > 
> >> > - Mark
> >> 
> >> when you use buildpkg feature the packages contain the virgin unedited
> >> configs  as they are installed by the package and not any edits done by
> >> you.
> > 
> > Just checking something:
> > 
> > We are all aware of the difference between
> > 
> > emerge --buildpkg
> > 
> > and
> > 
> > quickpkg
> > 
> > right/
> > 
> > --
> > alan dot mckinnon at gmail dot com
> 
> Volker is. I am not sure I am and I'm not sure that Neil was talking
> about quickpkg which is what I am using so far. The command
> 
> quickpkg --include-configs
> 
> says it includes the configs. That's what I thought we (you and I
> Alan) were talking about.
> 
> On the other hand I presumed (apparently incorrectly) that the
> FEATURES="buildpkg" (which is what I think Neil is speaking about)
> gave me the same option but I now guess it doesn't.
> 
> If I need to use quickpkg to save the configs then I think I'll do
> that being that as I simple-minded home user with no admin experience
> I have no in-place rigorous methods for doing __any__ backups. I just
> tar up directories once in awhile and deal with the problems that come
> later. (If they come...when they come...they do come, don't they?) ;-)
> 
> - Mark

when you use quickpkg it package up all the files belonging to the package as 
they are installed in your system. If you edited the configs (or any other 
file) 
the edited version ends in the tarball.

with buildpkg the package is created before the files are copied into the 
filesystem. Config files included in the tarball are 'virgin'. 

buildpkg is 'cleaner' because you get everything as it is installed. If you 
want to save your configs - well, regular backups of /etc is always a smart 
choice.



Re: [gentoo-user] lost /lib/security/pam_console.so

2005-07-23 Thread Richard Fish

George Roberts wrote:


Richard Fish wrote:


Peter Gordon wrote:


Try setting the "pam_console" USE flag and re-emerging pam:
# echo "sys-libs/pam  pam_console" >> /etc/portage/package.use
# emerge sys-libs/pam

Although, it's rather odd that you are unable to login. I do not have
pam_console either but I can still login through gdm just fine (with a
similar warning in my system log).
 



If /etc/pam.d/gdm specifies pam_console, then this is why it is 
required.  George, can you post the contents of that file?


-Richard

I just downgraded my baselib and pam after I found a simular issue in 
the forums.  But gdm still not working.
I don't have the time to check the logs (yuck work) this morning, will 
check them tonight.

Here is my currant /etc/pam.d/gdm
#%PAM-1.0
auth   optional    pam_env.so
auth   includesystem-auth
auth   required    pam_nologin.so
accountinclude    system-auth
password   include    system-auth
sessionincludesystem-auth



Ok, so we include system-auth.  Then we also need to look at 
/etc/pam.d/system-auth.


Also, what you have is the version of the pam config file from 
gdm-2.6.0.9-r3 (the ~x86 version).  Earlier (non ~x86) versions use a 
different gdm configuration for pam:


#%PAM-1.0
auth   required /lib/security/pam_env.so
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional     /lib/security/pam_console.so

As you can see, pam_console.so is referenced directly here.  Can you 
confirm that you still get the error about pam_console.so with -r3, or 
only with earlier versions of gdm?


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SVGA mode & the console

2011-01-03 Thread Paul Hartman
On Mon, Jan 3, 2011 at 11:55 AM,   wrote:
> Paul Hartman  [11-01-03 17:27]:
>> On Sun, Jan 2, 2011 at 5:28 AM,   wrote:
>> > Final question after all there words: How can I get such a high
>> > resolution with this hardware and the nvidia-drivers???
>>
>> http://dev.gentoo.org/~spock/projects/uvesafb/
>>
>> Works for me on ~amd64 gentoo with nvidia-drivers :)
>>
>
> Hi,
>
> that sounds really promising! :)
>
> I tried to compile the stuff...but...
>
> When starting to emerge v86d (was it that name...cant remember
> exactly) also linux-2.6.26 starts to download and klibc.*
>
> I checked, for what klibc is good for and in this case it is
> used for calling the userland tool via from initram, which I
> do not plan...
>
> Ok, I thought, than "low level".
>
> I compiled v86d by hand using "./configure --default" for the
> default configuration.
>
> But this time it fails to compile with:
>
>   make[1]: Leaving directory 
> `/home/mccramer/data/downloads/v86d-0.1.9/libs/x86emu'
>   cc -march=native -O2 -pipe -msse3 -I/lib/modules/2.6.36.2/source/include 
> -Ilibs/x86emu -c -o v86_x86emu.o v86_x86emu.c
>   In file included from /usr/include/asm/types.h:4,
>                    from /lib/modules/2.6.36.2/source/include/linux/types.h:4,
>                    from 
> /lib/modules/2.6.36.2/source/include/linux/connector.h:25,
>                    from v86.h:7,
>                    from v86_x86emu.c:4:
>   /lib/modules/2.6.36.2/source/include/asm-generic/int-ll64.h:11:29: error: 
> asm/bitsperlong.h: No such file or directory
>   In file included from 
> /lib/modules/2.6.36.2/source/include/linux/connector.h:25,
>                    from v86.h:7,
>                    from v86_x86emu.c:4:
>   /lib/modules/2.6.36.2/source/include/linux/types.h:13:2: warning: #warning 
> "Attempt to use kernel headers from user space, see 
> http://kernelnewbies.org/KernelHeaders";
>   make: *** [v86_x86emu.o] Error 1
>
>
> I dont know, what the problem is...I am using linux-2.6.36.2 vanilla
> and compile this kernel with uvesafb support in beforehand.
> Nonetheless there seems something to be missed in the kernel
> sources...
>
> My goal is to have a better resolution on the console as this
> 8bit homecomputer like crap. It doesnot matter that much, whether
> switching to the higher resolution happens when the first boot scripts
> are read from /etc ...
>
> May I ask you for a little more informations how to proceed here?
> How did you achieve a working uvesafb? Do you use the gentoo sources
> or the vanilla kernel?

Hi,

I use vanilla-sources and do not use initrd. Don't be confused about
initramfs, it does not require you to use initrd. Basically just
follow the directions on that webpage and it should work. Here I'll
explain in different words in case it helps. :)

1. configure your kernel like it says on that page (CONFIG_CONNECTOR=y
and CONFIG_FB_UVESA=y)
2. make the kernel
3. emerge klibc (if it's already installed, emerge it again so it
builds against this newly-configured kernel)
4. emerge v86d
5. configure your kernel again, enable "Initial RAM filesystem and RAM
disk (initramfs/initrd) support"
6. In "Initramfs source file(s)" type /usr/share/v86d/initramfs
7. Make and install the new kernel :)
8. Reboot and type "cat /sys/class/graphics/fb0/modes" to see a list
of compatible modes on your card.
9. Edit your kernel commandline in grub configuration file to add the
uvesafb command. For example mine is
video=uvesafb:1280x720p-59,mtrr:2,ywrap (you can replace 1280x720p-59
with the mode that your card supports from the previous step)
9. Reboot again and hopefully enjoy new high-resolution framebuffer :)

Another way to make it look better is to use different console fonts.
I'm using ter-112n from package media-fonts/terminus-font. You can set
this in /etc/conf.d/consolefont (be sure consolefont is set as a boot
service from rc-update).

If you have a message in dmesg about mtrr type mismatch, you may need
to change from mtrr:2 to another number. Please read the uvesafb
documentation from linux kernel for more info:
/usr/src/linux/Documentation/fb/uvesafb.txt

Good luck :) If you have any problems let me know and I can send you
my kernel .config in case you want to compare settings.



Re: [gentoo-user] netfilter tarpit target

2007-04-01 Thread Dave Jones
Hi Daniel

Daniel Iliev wrote on 01/04/07 19:10:
>>> My question: what is the best way get this iptables module working w/o
>>> diverting too much from the official Gentoo installation. I mean the
>>> normal way is to use patch-o-matic to patch iptables source and vanilla
>>> kernel source, then build and install. I have the feeling that it is not
>>> exactly the right thing to with Gentoo.

>> cd /usr/src
>> svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng
>> svn co https://svn.netfilter.org/netfilter/trunk/iptables
>> cd patch-o-matic-ng
>> ./runme extra
>> cd /usr/src/linux
>> make menuconfig
>> make && make modules_install && make install
>> make sure you have USE "extensions" in your make.conf
>> emerge iptables

> This patch appears to be incompatible with gentoo-sources or I'm doing
> something wrong. After patching the module "TARPIT" appears in the
> kernel configuration and I mark it to get built as a module [M]. Then:
> ==
> make all modules_install install
> scripts/kconfig/conf -s arch/i386/Kconfig
>   CHK include/linux/version.h
>   CHK include/linux/utsrelease.h
>   CHK include/linux/compile.h
>   GZIPkernel/config_data.gz
>   IKCFG   kernel/config_data.h
>   CC  kernel/configs.o
>   LD  kernel/built-in.o
>   CC [M]  net/ipv4/netfilter/ipt_TARPIT.o
> net/ipv4/netfilter/ipt_TARPIT.c: In function ‘ip_direct_send’:
> net/ipv4/netfilter/ipt_TARPIT.c:65: warning: implicit declaration of
> function ‘neigh_hh_output’
> ---snip
> Kernel: arch/i386/boot/bzImage is ready  (#2)
>   Building modules, stage 2.
>   MODPOST 159 modules
> WARNING: "neigh_hh_output" [net/ipv4/netfilter/ipt_TARPIT.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> ==
> So, I'm still looking for advices.

Did the patches apply OK?

Did you do:

cd /usr/src/iptables
svn update
cd /usr/src/patch-o-matic-ng
svn update

.. before updating your kernel?

What kernel are you running?

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thu, 11 Feb 2010 15:39:48 -0800, Mark Knecht wrote:

   

Volker is. I am not sure I am and I'm not sure that Neil was talking
about quickpkg which is what I am using so far. The command

quickpkg --include-configs

says it includes the configs. That's what I thought we (you and I
Alan) were talking about.

On the other hand I presumed (apparently incorrectly) that the
FEATURES="buildpkg" (which is what I think Neil is speaking about)
gave me the same option but I now guess it doesn't.
 

I was talking about the difference between quickpkg and buildpkg in
response to your statement "One thing I haven't found so far is what to
put in make.conf to get the buildpkg feature to include the configs."
   


I'm not sure that is doable actually.  If you use buildpkg, there is no 
config except the "virgin" one that comes from the tarball.  From my 
understanding, emerge builds the package, saves a copy to 
/usr/portage/All then installs the package to where ever it goes, 
presumably /.


I think I see what you mean but I don't think there is anything to be 
saved since it is not installed when it is done.  Someone correct me if 
I am wrong here.


Dale

:-)  :-)



Re: [gentoo-user] syslog-ng-3.6.1 nearly no log anymore

2014-11-14 Thread Alan McKinnon
On 14/11/2014 20:44, Helmut Jarausch wrote:
> On 11/14/2014 06:46:28 PM, Alan McKinnon wrote:
>> On 14/11/2014 18:18, Helmut Jarausch wrote:
>>> On 11/13/2014 09:05:50 PM, Alan McKinnon wrote:
>>>> On 13/11/2014 18:41, Helmut Jarausch wrote:
>>>>> Hi,
>>>>>
>>>>> after upgrading from syslog-ng-3.5.6  to syslog-ng-3.6.1 my 
>> system
>>>> has 
>>>>> stopped logging, i.e. I only get the messages
>>>>> Nov 12 21:04:10 numa syslog-ng[1392]: syslog-ng shutting down; 
>>>>> version='3.6.1'
>>>>> Nov 13 14:52:20 numa syslog-ng[1392]: syslog-ng starting up; 
>>>>> version='3.6.1'
>>>>>
>>>>> Has anybody observed the same problem, and how to fix it?
>>>>>
>>>>> Many thanks for a hint,
>>>>> Helmut
>>>>>
>>>>>
>>>>
>>>>
>>>> Run a syntax check on the config file, I don't have a man page to 
>>>> hand
>>>> but it's quite obvious what the option is.
>>>> syslog-ng has sometimes been picky about version numbers in the
>> past
>>>> and
>>>> it's tagged in the config file. Read the syntax check output 
>>>> carefully
>>>> to see if anything is amiss.
>>>
>>> Thanks, Alan.
>>>
>>> The only unusual message is
>>> Systemd is not detected as the running init system;
>>>
>>> which is true since I still use openrc (but with systemd installed,
>> as 
>>> well)
>>> Could this be the culprit?
>>
>>
>> I doubt it, I also use 3.6.1 without systemd.
>>
>> Please post eix syslog-ng so we can see how your USE is set up, and
>> your
>> syslog-ng.conf
>>
> Thanks, Alan.
> 
> [U] app-admin/syslog-ng
>  Available versions:  3.4.7^t 3.4.8^t (~)3.5.6^t{tbz2}[1] 
> (~)3.6.1^t{tbz2} {amqp caps dbi geoip ipv6 json mongodb pacct +pcre 
> redis smtp spoof-source ssl systemd tcpd}
>  Installed versions:  3.5.6^t{tbz2}[1](05:21:52 PM 11/14/2014)(ipv6 
> json pcre ssl systemd tcpd -amqp -caps -dbi -geoip -mongodb -pacct -
> smtp -spoof-source)
>      Homepage:    http://www.balabit.com/network-security/
> syslog-ng
>  Description: syslog replacement with advanced filtering 
> features


I don't find any info on what the syslog-ng ebuild does with
USE=systemd, I suspect it may want to use the fancy logging features
built into systemd.

Since you have it, but don't run it, does USE=-systemd fix the issue?


> 
> And here are the config files (I've left out the commented lines)
> 
>  /etc/syslog-ng/scl.conf =
> @define scl-root "`syslog-ng-data`/include/scl"
> @define include-path "`include-path`:`syslog-ng-data`/include"
> 
> @include 'scl/system/plugin.conf'
> @include 'scl/pacct/plugin.conf'
> @include 'scl/syslogconf/plugin.conf'
> 
>  /etc/syslog-ng/syslog-ng.conf =
> options { 
>   threaded(yes);
>   chain_hostnames(no); 
>   stats_freq(43200); 
> 
>   mark_freq(3600); 
> };
> 
> source src { system(); internal(); };
> 
> destination messages { file("/var/log/messages"); };
> destination console_all { file("/dev/tty12"); };
> log { source(src); destination(messages); };
> log { source(src); destination(console_all); };
> 
> 
>  /etc/conf.d/syslog-ng =
> SYSLOG_NG_OPTS=""


That all looks normal, I don't see anything problematic there


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thu, Feb 11, 2010 at 4:29 PM, Volker Armin Hemmann
  wrote:
   

On Freitag 12 Februar 2010, Dale wrote:
 


   

This is how I understand it.  If you use buildpkg with emerge, you get
the original configs from the source tarball.  If you use quickpkg, then
you get the config files YOU created.  If I understand this correctly,
you can remember it this way as well.  Doing it during the emerge gives
you what emerge produces.  Doing it with quickpkg gives you what you
produced.

All that and I didn't confuse myself.  So, I'm probably wrong in how I
understand it.  lol

Dale

:-)  :-)
   

no, this is entirely correct.


 

> From what I've seen last night and today I do not think this is correct.

quickpkg =NAME

produces a binary package with NO config files included.

You have to use

quickpkg --include-configs =NAME

to get the configs, at least from what I can see from the messages it
produces when it runs.

There is another option to limit the configs to only the unedited ones.

- Mark

   


You do have to add that option but that was already mentioned.  I should 
have added it for clarity tho.


Dale

:-)  :-)



Re: [gentoo-user] emerge -avC cdrkit && emerge -av cdrtools

2008-07-05 Thread Sebastian Günther
* KH ([EMAIL PROTECTED]) [05.07.08 13:24]:
> Hi,
>
> after reading some emails from the list I have been trying to unmerge 
> cdrkit and to emerge cdrtools. I aslo hat to unmerge dvd+rw-tools and kino. 
> Anyway I am still not able to emerge cdrtools.
>
> !!! Cannot write to '/usr/include/scsilib/scg'.
> !!! Please check permissions and directories for broken symlinks.
> !!! You may start the merge process again by using ebuild:
> !!! ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild 
> merge
> !!! And finish by running this: env-update
>
>
> than there is a very long list I can post if needed.
>
> ls -lah /usr/include/scsilib/scg
> lrwxrwxrwx 1 root root 25 Jun 25 12:48 /usr/include/scsilib/scg -> 
> /usr/include/scsilib/usal
>
> on my xterm there is red highlighting under the output.
>
> What can I do to install cdrtools correctly to a working standard?

If I'm not mistaken, it means there is a dangling symlink.

if 
# ls -lah /usr/include/scsilib/usal
shows something like no such file or directory, then 
# rm /usr/include/scsilib/scg
and continue as above mentioned with
# ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge

HTH
Sebastian

P.S.: I don't use kino so just try a
# emerge -pvt kino
afterwards, to look what it tries to pull in.

-- 
 " Religion ist das Opium des Volkes. "  Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpP3khPPwzHI.pgp
Description: PGP signature


Re: [gentoo-user] emerge -avC cdrkit && emerge -av cdrtools

2008-07-06 Thread KH

Sebastian Günther schrieb:

* KH ([EMAIL PROTECTED]) [05.07.08 13:24]:
  

Hi,

after reading some emails from the list I have been trying to unmerge 
cdrkit and to emerge cdrtools. I aslo hat to unmerge dvd+rw-tools and kino. 
Anyway I am still not able to emerge cdrtools.


!!! Cannot write to '/usr/include/scsilib/scg'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuild:
!!! ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild 
merge

!!! And finish by running this: env-update


than there is a very long list I can post if needed.

ls -lah /usr/include/scsilib/scg
lrwxrwxrwx 1 root root 25 Jun 25 12:48 /usr/include/scsilib/scg -> 
/usr/include/scsilib/usal


on my xterm there is red highlighting under the output.

What can I do to install cdrtools correctly to a working standard?



If I'm not mistaken, it means there is a dangling symlink.

if 
# ls -lah /usr/include/scsilib/usal
shows something like no such file or directory, then 
# rm /usr/include/scsilib/scg

and continue as above mentioned with
# ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge

HTH
Sebastian

P.S.: I don't use kino so just try a
# emerge -pvt kino
afterwards, to look what it tries to pull in.

  


Hi,
thanks for the help. looks like it is working now. I did not have the 
ebuild any more (tmpfs) but emerge did fine.

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



[gentoo-user] My first initramfs

2013-11-12 Thread Tanstaafl

Ok, looking into this now...

Reading the referenced wiki page shows this comment:


Introduction and bootloader configuration

To create an initramfs, it is important that you know what
additional drivers, scripts and tools you need to boot your system.
For instance, if you use LVM, then you will need to support LVM tools
on the initramfs. Likewise, if you use software RAID, you need mdadm,
etc.


I thought I'd mentioned/asked this before, but don't recall a 
satisfactory answer...


Ok, up until now, I haven't *had* to 'know' what additional drivers are 
needed by my system to boot.


So... how the heck am I supposed to find out? Trial and error?

I do know I need lvm, so have that one listed... but what else? There 
has *got* to be some kind of way to analyze an existing system to reveal 
the 'drivers, scripts and tools' I need for my initramfs so I know what 
to include?


And how to do this should be *fully* covered in that wiki page.

I really feel like I'm being thrown to the wolves here.



Re: [gentoo-user] Is my system (really) using nptl

2012-10-13 Thread Canek Peláez Valdés
On Sat, Oct 13, 2012 at 1:40 PM, Mark Knecht  wrote:
> On Sat, Oct 13, 2012 at 11:16 AM, Canek Peláez Valdés  
> wrote:
>> On Sat, Oct 13, 2012 at 12:10 PM, Mark Knecht  wrote:
>>> On Sat, Oct 13, 2012 at 9:15 AM, Canek Peláez Valdés  
>>> wrote:
>>> 
>>>>
>>>> We can only know seeing the code. Timur, this is the little test I
>>>> made which creates 5 threads and runs them for 1 minute. In my case,
>>>> `ps x` shows only 1 PID, care to give it a try?
>>>>
>>>> --
>>>> #include  <<==
>>>> #include 
>>>> #include 
>>>> #include 
>>>
>>> Thanks for the test case. Like you I see only one thread. However the
>>> test case wouldn't compile for me without the -pthread option so it
>>> makes me wonder what happens to a program like I had pointed to
>>> yesterday that uses the old style threading that did create lots of
>>> process ids? Possibly an nptl system would still generate lots of ids
>>> for that program and that's what he's seeing?
>>>
>>> Just curious. I don't program but I'm always sort of interested.
>>
>> You got your answer. NTPL stands for Native POSIX Thread *Library*. As
>> it name says, it is a library (with support in the kernel and in
>> glibc). If you don't use the library (-lpthread), you cannot make use
>> of its advantages.
>>
>> What "old style threading" did you use for your test case?
>>
>> Regards.
>> --
>> Canek Peláez Valdés
>> Posgrado en Ciencia e Ingeniería de la Computación
>> Universidad Nacional Autónoma de México
>>
>
> As for 'old style' I only meant code that did threads but didn't use
> the POSIX libraries. (I guess...)
>
> Actually I hadn't run the test case at the time but was referring to
> the one I pointed the OP at yesterday:
>
> http://www.makelinux.net/alp/032
>
> However it's essentially the same as yours (not as elegant, but
> functionally similar). However the results shown on that page show
> different pids for the threads. When I run that same code here I get
> the same pids:
>
> mark@c2stable ~ $ ./pthread2
> main thread pid is 5387
> child thread pid is 5387
> ^C
> mark@c2stable ~ $
>
> Now, this does make me curious about some things running on my system.
> Two for instance, Google Chrome and akonadi_agent, have LOTS of pids.
> I was assuming those were different threads and were demonstrating
> what the OP was asking about, but now I'm not so sure. How does a
> single program on an nptl system generate all these different pids?

Because Google Chrome is actually LOTS of programs. I don't know about
akonadi (don't use KDE), but Chrome doesn't use threads; it uses
different process for each tab (and for several plugins, I believe),
and it integrates all those process in a single GUI using come kind of
IPC.

The idea is that if a tab crashes (bad pulgin, rogue JavaScript,
etc.), it only crashes the tab, not the whole browser. It saves us
from the nightmare that forced us to "killall -9 mozilla" from time to
time some years ago.

A thread is a "lightweight process"; it has its own call stack, but it
shares the same memory space as its "parent" (actually, the thread
that created it). The advantages are many: since all threads in the
same process share the same memory space, they can easily and quickly
communicate between each other. The tradeoff is that if one thread
crashes, the whole program does (AFAIK, someone please correct me if
I'm wrong).

A process has its own call stack and its own memory space; and while
it can share file descriptors with its parent (the process where it
was created), including pipes, it cannot easily and quickly
communicate with a process different from its parent (hence little
wonders like dbus, whose job is precisely to provice Inter Process
Communication [IPC] between different processes).

For threads in Linux/Unix you usually use POSIX threads, although
there are alternatives. For processes you use fork; everytime you use
"ls" or "cp" in a terminal, or launch a program using KDE or GNOME,
your shell or desktops forks a new process for it.

Up until very recently most programs used threads to do several things
at once; some years ago apache started to do a "hybrid" approach,
where it forks or launches threads dependign on the load of the
system, other server programs followed it. AFAIK, Google Chrome was
the first desktop program in Linux which uses several processes
runnning under the same GUI.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] complete switch from openssl to libressl on gentoo

2020-04-17 Thread Michael
On Friday, 17 April 2020 17:52:26 BST Dale wrote:
> Tamer Higazi wrote:
> > Dear everybody,
> > 
> > I got my Gentoo system running compiled with openssl.
> > I'd like to rebuild my entire system based on libreSSL.
> > 
> > What best practices do you advise ?
> > 
> > 
> > Thanks.
> > 
> > 
> > best, Tamer
> 
> If all you're doing is changing a USE flag, emerge -Na world should do
> it.  If you think it needed, emerge -DNa world.  The -D, deep, may catch
> a few more packages but I've never tested it.  If you want to go to the
> extreme, emerge -ea world will recompile everything, changed USE flag or
> not.  It won't miss a thing.  The first one should work in most cases.
> If you run into trouble, maybe add the -D. 
> 
> The -N is this from man emerge:
> 
> --newuse, -N
> Tells emerge to include installed packages where USE flags have changed
> since compilation. This option also implies the --selective  option.  
> USE  flag  changes include:
> 
> A USE flag was added to a package.  A USE flag was removed from a
> package.  A USE flag was turned on for a package.  A USE flag was turned
> off for a package.
> 
> Hope that helps. 
> 
> Dale
> 
> :-)  :-) 

You should also check any portage config files for openssl USE flags and 
remove them:

grep ssl -r /etc/portage/

should do it.

However, is there a good reason for opting for libressl instead of the 
ubiquitous openssl?





Re: [gentoo-user] Portage option "--changed-use" not working?

2012-01-20 Thread Dale
Hilco Wijbenga wrote:
> Hi all,
> 
> In "man emerge" I read:
> 
> --changed-use
>   Tells  emerge  to  include  installed packages where USE flags have
> changed since installation. This option also implies the --selective
> option. Unlike --newuse, the --changed-use option does not trigger
> reinstallation when flags that the user has not enabled are added or
> removed.
> 
> So I always include "--changed-use" when upgrading @world. But with
> the removal of kdeenablefinal I now get 150 reinstalls with
> changed-use. This seems to be contradicting the man page? Or am I
> misunderstanding things? Or did I misconfigure something? To be clear,
> I have never enabled kdeenablefinal.
> 
> The full command I usually run is
> 
> emerge --verbose --deep --with-bdeps=y --complete-graph --update
> --changed-use --keep-going world
> 
> should that be relevant.
> 
> Cheers,
> Hilco
> 
> 


To update, it appears this was a bug and Zac has fixed it.  This is from
-dev:

On 01/20/2012 10:28 AM, Hilco Wijbenga wrote:
> I'd like to chime in here. I started a thread on gentoo-user (Portage
> option "--changed-use" not working?) pretty much about this.
>
> I use --changed-use instead of --newuse to get the advantages of a
> fully up-to-date system without the unnecessary churn. From the man
> page I understand that (part of) the idea behind --changed-use is to
> *not* rebuild packages where an unused/disabled USE flag is dropped.
> Which ought to apply to kdeenablefinal, right?
>
> It seems my understanding is incorrect because I see --new-use +
> --exclude is being recommended, not --changed-use. Would somebody
> please set me straight?
You've found a bug. It's fixed in git now:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a77292d37e3c2604479514abed2dda64dabace25

As a workaround, you can add --binpkg-respect-use=n to your options.
-- Thanks, Zac

So, it will work like it should pretty soon.  Things are getting better.
 Gentoo has been doing that for years anyway.  lol

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"



[gentoo-user] Re: entrance login fails

2017-02-19 Thread Mick
On Sunday 19 Feb 2017 12:03:33 Mick wrote:
> I am guessing there is something not being set in the /etc/pam.d/entrance
> file which was installed with entrance.  I am getting a wrong credentials
> error, when both my username and passwd are entered correctly.
> 
> This is the file installed by entrance:
> 
> $ cat /etc/pam.d/entrance
> #%PAM-1.0
> authrequisite   pam_nologin.so
> authrequiredpam_env.so readenv=1
> authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
> @include common-auth
> authoptionalpam_gnome_keyring.so
> @include common-account
> session requiredpam_limits.so
> @include common-session
> session optionalpam_gnome_keyring.so auto_start
> @include common-password
> 
> 
> In contrast the sddm pam file looks like this:
> 
> $ cat /etc/pam.d/sddm
> #%PAM-1.0
> 
> auth  include system-login
> account   include system-login
> password  include system-login
> session   include system-login
> -auth optionalpam_kwallet.so kdehome=.kde4
> -auth optionalpam_kwallet5.so
> -session  optionalpam_kwallet.so
> -session  optionalpam_kwallet5.so auto_start
> 
> 
> The sddm pam file works fine, but I do not want to start hacking the
> entrance pam file without understainding what all these pam_foo.so
> directives do.  What do you suggest I need to change in it to make pam like
> my user/passwd?
> 
> PS.  I do not use Gnome on this box.

I had a look at /var/log/messages and then commented out entries in 
/etc/pam.d/entrance about gnome and @include, because they were causing 
errors.

Then added some of the syntax I borrowed from the sddm pam file, but I do not 
know if the final entrance pam file is correct/safe enough.  In any case it 
allows me to login:

#%PAM-1.0
#authrequisite   pam_nologin.so
#authrequiredpam_env.so readenv=1
authinclude system-login
authrequiredpam_env.so
account include system-login
#authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
#@include common-auth
#authoptionalpam_gnome_keyring.so
#@include common-account
session include system-login
session requiredpam_unix.so
session requiredpam_limits.so
#@include common-session
#session optionalpam_gnome_keyring.so auto_start
#@include common-password
-auth   optionalpam_kwallet.so kdehome=.kde4
-auth   optionalpam_kwallet5.so
-sessionoptionalpam_kwallet.so
-sessionoptionalpam_kwallet5.so auto_start

Please let me know if something in the above is incorrect/dangerous ...

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Defining languages via USE flags for tesseract

2020-05-26 Thread Dr Rainer Woitok
Meino,

On Tuesday, 2020-05-26 15:28:56 +0200, you wrote:

> ...
> 
> I want to include "de" (german) to the USE flags for
> app-text/tesseract and all I tried has not worked.

That's what I have in "package.use":

app-text/tessdata_best l10n_de l10n_en osd
app-text/tesseract mathosd

Sincerely,
  Rainer



Re: [gentoo-user] emerge -avC cdrkit && emerge -av cdrtools

2008-07-05 Thread Daniel Pielmeier

Joerg Schilling schrieb:

Daniel Pielmeier <[EMAIL PROTECTED]> wrote:


So you successfully unmerged cdrkit, dvd+rw-tools and kino. The
installation of cdrtools fails because of a broken symlink. I guess the
/usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not
been removed with cdrkit and is now broken and the cdrtools installation
can not overwrite the link. If the output is really red it is indeed a
broken symlink and you can safely remove it, then try to install
cdrtools again or use the proposed commands.


Mmmm, cdrtools may create a directory /usr/include/scg/ but the text /scsilib/
is nowhere in cdrtools.


In Gentoo scg is installed under /usr/include/scsilib

Here a snippet from the ebuild:

insinto /usr/include/scsilib/scg
doins include/scg/*.h

/usr/include/scsilib/scg -> /usr/include/scsilib/usal is a symlink used
by cdrkit. It was not removed when the package manager uninstalled
cdrkit. At least I think so, as this does not happen here but maybe with
older versions I don't use.

When installing cdrtools the package manager wants to create the
directory /usr/include/scsilib/scg which fails as the broken symlink is
still in place.


It should be no problem to install kino again as cdrkit provides the
same functionality like cdrtools, besides the different amount of


There is no active development in cdrkit, so cdrkit does not provide new 
features. If cdrkit did not change libscg in a way that prevents some usage, 
you could treat cdrkit like a 3 year old version of cdrtools.


I don't know how much work really happens with cdrkit as I don't follow
the progress there. It seems however you have done more work on cdrtools
than what happened on cdrkit besides finalizing star 1.5.

By the way I for myself say many thanks for cdrtools. I don't care much
about the license as long it is not closed source and I can use it
within my OS. I just care about the quality of the code.


development that happens on both projects. But i think there was no need
to remove kino at all when switching to cdrtools, because it has no
dependency on both apps.


This is correct.

I don't know kino but from looking at freshmeat, it seems that kino has no 
relation to cdrtools. Or does kino call "mkisofs"?


You are right, it depends on dvd+rw-tools maybe because of this the OP
has removed it from his system temporarily along with cdrkit and
dvd+rw-tools.

Regards,

Daniel


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



Re: [gentoo-user] file collision on net-libs/neon-0.29.3

2010-06-22 Thread Alex Schuster
Mick writes:

> Please remind me what we are supposed to do when we get:
> 
>  * Package 'net-libs/neon-0.29.3' NOT merged due to file collisions. If
>  * necessary, refer to your elog messages for the whole content of the
>  * above message.

You could force installation with FEATURES="-collision-protect -protect-
owned" emerge neon. Or emerge -c remove neon first if it is already 
installed.

> Checking for file ownership gives me:
> 
> # portageq owners / /usr/bin/neon-config
> net-misc/neon-0.29.3
>   /usr/bin/neon-config
> 
> # portageq owners / /usr/include/neon/ne_207.h
> net-misc/neon-0.29.3
>   /usr/include/neon/ne_207.h
> 
> and so on.  How come that I cannot install net-misc/neon-0.29.3 due to
> file collisions, when it is this package which owns the files in the
> first place?

Strange! So it is installed already? Did you chaneg USE flags, so it gets 
emerged again? Or did something go wrong when installing it the last time?

I have no idea, I wouldn't think what you see is possible at all.

Wonko



Re: [gentoo-user] /etc/hosts include file?

2013-03-08 Thread Michael Mol
On 03/08/2013 03:32 AM, Alan McKinnon wrote:
> On 08/03/2013 02:29, Michael Mol wrote:
>> On 03/07/2013 05:24 PM, Alan McKinnon wrote:
>>> Anyone know if there's a way to get /etc/hosts to support the notion of
>>> an include file? I did my homework and found nothing, maybe someone else
>>> knows more.
>>>
>>> I really do need this, I have an app that discovers things on the
>>> network and knows their address. This makes it's automated way into DNS
>>> but takes a few days, and another app needs to use the fqdn right now.
>>> So /etc/hosts is the way to go for the interim three days.
>>>
>>> I've worked around it by creating /etc/hosts.d/ containing a header and
>>> a data file. cat the two and redirect to /etc/hosts.d/hosts and the real
>>> hosts file is a symlink to that. It's a sub-directory as none of these
>>> apps run as root and only root can modiy the real hosts file.
>>>
>>> This works well enough, but a supported include mechanism would make
>>> life so much simpler, not to mention easier for my colleagues to
>>> understand what the blazes I set up :-)
>>
>> No, there's not an "include" directive.
>>
>> There are, however, two other ways to get hostnames recognized.
>>
>> The first is /etc/resolv.conf . You can point your host at a local DNS
>> server which is aware of the discovered hosts, and which forwards the
>> rest of the queries. (This is how Samba 4's internal DNS server
>> operates; anything it knows, it responds to. Everything else, it forwards.)
>>
>> Read the manpage for resolv.conf...there's a lot of stuff in there
>> you'll want to know as you start coping with IPv6. (And some useful
>> stuff if you want to favor a particular IP range...)
> 
> And the day started off so well. Then you had to come along and mention
> IPv6 :-)
> 
> IPv6 is wonderfully easy to use client-side and reasonably easy to plug
> into an existing network (the routers mostly know what to do already).
> The fun starts when you need to write an app that tracks and does range
> allocations at ISP scale, all while keeping the PTRs in line too. Sadly
> for me, my team works in that area and such a magic app is one of our
> deliverables

My mouth is watering...

> 
> One day when I've climbed down off the walls and my fingernails have
> grown back, I might be up to relating what it is taking to get that
> done :-)

I don't suppose you knew I'm a huge IPv6 advocate, and travel around my
state giving free training sessions...

I would absolutely love to hear about the problems you're facing.
Further, I'd love to help you get past them...and can put you in touch
with experts who might also be able to help.


> 
>>
>> The second is /etc/nsswitch.conf . nsswitch.conf is how you inject
>> samba-discovered, NIS-offered -- or whatever provider you care to inject
>> -- hostname databases into the system resolver. You could have it query
>> your provided database first, moving on to other sources if your
>> provided database doesn't have what you're looking for. (I'm actually
>> kinda surprised avahi doesn't come with an nss plugin...)
> 
> One day I should read nsswitch's man page completely. I never needed to
> know more than "dns files" for the hosts directives and that shadow does
> user. All those other lookup schemes are things I never use.

I've never mucked with NIS, but I muck with samba from time to time.

If you're already in a developer context, I'd suggest writing an NSS
plugin the system resolver can check on. That's the angle I'd take in
your circumstance.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Dale

Albert Hopkins wrote:

On Tue, 2009-11-17 at 17:41 -0600, Dale wrote:
  

Should I be turning some of those off as they are not needed?  This
is 
my oldest install so I bet some are not even needed or can be done
away 
with.  I most likely had a good reason for turning them on way back
when 
but may not have a good reason now. 

Dale 



I think you go down the wrong path when you ask someone else what USE
flags *you* need.  We don't know you and your requirements/preferences
enough to know what is needed for you.  It's like going up to a random
person and asking them if you should have your kitchen repainted and if
so what color.  That rarely happens but for kitchens but confusingly
enough it's frequent for USE flags.

Also, "emerge --info |grep USE" isn't very USEful (IMO) because it only
shows what USE flags you have turned on, not the ones you have turned
off.

  


I was thinking that someone may see some USE flags that are no longer 
needed in most cases.  Some may not even be still in use as far as 
portage is concerned.  In other words, portage doesn't even recognize 
them as a option.  Basically, I do some picture stuff, surf with 
Seamonkey, Firefox and sometimes Konqueror, sometimes get on chat with 
Kopete, play Solitaire, watch a video on youtube sometimes.  Oh, I print 
stuff with my HP printer and download pics from my Canon camera. 

I never noticed that emerge --info doesn't show the USE flags I 
removed.  That is sort of weird.  I was thinking that it showed the USE 
flags with not only the profile but what I have set in make.conf which 
would include the ones turned on and turned off.   Neat info.


Dale

:-)  :-) 



Re: [gentoo-user] iptables: how can I include multiple hosts/IPs in "-s" and "-d"?

2010-04-06 Thread Alex Schuster
Jarry writes:

> I'd like to ask if there is some way to include multiple discrete
> hosts/IP's in --source and --destination options of iptables.
> 
> I'm trying to write firewall rules for my server, but it has
> 12 IP's from different segments (and maybe it gets a few more
> later), and the script grows up as I have to write nearly
> identical rules with difference only in -s/-d IP's.
> 
> What I'm looking for is a way to define some variable at the
> beginning of my script, like MY_IP="IP1 IP2 IP3 IP4..." and
> later to use is in rules (iptables -A INPUT -s $MY_IP...).
> But I do not know how to use it. As far as I understand it,
> --source/--destination accepts only single IP's or continuous
> IP-segments...

Well, as your iptables script is probably written in bash, you can do 
loops as you like:

myIPs="IP1 IP2 IP3 IP4 ..."
for ip in $myIPs do   # use $myIPs here, not "$myIPs"!
iptables -A INPUT -s $ip ...
done

Wonko



Re: [gentoo-user] Apache server setup

2012-06-11 Thread Peter Humphrey
On Monday 11 June 2012 02:58:08 Michael Orlitzky wrote:

> If you want to allow [rewrites] in an htaccess, you'll need at least,
> 
>   
> Options +SymLinksIfOwnerMatch
> AllowOverride FileInfo Options
>   
> 
> in the main config or your vhost config.

OK, I've added that to 00_default_settings.conf. I'm not sure whether I 
need rewrites though.

> The Gentoo config modularizes by default, but you don't have to use
> it if you don't want to. Almost everything under
> /etc/apache2/modules.d is disabled by default unless you enable it
> in /etc/conf.d/apache2.
> 
> Named virtual hosts are also disabled by default if I remember
> correctly, so you should be able to just stick stuff in httpd.conf or
> 00_default_settings.conf and have it take effect if you don't want to
> do anything fancy.

At present I don't need to serve more than one site from this box so I 
haven't tried virtual hosts, named or otherwise.

> Almost everything "different" about the Gentoo config comes from
> these two lines at the bottom of httpd.conf:
> 
>   Include /etc/apache2/modules.d/*.conf
>   Include /etc/apache2/vhosts.d/*.conf
> 
> which do exactly what you'd expect.

The fog is beginning to clear. Thanks.

I still can't get server-side includes to work though. Modules.d/*.conf 
don't include a suitable module. I've added "-D INCLUDE" to APACHE2_OPTS 
in /etc/conf.d/apache2.conf but it seems not to be enough.

Also:

# emerge -pv apache

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

Calculating dependencies  .. done!
[ebuild   R] www-servers/apache-2.2.22-r1  USE="ssl -debug -doc -
ldap (-selinux) -static -suexec -threads" 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 cgi cgid 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 -asis -auth_digest -authn_dbd -
cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -
proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -
proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="prefork -
event -itk -peruser -worker" 5,316 kB

...which includes "include".

-- 
Rgds
Peter



Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Dave Nebinger
On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
> Hi list again..

Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set 
correctly; I can tell because your sent time is in the future ;-)

> I will attempt to bootstrap with following USE flags for the NPTL.
> I will not be using Gnome or KDE. I'd appreciate peoples opinion
> about them and welcome their examples of USE flags ( real working
> experiences) for bootstraping. This will be done for Pentium3
> machine, if this matters.

Hmm, well I can't tell you what to predict in regards to the list of flags 
that you generated.  The list is all over the place in regards to media and 
web flags, yet the -kde and -gnome will hogtie most of the resulting 
packages.

Use emerge --pretend to see what kind of results you'll actually get.

> Another question I'd like to ask if I need to include my CPU flags

In /etc/make.conf you define your CFLAGS to match your cpu.  In your case 
(which is just like mine) the following should suffice:

CFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686 -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

You might want to add the USE options for the supported mmx, mtrr, etc.  but I 
honestly can't tell you what effects they actually have on the builds.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Mark Knecht wrote:
> On Thu, Feb 11, 2010 at 12:49 PM, Alan McKinnon  
wrote:
> > On Thursday 11 February 2010 22:37:00 Mark Knecht wrote:
> >> On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon
> >> 
> > 
> > wrote:
> >> > On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
> >> >> Can someone comment on why I do or do not want to include config
> >> >> files when making quickpkg files?
> >> >> 
> >> >> Seems like there is the issue of hand edits being saved which would
> >> >> be a good reason to keep them. I'm not overly worried about someone
> >> >> stealing them and getting access to settings, but I can see that
> >> >> might be a good reason not to.
> >> >> 
> >> >> If I don't save them and then after a crash want to use binary
> >> >> packages to get a machine running quickly it seems like I'd want to
> >> >> include everything I could.
> >> >> 
> >> >> What would the more experienced user do for the single-user desktop
> >> >> type user?
> >> > 
> >> > The config of the package you quickpkg'ed likely works.
> >> > emerge -k is most often used to revert your own mistakes, so you want
> >> > the thing to work. Your latest configs are suspect, why insist they
> >> > take priority? You can always rename them to .bak if you think
> >> > they might get nuked.
> >> > 
> >> > Why do you care if someone steals your quickpkgs? Put them in a
> >> > directory owned by root, they are then as safe as your stuff in /etc.
> >> > To get to the tarballs, they must get to a place where they can just
> >> > read the originals
> >> 
> >> Thanks Alan. That confirms what I was thinking.
> >> 
> >> My comment about things getting stolen is that I might burn them to
> >> DVD for safe keeping in which case anyone can walk off with the DVD.
> >> I'm not overly worried about that and it's far and away less of an
> >> issue than getting the machine back to a running state.
> > 
> > OK, I see.
> > 
> > As long as you know which configs have password in them and take
> > precautions, you should be OK.
> > 
> > For the truly paranoid (and there will be someone who is validly so)
> > another option is to store /etc in a remote SVN instance that is
> > secured, and not store configs with the quickpkgs
> 
> Thanks. Like I said originally I'm not worried about it but at least
> you understood why I asked.
> 
> One thing I haven't found so far is what to put in make.conf to get
> the buildpkg feature to include the configs. It's easy at the command
> line. Where's the documentation on how to actually use this the right
> way automatically?
> 
> - Mark

when you use buildpkg feature the packages contain the virgin unedited configs 
as they are installed by the package and not any edits done by you.



Re: [gentoo-user] Why emacs needs gnome parts ?

2005-12-01 Thread Neil Bothwick
On Thu, 1 Dec 2005 07:46:23 -0300, Allan Spagnol Comar wrote:

> my USE flags got only doc because this is a linux box without any
> graphical interfaces to server some utilities .
> 
> could some one explain why emacs needs so many graphical parts ?

What does "emerge -tv emacs" show? It should tell you which USE flag is
causing all this. Leaving gnome out of your USE flags may not be enough.
If it is on by default in your profile, you need to include -gnome (and
-motif) in USE.


-- 
Neil Bothwick

Uhura: Captain, you're being flamed on channel one.


signature.asc
Description: PGP signature


Re: [gentoo-user] lost /lib/security/pam_console.so

2005-07-24 Thread George Roberts

Richard Fish wrote:


George Roberts wrote:


Richard Fish wrote:


Peter Gordon wrote:


Try setting the "pam_console" USE flag and re-emerging pam:
# echo "sys-libs/pam  pam_console" >> /etc/portage/package.use
# emerge sys-libs/pam

Although, it's rather odd that you are unable to login. I do not have
pam_console either but I can still login through gdm just fine (with a
similar warning in my system log).
 



If /etc/pam.d/gdm specifies pam_console, then this is why it is 
required.  George, can you post the contents of that file?


-Richard

I just downgraded my baselib and pam after I found a simular issue in 
the forums.  But gdm still not working.
I don't have the time to check the logs (yuck work) this morning, 
will check them tonight.

Here is my currant /etc/pam.d/gdm
#%PAM-1.0
auth   optional    pam_env.so
auth   includesystem-auth
auth   required    pam_nologin.so
accountinclude    system-auth
password   include    system-auth
sessionincludesystem-auth



Ok, so we include system-auth.  Then we also need to look at 
/etc/pam.d/system-auth.


Also, what you have is the version of the pam config file from 
gdm-2.6.0.9-r3 (the ~x86 version).  Earlier (non ~x86) versions use a 
different gdm configuration for pam:


#%PAM-1.0
auth   required /lib/security/pam_env.so
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional     /lib/security/pam_console.so

As you can see, pam_console.so is referenced directly here.  Can you 
confirm that you still get the error about pam_console.so with -r3, or 
only with earlier versions of gdm?


-Richard


Latest update.
After adding/removing use flags, downgrading/upgrading packages (not to 
mention some firefox/thunderbird upgrades thrown in for flavor) based on 
information I stumbled across in the forums, gdm is now half working.  I 
can login as root but not as the user.  As to which piece of of the 
process actually fixed the problem I don't truly know.
The process of fixing the currant problem brings to mind questions that 
are better not addressed in this thread, so I will be opening a new 
thread. 
Thanks for the help that you each have offered.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Compile kde-apps/libkdcraw-4.14.3 error

2015-07-31 Thread Wallance Lee
Hi, everyone
I want to install media-gfx/digikam for picture manager.And it depends on 
kde-apps/libkdcraw-4.14.3.But it compiled error like this
/usr/include/libraw/libraw_datastream.h:154:17: error: exception handling 
disabled, use -fexceptions to enable
   throw LIBRAW_EXCEPTION_IO_EOF;
I use gcc-4.9.3 and kde plasma 5.
What should I do to avoid this error?
Thank you





Re: [gentoo-user] root password gremlin

2005-11-20 Thread Alexander Skwar
Arturo 'Buanzo' Busleiman schrieb:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> abhay wrote:
>> What? What kind of theory is that?
> 
> Sorry, I didn't explain myself clearly. I didn't mean to say that "use 
> gnu/linux/oss  for the
> purpose of learning". However you can't argue that one gets to learn a lot 
> from simply using it.
> 
> So, to clarify:
> 
> Learning is the answer to the question,

No it's not. The answer to the question: "Why DON'T refrain from
using unneeded software and systems?" is NOT: "Learning".

The answer is: "Do refrain fromusing systems that you don't need".
And for the majority of systems, this would include PAM. Eg.
if it's sufficient to use /etc/{passwd,shadow} as a password/user
database, then there's just no reason to use another (in this
case clearly: useless) layer on top of that. It just adds
unneeded and unwanted complexity for no gain.

So: Why use PAM on systems that fit to the scenario I laid
out?

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Alexander Kapshuk
On Tue, Dec 22, 2015 at 9:39 PM, Mick  wrote:

> On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
>
> > > This is not working for me on a Kaveri system.
> > >
> > > The wiki page suggests these firmware blobs:
> > >
> > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > radeon/kaveri_vce.bin
> > >
> > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> when
> > > I use sys-kernel/linux-firmware:
> > >
> > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > /lib/firmware/radeon/kaveri_sdma.bin
> > > /lib/firmware/radeon/KAVERI_sdma.bin
> > >
> > >
> > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > either:
> > >
> > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > >
> > >
> > > Building the recommended blobs fails like so:
> > >
> > > # make && make modules_install && make firmware_install
> > >
> > >   CHK include/config/kernel.release
> > >   CHK include/generated/uapi/linux/version.h
> > >   CHK include/generated/utsrelease.h
> > >   CHK include/generated/bounds.h
> > >   CHK include/generated/asm-offsets.h
> > >   CALLscripts/checksyscalls.sh
> > >   CHK include/generated/compile.h
> > >
> > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > make[1]: *** No rule to make target
> > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > Makefile:947: recipe for target 'firmware' failed
> > > make: *** [firmware] Error 2
>
> > That's interesting. 'kaveri_sdma1.bin' is found in the
> > 'sys-firmware/amdgpu-ucode' package. See below.
> > % pwd
> > radeon_ucode/kaveri
>
> I don't seem to have such a directory, or the files therein.  Where am I
> supposed to look?
>
> This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
>
> >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
>  * checking 44 files for package collisions
> >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> --- /lib/
> --- /lib/firmware/
> --- /lib/firmware/amdgpu/
> >>> /lib/firmware/amdgpu/carrizo_ce.bin
> >>> /lib/firmware/amdgpu/carrizo_me.bin
> >>> /lib/firmware/amdgpu/carrizo_mec.bin
> >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> >>> /lib/firmware/amdgpu/carrizo_vce.bin
> >>> /lib/firmware/amdgpu/fiji_ce.bin
> >>> /lib/firmware/amdgpu/fiji_mc.bin
> >>> /lib/firmware/amdgpu/fiji_me.bin
> >>> /lib/firmware/amdgpu/fiji_mec.bin
> >>> /lib/firmware/amdgpu/fiji_mec2.bin
> >>> /lib/firmware/amdgpu/fiji_pfp.bin
> >>> /lib/firmware/amdgpu/fiji_rlc.bin
> >>> /lib/firmware/amdgpu/fiji_sdma.bin
> >>> /lib/firmware/amdgpu/fiji_sdma1.bin
> >>> /lib/firmware/amdgpu/fiji_smc.bin
> >>> /lib/firmware/amdgpu/fiji_uvd.bin
> >>> /lib/firmware/amdgpu/fiji_vce.bin
> >>> /lib/firmware/amdgpu/tonga_ce.bin
> >>> /lib/firmware/amdgpu/tonga_mc.bin
> >>> /lib/firmware/amdgpu/tonga_me.bin
> >>> /lib/firmware/amdgpu/tonga_mec.bin
> >>> /lib/firmware/amdgpu/tonga_mec2.bin
> >>> /lib/firmware/amdgpu/tonga_pfp.bin
> >>> /lib/firmware/amdgpu/tonga_rlc.bin
> >>> /lib/firmware/amdgpu/tonga_sdma.bin
> >>> /lib/firmware/amdgpu/tonga_sdma1.bin
> >>> /lib/firmware/amdgpu/tonga_smc.bin
> >>> /lib/firmware/amdgpu/tonga_uvd.bin
> &

Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 15:39:48 -0800, Mark Knecht wrote:

> Volker is. I am not sure I am and I'm not sure that Neil was talking
> about quickpkg which is what I am using so far. The command
> 
> quickpkg --include-configs
> 
> says it includes the configs. That's what I thought we (you and I
> Alan) were talking about.
> 
> On the other hand I presumed (apparently incorrectly) that the
> FEATURES="buildpkg" (which is what I think Neil is speaking about)
> gave me the same option but I now guess it doesn't.

I was talking about the difference between quickpkg and buildpkg in
response to your statement "One thing I haven't found so far is what to
put in make.conf to get the buildpkg feature to include the configs."

So, yes, I was aware of the difference, and the reason why they behave
differently. Buildpkg has to work with the files before they are
installed, otherwise --buildpkgonly wouldn't work.

> If I need to use quickpkg to save the configs then I think I'll do
> that being that as I simple-minded home user with no admin experience
> I have no in-place rigorous methods for doing __any__ backups. I just
> tar up directories once in awhile and deal with the problems that come
> later. (If they come...when they come...they do come, don't they?) ;-)

What's wrong with a cron job to tar up /etc once per day? There are more
sophisticated solutions, but tar does the job and can save you much grief.


-- 
Neil Bothwick

Hello, this is an extension to the famous signature virus, called spymail.
Could you please copy me into your signature and send back what you were
doing last night between 10pm and 3am?


signature.asc
Description: PGP signature


Re: [gentoo-user] distcc configuration

2005-06-22 Thread Zac Medico
michael higgins wrote:
> On Thu, 16 Jun 2005 14:08:46 -0700
> Zac Medico <[EMAIL PROTECTED]> wrote:
> 
> 
>>michael higgins wrote:
>>
>>>I have a couple of questions about using distcc. I have two machines. One is 
>>>significantly faster than the other, both x86 (pentium 2 and amd athlon-xp). 
>>>
> 
> 
> First, a big thanks to all who replied.
> 
> 
>>>I've followed the http://www.gentoo.org/doc/en/distcc.xml instructions for 
>>>configuring portage to use distcc. Should I need to continue with the 
>>>instructions for "working with automake"?
>>>
>>
>>Portage does this automatically as long as you have the corresponding 
>>FEATURES enabled.
>>
> 
> 
> This is what I was hoping to hear.
> 
> 
>>>Also, how do I tell the faster machine to just use it's own power and not 
>>>attempt to use the slower one?
>>>
>>
>>When you run distcc-config --set-hosts on the faster machine you want to 
>>exclude the slower machine.
>>
>>
>>>I tried so far, getting distccd running on both machines, each distcc-config 
>>>--set-hosts has one IP entry, that of the other machine. Is this right? 
>>>
>>
>>You may want to include localhost.
> 
> 
> Interesting... I wonder why?
> 

Well, sometimes you may not want to include localhost.  Maybe it has enough 
load already.

> 
>>>I ran distcc-gnome and saw no activity reported on the faster machine when 
>>>emerging something on the slower one. So, it would seem it's not working. 
>>>
>>>Can anyone give me some hints? The manpage for distcc doesn't seem (to me) 
>>>to be much related to the gentoo how-to... '-)
>>>
>>>TIA,
>>>
>>
>>#!/bin/bash
>>source /etc/make.globals
>>source /etc/make.conf
>>export DISTCC_DIR="${PORTAGE_TMPDIR}/portage/.distcc"
>>exec /usr/bin/distccmon-gnome
>>
> 
> 
> So, I just installed a package on the faster machine. It did try to use 
> another, but found none and compiled locally, but spit out an error. Maybe 
> adding localhost will fix this?
> 

If the faster machine isn't going to use any distcc nodes (other than 
localhost) then you should remove distcc from FEATURES.

> I tried emerging the same package on the slower machine and running this 
> script above. Nothing came up in it. However, I noticed that each time the 
> compiler went to run something, there was network activity. 'top' on the 
> faster machine showed distccd working and launching the compiler, afaict. 
> 

You can enable logging in /etc/conf.d/distccd.

> So, I have to wonder if/why the monitors don't work for me... 
> 

export DISTCC_DIR="${PORTAGE_TMPDIR}/portage/.distcc" works for me.  Maybe it 
will help if you use "lsof" to find out what files distcc has open.

> Next time I'll just set the debug level and log location to see what actually 
> happened. 
> 
> Thanks again, foax.
> 
> 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-23 Thread Tsukasa Mcp_Reznor


> From: michaelkintz...@gmail.com
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel 
> module)
> Date: Tue, 22 Dec 2015 23:02:12 +
> 
> On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:
> > On Tue, Dec 22, 2015 at 9:39 PM, Mick  wrote:
> > > On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > > > On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
> > > > > This is not working for me on a Kaveri system.
> > > > > 
> > > > > The wiki page suggests these firmware blobs:
> > > > > 
> > > > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > > > radeon/kaveri_vce.bin
> > > > > 
> > > > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> > > 
> > > when
> > > 
> > > > > I use sys-kernel/linux-firmware:
> > > > > 
> > > > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > > > /lib/firmware/radeon/kaveri_sdma.bin
> > > > > /lib/firmware/radeon/KAVERI_sdma.bin
> > > > > 
> > > > > 
> > > > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > > > either:
> > > > > 
> > > > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > > > > 
> > > > > 
> > > > > Building the recommended blobs fails like so:
> > > > > 
> > > > > # make && make modules_install && make firmware_install
> > > > > 
> > > > >   CHK include/config/kernel.release
> > > > >   CHK include/generated/uapi/linux/version.h
> > > > >   CHK include/generated/utsrelease.h
> > > > >   CHK include/generated/bounds.h
> > > > >   CHK include/generated/asm-offsets.h
> > > > >   CALLscripts/checksyscalls.sh
> > > > >   CHK include/generated/compile.h
> > > > > 
> > > > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > > > make[1]: *** No rule to make target
> > > > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > > > Makefile:947: recipe for target 'firmware' failed
> > > > > make: *** [firmware] Error 2
> > > > 
> > > > That's interesting. 'kaveri_sdma1.bin' is found in the
> > > > 'sys-firmware/amdgpu-ucode' package. See below.
> > > > % pwd
> > > > radeon_ucode/kaveri
> > > 
> > > I don't seem to have such a directory, or the files therein.  Where am I
> > > supposed to look?
> > > 
> > > This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
> > > >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
> > >  
> > >  * checking 44 files for package collisions
> > >  
> > > >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> > > 
> > > --- /lib/
> > > --- /lib/firmware/
> > > --- /lib/firmware/amdgpu/
> > > 
> > > >>> /lib/firmware/amdgpu/carrizo_ce.bin
> > > >>> /lib/firmware/amdgpu/carrizo_me.bin
> > > >>> /lib/firmware/amdgpu/carrizo_mec.bin
> > > >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> > > >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> > > >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> > > >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> > > >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> > > >>> /lib/firmware/amdgpu/carrizo_vce.bin
> > > >>> /lib/firm

[gentoo-user] Re: LINGUAS, L10N, and local-gen

2016-06-25 Thread »Q«
On Sat, 25 Jun 2016 11:18:00 -0500
Dale  wrote:

> I started out on this thread helping the OP get his set up
> correctly.  Why make someone else use trial and error like I did when
> all I had to do was post 

Refraining from posting would *not* have forced the OP to use trial and
error, as there are plenty of people here on the list who *do*
understand the news item.

> what worked here and see if that worked for them too?   

Your initial post to the thread did not include what works for you
and did nothing to help the OP;  you posted what actually works for you 
only after the OP had already thanked Alan, who had understood the
issue and helped him (and you, AFAICT) get things straight.

None of this is a very big deal, and I hope I didn't come across as too
harsh.  It's just that in almost all cases, it's more helpful to wait
until someone who does understand posts than to jump in to help with
something one doesn't understand.










Re: [gentoo-user] Slow HD

2005-08-17 Thread Mark Knecht
On 8/17/05, Pupeno <[EMAIL PROTECTED]> wrote:
> On Wednesday 17 August 2005 22:15, Mark Knecht wrote:
> > On 8/17/05, Pupeno <[EMAIL PROTECTED]> wrote:
> > > On Wednesday 17 August 2005 18:44, Mark Knecht wrote:
> > > > A quick test would be
> > > >
> > > > hdparm -tT /dev/hda
> > >
> > > I got this:
> > > /dev/hda:
> > >  Timing cached reads:   1344 MB in  2.00 seconds = 672.10 MB/sec
> > >  Timing buffered disk reads:8 MB in  3.51 seconds =   2.28 MB/sec
> > >
> > > > (or whatever drive you are concerned about.) Greater than 15MB/S is
> > > > almost certainly DMA but good DMA from newer drives should be
> > > > 25-50MB/S
> > >
> > > The second speed is evidently wrong.
> >
> > Not wrong, just not DMA.
> Should I leave DMA off ? Isn't almost always faster to use DMA ?
> 
> > > > You can look at the drives parameters using hdparm and reading through
> > > > the man page to understand what all the values mean.
> > >
> > > I tried to enable dma, but this happened:
> > > # hdparm -d1 /dev/hda
> > >
> > > /dev/hda:
> > >  setting using_dma to 1 (on)
> > >  HDIO_SET_DMA failed: Operation not permitted
> > >  using_dma=  0 (off)
> > >
> > > What am I doing wrong ? some kernel option ?
> >
> > Possibly. Many of the ATAPI DMA drivers are supplied when you enable
> > the proper chipset support in make menuconfig under Device Drivers ->
> > ATA support.
> I have all of them enabled as modules.
> 
> > What chipset is your machine using? (lspci)
> :00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller
> (rev 01)
> 
> > From my laptop:
> >
> > flash linux #  hdparm /dev/hda
> >
> > /dev/hda:
> >  multcount= 16 (on)
> >  IO_support   =  0 (default 16-bit)
> >  unmaskirq=  0 (off)
> >  using_dma=  1 (on)
> Here, your dma is on! :)
> 
> >  keepsettings =  0 (off)
> >  readonly =  0 (off)
> >  readahead= 256 (on)
> >  geometry = 65535/16/63, sectors = 80026361856, start = 0
> > flash linux #
> >
> > flash linux #  hdparm -tT /dev/hda
> >
> > /dev/hda:
> >  Timing cached reads:   1788 MB in  2.00 seconds = 891.91 MB/sec
> >  Timing buffered disk reads:   82 MB in  3.04 seconds =  26.93 MB/sec
> > flash linux #
> 
> Thanks.
> --
> Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)
> Reading ? Science Fiction ? http://sfreaders.com.ar
> 
> 
> 

I'm sorry if this copy/paste gets messy. I'm attempting to show you
all the stuff I have enabled on a Via desktop machine:

<*> ATA/ATAPI/MFM/RLL support│ │
  │ │  <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support  
 │ │
  │ │  --- Please see Documentation/ide.txt for help/info on IDE
drives │ │
  │ │  [ ] Support for SATA (deprecated; conflicts with libata
SATA driver) │ │
  │ │  [ ] Use old disk-only driver on primary interface  
 │ │
  │ │  <*> Include IDE/ATA-2 DISK support 
 │ │
  │ │  [*] Use multi-mode by default  
 │ │
  │ │  <*> Include IDE/ATAPI CDROM support
 │ │
  │ │  < > Include IDE/ATAPI TAPE support (EXPERIMENTAL)  
 │ │
  │ │  < > Include IDE/ATAPI FLOPPY support   
 │ │
  │ │  < > SCSI emulation support 
 │ │
  │ │  [ ] IDE Taskfile Access
 │ │
  │ │  --- IDE chipset support/bugfixes   
 │ │
  │ │  <*> generic/default IDE chipset support
 │ │
  │ │  [*] CMD640 chipset bugfix/support  
 │ │
  │ │  [ ]   CMD640 enhanced support  
 │ │
  │ │  [ ] PNP EIDE support   
 │ │
  │ │  [*] PCI IDE chipset support
 │ │
  │ │  [*]   Sharing PCI IDE interrupts support       
 │ │
  │ │  [ ]   Boot off-board chipsets first support
 │ │
  │ │  <*>   Generic PCI IDE Chipset Support  
 │ │
  │ │  < >   OPTi 82C621 chipset enhanced support (EXPERIMENTAL)  
 │ │
  │ │  <*>   RZ1000 chipset

Re: [gentoo-user] Bootstrap USE flags opinions?

2005-10-12 Thread Dave Nebinger
On Wednesday 12 October 2005 08:17 pm, Alexey Asprov wrote:
> On Wed, 12 Oct 2005 11:21:08 -0400
>
> Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > On Wednesday 12 October 2005 01:54 pm, Alexey Asprov wrote:
> > > Hi list again..
> >
> > Hello Alexey.  Just a quick FYI: Your timezone does not appear to be set
> > correctly; I can tell because your sent time is in the future ;-)
>
> Hello Dave. Why this can be so important? Yes, I set my local timezone
> to GMT. If it won't harm the system, who cares? Or, does it harm?
> And yes, I am in st.Petersburg (Russia), but I coudn't find any
> relevant timesone when I've installed Gentoo for the (3)rd time
> and thoght this would be fine. Does this interfere with my using
> and compiling the system?

Well, spamassassin flags the messages because they have the date in the 
future.  I've got a rule allowing messages from the list so it goes through, 
but some sites might block your email whether you know it or not.

>From your local system perspective, no it really doesn't matter.  But being 
part of the internet means that you should be playing by internet rules, 
therefore having the right time/date for the system.

As far as compiling goes, it wouldn't matter either.  I'd worry about the 
rsync process as, since you are in the future, the timestamps from your local 
system and the remote rsync mirror might indicate to your system that you're 
newer than what the mirror thinks.

Enough preaching, I was just pointing it out in case you weren't aware.

> I have only found exaple with "working" ( as athour claims) USE flags for
> "working"bootstraping . If you feel that some packages will hogtie, please
> advice on what USE flags have to be removed ( or added).

Well if you're not running X you can slim down quite a bit.  The list you 
included has all multimedia and stuff for more of a desktop system.  My 
server box has a much shorter list:

USE="-mbox -gnome -kde -X atm maildir cdr bzlib curl -emacs exif fam ftp 
gnutls -ipv6 kerberos libwww mime mmap mmx mng nptl pcre pic php perl sockets 
sse ssl sysvipc posix sasl shared sharedmem usb mysql xml cups pam imap aac 
apache2 bash-completion berkdb bidi bzip2 canna caps cjk clamav cpdflib crypt 
dbus dbx dio ethereal examples expat flac freewnn gd gdm javascript ncurses 
nls png jpeg junit ldap libclamav mcve ming openntpd mysqli nas netboot 
openal tcpd spl spell snmp sockets soap python samba vhosts xml2 zlib"

> > Use emerge --pretend to see what kind of results you'll actually get.
>
> Not sure what do you mean by that. Emerge -pv just estimating what packages
> have to be emerged.

It will show all of the dependencies as well as the package.  For example, you 
had gnomedb in your USE list, but -gnome also.  If you emerged a package that 
used the gnomedb flag, but gnomedb has dependencies upon gnome, you're either 
going to be looking at a  nasty message about a blocked package, the package 
won't install, or you'll get gnome anyway (note this is just an example, I 
don't know for sure what the gnomedb flag would incur).

> Thanks for your response, but probably some one added to USE flags in
> make.conf? And how did it go in bootstrapping? Also, to rephrase my
> original question do I have include all of them or only mmx, sse, mtrr as
> Dave suggested?

I did include them in my USE flags.  I don't have any clue what, if any, 
effect they have on the system.  Many of the USE flags have descriptions 
available, but I haven't seen any sort of cross-reference that says when USE 
flag X is set, Y happens as a result.

I look at these as clarifying the base system architecture, but do not have 
the same kind of impact as gnome/-gnome would have.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-04 Thread james

On 3/2/20 6:07 PM, Dale wrote:

Howdy,

I don't use LOo a whole lot but several months ago, I noticed a
problem.� Sometimes I go to a electronic type website that has info on
circuits and how something works.� Those pages usually contain text,
pics and such.� I highlight what contains the info I want, which may
include some things I don't, then copy it to my clipboard.� I then go to
LOo and paste it as HTML since that's what it is.� Once pasted, I remove
things I don't want, such as social media icons and other unwanted
things.� I also make some images larger, make text larger and such as
well.� When I get it right, I print it as a pdf file or save it as a LOo
document.� That's how I did it in the past.� When I would paste the
contents, it would include images and all and would be done in seconds,
well under a minute for sure.

When I paste the content now, it doesn't include pics.� The boxes is
there and text for the link to the image but no image.� It also locks
LOo up for minutes.� If I try to scroll up or down, it locks up again.
Even with all that, it never loads the images.� I end up killing the
process.� I think this started when the 6.3.* versions came out.� I
would normally go back to a older version but those are no longer in the
tree. I'm wondering if a USE flag could make it work again.� I used euse
-i to see what each flag does but I'm not seeing anything that would
change it.� What I think the problem could be, LOo can't reach the
network anymore.� In the past when I pasted content, I could see
activity on the network.� I think LOo was fetching the pics and maybe
even some other info as well.� Thing is, I don't see why it can't now.
Again, USE flag maybe???

Here is the info for libreoffice.


root@fireball / # emerge -av libreoffice

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

Calculating dependencies... done!
[ebuild�� R�� ~] app-office/libreoffice-6.3.5.2::gentoo� USE="cups 
dbus
gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
-coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
-postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
-scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
-python3_7 -python3_8" 233,805 KiB

Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

root@fireball / # equery list -po libreoffice
 �* Searching for libreoffice ...
[-P-] [� ] app-office/libreoffice-6.3.4.2-r1:0
[IP-] [� ] app-office/libreoffice-6.3.5.2:0
[-P-] [ -] app-office/libreoffice-6.3.:0
[-P-] [ -] app-office/libreoffice-:0
root@fireball / #


Anyone have a clue how to fix this?


I use LO quite a lot; but it is a beast and they are constantly 
'tweaking' small details....


SO, you are not alone. If you'll post and example download and a brief 
example guide to what use to work and what does not work now, I'll see 
if I can duplicate the problem. Here is my current LO setup:


 Installed versions:  6.3.4.2-r1^t(02:24:34 AM 02/11/2020)(branding 
cups dbus gstreamer gtk java ldap mariadb odk pdfimport postgres


and

app-office/libreoffice-l10n
 Installed versions:  6.3.4.2... en

I'm interested in more advanced viewing of any and all sorts of 
electrical/electronic file viewing.


curiously,
James



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 12:49 PM, Alan McKinnon  wrote:
> On Thursday 11 February 2010 22:37:00 Mark Knecht wrote:
>> On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon 
> wrote:
>> > On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
>> >> Can someone comment on why I do or do not want to include config files
>> >> when making quickpkg files?
>> >>
>> >> Seems like there is the issue of hand edits being saved which would be
>> >> a good reason to keep them. I'm not overly worried about someone
>> >> stealing them and getting access to settings, but I can see that might
>> >> be a good reason not to.
>> >>
>> >> If I don't save them and then after a crash want to use binary
>> >> packages to get a machine running quickly it seems like I'd want to
>> >> include everything I could.
>> >>
>> >> What would the more experienced user do for the single-user desktop type
>> >> user?
>> >
>> > The config of the package you quickpkg'ed likely works.
>> > emerge -k is most often used to revert your own mistakes, so you want the
>> > thing to work. Your latest configs are suspect, why insist they take
>> > priority? You can always rename them to .bak if you think they
>> > might get nuked.
>> >
>> > Why do you care if someone steals your quickpkgs? Put them in a directory
>> > owned by root, they are then as safe as your stuff in /etc. To get to the
>> > tarballs, they must get to a place where they can just read the
>> > originals
>>
>> Thanks Alan. That confirms what I was thinking.
>>
>> My comment about things getting stolen is that I might burn them to
>> DVD for safe keeping in which case anyone can walk off with the DVD.
>> I'm not overly worried about that and it's far and away less of an
>> issue than getting the machine back to a running state.
>
> OK, I see.
>
> As long as you know which configs have password in them and take precautions,
> you should be OK.
>
> For the truly paranoid (and there will be someone who is validly so) another
> option is to store /etc in a remote SVN instance that is secured, and not
> store configs with the quickpkgs

Thanks. Like I said originally I'm not worried about it but at least
you understood why I asked.

One thing I haven't found so far is what to put in make.conf to get
the buildpkg feature to include the configs. It's easy at the command
line. Where's the documentation on how to actually use this the right
way automatically?

- Mark



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Michael Mol
On Fri, Sep 7, 2012 at 11:57 AM, Samuraiii  wrote:
>
>
>
> On 2012-09-07 17:44, Michael Mol wrote:
>
> On Fri, Sep 7, 2012 at 11:35 AM, Samuraiii 
> wrote:
>
> On 2012-09-07 13:04, William Kenworthy wrote:
>
> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
>
> On 2012-09-07 11:49, Andrey Moshbear wrote:
>
> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear 
> wrote:
>
> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii  wrote:
>
> Hello
> yesterday I probably broke my GCC
>
> Problem is following:
> When i try to emerge ANY package it fails with this :
>
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/tmp/portage/www-client/links-2.6/work/links-2.6':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
>
> Can you post the contents of config.log to a pastebin and link to it in a
> reply?
>
> Specifically,  .../portage/www-client/links-2.6/work/links-2.6/config.log
>
> Here it is http://pastebin.com/s59mU9fm
>
> --
> Samuraiii
> e-mail: samurai.no.d...@gmail.com
> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
> Full copy of public timestamp block signatures id-15719 (from
> 2012-09-07 06:00:07) is included in header of html.
>
> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
> denied
>
>
> BillK
>
>
>
>
> What next?
> ls -l /usr/local/include/stdio.h
> ls: cannot access /usr/local/include/stdio.h: No such file or directory
>
> Any idea why you'd have anything under /usr/local? On Gentoo, that's
> usually unnecessary. (Or always unnecessary, if you care to make a
> personal overlay to have your personal packages integrated
> properly...not that hard, actually)
>
>
> That wasn't intentionally made...

Intentional or not, do you have any idea how it might have gotten
there? Or what you did that might have caused things to look there?

If we knew more, we could tell you more about how to fix it, and even
how better to do what you had been trying to do.

-- 
:wq



[gentoo-user] gnome-control center 3.23.98 fails to compile

2017-03-25 Thread John Covici
Hi.  I am getting the following error when emerging
gnome-control-center on my most recent update -- I am using unstable
gentoo.
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I../.. -pthread -I/usr/include/gtk-3.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas
-I../../ -DG_LOG_DOMAIN=\"common-cc-panel\" -DPANEL_ID=\"common\"
-pthread -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/libdrm
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/gsettings-desktop-schemas
-I/usr/include/gudev-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O2 -mtune=core2 -pipe -ggdb -c
gsd-device-manager-udev.c  -fPIC -DPIC -o
.libs/gsd-device-manager-udev.o
gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No
such file or directory

I do have -wailan as a use flag (there by default), so this doesn't
make too much sense.

What can I do, or should I file a bug?

thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: Failed to emerge sys-devel/libperl-5.8.8-r2

2010-01-13 Thread Li
m Applying libperl-create-libperl-soname.patch ...
  [ ok ]
 * Applying libperl-noksh.patch ...
  [ ok ]
 * Applying libperl-5.8.8-reorder-INC.patch ...
  [ ok ]
 * Applying libperl-5.8.8-makedepend-syntax.patch ...
  [ ok ]
 * Applying perl-hppa-pa7200-configure.patch ...
  [ ok ]
 * Applying libperl-5.8.8-lib64.patch ...
  [ ok ]
 * Applying libperl-5.8.8-cplusplus.patch ...
  [ ok ]
 * Applying libperl-5.8.8-gcc42-command-line.patch ...
  [ ok ]
 * Applying libperl-5.8.8-utf8-boundary.patch ...
  [ ok ]
 * Applying libperl-5.8.8-CVE-2008-1927.patch ...
  [ ok ]
 * Applying libperl-5.8.8-ccld-cflags.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work
>>> Compiling source in 
>>> /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8 ...
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1  dos_djgpp   irix_6_0  nonstopux sunos_4_0   
aix  dynix   irix_6_1  openbsd   sunos_4_1   
aix_3dynixptxisc   opus  super-ux   
aix_4epixisc_2 os2   svr4   
altos486 esix4   linux os390 svr5   
amigaos  fps lynxosos400 ti1500   
apollo   freebsd machten   posix-bc  titanos   
atheos   genix   machten_2 powerux   ultrix_4   
aux_3gnu mint  qnx   umips   
beos gnukfreebsd mips  rhapsody  unicos   
bsdosgnuknetbsd  mpc   sco   unicosmk   
convexos greenhills  mpeix sco_2_3_0 unisysdynix   
cxux hpux        ncr_tower sco_2_3_1 utekv   
cygwin   i386netbsdsco_2_3_2 uts   
darwin   interix newsos4   sco_2_3_3 uwin   
dcosxirix_4  next_3sco_2_3_4 vmesa   
dec_osf  irix_5      next_3_0  solaris_2 vos   
dgux irix_6  next_4stellar   
Which of these apply, if any? [linux]  

You appear to have ELF support.  I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
Operating system name? [linux]  
Operating system version? [2.6.31-gentoo-r6]  
Build Perl for SOCKS? [n]  
Use the PerlIO abstraction layer? [y]  
Build a threading Perl? [n]  
Build Perl for multiplicity? [n]  
Use which C compiler? [x86_64-pc-linux-gnu-gcc]  
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/usr/local/lib64 /lib64 /usr/lib64]  
What is the file extension used for shared libraries? [so]  
Try to use long doubles if available? [n]  
Checking for optional libraries...
What libraries to use? [-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc]  
What optimizer/debugger flag should be used? [-march=native -O2 -pipe]  
Any additional cc flags?
[-fno-strict-aliasing -pipe -Wdeclaration-after-statement]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib64]  
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
 found.
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
 found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long' for 64-bit integers.
Try to use maximal 64-bit support, if available? [y]  
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
What is your architecture name [x86_64-linux]  
This architecture is naturally 64-bit, not changing architecture name.
Perlio selected.
Installation prefix to use? (~name ok) [/usr]  
AFS does not seem to be running...
What installation prefix should I use for installing file

[gentoo-user] Re: google drive

2013-02-04 Thread walt
On 02/04/2013 04:43 AM, András Csányi wrote:
> Hi All,
> 
> I would like to get some advise what would be the good - reasonably
> good - solution use my Google Drive storage under Gentoo. In the last
> 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
> about the actualities.
> 
> I found grive but it is not compiling.

Here's a quick and dirty workaround:

#cd /usr/include
#ln -s json-c json
(I think the json-c package puts that symlink in the wrong place.)

That should let you install grive.  Let us know if grive does what you want.





Re: [gentoo-user] Java and java.library.path

2006-01-18 Thread Holly Bostick
darren kirby schreef:
> quoth the Trenton Adams:
>> on the "java" command line put "-Djava.library.path=/usr/lib"
>> 
>> I don't know if gentoo has a config for this or not, I didn't know
>>  ADDLDPATH existed.  Who knows, perhaps editing the JRE version of 
>> that file would help?
> 
> I am really sorry, but I don't know what you mean by 'java command 
> line'. The app itself, is in /usr/bin like everything else, it just 
> gives me that error when I start it from an xterm, ie: $ iriverter 
> 


Well, I don't know much about java either, but 4 out of 5 java programs
I use are not started by "", but by "java (-jar)
". This would be the "java" command-line, I imagine.

Basically, the idea is that you have to invoke java so that java runs
the program. Because the first argument in the command is "java", you
are then able to use various command-line switches for Java (such as the
aforementioned "-Djava.library.path=/usr/lib") before telling Java what
program you want it to run (in this case "iriverter").

java -help
Usage: java [-options] class [args...]
   (to execute a class)
   or  java [-options] -jar jarfile [args...]
   (to execute a jar file)

where options include:
-client   to select the "client" VM
-server   to select the "server" VM
-hotspot  is a synonym for the "client" VM  [deprecated]
  The default VM is client.

-cp 
-classpath 
  A : separated list of directories, JAR archives,
  and ZIP archives to search for class files.
-D=
  set a system property
-verbose[:class|gc|jni]
  enable verbose output
-version  print product version and exit
    -version:
  require the specified version to run
-showversion  print product version and continue
-jre-restrict-search | -jre-no-restrict-search
  include/exclude user private JREs in the version search
-? -help  print this help message
-Xprint help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
  enable assertions
-da[:...|:]
-disableassertions[:...|:]
  disable assertions
-esa | -enablesystemassertions
  enable system assertions
-dsa | -disablesystemassertions
  disable system assertions

So I think what Trenton probably meant was that you should try starting
the program with

java -Djava.library.path=/usr/lib iriverter

(assuming that iriverter is not a *.jar file in which case you'd need
-jar before iriverter).

You know, there's a high likelihood that the iriverter file in /usr/bin
is a script that is readable in a text editor.

You might want to see if you can have a look at it and see just what
it's doing. A readme that tells you how to run the program (man
iriverter? iriverter --help?) might be of some use, too.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fluxbox problem

2015-06-08 Thread Philip Webb
150608 Zhu Sha Zang wrote:
> Have you tried to use 'exec fluxbox -log "~/.fluxbox/log"'
> to check what happening ?

Thanks for the suggestion : I tried it, but no log file appears.
I use 'startx' & put your line in  .xinitrc  in place of 'startfluxbox';
I also tried adding the log part to 'startfluxbox', but no improvement.

I plan to submit a bug, but log output mb useful to include there.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]

2011-04-25 Thread Neil Bothwick
On Sun, 24 Apr 2011 23:16:39 +0100, Mick wrote:

> > It's rarely desirable to enable doc globally. It is best to enable
> > only for those packages where you need extended documentation.  
> 
> @Alan Mackenzie:
> 
> What Neil is saying can be achieved by setting package specific USE
> flags in the file /etc/portage/package.use; e.g. use an entry like:

What I'm saying is that you should have -doc in /etc/make.conf and enable
it on a per-package basis. The doc flag builds extra documentation that
general users don't need, man/info/html pages are included by default (at
least, that's how it is supposed to work, the odd package, like ffmpeg,
won't even include a man page without the doc flag). 


-- 
Neil Bothwick

This is as bad as it can get-but don't bet on it.


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/hosts include file?

2013-03-07 Thread Michael Mol
On 03/07/2013 05:24 PM, Alan McKinnon wrote:
> Anyone know if there's a way to get /etc/hosts to support the notion of
> an include file? I did my homework and found nothing, maybe someone else
> knows more.
> 
> I really do need this, I have an app that discovers things on the
> network and knows their address. This makes it's automated way into DNS
> but takes a few days, and another app needs to use the fqdn right now.
> So /etc/hosts is the way to go for the interim three days.
> 
> I've worked around it by creating /etc/hosts.d/ containing a header and
> a data file. cat the two and redirect to /etc/hosts.d/hosts and the real
> hosts file is a symlink to that. It's a sub-directory as none of these
> apps run as root and only root can modiy the real hosts file.
> 
> This works well enough, but a supported include mechanism would make
> life so much simpler, not to mention easier for my colleagues to
> understand what the blazes I set up :-)

No, there's not an "include" directive.

There are, however, two other ways to get hostnames recognized.

The first is /etc/resolv.conf . You can point your host at a local DNS
server which is aware of the discovered hosts, and which forwards the
rest of the queries. (This is how Samba 4's internal DNS server
operates; anything it knows, it responds to. Everything else, it forwards.)

Read the manpage for resolv.conf...there's a lot of stuff in there
you'll want to know as you start coping with IPv6. (And some useful
stuff if you want to favor a particular IP range...)

The second is /etc/nsswitch.conf . nsswitch.conf is how you inject
samba-discovered, NIS-offered -- or whatever provider you care to inject
-- hostname databases into the system resolver. You could have it query
your provided database first, moving on to other sources if your
provided database doesn't have what you're looking for. (I'm actually
kinda surprised avahi doesn't come with an nss plugin...)




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error [SOLVED]

2006-02-24 Thread Bo Andresen
On Friday 24 February 2006 06:18, Boyd Stephen Smith Jr. wrote:
> > via linux # make ARCH=x86_64 CC="gcc -m64"
> >   CHK include/linux/version.h
> >   UPD include/linux/version.h
> >   SPLIT   include/linux/autoconf.h -> include/config/*
> >   CC  arch/x86_64/kernel/asm-offsets.s
> > cc1: error: code model `kernel' not supported in the 32 bit mode
> > cc1: sorry, unimplemented: 64-bit mode not compiled in
>
> Blah.  I don't really know how to get around this.  I generally stay away
> from configuring my own gcc and I don't know what, if any, USE flag
> controls when 64-bit mode is compiled in.  That works in my
> i686-pc-linux-gnu-gcc, but maybe that's 'cause it is a "cross"-compiler on
> my system.

As you saw in my previous post the gcc version is 3.3.5. Wanting to know 
whether it was due to the version of gcc I ran the same commands on my laptop 
(after copying .config to it). It has gcc version 3.4.5 and it gave exactly 
the same result as shown above.

> It may be easier at this point to just find a live cd / live dvd that will
> bring you up in a 64-bit kernel.  It won't matter much whether it is
> gentoo or some other distro [1], as long as it brings up the network and
> your drives, because all you'll be doing is chrooting and finishing the
> gentoo install.

Actually I guess I could just download the the amd64 livecd, mount it, copy 
its kernel to the harddrive (already did emerge coldplug) and boot on it. I 
did, however, find this very interesting so I do wish to compile a 64-bit 
kernel and see what it takes.

> If you still want to continue down the "cross"-compile and install a kernel
> route (what we've been trying to do so far).  I suggest you emerge
> crossdev in your 32-bit environment, then do crossdev -s1 -t x86_64 to
> compile a cross-compiling bin-utils and gcc (C only) [2].  Then, you
> should be able to "cross"-compile your kernel with.

I've just done that. It seems to  be working.

> make ARCH=x86_64 CROSS_COMPILE=x86_64-pc-linux-gnu-
> (menuconfig, all, modules_install, etc.)

At first when typing make ARCH=x86_64 CROSS_COMPILE=x86_64-pc-linux-gnu- it 
told me it could not find these files:

arch/x86_64/kernel/asm-offsets.c:12:21: asm/pda.h: No such file or directory
arch/x86_64/kernel/asm-offsets.c:16:22: asm/ia32.h: No such file or directory
[...]
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

# ls -ld include/asm
lrwxrwxrwx  1 root root 10 Feb 24 14:27 include/asm -> asm-386

I solved this by:
# ln -sfn include/asm-x86_64 include/asm

Perhaps it would have been solved by reemerging gentoo-sources but this worked 
too. make install didn't work either but installing it manually is just 
copying 3 files..

This all did solve the problems. The resulting kernel does indeed boot and it 
does make it possible to chroot into a 64 bit environment. :D Thanks a lot. 
This has been very educating.

> Crossdev will take basically no time to install, but compiling gcc make
> take a while, even without any language front-ends other than C.

Well, it didn't take that long.. At least less than 15 minutes - didn't really 
time it.
 
-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filter grep output of 'ps aux'

2012-03-02 Thread Tanstaafl

On 2012-03-02 2:33 PM, Paul Hartman  wrote:

And you can use the --sort options for ps to sort by cpu or anything
you like (see the manpage)


Even better, thanks Paul...

watch -n1 "ps aux --sort=-%cpu | gawk '{ if ( \$3 > 1.0 ) { print } }'"

does exactly what I want...

Hmmm... is there an easy way to include the column headers?



Re: [gentoo-user] What does emerge status R mean?

2021-05-16 Thread Dale
n952162 wrote:
> On 5/15/21 7:24 AM, Dan Egli wrote:
>> The R status means REBUILD. Usually, if it's an @world it's pulling
>> that in because something about that package changed and so it needs
>> to rebuild it. The --noreplace option would block that if portage
>> didn't think it was needed. Based on your options, I'd say that it's
>> probably a USE flag was changed. I don't use binpkgs myself,
>> preferring to compile except in certain circumstances (can we say
>> RUST!?) that I need to use a -bin variant. You can try without it, but
>> I recommend leaving your change-use and newuse flags in place and
>> letting the system rebuild xmodmap.
>>
>>
> Yes, thank you, but neither the server nor the client have any USE flags
> for that package defined.  And the package has to be pretty stable by
> now  ;-)
>
>
>
>

All packages have USE flags defined somewhere even if you haven't
defined any yourself.  Some are defined in profiles, some are defined
elsewhere.  When I do updates, I see changes to USE flags all the time
that were changed by the profile, the maintainer in the ebuild or
somewhere else.  After all, if a package doesn't have the USE flags
defined somewhere, emerge won't know what USE flags to include or
exclude support for. 

Dale

:-)  :-) 



Re: [gentoo-user] genkernel's new configs not used?

2022-01-01 Thread Dale
Neil Bothwick wrote:
> On Sat, 1 Jan 2022 15:44:51 +, Wols Lists wrote:
>
>>> Compiling the kernel and modules? Replace 1 with
>>>
>>> make all modules_install install
>>>
>>> There's also the matter of the initramfs, one of the main reasons
>>> people use genkernel, although I prefer dracut for this.
>>>
>>>   
>> until you trip over genkernel's "features" ... like AUTOMOUNT_BOOT, 
>> which doesn't work, by design. Or NO_INSTALL, which does rather more 
>> than just not installing ...
>>
>> I'm investigating source_mage, and ought to investigate dracut.
> Once you have a working kernel, there's very little to do on updates. A
> script that runs
>
> cd /usr/src/linux
> zcate /proc/config.gz >.config
> make oldconfig
> make all modules_install install
> dracut --kver=$(cat include/config/kernel.release) --xz
> update the bootloader
>
> mostly does it all, with a few frills thrown in to cover things like 
> rebuilding modules.
>
>


Can you explain this part a bit?  How it knows what version for example
to build against?  Does it follow the link in /usr/src/linux, eselect
info or something else?


> dracut --kver=$(cat include/config/kernel.release) --xz


The one thing that stumps me is figuring out how to tell dracut what
version I want built.  I keep 2, 3 and sometimes 4 kernels of different
versions lurking about in /boot. 

Thanks.

Dale

:-)  :-) 




Re: [gentoo-user] ATAPI burning doesn't work

2005-04-12 Thread Willie Wong
On Tue, Apr 12, 2005 at 10:16:11PM -0400, Phill MV wrote:
> Doing cdrecord -tao --dev=ATAPI:0,0,0 /pkg.iso as root (0,0,0 being my
> cdr/w drive) yields  a few warnings like
> 

my 2 cents:

I usually use

cdrecord -dao -v speed=24 fs=2m dev=/dev/cdrw driveropts=burnfree -data 


Kernel 2.6 and above with newer versions of cdrecord (forgot what
versions on) allows using the above syntax for devices, so that you
don't need SCSI emulation anymore. 

Usually I use DAO because personally I have better luck burning that
way. 

W

> cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
> scsidev: 'ATAPI:0,0,0'
> devname: 'ATAPI'
> scsibus: 0 target: 0 lun: 0
> Warning: Using ATA Packet interface.
> Warning: The related Linux kernel interface code seems to be unmaintained.
> Warning: There is absolutely NO DMA, operations thus are slow.
> 
> and a useless terminal window, permanently waiting on something I
> can't identify.
> 
> 
> Any help? I would've burned this in windows hadn't windows started
> BSOD'ing every other reboot (I'm on fresh reinstall #2 and no time
> left).
>  
> 
> kernel is Linux-2.6.10-gentoo-r6, and the following can be found in my config:
> 
> <*> ATA/ATAPI/MFM/RLL support   ? ?
>   ? ?<*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support   
> ? ?
>   ? ?--- Please see Documentation/ide.txt for help/info on IDE drives
> ? ?
>   ? ?[ ] Support for SATA (deprecated; conflicts with libata SATA 
> driver)? ?
>   ? ?[ ] Use old disk-only driver on primary interface   
> ? ?
>   ? ?<*> Include IDE/ATA-2 DISK support  
> ? ?
>   ? ?[*]   Use multi-mode by default 
> ? ?
>   ? ?<*> Include IDE/ATAPI CDROM support 
> ? ?
>   ? ?< > Include IDE/ATAPI TAPE support (EXPERIMENTAL)   
> ? ?
>   ? ?<*> Include IDE/ATAPI FLOPPY support
> ? ?
>   ? ?<*> SCSI emulation support  
>   ? ?[ ] IDE Taskfile Access 
>   ? ?--- IDE chipset support/bugfixes
>   ? ?<*> generic/default IDE chipset support
> 
> --
> gentoo-user@gentoo.org mailing list

-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

JCPenney and a major car rental company have merged.
Shareholders reportedly will receive letters headed
"Penney's on the Dollar".
(Ouch, that Hertz...will they go National?)
Sortir en Pantoufles: up 1 day, 16:17
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --prune: should it work?

2009-04-02 Thread KH
Dale schrieb:
> Michael Higgins wrote:
>   
>> I attempted to emerge 'twinkle', a soft phone, but whoever made the ebuild 
>> neglected to include a dependency on KDE libraries.
>>
>> Of course, since I don't have KDE libs, emerge failed. But before failing, 
>> the ebuild had pulled in, built, and installed two *new* packages.
>>
>> As these packages were new dependencies only needed by 'twinkle' (which 
>> failed to install), I'd expect running emerge --prune immediately afterward 
>> to remove these unnecessary packages.
>>
>> But it didn't. Something should, however.
>>
>> Rather than my asserting that --prune is broken, since it apparently does 
>> *something* (just not what I'd expect), can someone give me a helpful clue 
>> as to what WILL remove these unneeded libraries? '-)
>>
>> Cheers,
>>
>>   
>> 
>
> I would think --depclean would take care of that.  I would use the -p
> option at first and make sure it is not going to remove something you
> want to keep.
>
> Dale
>
> :-)  :-) 
>
>   
hi,
you can also use --depclean -av so you want have to tip twice ;-)
kh



Re: [gentoo-user] Suggestions for a version-control/storage/synchronization software to use?

2008-07-25 Thread Neil Bothwick
On Fri, 25 Jul 2008 08:49:07 +0800, Mark David Dumlao wrote:

> 5) I don't intend to carry the entire collection on to my laptop - only
> the bits and pieces that will fit. But I want deletions and removals
> from my laptop to carry on to my desktop. At the same time, I don't
> want a synchronization from my laptop to my desktop to (what a
> nightmare!) erase the bits on my desktop that I didn't intend to carry
> at all.

Unison may do what you want. It's like a two-way rsync, ensuring both
computers have the most recent version of a file and asking you if it has
been changed on both computers since the last sync. Include and exclude
filters handle the files you don't want on the laptop. I use it for a
similar purpose and it works well.


-- 
Neil Bothwick

Last yur I kudnt spel modjerater now I are won.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Second dvd/cd device confused with K3B

2008-06-03 Thread b.n.

James ha scritto:


Oooops,

If forgot to include this information:
 l /dev/cdr*
lrwxrwxrwx 1 root root 3 Jun  3 07:43 /dev/cdrom1 -> sr0
lrwxrwxrwx 1 root root 3 Jun  3 07:43 /dev/cdrom3 -> hda
lrwxrwxrwx 1 root root 3 Jun  3 07:43 /dev/cdrw1 -> sr0
lrwxrwxrwx 1 root root 3 Jun  3 07:43 /dev/cdrw3 -> hda

egrep cdrom /etc/group
cdrom::19:haldaemon,gentoo,james

I realize the cdrom0 does not exist, so but should that
effect how K3B works and it's ability to see and use
2 different dvd/cd devices?


It shouldn't ; you just should see in the k3b configuration what devices 
it sees and tell it what to use.


m.


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



Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-03 Thread Michael
On Sunday, 3 December 2023 02:18:34 GMT Dale wrote:
> Michael wrote:
> > On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
> > 
> > Unless you create your own sddm config file in /etc, the sddm package uses
> > a default config file.  From the man page:
> > 
> > FILES
> > 
> >/usr/share/sddm/sddm.conf.d
> >
> >   System configuration directory
> >
> >/etc/sddm.conf.d
> >
> >   Local configuration directory
> >
> >/etc/sddm.conf
> >
> >   Local configuration file for compatibility
> >
> >    /usr/share/sddm/themes
> >
> >       Where sddm looks for themes
> > 
> > Search in the above paths and you should find the default sddm config
> > file,
> > which you can copy over to /etc and tweak it to stop it recording events
> > in
> > your user xsession log file.
> 
> For the first file, not here.  I have this but no config file that I
> see.  Others below that.
> 
> 
> root@fireball / # ls /usr/share/sddm/
> total 44
> drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
> drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
> drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
> drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
> root@fireball / #
> 
> cat /etc/sddm.conf.d/01gentoo.conf
> [General]
> # Remove qtvirtualkeyboard as InputMethod default
> InputMethod=
> root@fireball / #
> 
> cat /etc/sddm.conf
> [Autologin]
> Relogin=false
> Session=
> User=
> 
> [General]
> HaltCommand=
> RebootCommand=
> 
> [Theme]
> Current=maldives
> CursorTheme=Adwaita
> 
> [Users]
> MaximumUid=6
> MinimumUid=1000
> root@fireball / #
> 
> 
> This may help give ideas on what I do have. 

My apologies, your files are correct as you've shown, mine are from a previous 
sddm version 0.18.1-r8.  I had to mask the latest version 0.20.0-r1, because 
it won't launch fully on this PC to allow me to login.

This is what you can do easily and without having to add your own new 
02_dale_sddm.conf file just to specify the log file path for sddm:

mv ~/.local/share/sddm/xorg-session.log ./
ln -s /dev/null ~/.local/share/sddm/xorg-session.log

then login into Plasma and the problem of an ever growing log file will be 
gone.  You will need to remove the symlink and restore the log file if you 
want to troubleshoot the sddm or desktop in the future.

 
> > If I recall correctly you have NVidia graphics card(s), so you should
> > enable the nvidia related hardware acceleration for better performance
> > and less CPU load; e.g. nvencm and/or vdpau
> 
> I'm working on enabling those USE flags.  For months now, I've ran into
> a block with opencascade, vlc, pipewire and several other video
> packages.  I have to emerge -C vlc and opencascade to do emerges on
> video stuff then re-emerge them when done.  I don't know if it is me or
> something else but it has been that way for months.  I posted a thread
> about it a few months back.  I dunno.  I'm working on the change now.  ;-) 
> 
> And mplayer just failed with this nifty message. 
> 
> 
> SIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg
> -march=native -O2 -pipe -fno-tree-vectorize
> -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT
> -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2
> -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o
> libmpcodecs/img_format.o libmpcodecs/img_format.c
> x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes
> -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112
> -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2
> -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie
> -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss
> -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o
> libmpcodecs/mp_image.o libmpcodecs/mp_image.c
> libmpcodecs/mp_image.c: In function 'mp_image_alloc_planes':
> libmpcodecs/mp_image.c:39:39: error: 'INT_MAX' undeclared (first use in
> this fu

Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-18 Thread Neil Bothwick
On Tue, 19 Jan 2010 01:09:16 +0200, Alan McKinnon wrote:

> > XML is a machine-readable file format that just happens to use ASCII
> > characters, it is not meant to be modified by a text editor, so if
> > your program uses XML configuration files, it should include a means
> > of editing those files that does not include the use of vim.  
> 
> which almost by definition means you need an xml-information parser on
> par with an xml-parser to figure out what the hell the fields mean,
> then design an intelligent viewer-editor thingy that lets the user
> add-delete-change the information in the xml file. All the while
> displaying to the user at least some information about the fields in
> view.

Or a pretty GUI with clicky boxes to change the settings while never
letting the user see the contents of the XML.


-- 
Neil Bothwick

We are phasing in a "paperless office," starting with the restrooms.


signature.asc
Description: PGP signature


Re: [gentoo-user] new genkernel problem

2020-06-06 Thread Neil Bothwick
On Sat, 6 Jun 2020 10:13:56 -0500, Dale wrote:

> >> If you do copy yours manually to /boot, what command do you use for
> >> dracut?  Maybe I'm doing it a hard way or something and you have a
> >> easier method.   
> > cd /usr/src/linux
> > make all modules_install install
> > dracut --kver=$(cat include/config/kernel.release)
> >
> > It doesn't get much easier ;-)


> From what I've read, I like my way better.  I did have to change the
> names from bzimage* to kernel* but other than that, I can use the naming
> method I've used for years and keep the good kernels I want.

make install names the kernels vmlinuz-$VERSION, and updates a symlink to
vmlinuz if one exists.

> On
> occasion I remove outdated ones I no longer plan to use.  I still wish I
> didn't need the init thingy but still.

make install doesn't remove anything, that's your job!
 
> My biggest problem, getting the dracut command options right.  If I
> didn't need dracut, I'd be in heaven. 

If you have a plain setup, dracut shouldn't need any options.


-- 
Neil Bothwick

Two rights don't make a wrong, they make an airplane.


pgp1ktoNlVbSk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What gives with all these file collisions?

2017-06-01 Thread Willie M
On Fri, 2 Jun 2017 02:23:44 -0400
Alan Grimes  wrote:

> I'm trying to emptytree my system because GCC update because I need to
> reboot because Nvidia-drivers segfaulted and broke a 2-month endurance
> run on my new mobo of my number theory code, set to use 15
> hyperthreads and 25gb of ram...
> 
> 
> I'm getting lots of package failures due to file collisions and it's
> really starting to get annoying, I mean how am I supposed to fix:
> 
> without spending all day and all night cut-pasting filenames into
> another terminal and running rm on them...
> 
> 
> * Messages for package kde-apps/k3b-17.04.1:
> 
>  * This package will overwrite one or more files that may belong to
> other
>  * packages (see list below). You can use a command such as `portageq
>  * owners / ` to identify the installed package that owns a
>  * file. If portageq reports that only one package owns a file then do
>  * NOT file a bug report. A bug report is only useful if it
> identifies at
>  * least two or more packages that are known to install the same
> file(s).
>  * If a collision occurs and you can not explain where the file came
> from
>  * then you should simply ignore the collision since there is not
> enough
>  * information to determine if a real problem exists. Please do NOT
> file
>  * a bug report at https://bugs.gentoo.org/ unless you report exactly
>  * which two packages install the same file(s). See
>  * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on
> how
>  * to solve the problem. And once again, please do NOT file a bug
> report
>  * unless you have completely understood the above message.
>  *
>  * Detected file collision(s):
>  *
>  *  /usr/share/doc/HTML/en/k3b/K3bAdvancedSettings.png
>  *  /usr/share/doc/HTML/en/k3b/K3bDiskChoice.png
>  *  /usr/share/doc/HTML/en/k3b/K3bMoreActions.png
>  *  /usr/share/doc/HTML/en/k3b/index.cache.bz2
>  *  /usr/share/doc/HTML/en/k3b/K3bSetVerify.png
>  *  /usr/share/doc/HTML/en/k3b/K3bAddButton.png
>  *  /usr/share/doc/HTML/en/k3b/K3bsetup.png
>  *  /usr/share/icons/hicolor/48x48/apps/k3b.png
>  *  /usr/share/icons/hicolor/scalable/apps/k3b.svgz
>  *  /usr/share/icons/hicolor/128x128/apps/k3b.png
>  *  /usr/share/icons/hicolor/64x64/apps/k3b.png
>  *  /usr/share/icons/hicolor/16x16/apps/k3b.png
>  *  /usr/share/icons/hicolor/22x22/apps/k3b.png
>  *  /usr/share/icons/hicolor/32x32/apps/k3b.png
>  *  /usr/share/mime/packages/x-k3b.xml
>  *  /usr/include/k3bmd5job.h
>  *  /usr/include/k3baudiojob.h
>  *  /usr/include/k3bmixeddoc.h
>  *  /usr/include/k3bdevicecombobox.h
>  *  /usr/include/k3bthreadjob.h
>  *  /usr/include/k3baudiodecoder.h
>  *  /usr/include/k3bdevicehandler.h
>  *  /usr/include/k3bactivepipe.h
>  *  /usr/include/k3baudiozerodata.h
>  *  /usr/include/k3bvcdoptions.h
>  *      /usr/include/k3bblankingjob.h
>  *  /usr/include/k3bintmapcombobox.h
>  *  /usr/include/k3bvideodvdvideostream.h
>  *  /usr/include/k3bfileitem.h
>  *  /usr/include/k3baudiodoc.h
>  *  /usr/include/k3baudiocdtrackdrag.h
>  *  /usr/include/k3baudiocdtracksource.h
>  *  /usr/include/k3b_export.h
>  *  /usr/include/k3bdevice.h
>  *  /usr/include/k3bplugin.h
>  *  /usr/include/k3bthroughputestimator.h
>  *      /usr/include/k3bfilesplitter.h
>  *  /usr/include/k3bmedium.h
>  *  /usr/include/k3bdevicetypes.h
>  *  /usr/include/k3bversion.h
>  *  /usr/include/k3bwavefilewriter.h
>  *  /usr/include/k3bglobalsettings.h
>  *  /usr/include/k3bdatadoc.h
>  *  /usr/include/k3bvideodvdaudiostream.h
>  *  /usr/include/k3binffilewriter.h
>  *  /usr/include/k3bvcdjob.h
>  *  /usr/include/k3bpluginconfigwidget.h
>  *  /usr/include/k3bdvdformattingjob.h
>  *  /usr/include/k3bdatajob.h
>  *  /usr/include/k3bcdrecordwriter.h
>  *  /usr/include/k3bfilesysteminfo.h
>  *  /usr/include/k3bprocess.h
>  *  /usr/include/k3bmetawriter.h
>  *  /usr/include/k3biso9660.h
>  *  /usr/include/k3bdiskinfo.h
>  *  /usr/include/k3btocfilewriter.h
>  *  /usr/include/k3bbusywidget.h
>  *  /usr/include/k3bcore.h
>  *  /usr/include/k3bverificationjob.h
>  *  /usr/include/k3brawaudiodatasource.h
>  *  /usr/include/k3bjobhandler.h
>  *  /usr/include/k3bmovixdoc.h
>  *  /usr/include/k3bvideodvdptt.h
>  *  /usr/include/k3bdeviceselectiondialog.h
>  *  /usr/include/k3bchecksumpipe.h
>  *  /usr/include/k3bmsfedit.h
>  *  /usr/include/k3baudiodatasourceiterator.h
>  *  /usr/include/k3bmovixjob.h
>  * 

Re: [gentoo-user] Please confirm my understanding

2005-08-06 Thread Bob Sanders
On Fri, 05 Aug 2005 21:41:15 -0400
"C.Beamer" <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Now for the question.  I need confirmation of my understanding.  In
> the make.conf file when setting up the USE flags, I include anything
> that I want to have compiled into the programs that I install,
> correct?  If I don't want an option to be compiled in all programs, I
> prefix that with a - sign.  If I want an option for a specific
> package, I use the package.use file.
> 

As Willie and Mark stated, I'll add a - sort of.

> So, if I don't want to compile gnome, then I use -gnome as one of the
> keywords.  I don't use gnome, never have, never will, but there are
> gnome applications that I like - gnumeric to name one, plus there are
> a few gnome games.  So, is it my best bet to include -gnome as a
> keyword in my make.conf USE statement and the add it in the
> package.use file for those applications that need it?
> 

I'm pretty much with you on using gnumeric and not gnome.  Same with 
kworldclock but not kde.  And I started out using - -gnome and -kde.  But
have just stopped the practice.  I just use -* at the beginning of my USE
flags and select all the things I do want.

The problem with -* is it makes everything minimal so you have to spend a
lot of time adding in the things you want.  To me that's preferable to getting
a lot of what I don't want tagging along.  Also, it insure that PAM stays off
my system.

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



Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-02 Thread Michael
On Monday, 2 March 2020 23:07:03 GMT Dale wrote:
> Howdy,
> 
> I don't use LOo a whole lot but several months ago, I noticed a
> problem.  Sometimes I go to a electronic type website that has info on
> circuits and how something works.  Those pages usually contain text,
> pics and such.  I highlight what contains the info I want, which may
> include some things I don't, then copy it to my clipboard.  I then go to
> LOo and paste it as HTML since that's what it is.  Once pasted, I remove
> things I don't want, such as social media icons and other unwanted
> things.  I also make some images larger, make text larger and such as
> well.  When I get it right, I print it as a pdf file or save it as a LOo
> document.  That's how I did it in the past.  When I would paste the
> contents, it would include images and all and would be done in seconds,
> well under a minute for sure. 
> 
> When I paste the content now, it doesn't include pics.  The boxes is
> there and text for the link to the image but no image.  It also locks
> LOo up for minutes.  If I try to scroll up or down, it locks up again. 
> Even with all that, it never loads the images.  I end up killing the
> process.  I think this started when the 6.3.* versions came out.  I
> would normally go back to a older version but those are no longer in the
> tree. I'm wondering if a USE flag could make it work again.  I used euse
> -i to see what each flag does but I'm not seeing anything that would
> change it.  What I think the problem could be, LOo can't reach the
> network anymore.  In the past when I pasted content, I could see
> activity on the network.  I think LOo was fetching the pics and maybe
> even some other info as well.  Thing is, I don't see why it can't now. 
> Again, USE flag maybe???
> 
> Here is the info for libreoffice.
> 
> 
> root@fireball / # emerge -av libreoffice
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ~] app-office/libreoffice-6.3.5.2::gentoo  USE="cups dbus
> gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
> -coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
> -postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
> -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
> -python3_7 -python3_8" 233,805 KiB
> 
> Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB
> 
> Would you like to merge these packages? [Yes/No] n
> 
> Quitting.
> 
> root@fireball / # equery list -po libreoffice
>  * Searching for libreoffice ...
> [-P-] [  ] app-office/libreoffice-6.3.4.2-r1:0
> [IP-] [  ] app-office/libreoffice-6.3.5.2:0
> [-P-] [ -] app-office/libreoffice-6.3.:0
> [-P-] [ -] app-office/libreoffice-:0
> root@fireball / #
> 
> 
> Anyone have a clue how to fix this? 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

I haven't looked into how LO works, but it may have something to do with the 
tonne of JavaScript HTML pages contain these days and how this is processed/
filtered.  When I try it here it works for small amounts of text/pics, but 
unlike your LO, I do not have java installed as a dependency.

An alternative you could try is to save the page as HTML - File/Save Page As.  
Then select one of the options to save it as below, which when you open with 
LO does not take long to process.  If you select 'HTML page complete' it will 
save all JS and images in a separate folder, which you could delete 
thereafter, or repurpose as you see fit.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] ooffice 2.0 and kde

2005-06-17 Thread Richard Fish
Massimiliano Bellomo wrote:

> I mean the rendering of the KDE native widget, icons, file dialog
> (open, save as, ...); in 2 words the use of the kde "look & feel".
> I've red somewhere that OO 2.0 will have this feature, but my beta
> release looks always like a java application.


I did some more digging, and it seems you are correct in thinking that
OOo should have this feature.  But it doesn't seem to be enabled in the
binary beta builds.

I did an strace of the OOo startup under KDE, and it looks for but
doesn't find a library named "libvclplug_kde608li.so".  Since it doesn't
find that, it drops to "libvclplug_gen680li.so", which is what results
in the generic 'java' look.

The closest I got to the KDE L&F is by installing the Geramik theme
(x11-themes/gtk-engines-geramik), since I use Keramik in KDE, and
updating my ~/.gtkrc-2.0 file to include that.  I also had to start OOo
with "OOO_FORCE_DESKTOP=gnome oowriter".

If you don't like the look of Keramik/Geramik, you can probably find
another GTK theme that you do like.  Hopefully, a future build of the
beta and/or the final release will include the KDE plugin.

Cheers,

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.

2009-11-17 Thread Alan McKinnon
On Wednesday 18 November 2009 07:49:40 Dale wrote:
> Albert Hopkins wrote:
> > On Tue, 2009-11-17 at 17:41 -0600, Dale wrote:
> >> Should I be turning some of those off as they are not needed?  This
> >> is
> >> my oldest install so I bet some are not even needed or can be done
> >> away
> >> with.  I most likely had a good reason for turning them on way back
> >> when
> >> but may not have a good reason now.
> >>
> >> Dale
> >
> > I think you go down the wrong path when you ask someone else what USE
> > flags *you* need.  We don't know you and your requirements/preferences
> > enough to know what is needed for you.  It's like going up to a random
> > person and asking them if you should have your kitchen repainted and if
> > so what color.  That rarely happens but for kitchens but confusingly
> > enough it's frequent for USE flags.
> >
> > Also, "emerge --info |grep USE" isn't very USEful (IMO) because it only
> > shows what USE flags you have turned on, not the ones you have turned
> > off.
> 
> I was thinking that someone may see some USE flags that are no longer
> needed in most cases.  Some may not even be still in use as far as
> portage is concerned.  In other words, portage doesn't even recognize
> them as a option.  Basically, I do some picture stuff, surf with
> Seamonkey, Firefox and sometimes Konqueror, sometimes get on chat with
> Kopete, play Solitaire, watch a video on youtube sometimes.  Oh, I print
> stuff with my HP printer and download pics from my Canon camera.
> 
> I never noticed that emerge --info doesn't show the USE flags I
> removed.  That is sort of weird.  I was thinking that it showed the USE
> flags with not only the profile but what I have set in make.conf which
> would include the ones turned on and turned off.   Neat info.

eix comes with some useful utilities like eix-test-obsolete which scans all 
your portage files and tells you which settings are redundant, duplicated and 
so on.

It takes a while to parse all of it, but a useful exercise nonetheless


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] genkernel 2 manual

2012-10-23 Thread Gregory Shearman
In linux.gentoo.user, you wrote:
>
> I've been using Gentoo for quite a long time, and today I decided to try
> compiling the kernel myself, Thing I've never done before. I want a smaller
> kernel, a faster boot (without initramfs) and, of course, some fun :).

Good for you. I've rolled my own kernels for around 15 years, but I
still use genkernel to build me an initramfs. I require the initramfs
because:

a) I've got my root filesystem on an LVM partition.

b) I've got my /usr directory on a separate partition. This is not a
problem, yet, but the udev update is coming!

c) I like a fancy boot splash screen during early boot.

I'm not that fond of using genkernel to build my initramfs, but it
works. I'll probably switch to dracut when it becomes more stable.

> I'm still reading the oficial documentation, but I don't think it will be
> enough, so, if anyone of you know some documentation more detailed, I'd
> appreciate reading it.

What do you mean by "official documentation"? Do you include the
information in the Documentation directory in your latest kernel?

Have you tried:

$make menuconfig

This gives you a good interface for configuring your kernel. If you hit
"/" you'll get a search function and there are "help" options for just
about every feature you want to include in your new kernel.

> I've just ran 'make xconfig', and I noticed that the configuration is the
> same from genkernel (genkernel --menuconfig). Is it good? Should I get an
> original .conf, with less garbage, or this is just the 'normal default'
> instead of 'genkernel default' as I'm guessing?

I usually start from scratch with a new machine, but in your case you
should be able to use your old genkernel .config file and then pare it
down to what you require ie what works.

> Is there any tool that can scan my pc and help me out with the .conf or
> even generate one? I guess not. There are lots of options that I have no
> idea what they are for. I think this will be the fun part, but I think I
> can't get a running kernel before I optimize it, so I can do it gradually.

I have had reasonable success with "lshw" (sys-apps/lshw). It generates
a list of the hardware on your machine. Unfortanately it won't produce a
.config file for you.

One option that makes subsequent kernels easier to produce is:

CONFIG_IKCONFIG

Kernel .config support

This feature provides copy of your current Kernel's .config file at
/proc/config.gz which you can then extract and use on your new kernel by
doing:

$ zcat /proc/config.gz > /.config
$ cd 
$ make oldconfig

> Just for curiosity, what is the size of your kernel? Mine is 3.4 MB.

3.7MB

Yep.. it's bigger than your genkernel generated kernel... 8-)

Remember, the first kernel you produce on your own will take a bit of
effort, but subsequent kernels are easy.

-- 
Regards,
Gregory.



Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)

2015-12-22 Thread Mick
On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote:
> On Tue, Dec 22, 2015 at 9:39 PM, Mick  wrote:
> > On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
> > > On Sun, Dec 20, 2015 at 9:04 PM, Mick  wrote:
> > > > This is not working for me on a Kaveri system.
> > > > 
> > > > The wiki page suggests these firmware blobs:
> > > > 
> > > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
> > > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
> > > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
> > > > radeon/kaveri_vce.bin
> > > > 
> > > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available
> > 
> > when
> > 
> > > > I use sys-kernel/linux-firmware:
> > > > 
> > > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
> > > > /lib/firmware/radeon/kaveri_sdma.bin
> > > > /lib/firmware/radeon/KAVERI_sdma.bin
> > > > 
> > > > 
> > > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
> > > > either:
> > > > 
> > > > find /lib/firmware/amdgpu/ -iname *sdma*
> > > > /lib/firmware/amdgpu/carrizo_sdma.bin
> > > > /lib/firmware/amdgpu/carrizo_sdma1.bin
> > > > /lib/firmware/amdgpu/fiji_sdma.bin
> > > > /lib/firmware/amdgpu/fiji_sdma1.bin
> > > > /lib/firmware/amdgpu/tonga_sdma.bin
> > > > /lib/firmware/amdgpu/tonga_sdma1.bin
> > > > /lib/firmware/amdgpu/topaz_sdma.bin
> > > > /lib/firmware/amdgpu/topaz_sdma1.bin
> > > > 
> > > > 
> > > > Building the recommended blobs fails like so:
> > > > 
> > > > # make && make modules_install && make firmware_install
> > > > 
> > > >   CHK include/config/kernel.release
> > > >   CHK include/generated/uapi/linux/version.h
> > > >   CHK include/generated/utsrelease.h
> > > >   CHK include/generated/bounds.h
> > > >   CHK include/generated/asm-offsets.h
> > > >   CALLscripts/checksyscalls.sh
> > > >   CHK include/generated/compile.h
> > > > 
> > > > kernel/Makefile:135: *** No X.509 certificates found ***
> > > > make[1]: *** No rule to make target
> > > > '/lib/firmware//radeon/kaveri_sdma1.bin',
> > > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'.  Stop.
> > > > Makefile:947: recipe for target 'firmware' failed
> > > > make: *** [firmware] Error 2
> > > 
> > > That's interesting. 'kaveri_sdma1.bin' is found in the
> > > 'sys-firmware/amdgpu-ucode' package. See below.
> > > % pwd
> > > radeon_ucode/kaveri
> > 
> > I don't seem to have such a directory, or the files therein.  Where am I
> > supposed to look?
> > 
> > This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC:
> > >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo
> >  
> >  * checking 44 files for package collisions
> >  
> > >>> Merging sys-firmware/amdgpu-ucode-20150803 to /
> > 
> > --- /lib/
> > --- /lib/firmware/
> > --- /lib/firmware/amdgpu/
> > 
> > >>> /lib/firmware/amdgpu/carrizo_ce.bin
> > >>> /lib/firmware/amdgpu/carrizo_me.bin
> > >>> /lib/firmware/amdgpu/carrizo_mec.bin
> > >>> /lib/firmware/amdgpu/carrizo_mec2.bin
> > >>> /lib/firmware/amdgpu/carrizo_pfp.bin
> > >>> /lib/firmware/amdgpu/carrizo_rlc.bin
> > >>> /lib/firmware/amdgpu/carrizo_sdma.bin
> > >>> /lib/firmware/amdgpu/carrizo_sdma1.bin
> > >>> /lib/firmware/amdgpu/carrizo_uvd.bin
> > >>> /lib/firmware/amdgpu/carrizo_vce.bin
> > >>> /lib/firmware/amdgpu/fiji_ce.bin
> > >>> /lib/firmware/amdgpu/fiji_mc.bin
> > >>> /lib/firmware/amdgpu/fiji_me.bin
> > >>> /lib/firmware/amdgpu/fiji_mec.bin
> > >>> /lib/firmware/amdgpu/fiji_mec2.bin
> > >>> /lib/firmware/amdgpu/fiji_pfp.bin
> > >>> /lib/firmware/amdgpu/fiji_rlc.bin
> > >>> /lib/firmware/amdgpu/fiji_sdma.bin
> > >>> /lib/firmware/amdgpu/fiji_sdma1.bin
> > >>> /lib/firmware/amdgpu/fiji_smc.bin
> > >>> /lib/firmware/amdgpu/fiji_uvd.bin
> > >>> /lib/firmware/amdgpu/fi

  1   2   3   4   5   6   7   8   9   10   >