Re: [gentoo-user] "Icon" Editor???

2009-06-01 Thread Masood Ahmed
meino.cra...@gmx.de writes:

> Hi,
>
>  I am trying to create "button screens" and such stuff for a touch
>  enabbles LCD of 160x80 pixels (pure black and white).
>
>  Unfortunately I couldn't convince gimp to set black pixels
>  when using Indexed mode...
>
>  And converting an rgb/grayscaled picture to b/w is no option,
>  since on a 160x80 "screen" this would result in broken lines
>  and such...
>
>  I there any Icon-Editor which is able to handle text (kiconeditor
>  can't do that) and the other more general graphical drawing
>  operations?
>
>  Or any other application with which I could acchieve what I want?
>
>  Thank you very much for any help in advance!

Try Inkscape

Regards,
Masood Ahmed

-- 
Microsoft does have a Y2K problem... it's called Linux!



Re: [gentoo-user] can't stop the panic on eeepc

2009-05-06 Thread Masood Ahmed
maxim wexler  writes:
>> Are you
>> using an initrd?
>
> No, never used one on a gentoo box before. That's a fedora thing, isn't it?

Nope! Its not distribution specific. It's a kernel feature.

Regards,
Masood Ahmed

-- 
Promptness is its own reward, if one lives by the clock instead of the sword.



Re: [gentoo-user] 'buntu --> gentoo --> eeepc

2009-05-04 Thread Masood Ahmed
maxim wexler  writes:

> Hi group,
>
> Using xubuntu on a usb stick to install gentoo on a eeepc, 4g,
> 900A. I've gotten as far as kernel config(Quick-install Guide ->
> Kernel Configuration) but when I try to emerge gentoo-sources portage
> can't resolve any of the addresses and the process fails.

Can you browse from your xubuntu? Looks like you are not connected to
internet. If you are able to browse from xubuntu, then copy the
/etc/resolv.conf file from xubuntu to gentoo partition:

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

> Does it have something to do with the previous section, "Set your host
> name and domain name"? I followed the model given:
>
> hosts: 127.0.0.1 eeebox.at.eeeplace eeebox localhost
>
> hostname: HOSTNAME="eeebox"

Nope. Nothing to do with this.

> BTW, it took 22mins for the portage snapshot to be unpacked, is that
> similar to anybody else's experience?

22 mins is very long time. Generally stage3 tarball should take longer
than portage, probably have to do with the verbose flag of tar command
(it slows the process when using a slow terminal).

> BTW2, I'm using dialup via a serial/usb cable to complete the job at
> home, whereas the stage3-i686-20090422 and portage-20090502 were
> downloaded over wireless at the Wifi-Cafe. Don't tell me the numbers
> must match exactly!

No the numbers don't matter.

Regards,
Masood Ahmed

-- 
Sometimes it's better to light a flamethrower than curse the darkness.
-- (Terry Pratchett, Men at Arms)



Re: [gentoo-user] Resizing ext3 Partition

2009-05-04 Thread Masood Ahmed
Marco  writes:

> Hi all,
>
> I am new to gentoo and so far I really like it. But now, I am running
> out of disk space on my root partition (10 GB), although I have a
> rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo
> would not waste my resources that much. Now I am thinking about how to
> resize my ext3 partitions. Bellow is the output of fdisk:
>
> fdisk -l
>
> Disk /dev/sda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xbbc58b91
>
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   1 893 7168000   1c  Hidden W95 FAT32 (LBA)
> Partition 1 does not end on cylinder boundary.
> /dev/sda2   * 8935968407654407  HPFS/NTFS
> /dev/sda3   10622   1945870975488f  W95 Ext'd (LBA)
> /dev/sda5   10622   13575237199727  HPFS/NTFS
> /dev/sda6   13575   13581   54819   83  Linux
> /dev/sda7   13582   13831 2008093+  82  Linux swap / Solaris
> /dev/sda8   13832   1507710008463+  83  Linux
> /dev/sda9   15078   1945835182990   83  Linux
>
> sda8 is my root partition and sda9 is my home partition where there is
> plenty of space. Is there any safe way to resize with Linux tools? The
> descriptions found on google did not help me a lot...

