[gentoo-user] OT: extract an image from a .doc file?
Hi all, A .doc file contains an image. Is there any way to extract the image file in its original format, please? This may seem like a bit of an odd request, so I'll explain. The .doc file is quite large, and it seems like the image it contains must be to blame. I would like to extract the original file of the image and examine it. I have tried in OpenOffice on Windows and Word for Mac. In OpenOffice I can't see any way to save the image file, in Word for Mac I can drag the file to the desktop but it becomes a Picture clipping.pictClipping and is clearly not the original format. I tried running `photorec` on the .doc file, but that just finds the .doc file itself. I thought to use dd to zero over the first few bytes of the .doc - maybe this would make the .doc unrecognisable to photorec, and then photorec would maybe find the image file inside the corrupt document, but I haven't tried that yet. I'm not sure if it'd work, and so I thought I'd ask here to see if anyone knew of an easy way to do this first. TIA for any suggestions, Stroller.
Re: [gentoo-user] Re: xorg-server-1.6.5-r1 'Couldn't load XKB keymap, falling back to pre-XKB keymap'
2009/12/13 walt w41...@gmail.com: On 12/12/2009 04:20 PM, Mick wrote: ... I tried the startx trick. I recall that this would launch my WM (fluxbox), but now all I get is an X session with twm! Has something changed with /etc/rc.conf? Where should I specify fluxbox? That twm session is the default (see end of /etc/X11/xinit/xinitrc) if you don't specify what you really want. The xdm display manager checks in ~/.xsession for the stuff you want to run (i.e. fluxbox), but startx uses the file ~/.xinitrc for the same purpose. You could probably just copy .xsession to .xinitrc for starters. OK, but I never had set up ~/.xsession or ~/.xinitrc files. This is a single user machine. As far as I can recall I had only set up in /etc/rc.conf the parameter XSESSION=fluxbox, which looked in /etc/X11/Sessions/ and ran the fluxbox configuration file that I had in there. Looking at /etc/conf.d/xdm I see this: = # What display manager do you use ? [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ] # NOTE: If this is set in /etc/rc.conf, that setting will override this one. = In that file I have specified DISPLAYMANAGER=xdm. Again as far as I recall this is how I had set things up, so I am not sure what has changed recently. Setting a ~/.xinitrc file with 'exec startfluxbox' in it starts fluxbox nicely if I run startx from the console - but this is not the same session that I would get which would also include xconsole. I found these messages now, but no significant errors: = Setting CPU scaling governor performance for CPU 1... could not open file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor for writing! failed setting 'performance' CPUfreq governor! Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.slit.acceptKdeDockapps Setting default value = So, what would be the way to start xdm and have xdm starting fluxbox? -- Regards, Mick
Re: [gentoo-user] OT: extract an image from a .doc file?
On Sunday 13 December 2009 08:46:05 Stroller wrote: Hi all, A .doc file contains an image. Is there any way to extract the image file in its original format, please? This may seem like a bit of an odd request, so I'll explain. The .doc file is quite large, and it seems like the image it contains must be to blame. I would like to extract the original file of the image and examine it. I have tried in OpenOffice on Windows and Word for Mac. In OpenOffice I can't see any way to save the image file, I don't know about MSWindows, but in OOo-bin in Linux I can right-click on the image and select 'Save graphics' when the image is jpeg/png/etc. Not sure if this works with MS embedded images/files from e.g. Powerpoint. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] What magic does portage use?
Alan McKinnon wrote: On Saturday 12 December 2009 21:42:13 Dale wrote: And some would also argue that cycling power on and off is actually bad for the rig as well. Keeping things at a constant temp is better than fluctuating temps. The old expanding and contracting of material argument. Sort of strange that computers that run a lot last a lng time. This is perfectly true and a well-proven fact. Thermal recycling is not good for electronics. It is good for your electricity bill though Tektronix did some proper lab tests many many years ago on their top-of-the- line oscilloscopes. They found that the calibration interval could be tripled if the rig was never switched off (just turn down the brightness overnight) I know I have read that several times but I didn't know someone actually tested the thing. I know my BBQ grill would be better off if I could run it all the time. You have to understand, I had this little table top grill that was stainless steel. I have had that thing for ages and I loved it. I could cook some mean steaks and burgers on it. Anyway, it didn't rust through but it just flaked off on the bottom. It is the heating and cooling cycles that does this. I had the same thing happen to a old wood burning heater we had ages ago. It just got old and the metal was thin even tho it wasn't rusted or anything. It sure was lighter going out of the house than it was coming in. It took six to get it in but only two to take it out. Isn't there metal in CPUs, memory chips and stuff? I know there is silicone but I assume there is metal like copper or something in there too. They can't like heat cycles either. They are so small nowadays. Dale :-) :-)
Re: [gentoo-user] OT: extract an image from a .doc file?
On 13 Dec 2009, at 10:50, Mick wrote: On Sunday 13 December 2009 08:46:05 Stroller wrote: A .doc file contains an image. Is there any way to extract the image file in its original format, please? I have tried in OpenOffice on Windows and Word for Mac. In OpenOffice I can't see any way to save the image file, I don't know about MSWindows, but in OOo-bin in Linux I can right-click on the image and select 'Save graphics' when the image is jpeg/png/etc. Not sure if this works with MS embedded images/files from e.g. Powerpoint. This is strange. I get the same thing in Open Office (on Windows) if I create a new .doc and add a jpeg to it. Right-clicking on the image gives me a menu of: Arrange, Alignment, Anchor, Wrap, (separator), Picture..., Save Graphics..., Caption..., ImageMap, (separator), Cut, Copy, Paste. If I open the file(s) I have the interest in, the first 4 entries in the context-menu are the same, but after the first separator I get instead Object (which did not appear previously) and Caption. There is then another separator and instead of Cut, Copy, Paste, I see only Cut Copy. This file was created by the software that a lettings agency uses to manage their properties. It runs on Windows and automatically generates letters (for overdue rent, inspections c) in .doc format. One image in question is the boss' signature, so the letters appear like he actually signed them, but I think they also use company logos in other letters. Apart from that, I don't see why this image is treated differently by OpenOffice. Isn't there a program (command line?) for converting .doc into HTML? Maybe that would extract the image. The reason I'd like to see this is because some of the .doc files are 2 meg in size (some others exactly 1meg, so cluster size may affect this) and there are thousands of them taking up space on the server. If the image is to blame then we would benefit many times from the size saving. I haven't yet spoken to the site about this, only discovering it yesterday, so I don't know if I can find the file by accessing the property management software. Cheers, Stroller.
Re: [gentoo-user] What magic does portage use?
On Sonntag 13 Dezember 2009, Alan McKinnon wrote: On Saturday 12 December 2009 21:42:13 Dale wrote: And some would also argue that cycling power on and off is actually bad for the rig as well. Keeping things at a constant temp is better than fluctuating temps. The old expanding and contracting of material argument. Sort of strange that computers that run a lot last a lng time. This is perfectly true and a well-proven fact. Thermal recycling is not good for electronics. It is good for your electricity bill though no, it is a myth. Fanbearing are pretty sensitive. Harddisk bearings are not made for 24/7 anymore. Caps age under load. Even a small increase in heat halfs the expected halftime. Let your rig run all the time and you increase the risk of hardware failure a lot. Tektronix did some proper lab tests many many years ago on their top-of-the- line oscilloscopes. They found that the calibration interval could be tripled if the rig was never switched off (just turn down the brightness overnight) and how does sensitve measuring equipment compare to not-very-sensitive-but- fast-aging-and-consisting-of-cheap-crap-computers?
Re: [gentoo-user] emerge is loosing memory?
On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var.
Re: [gentoo-user] OT: extract an image from a .doc file?
On Sunday 13 December 2009 12:12:46 Stroller wrote: On 13 Dec 2009, at 10:50, Mick wrote: On Sunday 13 December 2009 08:46:05 Stroller wrote: If I open the file(s) I have the interest in, the first 4 entries in the context-menu are the same, but after the first separator I get instead Object (which did not appear previously) and Caption. There is then another separator and instead of Cut, Copy, Paste, I see only Cut Copy. This indicates that the graphic in question is an embedded MSWindows file. If you were able to double click on it in MSWIndows it would read its metadata and launch the respective MSWindows application for editing it; e.g. MSPaint, PPt, Excel and what not. With OOo this API linkage is not there I guess, so all you can do cut/copy it. This file was created by the software that a lettings agency uses to manage their properties. It runs on Windows and automatically generates letters (for overdue rent, inspections c) in .doc format. One image in question is the boss' signature, so the letters appear like he actually signed them, but I think they also use company logos in other letters. I guess that whoever created this image they did not save it as 'conventional' image, e.g. jpeg, png, etc, and therefore OOo cannot deal with it as it would with a normal image. Apart from that, I don't see why this image is treated differently by OpenOffice. Because it is not an 'image' but an embedded MSWindows file in the MSWord document with loads of its own proprietary metadata. Isn't there a program (command line?) for converting .doc into HTML? Maybe that would extract the image. I think that MSWord has either a SaveAs or an export function which will convert the file into HTML. Also OOo has File/Preview as HTML, which will convert the document into html and open it in a browser - if the graphics look correct then you could save it from with the browser. The reason I'd like to see this is because some of the .doc files are 2 meg in size (some others exactly 1meg, so cluster size may affect this) and there are thousands of them taking up space on the server. If the image is to blame then we would benefit many times from the size saving. I haven't yet spoken to the site about this, only discovering it yesterday, so I don't know if I can find the file by accessing the property management software. Have you looked at what size you get with pdf'ing them? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge is loosing memory?
On Sunday 13 December 2009 12:36:35 Volker Armin Hemmann wrote: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. and also check that you have not run out of disk space. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge is loosing memory?
Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ?
Re: [gentoo-user] KDE apps, with minimal KDE install
On Sunday 22 November 2009 20:29:02 Alan McKinnon wrote: On Sunday 22 November 2009 20:37:19 Mick wrote: On Sunday 22 November 2009 17:28:24 Alan McKinnon wrote: On Sunday 22 November 2009 10:33:41 Mick wrote: I have been trying to get rid of akonadi in vane and have run out of flags to take out. You can't get rid of akonadi, at least not the server. It's a hard dependency of kdepimlibs. Currently, you can switch it off, but you can't avoid having it. I don't mean to hijack the OP's thread, but why would it be that although I have switched the darned thing off, it still keeps popping up every time I start kmail? Because you have akonadi backends configured in your KDE resources. Start systemsettings, it's on the advanced tab, delete the akonadi ones are replace them with native resources that go direct to the same files. At long last!!! I think I fixed this bloody nuisance! :-D As I mentioned sometime ago I have replaced all resources with native files stored in my ~/.kde4/share/apps, so this wasn't the problem. This is the solution I came up with: I edited my ~/.config/akonadi/akonadiserverrc and added QSQLITE for the driver's name under [%General]. This field was empty. Until that moment the akonadiserverrc file only had a [QMYSQL] section - no other databases/drivers were present. Restarting Kmail after the above change launched akonadi with its slow progress bar as always, but this time the KDE migrator managed to successfully register my native resource files for contacts, alarms, notes, etc. Checking the akonadiserverrc file I found a new section for [QSQLITE] below the original [QMYSQL]: === [%General] Driver=QSQLITE SizeThreshold=4096 ExternalPayload=false [QMYSQL] StartServer=false ServerPath=/usr/bin/sqlite3 Name=akonadi Host= User= Password= Options= [QSQLITE] Name=/home/michael/.local/share/akonadi/akonadi.db User= Password= Options= StartServer=false [Debug] Tracer=null === I haven't rebooted yet, but restarting kmail gives no more problems with akonadi. Either akonadi does not run, or if it does it causes no more delays. I assume that the delays were occurring because akonadi was trying to migrate old resource data, but would not it seems be prepared to accept the sqlite driver. Some gentle persuasion with the akonadiserverrc sqlite driver was all that was needed. ;-) I hope this helps others who like me do not need/want mysql just to run a few KDE applications. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge is loosing memory?
On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ? how long are you using linux?
Re: [gentoo-user] emerge is loosing memory?
Mick michaelkintz...@gmail.com [09-12-13 15:04]: On Sunday 13 December 2009 12:36:35 Volker Armin Hemmann wrote: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. and also check that you have not run out of disk space. -- Regards, Mick ...was my first idea...no nothing ... plenty of space... -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] emerge is loosing memory?
Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 14:28]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ? how long are you using linux? 15 years ... but what does this matter? -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
[gentoo-user] libsamplerate fails to compile
Hi, currently there are problems to compile libsamplerate. Log /var/log/portage/media-libs:libsamplerate-0.1.4:20091213-133105.log is: [ ok ] * Running eautoreconf in '/home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/work/libsamplerate-0.1.4' ... * Running aclocal ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/temp/aclocal.out * * ERROR: media-libs/libsamplerate-0.1.4 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2731: Called eautoreconf * environment, line 863: Called eaclocal * environment, line 802: Called autotools_run_tool 'aclocal' * environment, line 358: Called die * The specific snippet of code: * die Failed Running $1 !; * The die message: * Failed Running aclocal ! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-libs:libsamplerate-0.1.4:20091213-133105.log'. * The ebuild environment file is located at '/home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/temp/environment'. In other cases aclocal works fine... Best regards. mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] emerge is loosing memory?
On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 14:28]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ? how long are you using linux? 15 years ... but what does this matter? then you should know where /var is. or /usr/portage. fsck /var, fsck the partition containing /usr/portage
Re: [gentoo-user] emerge is loosing memory?
Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 15:24]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 14:28]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ? how long are you using linux? 15 years ... but what does this matter? then you should know where /var is. or /usr/portage. fsck /var, fsck the partition containing /usr/portage ...and you read posting more carefully: I wrote part not part. ... -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] libsamplerate fails to compile
On 12/13/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote: * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/temp/aclocal.out What does that file contain? -- Arttu V.
Re: [gentoo-user] OT: extract an image from a .doc file?
On Sun, Dec 13, 2009 at 08:46:05AM +, Stroller wrote: A .doc file contains an image. Is there any way to extract the image file in its original format, please? My limited experience with OpenOffice is that in slideshows, right click on an image brings up a context menu with a save image option. I do not know if this applies to .doc files. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / fe...@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] OT: extract an image from a .doc file?
Am 13.12.2009 09:46, schrieb Stroller: Hi all, A .doc file contains an image. Is there any way to extract the image file in its original format, please? Open the doc file with OpenOffice, save it as a odt file. The odt is a renamed zip archive that should contain the image in on of its subfolders. Greetings Sebastian
Re: [gentoo-user] Trouble with weather plasmoids
Robin Atwood wrote: Since the massive Qt 4.6.0/KDE 4.3.4 update I have noticed that the search widget for the various weather plasmoids always returns Cannot find 'London' or whatever. This is on two systems; anyone else notice this? Just tried it here, and had the same results as you wrote.
Re: [gentoo-user] libsamplerate fails to compile
Arttu V. arttu...@gmail.com [09-12-13 17:08]: On 12/13/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote: * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/temp/aclocal.out What does that file contain? -- Arttu V. Contents: * aclocal * * PWD: /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/work/libsamplerate-0.1.4 * aclocal aclocal: couldn't open directory `/usr/share/aclocal-1.7': No such file or directory Question is: Why does libsamplerate needs that and others (more exactly no others) dont? The directory does not exists, but /usr/share/sclocal and /usr/share/sclocal-1.10 does. -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] libsamplerate fails to compile
On Sunday 13 December 2009 18:46:38 meino.cra...@gmx.de wrote: Arttu V. arttu...@gmail.com [09-12-13 17:08]: On 12/13/09, meino.cra...@gmx.de meino.cra...@gmx.de wrote: * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/t emp/aclocal.out What does that file contain? Contents: * aclocal * * PWD: /home/mccramer/data/portagetmp/portage/media-libs/libsamplerate-0.1.4/work /libsamplerate-0.1.4 * aclocal aclocal: couldn't open directory `/usr/share/aclocal-1.7': No such file or directory Question is: Why does libsamplerate needs that and others (more exactly no others) dont? The directory does not exists, but /usr/share/sclocal and /usr/share/sclocal-1.10 does. My guess is that there's a missing DEPEND in the libsamplerate ebuild. My following guess is that the dev has automake:1.7 installed and hasn't seen the dependency. Do this: emerge -1 automake:1.7 emerge libsamplerate If it then succeeds, file a bug -- alan dot mckinnon at gmail dot com
[gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
Hi All, I got mixed up with the various .fdi files in a previous thread, thinking that this is what killed my X GUI. However, it seems that the problem is most likely related to rc.conf. Has this file been done away with as far as Gentoo is concerned? I say this because I discovered that running dispatch.conf after sys-apps/baselayout-1.12.13 substitutes /etc/rc.conf with an empty file. Mind you, even if the file contains the previous information about XSESSION xdm or slim do not seem to use it now. If this is the case, am I right to assume that the files in /etc/X11/Sessions/* are not used anymore and the solution is to set up a local ~/.xinitrc file for launching the desired WM? I am muddled up because I have forever it seems used /etc/rc.conf to manage the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different WMs. Right now I have copied the contents of /etc/X11/Sessions/fluxbox into ~/.xinitrc, added slim's /usr/share/doc/slim-1.3.1-r4/xinitrc.sample.bz2 and that's how I can get fluxbox to come up. What is the default Gentoo way these days of bringing up an X session? PS. Is there a clever way of killing slim? It seems that /etc/init.d/xdm stop/zap won't kill slim or the X session that it starts. I need to manually run kill -9 to make it give up. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] What magic does portage use?
=== On Sat, 12/12, Dale wrote: === Your mileage may vary tho. === I have an IBM hard disk (IBM DMVS09V) that has been running for 9 years non-stop. Device: IBM DMVS09V Version: 0100 Serial number: F801275875 SMART Health Status: OK Manufactured in week 01 of year 1999 Of course, at 9 Gigs it has become obsolete long before it fails. -- Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =
Re: [gentoo-user] Trouble with weather plasmoids
Am Sonntag 13 Dezember 2009 16:44:49 schrieb sean: Robin Atwood wrote: Since the massive Qt 4.6.0/KDE 4.3.4 update I have noticed that the search widget for the various weather plasmoids always returns Cannot find 'London' or whatever. This is on two systems; anyone else notice this? Just tried it here, and had the same results as you wrote. This has been fixed upstream, but it's not in portage yet. http://forum.kde.org/viewtopic.php?f=67t=84388sid=db3072b20e6b7a1afaa29f2fe7c44d3c
[gentoo-user] Building static libraries
Hi everyone! I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags, but only a tiny fraction of packages support them. Modifying every relevant ebuild is not really a viable solution since the list of packages is quite long and could change later. So what can I do if I'd like to avoid compiling every package manually? Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] emerge is loosing memory?
On Sun, Dec 13, 2009 at 9:30 AM, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 15:24]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 14:28]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [09-12-13 13:40]: On Sonntag 13 Dezember 2009, meino.cra...@gmx.de wrote: Hi, it seems, something has screwed up my system. The symptoms are: Updateing a certain package with emerge (which successfully compile and install that package) has no effect. Next time exactly the same package is reported again as to be updated. And qsearch reports that my metadatabase has gone with the wind and I have to do a 'w -m' as root, which helps for that moment, but next it is again not present. I think (read:dont know for sure) that the eix-sync emerge -pv --verbose --update --deep world has killed it. Unfortunately I am not that deeply involved in the internal data handling of the gentoo package manager to have an idea what is going wrong here. What can I do to fix this problem ? Kind regards and have a nice weekend! mcc fsck your partition containing /var. Hi, as soon I do the command sequence described above, qsearch fails with opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied search: initialize_flat(): You should run this command as root: q -m and an sudo ls /usr/portage/metadata/cache/.metadata.x fails with ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such file or directory There is no symlink to /var and subfolders as far as I can see... What part/file is on /var/... which gets corrupted in case of an filesystem damage ? how long are you using linux? 15 years ... but what does this matter? then you should know where /var is. or /usr/portage. fsck /var, fsck the partition containing /usr/portage ...and you read posting more carefully: I wrote part not part. ... -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. /var/db/pkg /var/lib/portage -- Poison [BLX] Joshua M. Murphy
[gentoo-user] Xorg-server fails to compile
../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\The X.Org Foundation\ -DVENDOR_RELEASE=(((1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=athlon64 -O2 -mtune=i686 -pipe -fomit-frame-pointer -msse3 -MT initatoms.lo -MD -MP -MF .deps/initatoms.Tpo -c -o initatoms.lo initatoms.c mv -f .deps/initatoms.Tpo .deps/initatoms.Plo ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1-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 -DVENDOR_NAME=\The X.Org Foundation\ -DVENDOR_RELEASE=(((1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=athlon64 -O2 -mtune=i686 -pipe -fomit-frame-pointer -msse3 -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c mv -f .deps/grabs.Tpo .deps/grabs.Plo ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1-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 -DVENDOR_NAME=\The X.Org Foundation\ -DVENDOR_RELEASE=(((1) * 1000) + ((6) * 10) + ((5) * 1000) + 0) -march=athlon64 -O2 -mtune=i686 -pipe -fomit-frame-pointer -msse3 -MT pixmap.lo -MD -MP -MF .deps/pixmap.Tpo -c -o pixmap.lo pixmap.c In file included from main.c:115: /usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion' /usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts' /usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable' /usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable' /usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel' /usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo' make[2]: *** [main.lo] Error 1 make[2]: *** Waiting for unfinished jobs mv -f .deps/events.Tpo .deps/events.Plo mv -f .deps/pixmap.Tpo .deps/pixmap.Plo make[2]: Leaving directory `/home/mccramer/data/portagetmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/mccramer/data/portagetmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix' make: *** [all-recursive] Error 1 [31;01m*[0m [31;01m*[0m ERROR: x11-base/xorg-server-1.6.5-r1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3543: Called x-modular_src_compile [31;01m*[0m environment, line 4505: Called x-modular_src_make [31;01m*[0m environment, line 4543: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die emake failed [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/log/portage/x11-base:xorg-server-1.6.5-r1:20091213-175511.log'. [31;01m*[0m The ebuild environment file is located at '/home/mccramer/data/portagetmp/portage/x11-base/xorg-server-1.6.5-r1/temp/environment'. [31;01m*[0m What can I do to fix this? Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
Mick wrote: Hi All, I got mixed up with the various .fdi files in a previous thread, thinking that this is what killed my X GUI. However, it seems that the problem is most likely related to rc.conf. Has this file been done away with as far as Gentoo is concerned? I say this because I discovered that running dispatch.conf after sys-apps/baselayout-1.12.13 substitutes /etc/rc.conf with an empty file. Mind you, even if the file contains the previous information about XSESSION xdm or slim do not seem to use it now. If this is the case, am I right to assume that the files in /etc/X11/Sessions/* are not used anymore and the solution is to set up a local ~/.xinitrc file for launching the desired WM? I am muddled up because I have forever it seems used /etc/rc.conf to manage the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different WMs. Right now I have copied the contents of /etc/X11/Sessions/fluxbox into ~/.xinitrc, added slim's /usr/share/doc/slim-1.3.1-r4/xinitrc.sample.bz2 and that's how I can get fluxbox to come up. What is the default Gentoo way these days of bringing up an X session? PS. Is there a clever way of killing slim? It seems that /etc/init.d/xdm stop/zap won't kill slim or the X session that it starts. I need to manually run kill -9 to make it give up. Well, I'm a KDE guy myself so this may just be completely wrong here. I put my X stuff in /etc/conf.d/xdm and it tells what I am using for my GUI. Again, I don't have Fluxbox and I understand it works differently so this may be as far off as Pluto. Dale :-) :-)
Re: [gentoo-user] What magic does portage use?
Keith Dart wrote: === On Sat, 12/12, Dale wrote: === Your mileage may vary tho. === I have an IBM hard disk (IBM DMVS09V) that has been running for 9 years non-stop. Device: IBM DMVS09V Version: 0100 Serial number: F801275875 SMART Health Status: OK Manufactured in week 01 of year 1999 Of course, at 9 Gigs it has become obsolete long before it fails. -- Keith Dart Honestly, I worry about lightening hitting my puter and dust build-up more than anything else. I do run pretty cool tho. Big fans and lots of heat sinks. Dale :-) :-)
Re: [gentoo-user] Building static libraries
On Sun, 2009-12-13 at 20:18 +0100, Renat Golubchyk wrote: Hi everyone! I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags, but only a tiny fraction of packages support them. Modifying every relevant ebuild is not really a viable solution since the list of packages is quite long and could change later. So what can I do if I'd like to avoid compiling every package manually? There is no easy answer to your question. I think because, with a lot of programs it just depends. Some packages already include static libraries (e.g. python and it doesn't make sense to compile the python package statically because it will break a great many things). Some programs just weren't designed to be static (e.g. imagemagick or apache). GTK+, i believe, can't be built statically as it uses dynload for themes, input methods, etc etc. Even most proprietary gtk-based software that I know of (e.g. Adobe Flash and VMWare) either are distributed with GTK+ linked dynamically or they provide their own GTK libs). You can apply -static to CFLAGS, but make sure you have a binpkg built first, as there is a chance you may break something. You can also try passing --enable-static to EXTRA_ECONF. That's probably safer than the former, but the same caveat applies. Most of the things where static is useful and safe already have a static flag though or provide static libs by default. I think the only exception I've encountered was e2fsprogs. For that I usually compile my own static executables. HTH, -a
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
On Sunday 13 December 2009 20:22:03 Dale wrote: Mick wrote: Hi All, I got mixed up with the various .fdi files in a previous thread, thinking that this is what killed my X GUI. However, it seems that the problem is most likely related to rc.conf. Has this file been done away with as far as Gentoo is concerned? I say this because I discovered that running dispatch.conf after sys-apps/baselayout-1.12.13 substitutes /etc/rc.conf with an empty file. Mind you, even if the file contains the previous information about XSESSION xdm or slim do not seem to use it now. If this is the case, am I right to assume that the files in /etc/X11/Sessions/* are not used anymore and the solution is to set up a local ~/.xinitrc file for launching the desired WM? I am muddled up because I have forever it seems used /etc/rc.conf to manage the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different WMs. Right now I have copied the contents of /etc/X11/Sessions/fluxbox into ~/.xinitrc, added slim's /usr/share/doc/slim-1.3.1-r4/xinitrc.sample.bz2 and that's how I can get fluxbox to come up. What is the default Gentoo way these days of bringing up an X session? PS. Is there a clever way of killing slim? It seems that /etc/init.d/xdm stop/zap won't kill slim or the X session that it starts. I need to manually run kill -9 to make it give up. Well, I'm a KDE guy myself so this may just be completely wrong here. I put my X stuff in /etc/conf.d/xdm and it tells what I am using for my GUI. Again, I don't have Fluxbox and I understand it works differently so this may be as far off as Pluto. Thanks Dale, The /etc/conf.d/xdm file, which arrived after the /etc/rc.conf days, is indeed used to set up the Display Manager, but not the Window Manager/Display Environment X session. The latter was being defined in rc.conf, but this I think is no longer the case - hence I am asking here. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
Hi, I ran across this issue last night. On Mon, Dec 14, 2009 at 02:30, Mick michaelkintz...@gmail.com wrote: If this is the case, am I right to assume that the files in /etc/X11/Sessions/* are not used anymore and the solution is to set up a local ~/.xinitrc file for launching the desired WM? The scripts in /etc/X11/Sessions/ can still be used. I am muddled up because I have forever it seems used /etc/rc.conf to manage the XSESSION which xdm would pick from /etc/X11/Sessions/* to start different WMs. At some point /etc/rc.conf was no longer being sourced. Instead, setting the XSESSION variable in /etc/env.d is the correct way to do it. From the pkg_postinst section of the x11-apps/xinit ebuild[1]: ewarn If you use startx to start X instead of a login manager like gdm/kdm, ewarn you can set the XSESSION variable to anything in /etc/X11/Sessions/ or ewarn any executable. When you run startx, it will run this as the login session. ewarn You can set this in a file in /etc/env.d/ for the entire system, ewarn or set it per-user in ~/.bash_profile (or similar for other shells). ewarn Here's an example of setting it for the whole system: ewarn echo XSESSION=\Gnome\ /etc/env.d/90xsession ewarn env-update source /etc/profile So, creating /etc/env.d/90xsession with the contents XSESSION=Gnome (I use Gnome) did the trick. Hope that helps, Mike [1] http://gentoo-portage.com/AJAX/Ebuild/100485/View
[gentoo-user] Re: Xorg-server fails to compile
On 12/13/2009 10:03 AM, meino.cra...@gmx.de wrote: Hi, emerge of xorg-server-1.6.5-r1 fails while in the build process. Logfile's contents is: /usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion' /usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts' /usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable' /usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable' /usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel' /usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo' That file (dpms.h) is installed by x11-proto/xextproto-7.0.5. Do you have that version? I would re-emerge that package even if it look correct.
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
Mick wrote: Thanks Dale, The /etc/conf.d/xdm file, which arrived after the /etc/rc.conf days, is indeed used to set up the Display Manager, but not the Window Manager/Display Environment X session. The latter was being defined in rc.conf, but this I think is no longer the case - hence I am asking here. I was thinking Fluxbox used a different method but thought it worth mentioning since looking wouldn't hurt. I see someone else posted something so maybe that will help. Dale :-) :-)
[gentoo-user] Re: What magic does portage use?
On Fri, 11 Dec 2009 12:57:30 -0600 Dale rdalek1...@gmail.com wrote: »Q« wrote: On Fri, 11 Dec 2009 08:38:02 -0600 Dale rdalek1...@gmail.com wrote: Actually, you can kill udev and restart it. Kill the process and then run /sbin/udevd --daemon and it will be started again. If you're restarting services yourself instead of switching runlevels to get them all at once, you can still use the initscripts. # /etc/init.d/udev restart That doesn't work in baselayout 1 tho. If I switch to single user, udevd is still running. The only way to stop it is to kill it. r...@smoker / # /etc/init.d/udev start * The udev init-script is written for baselayout-2! * Please do not use it with baselayout-1!. r...@smoker / # That looks like a bug. Heh, it would be nice if the initscripts worked with the current stable version of baselayout. -- »Q« Kleeneness is next to Gödelness.
Re: [gentoo-user] Re: What magic does portage use?
Am 13.12.2009 23:19, schrieb »Q«: That looks like a bug. Heh, it would be nice if the initscripts worked with the current stable version of baselayout. This is no bug, it is just how baselayout 1 and 2 are created. You don't need a initscript to start udev with baselayout 1 as it is started automaticaly. This changed with baselayout 2 and thats why it is there. Greetings Sebastian
[gentoo-user] Re: Building static libraries
On 12/13/2009 11:18 AM, Renat Golubchyk wrote: Hi everyone! I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags... I'm confused (not unusual). Do you want to create a Gentoo package of your program that can be added to portage? USE flags are used only by the Gentoo portage system, not by the compiler or linker that compiles and links your source code. If you wrote the program, then you have complete control over the linker flags (e.g. -static, as Albert mentioned) and those flags usually are defined in a Makefile (which you create, being the programmer). I can't be sure, but I think you are confusing Gentoo's USE flags with gcc's (or ld's) flags, which are entirely different. Please give more details about what you want to do.
Re: [gentoo-user] Re: What magic does portage use?
»Q« wrote: On Fri, 11 Dec 2009 12:57:30 -0600 Dale rdalek1...@gmail.com wrote: »Q« wrote: On Fri, 11 Dec 2009 08:38:02 -0600 Dale rdalek1...@gmail.com wrote: Actually, you can kill udev and restart it. Kill the process and then run /sbin/udevd --daemon and it will be started again. If you're restarting services yourself instead of switching runlevels to get them all at once, you can still use the initscripts. # /etc/init.d/udev restart That doesn't work in baselayout 1 tho. If I switch to single user, udevd is still running. The only way to stop it is to kill it. r...@smoker / # /etc/init.d/udev start * The udev init-script is written for baselayout-2! * Please do not use it with baselayout-1!. r...@smoker / # That looks like a bug. Heh, it would be nice if the initscripts worked with the current stable version of baselayout. The devs intended for it not to work with baselayout 1 so they know this. I think it is in a Gentoo doc somewhere. I was trying to figure out how udev was starting when the script was not in any runlevel and was stopped, while udev had a process running. I ran up on the doc when trying to figure this mess out. So, for baselayout 2, use the script. For baselayout 1, just kill the process and restart with udevd --daemon. Dale :-) :-)
Re: [gentoo-user] Re: What magic does portage use?
On Sun, 13 Dec 2009 16:19:15 -0600, »Q« wrote: r...@smoker / # /etc/init.d/udev start * The udev init-script is written for baselayout-2! * Please do not use it with baselayout-1!. r...@smoker / # That looks like a bug. Heh, it would be nice if the initscripts worked with the current stable version of baselayout. It's not a bug that a baselayout-2 script doesn't work with baselayout-1, the two are different and have their own ways of starting udev. -- Neil Bothwick If you smoke after sex, you're doing it too fast. signature.asc Description: PGP signature
Re: [gentoo-user] Is rc.conf no longer used by Gentoo (baselayout-1.12.13)?
On Sun, 13 Dec 2009 20:43:41 +, Mick wrote: The /etc/conf.d/xdm file, which arrived after the /etc/rc.conf days, is indeed used to set up the Display Manager, but not the Window Manager/Display Environment X session. The latter was being defined in rc.conf, but this I think is no longer the case - hence I am asking here. The DE/WM to use is specified by whatever display manager you use. Setting it in a global configuration file is pointless on a multi-user system. -- Neil Bothwick DOS never says EXCELLENT command or filename... signature.asc Description: PGP signature
Re: [gentoo-user] Building static libraries
On Sun, 13 Dec 2009 15:40:34 -0500 Albert Hopkins mar...@letterboxes.org wrote: GTK+, i believe, can't be built statically as it uses dynload for themes, input methods, etc etc. Even most proprietary gtk-based software that I know of (e.g. Adobe Flash and VMWare) either are distributed with GTK+ linked dynamically or they provide their own GTK libs). Hmm, I'll test that because I use GTK+ although it is not a GUI app. You can apply -static to CFLAGS, but make sure you have a binpkg built first, as there is a chance you may break something. You can also try passing --enable-static to EXTRA_ECONF. That's probably safer than the former, but the same caveat applies. Ah, in all the years using Gentoo I have never needed EXTRA_ECONF, although I've heard a lot about it on this list. It is, of course, listed in make.conf man page, but since everything works here I usually do not need to look at it. Anyway, thanks for the pointer. I'm testing it right now, and it seems to work so far. I'll report back when emerge is finished. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Sun, 13 Dec 2009 14:47:04 -0800 walt w41...@gmail.com wrote: On 12/13/2009 11:18 AM, Renat Golubchyk wrote: I need to build a static binary of a program I wrote. The problem is that most packages only install dynamic version of the libraries. There are the static and static-libs USE flags... I'm confused (not unusual). Do you want to create a Gentoo package of your program that can be added to portage? USE flags are used only by the Gentoo portage system, not by the compiler or linker that compiles and links your source code. If you wrote the program, then you have complete control over the linker flags (e.g. -static, as Albert mentioned) and those flags usually are defined in a Makefile (which you create, being the programmer). As you said, you really are confused. :-) Maybe I wasn't clear enough. Anyway, I've written a program, and I need it as a statically linked binary. In order to link statically the linker (ld) needs all the used libraries in static form, i.e. as a .a and not as a .so file. Since portage does not build static libraries by default I need a way to tell portage that I really do want to have .a files built. I do _not_ want to create a Gentoo package, at least not at this stage of development. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Building static libraries
On Mon, 2009-12-14 at 01:27 +0100, Renat Golubchyk wrote: Since portage does not build static libraries by default... But portage *does*. I think it does build static libs for packages that provide them, it's just that I don't think many do (for the reasons I mentioned in the previous post). In fact: $ equery l \*| while read l; do equery f $l|grep '\.a$' | \ sed 's/^/'${l///\\/} '- /' ; done |wc -l Shows I have 756 static libs on my system (cut off the |wc -l to see what they are).
Re: [gentoo-user] Re: Building static libraries
On Sun, 13 Dec 2009 20:53:15 -0500 Albert Hopkins mar...@letterboxes.org wrote: On Mon, 2009-12-14 at 01:27 +0100, Renat Golubchyk wrote: Since portage does not build static libraries by default... But portage *does*. I think it does build static libs for packages that provide them, it's just that I don't think many do (for the reasons I mentioned in the previous post). That's what I actually meant. -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Re: Xorg-server fails to compile
walt w41...@gmail.com [09-12-14 01:08]: On 12/13/2009 10:03 AM, meino.cra...@gmx.de wrote: Hi, emerge of xorg-server-1.6.5-r1 fails while in the build process. Logfile's contents is: /usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion' /usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts' /usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable' /usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable' /usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel' /usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo' That file (dpms.h) is installed by x11-proto/xextproto-7.0.5. Do you have that version? I would re-emerge that package even if it look correct. Emerge refuses to merge that: * 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 / filename` 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 http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/include/X11/extensions/XTest.h * /usr/include/X11/extensions/lbxbuf.h * /usr/include/X11/extensions/Xag.h * /usr/include/X11/extensions/Xge.h * /usr/include/X11/extensions/lbxbufstr.h * /usr/include/X11/extensions/XEVI.h * /usr/include/X11/extensions/multibuf.h * /usr/include/X11/extensions/shape.h * /usr/include/X11/extensions/XLbx.h * /usr/include/X11/extensions/XShm.h * /usr/include/X11/extensions/Xdbe.h * /usr/include/X11/extensions/Xcup.h * /usr/include/X11/extensions/Xext.h * /usr/include/X11/extensions/dpms.h * /usr/include/X11/extensions/MITMisc.h * /usr/include/X11/extensions/security.h * /usr/include/X11/extensions/xtestext1.h * /usr/include/X11/extensions/sync.h * /usr/include/X11/extensions/lbximage.h * /usr/include/X11/extensions/extutil.h * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * x11-libs/libXext-1.1.1 * /usr/include/X11/extensions/MITMisc.h * /usr/include/X11/extensions/XEVI.h * /usr/include/X11/extensions/XLbx.h * /usr/include/X11/extensions/XShm.h * /usr/include/X11/extensions/Xag.h * /usr/include/X11/extensions/Xcup.h * /usr/include/X11/extensions/Xdbe.h * /usr/include/X11/extensions/Xext.h * /usr/include/X11/extensions/Xge.h * /usr/include/X11/extensions/dpms.h * /usr/include/X11/extensions/extutil.h * /usr/include/X11/extensions/lbxbuf.h * /usr/include/X11/extensions/lbxbufstr.h * /usr/include/X11/extensions/lbximage.h * /usr/include/X11/extensions/multibuf.h * /usr/include/X11/extensions/security.h * /usr/include/X11/extensions/shape.h * /usr/include/X11/extensions/sync.h * /usr/include/X11/extensions/xtestext1.h * * x11-libs/libXtst-1.1.0 * /usr/include/X11/extensions/XTest.h * * Package 'x11-proto/xextproto-7.0.5' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. but interestingly portageq owners / xextproto reports None of the installed packages claim the file(s). How can I proceed ? -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Re: Xorg-server fails to compile
On my system I have libXtst-1.1.0 installed but I'm running with xextproto-7.1.1 try unmasking xextproto and see if that helps. On Mon, 14 Dec 2009 04:27:11 +0100, meino.cra...@gmx.de wrote: walt w41...@gmail.com [09-12-14 01:08]: On 12/13/2009 10:03 AM, meino.cra...@gmx.de wrote: Hi, emerge of xorg-server-1.6.5-r1 fails while in the build process. Logfile's contents is: /usr/include/X11/extensions/dpms.h:40: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSGetVersion' /usr/include/X11/extensions/dpms.h:42: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSSetTimeouts' /usr/include/X11/extensions/dpms.h:44: error: expected ')' before '*' token /usr/include/X11/extensions/dpms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSEnable' /usr/include/X11/extensions/dpms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSDisable' /usr/include/X11/extensions/dpms.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSForceLevel' /usr/include/X11/extensions/dpms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DPMSInfo' That file (dpms.h) is installed by x11-proto/xextproto-7.0.5. Do you have that version? I would re-emerge that package even if it look correct. Emerge refuses to merge that: * 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 / filename` 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 http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/include/X11/extensions/XTest.h * /usr/include/X11/extensions/lbxbuf.h * /usr/include/X11/extensions/Xag.h * /usr/include/X11/extensions/Xge.h * /usr/include/X11/extensions/lbxbufstr.h * /usr/include/X11/extensions/XEVI.h * /usr/include/X11/extensions/multibuf.h * /usr/include/X11/extensions/shape.h * /usr/include/X11/extensions/XLbx.h * /usr/include/X11/extensions/XShm.h * /usr/include/X11/extensions/Xdbe.h * /usr/include/X11/extensions/Xcup.h * /usr/include/X11/extensions/Xext.h * /usr/include/X11/extensions/dpms.h * /usr/include/X11/extensions/MITMisc.h * /usr/include/X11/extensions/security.h * /usr/include/X11/extensions/xtestext1.h * /usr/include/X11/extensions/sync.h * /usr/include/X11/extensions/lbximage.h * /usr/include/X11/extensions/extutil.h * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * x11-libs/libXext-1.1.1 * /usr/include/X11/extensions/MITMisc.h * /usr/include/X11/extensions/XEVI.h * /usr/include/X11/extensions/XLbx.h * /usr/include/X11/extensions/XShm.h * /usr/include/X11/extensions/Xag.h * /usr/include/X11/extensions/Xcup.h * /usr/include/X11/extensions/Xdbe.h * /usr/include/X11/extensions/Xext.h * /usr/include/X11/extensions/Xge.h * /usr/include/X11/extensions/dpms.h * /usr/include/X11/extensions/extutil.h * /usr/include/X11/extensions/lbxbuf.h * /usr/include/X11/extensions/lbxbufstr.h * /usr/include/X11/extensions/lbximage.h * /usr/include/X11/extensions/multibuf.h * /usr/include/X11/extensions/security.h * /usr/include/X11/extensions/shape.h * /usr/include/X11/extensions/sync.h * /usr/include/X11/extensions/xtestext1.h * * x11-libs/libXtst-1.1.0 * /usr/include/X11/extensions/XTest.h * * Package 'x11-proto/xextproto-7.0.5' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. but interestingly portageq owners / xextproto reports None of the installed packages claim the file(s). How can I proceed ? -- Zeerak
[gentoo-user] building your own stage3?
Does anybody here know how a stage3 tarball is made? I'd like to mode one myself. -- Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =
Re: [gentoo-user] Re: Xorg-server fails to compile
Just unmerge libXext and xextproto and then emerge them again. It looks like some files have been moved from one to the other.