Try this article:

http://www.howtoforge.com/linux_resizing_ext3_partitions

Regards,
Masood Ahmed

-- 
Chaos is King and Magic is loose in the world.



Re: [gentoo-user] Canon PowerShot A400 & Gentoo

2009-05-03 Thread Masood Ahmed
Dale  writes:

> You also may want to make sure you have the correct CAMERAS= line in
> make.conf.  I have CAMERAS="canon ptp2" in my make.conf.  I think ptp2
> is the one that it actually uses.

My Canon EOS400D works fine in Ubuntu. But I was not able to get F-Spot
to detect it. I had CAMERAS="canon"in make.conf. Will add ptp2 and will
try emerging F-Spot again.

BTW, any lightweight Photo Manager's out there that are good?

Regards,
Masood Ahmed

-- 
BOFH Excuse #291:

Due to the CDA, we no longer have a root account.



Re: [gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Masood Ahmed
Helmut Jarausch  writes:

> Hi,
>
> with Python 2.6.2 I have (even re-)installed dev-python/pygtk.
> And indeed, there is a directory
> /usr/lib/python2.6/site-packages/gtk-2.0
>
> But, still,
> import gtk
> fails. Looking closer,
> there is NO pygtk.pth-2.0 pygtk.py-2.0 file
> in /usr/lib/python2.6/site-packages
> as it is on a working python-2.6.1 installation.
>
> What might cause that problem?

I also came across the same problem some days back.

python-updater -o 2.5 -v

This command did the re-installation's of some python related
packages.

Hope this help's
Masood Ahmed

-- 
Trouble with man n00b is, the n00b won't google for man, let alone man
n00b.
From: Two Ravens



Re: [gentoo-user] GCC-4.3.2

2009-04-03 Thread Masood Ahmed
alain.didierj...@free.fr writes:

> Has one of you guys already switched from gcc-4.1.2 to gcc-4.3.2 and
> performed  "emerge system" ?

I did upgrade to 4.3 gcc series from 4.1. There was no compile error's
(I'm using ~x86 branch). Both emerge -e system and emerge -e world done
using new gcc.

> What gives ? Any problem ? Is it worth it right now ? Please tell...

I like the -march=native and -mtune=native options. It's the new thing
in gcc 4.3 series.

Regards,
Masood Ahmed


pgpaRIuJ1DElR.pgp
Description: PGP signature


Re: [gentoo-user] Re: Portage and sets

2009-02-25 Thread Masood Ahmed
On 16:10 Wed 25 Feb , Neil Bothwick wrote:
> On Wed, 25 Feb 2009 04:28:41 -0600, Dale wrote:
> 
> > > You need to filter on list headers, that way off-list replies won't
> > > appear to be on-list :)
> 
> > I'm not sure Seamonkey has that option.  At least my eyes haven't seen
> > it yet.  -_o
> 
> It can't filter on mail headers? I though only Gmail was that lame :(

Gmail can filter message's based on header. Use the "Has the words:" option
while filtering.

For Gentoo-User, Has the words: list:"gentoo-user.gentoo.org"

I think Seamonkey should have similar option, I know thunderbird has it.

Regards,
Masood Ahmed

-- 
Quick!!  Act as if nothing has happened!


pgpqw8TtTkngz.pgp
Description: PGP signature


Re: [gentoo-user] domainname = (none) ?

2007-04-27 Thread Masood Ahmed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alex Fansky <[EMAIL PROTECTED]> writes:

> В сообщении от Friday 27 April 2007 10:25:33 qfpvajdy написал(а):
>> Hello,
>>
>> I installed Gentoo Linux 2006.1 by a network installation from the minimal
>> ISO CD. But my problem is that I don't find out how I could set a
>> domainname for my machine? The hostname is set at: /etc/conf.d/hostname
>>
>> acmp5 conf.d # cat hostname
>> # /etc/conf.d/hostname
>>
>> # Set to the hostname of this machine
>> HOSTNAME="acmp5"
>>
>> But where I can set the domainname?
>>
>> When I type the domainname or dnsdomain command I get:
>> acmp5 conf.d # domainname
>> (none)
>> acmp5 conf.d # dnsdomainname
>>
>> Does somebody knows how I could set it?
>>
>> --
>> E-Mail sent with anti-spam site TrashMail.net!
>> Free disposable email addresses: http://www.trashmail.net/
>
> /etc/conf.d/domainname

It has changed now. This method of setting domainname is no longer
valid. Domain Name has to be set in the file /etc/conf.d/net . Here's
how to set the domain name in the file /etc/conf.d/net

dns_domain_lo="yourdomainname"

Hope this helps,
Masood Ahmed

- -- 
 *  This is complicated.  Has to do with interrupts.  Thus, I am
 *  scared witless.  Therefore I refuse to write this function. :-P
-- From the maclinux patch

Visit my community site: http://tuxdom.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFGMeyN1sVfs9hAkb8RAhafAJwLMCSZ8SpKAcZRUBPbj7YvVNYyBACfbJ2n
BoUyj8L0ziMXLV+WAh2XhFo=
=2Z2W
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: A question regarding non-Portage software...

2007-03-12 Thread Masood Ahmed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

»Q« <[EMAIL PROTECTED]> writes:

> In <news:[EMAIL PROTECTED]>,
> Chris <[EMAIL PROTECTED]> wrote:
>
>> There are just some pieces of software that I
>> want that are not even in the testing tree.
>
> If you really need to write ebuilds for them, someone other than me
> will help, I'm sure.  But you may find what you want in the Sunrise
> overlay.
>
> <http://www.gentoo-sunrise.org/sunrise>

Or if you are unable to find the ebuild in sunrise overlay try googling
the package name + ebuild. In most cases you can find 3rd party ebuilds
for even the most obsucure software. If the ebuild happens to be in a overlay
then it's pretty easy to have it using layman.

Hope that helps,
Masood Ahmed
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFF9SGr1sVfs9hAkb8RAuO+AJ97tK5CNCH3RRzUck1R0hLhCwZMsACgn/+O
SL1APayM90QRRtXHoiggcUA=
=19zr
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mplayer2, where is it?

2007-03-10 Thread Masood Ahmed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale <[EMAIL PROTECTED]> writes:
> Thanks for the info.  New problem now:
>
>   i686-pc-linux-gnu-g++ -c -o plugin-support.o -Wall  -march=athlon-xp -O2
>   -momit-leaf-frame-pointer  -DXP_UNIX -DMOZ_X11
>   -I/usr/lib/seamonkey/include/java -I/usr/lib/seamonkey/include/plugin
>   -I/usr/include/nspr   -I/usr/lib/seamonkey/include -Iinclude -fPIC 
>   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
>   -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
>   -I/usr/lib/glib-2.0/include   -I/usr/include/gtk-2.0
>   -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
>   -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
>   -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0
>   -I/usr/lib/glib-2.0/include   -DGTK_ENABLED   Source/plugin-support.cpp
>   In file included from Source/nsScriptablePeer.h:48,
>  from Source/plugin.h:54,
>  from Source/plugin.cpp:37:
>   Source/nsIScriptableMplayerPlugin.h:10:25: error: nsISupports.h: No such
>   file or directory
>   In file included from Source/plugin.h:54,
>  from Source/plugin.cpp:37:
>   Source/nsScriptablePeer.h:49:26: error: nsIClassInfo.h: No such file or
>   directory
>   In file included from Source/nsScriptablePeer.h:48,
>  from Source/plugin.h:54,
>  from Source/nsScriptablePeer.cpp:48:
>   Source/nsIScriptableMplayerPlugin.h:10:25: error: nsISupports.h: No such
>   file or directory
>   In file included from Source/plugin.h:54,
>  from Source/nsScriptablePeer.cpp:48:
>   Source/nsScriptablePeer.h:49:26: error: nsIClassInfo.h: No such file or
>   directory
>   In file included from Source/nsScriptablePeer.h:48,
>  from Source/plugin.h:54,
>  from Source/plugin-support.cpp:1:
>   Source/nsIScriptableMplayerPlugin.h:10:25: error: nsISupports.h: No such
>   file or directory
>   In file included from Source/plugin.h:54,
>  from Source/plugin-support.cpp:1:
>   Source/nsScriptablePeer.h:49:26: error: nsIClassInfo.h: No such file or
>   directory
>   Source/plugin.cpp:38:31: error: nsIServiceManager.h: No such file or
>   directory
>   Source/plugin.cpp:39:23: error: nsIMemory.h: No such file or directory
>   Source/plugin.cpp:40:74: error: nsISupportsUtils.h: No such file or
>   directory
>   include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has
>   virtual functions but non-virtual destructor
>
> I did post all of it, just the first part.  It is really long. 
>
> Any ideas on this?

On my system mplayerplug-in does not use seamonkey but uses mozilla-firefox.
Also note that I'm using ~x86 version of mplayerplug-in. But if you dont have
a working plugin yet, I suggest you take a look at this addon for firefox,
seamonkey and mozilla:
  https://addons.mozilla.org/firefox/446/

Quoted from the site:
Allow you to launch embed video of website in an external application with a 
simple click

* Replace the stream by a simple button
* Add a download icon in the status bar
* And/Or add links to right click
* Works with RealMedia, QuickTime, WindowsMedia, Playlists, Flash, background 
sounds, Nullsoft video, Shockwave
* Allow the use of any capable media player (with command line support)
* Support Media Metafiles (ram, rpm, wmv, wm, wma, asx, asf, ...)
* Activable per media format
* AutoPlay feature : automaticatlly start to play the first media
* Configuration wizard
* SmartPlay : automatically search and choose the best source using metafile 
('+' icon) if exist
* List all media links on the webpage
* Use a sidebar for lists
* Multilingual 

Hope this helps,
Masood Ahmed.

P.S: The gentoo-wiki says there is a mplayerplug-in-bin ebuild. But the link
for the ebuild is broken. If anyone finds that ebuild please update the wiki
and let us all know about it. I'm unable to find it yet. The gentoo-wiki page:
http://gentoo-wiki.com/HOWTO_mplayerplug-in#x86_64s
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFF8vKS1sVfs9hAkb8RAqZKAJ4mlpXKVAhC6U4cADRjoVGd+h0pTQCeK4Lz
oK3SyrcLGIlD7lbDz/5VXew=
=T2D8
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mplayer2, where is it?

2007-03-09 Thread Masood Ahmed
Dale <[EMAIL PROTECTED]> writes:

> Hi,
>
> I went to a link a bit ago in Seamonkey and a box came up that it needed
> mplayer2 plugin.  I don't see it in portage so can someone tell me where
> I can find it? 
>
> I looked on the forums but the posts I saw were really old.  Google
> finds it but still no clue on where it is in portage.
>
> Thanks in advance for the info.

Is it mplayerplug-in ?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] UPS compatible to Gentoo

2007-03-06 Thread Masood Ahmed
On Tue, Mar 06, 2007 at 12:49:48PM +0100, Marco Fabbri wrote:
> Hi guys.
> 
> I need to buy a UPS for my gentoo-box. I need to be sure I can make the
> shutdown in case of black out.
> 
> Can you suggest me a full compatible UPS?
> 
> Price range 100/150€.

APC UPS seems best to me. Here's a gentoo specific HOWTO at the gentoo-wiki
site:
http://gentoo-wiki.com/HOWTO_APCUPSD
APC UPS are pretty cheap, and are supported by the apcupsd package. Info
on installation and configuration can be found at the gentoo-wiki page listed
above.

Hope this help's,
Masood Ahmed


pgpjhWRgsnz0E.pgp
Description: PGP signature


Re: [gentoo-user] dll.conf file in portage?

2007-03-06 Thread Masood Ahmed
On Tue, Mar 06, 2007 at 01:00:47PM +, Peter Ruskin wrote:
> It looks like it belongs to sane.  The only dll.conf I have is:
> -rw-r--r-- 1 root root 857 01 Oct 2006 11:20 /etc/sane.d/dll.conf

If it belongs to sane then what is that file doing in portage tree
as said by him rather than in /etc/sane.d ?

Bye,
Masood Ahmed


pgpctByZX4Ocw.pgp
Description: PGP signature


Re: [gentoo-user] dll.conf file in portage?

2007-03-06 Thread Masood Ahmed
On Tue, Mar 06, 2007 at 10:07:13AM +, Mick wrote:
> Hi All,
> 
> I just noticed a file in portage which does not have the usual 
> portage:portage 
> ownership:
> 
> -rw-r--r--   1 rootroot   6 Mar  1 16:52 dll.conf
> 
> It's contents are:
> =
> hpaio
> =
> 
> Should it be there?

In my system there is no such file as dll.conf in the portage tree. It
shouldn't be there. Do a emerge --sync and see what happens.

Hope this helps,
Masood Ahmed


pgphUPLfgBYnP.pgp
Description: PGP signature


Re: [gentoo-user] QMAIL WERD PROBLEMS

2007-03-06 Thread Masood Ahmed
On Tue, Mar 06, 2007 at 03:48:52AM -0500, KiLLeR 718th wrote:
> Hey everybody,
> 
> I seem to have troubles installing qmail-1.03-r16,
> trying to emerge it . . .
> 
> server ~ # emerge -vp mail-mta/qmail
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [blocks B ] mail-mta/netqmail (is blocking mail-mta/qmail-1.03-r16)
> [blocks B ] mail-mta/qmail (is blocking mail-mta/netqmail-1.05-r5)
> [ebuild  N] net-mail/queue-fix-1.4-r2  22 kB
> [ebuild  N] mail-mta/netqmail-1.05-r5  USE="ssl -gencertdaily 
> -highvolume -mailwrapper -noauthcram -qmail-spp -vanilla" 0 kB
> [ebuild  N] mail-mta/qmail-1.03-r16  USE="ssl -gencertdaily -logmail 
> -mailwrapper -noauthcram -notlsbeforeauth (-selinux)" 460 kB
> [ebuild  N] virtual/qmail-1.03  0 kB
> 
> Total: 4 packages (4 new, 2 blocks), Size of downloads: 481 kB
> 
> After i've tried to remove the blocked packages:
> 
> server ~ # emerge -C mail-mta/netqmail
> 
> --- Couldn't find 'mail-mta/netqmail' to unmerge.
> 
> >>> No packages selected for removal by unmerge
> server ~ # emerge -C mail-mta/qmail
> 
> --- Couldn't find 'mail-mta/qmail' to unmerge.
> 
> >>> No packages selected for removal by unmerge
> server ~ #
> 
> Any ideas what might couse this and/or how to fix it

First of all I've no idea about qmail. But the command:
  emerge -C mail-mta/netqmail or emerge -C mail-mta/qmail
wont work because both packages are not installed on your
system. As for the netqmail blocking qmail and vice versa try
adding mailwrapper use flag (as said before I've no idea about
qmail).

Hope someone with better knowledge about qmail replies.

Bye,
Masood Ahmed


pgpynturgUIkA.pgp
Description: PGP signature


Re: [gentoo-user] antivirus

2006-03-05 Thread Masood Ahmed
Boyd Stephen Smith Jr. wrote:
> On Monday 06 March 2006 00:10, Masood Ahmed <[EMAIL PROTECTED]> wrote 
> about 'Re: [gentoo-user] antivirus':
> > I dont think linux can get infected by windows viruses.
> 
> Yes, but files accessible from a windows box, but stored on a linux box can 
> become carriers.  If they aren't cleaned, they could infect the next (or 
> the same) windows bow that asks for them.
> 

Look what Micro$oft has done to Linux. They make us use anti virus
software.Better dump M$ Windows and use GNU/Linux full time. I'm doing
the same for past 1 year, and no problem to me. 

I dont need anti virus. Atleast not now. :)

PS: In windows world it's a good thing that one runs anti virus.

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpcAsRYbyFzy.pgp
Description: PGP signature


Re: [gentoo-user] antivirus

2006-03-05 Thread Masood Ahmed
Ghaith Hachem wrote:
> hello,
> i was wondering if there's any good antivirus scanner outthere for
> linux 

clamav is good, and is also in portage.. just do emerge clamav and
you'll have a good antivirus software running on your gentoo box.

> i recently got infected on the windows part and the linux
> systems are accessible from there so i want to make sure the system is
> clean i've been missing some documents from these partitions on
> windows but they are availiable on linux

I dont think linux can get infected by windows viruses.

> could anyone plz point me to the right manual to read?

check out http://www.clamav.net/doc/latest/html/

also use google to find best resources..

Bye,
Masood Ahmed

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpaPFXm51WtY.pgp
Description: PGP signature


Re: [gentoo-user] system maintenance woes

2006-03-05 Thread Masood Ahmed
Ted Ozolins wrote:
> After too many -uvD world upgrades without proper maintenance (python
> perl) I have created a total mess of this system. revdep lists are
> almost as large as emerge -vp system on a fresh install. I'm sure I can
> go through the dep mess I've created and eventually straighten things
> out. Would "emerge -ve world"  correct some of the broken dependencies?

Hi,
I recommend you do "revdep-rebuild", it'll be less time consuming than
"emerge -e world". Both will result in system without broken
dependencies. 

After you've solved this problem, by doing revdep-rebuild, you can use
my updating policy.
emerge --sync
emerge -uD world
    emerge --depclean
revdep-rebuild

Bye,
Masood Ahmed

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpvUpOB7P63k.pgp
Description: PGP signature


Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Harry Putnam wrote:
> Masood Ahmed <[EMAIL PROTECTED]> writes:
> [...]
> Thanks Masood, for the pointers.. I have a question about your sig.
> 
> ()
> 
> Do you get that info from a single command or several?
> 

The answer is several,
for kernel version i did 'uname -r'
for gcc-version i did 'gcc -v'
for processor i did 'cat /proc/cpuinfo'
for ram 'free -t'
for CFLAGS 'cat /etc/make.conf | grep CFLAGS'
for CXXFLAGS 'cat /etc/make.conf | grep CXXFLAGS'

I think this is not what you expected. I dont have enough sed and grep
knowledge to automate the process, but i'm learning it. I'd like to
write a script that would output only the required contents from the
output of the commands above. 

Got any idea's anyone?

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpaSOYhgNMI8.pgp
Description: PGP signature


Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Peter wrote:
> On Sat, 04 Mar 2006 09:15:04 -0600, Harry Putnam wrote:
> 
> > Is this possible:
> > 
> > Compile a module by itself (not during kernel compile) and insert that
> > module into a running kernel.
> > 
> 
> Yes.
> 
> cd /usr/src/linux
> make menuconfig or make xconfig
> choose the module option you wish to enable
> Select whether to build into the kernel or as a module.
> exit and save
> make
> make modules_install
> 
> You should not have to copy bzImage unless you built your new modules into
> the kernel.
> 
> Then edit your /etc/autoload directory to include the module you want to
> modprobe into the system.
> 

This sounds simpler than what i had thought. I suggest giving this a
try. My earlier suggestion to read the Makefiles has been taken back
now.. :)

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpKZzB9mlwwK.pgp
Description: PGP signature


Re: [gentoo-user] modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Harry Putnam wrote:
> Is this possible:
> 
> Compile a module by itself (not during kernel compile) and insert
> that module into a running kernel.

It can be done, the best example of it being done is the NVidia kernel
module. Although it seems, you want to compile a module inside a kernel
tree. I think it'll be lot complex. I dont have any hands on experience
in this, but i suggest take a look at the Makefiles of other kernel
modules available outside the kernel tree. Sorry cant give you specifics
on how to do it. 

PS: Also ALSA-driver package are nothing but kernel modules, you may
want to check thier makefiles as well.

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpxTf3P0LePY.pgp
Description: PGP signature


Re: [gentoo-user] splash screen on bootup

2006-03-04 Thread Masood Ahmed
c.s.prakash wrote:
> i had installed gentoo without splash screen on boot up (ie., bootsplash)
> how can i configure now
> 
Hi Prakash,
Gentoo developers have discontinued the support fo bootsplash,
i.e., the gentoo kernel sources do not contain bootsplash patches.
You've to use fbsplash (splashutils) instead..

Check out : http://gentoo-wiki.com/HOWTO_fbsplash

Also note that you can emerge boolsplash-themes, they'll get
automatically get converted to splashutils themes..

Bye,
-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgp8nRSY23vIr.pgp
Description: PGP signature


Re: [gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Masood Ahmed
On 10:02 Fri 03 Mar, Wes Gray wrote:
> On Fri, Mar 03, 2006 at 02:36:37PM +0530, Masood Ahmed wrote:
> > Hi,
> > I have a email system comprising of fetchmail, to fetchmail mail
> > from pop servers. Procmail, to filter the incoming mail and mutt to read
> > it.
> > Now what i want to know is, is there some way so that i can make
> > bash display "You've a new mail" everytime i log in? I dont store my email
> > in default place (/var/mail) but in my home directory. Kindly please help.
> 
> You want to set MAILPATH in .bashrc. man bash and search for MAILPATH.

I set the MAILPATH in .bashrc as 
MAILPATH='~/Mail/Gentoo-User:~/Mail/Gentoo-Announce'
but still when i login no message notifying me of new mail is displayed. The 
list is long
so, some mbox's have not yet been created.. Does it has anything to do?

> 
> -Wes
> -- 
> gentoo-user@gentoo.org mailing list
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Masood Ahmed
Hi,
I have a email system comprising of fetchmail, to fetchmail mail
from pop servers. Procmail, to filter the incoming mail and mutt to read
it.
Now what i want to know is, is there some way so that i can make
bash display "You've a new mail" everytime i log in? I dont store my email
in default place (/var/mail) but in my home directory. Kindly please help.

Thanks in advance,
Masood Ahmed
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glibc does not emerge

2006-03-02 Thread Masood Ahmed
On 05:59 Fri 03 Mar, Cl?udio Henrique wrote:
> hi, there,
> 
> I am trying to emerge -e system, but glibc does not want to emerge.
> 
> here is the error output:
> 
> (echo '#include '; \
>  echo 'PSEUDO (__libc_pause, pause, 0)'; \
>  echo ' ret'; \
>  echo 'PSEUDO_END(__libc_pause)'; \
>  echo 'libc_hidden_def (__libc_pause)'; \
>  echo 'weak_alias (__libc_pause, pause)'; \
>  echo 'libc_hidden_weak (pause)'; \
> ) | i686-pc-linux-gnu-gcc -c -I../include -I.
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix
> -I.. -I../libio -I../nptl
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl
> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
> -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686
> -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
> -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include
> -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h
> -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -Wa,--noexecstack -x
> assembler-with-cpp -o
> /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/pause.o
> -
> .././scripts/mkinstalldirs
> /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix
> (echo '#include '; \
>  echo 'PSEUDO (__libc_nanosleep, nanosleep, 2)'; \
>  echo ' ret'; \
>  echo 'PSEUDO_END(__libc_nanosleep)'; \
>  echo 'libc_hidden_def (__libc_nanosleep)'; \
>  echo 'weak_alias (__libc_nanosleep, __nanosleep)'; \
>  echo 'libc_hidden_weak (__nanosleep)'; \
>  echo 'weak_alias (__libc_nanosleep, nanosleep)'; \
>  echo 'libc_hidden_weak (nanosleep)'; \
> ) | i686-pc-linux-gnu-gcc -c -I../include -I.
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix
> -I.. -I../libio -I../nptl
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl
> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
> -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686
> -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
> -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include
> -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h
> -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -Wa,--noexecstack -x
> assembler-with-cpp -o
> /mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/nanosleep.o
> -
> i686-pc-linux-gnu-gcc ../nptl/sysdeps/unix/sysv/linux/i386/fork.c -c
> -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
> -fPIC -march=athlon-xp -mtune=athlon-xp -pipe
> -mpreferred-stack-boundary=2  -g0 -O99 -fomit-frame-pointer
> -D__USE_STRING_INLINES -D_IO_MTSAFE_IO   -I../include -I.
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix
> -I.. -I../libio -I../nptl
> -I/mnt/hda/portage/glibc-2.3.5-r2/work/build-default-i686-pc-linux-gnu-nptl
> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
> -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686
> -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysde

Re: [gentoo-user] Which profile for EM64T setup?

2006-03-02 Thread Masood Ahmed
On 07:54 Fri 03 Mar, Rumen Yotov wrote:
> On Friday 03 March 2006 06:13, Statux wrote:
> > I currently have a generic i686 setup on my P4 with HT and EM64T. I've
> > come to realize that I could be doing better so I've started considering
> > switching over to use EM64T (nocona). I figure that I'll be switching my
> > CHOST to x86_64-pc-linux-gnu and my march variable in CFLAGS to nocona
> > (from the i686 it's set to now), rebootstrap and then do a full
> > system/world rebuild but I haven't been able to find any documentation
> > regarding which profile I should be using. I'm currently using
> > default-linux/x86/2006.0 but which one might be best if I'm intending to
> > use a multilib setup (since I'll be wanting to avoid breaking anything)?
> >
> > Aside from that, does anyone have any information/suggestions relating
> > to the use of EM64T in the Gentoo environment or in general?
> >
> > Thanks.
> Hi,
> Lacking any experience with EM64T, but just checked and there's a profile for 
> ia64 (think it's the same).
> Check (look at) "/usr/portage/profiles/default-linux/ia64" for a 'profile'.

 I dont think ia64 is the right profile, as far as i know ia64 is for itanium
and is incompatible with x86_64 architectures. The best bet would be to use
x86 profile and define the CHOST and CFLAGS for EM64T.

> PS:there's also a minimal-install-CD.2006.0 & stages for ia64.
> HTH.Rumen

It'd be a waste of time downloading ia64 cd because it wont run of
EM64T or any other x86 systems anyway. This backward compatibility was the
major reason why Intel's 64-bit plans failed, and AMD's 64-bit plans won.

PS: I personally prefer AMD64 over EM64T, performance wise it's far better
than its intel counterpart.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: install windows after gentoo on two different physical drives

2006-03-02 Thread Masood Ahmed
"Marco Calviani" <[EMAIL PROTECTED]> writes:
>i have a machine with two SATA hard disk. I would like to know if
> there are some possibilties to install windows (XP in particular) on
> the second hard drive AFTER gentoo has been installed on the first
> one, and, if yes, how to perform this task.

You can do it. Although I have not tried it, i think you can install 
windows XP as usual on the second drive, then edit the menu.lst file
and add the following entry..

title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1

Again i have not tried this, if I'm wrong please point it out..
-- 
gentoo-user@gentoo.org mailing list