Re: [gentoo-user] Re: D and Gentoo

2014-01-13 Thread Elias Diem
On 2014-01-12,  walt wrote:

 I know absolutely nothing about D, which makes me qualified to ask
 how you can tell if the 'd' useflag is working or not ;)

Hehe. Good question.

Well I enabled this USE flag for gcc but I don't have an 
executable that starts with

gcc...
gdc...

And furthermore if I run 'equery u gcc' there is no d USE 
flag. It's not even there to tell me that gcc was compiled 
without it!

-- 
Greetings
Elias





Re: [gentoo-user] Re: D and Gentoo

2014-01-13 Thread Pavel Kazakov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/13/2014 02:25 AM, Elias Diem wrote:
 On 2014-01-12,  walt wrote:

 I know absolutely nothing about D, which makes me qualified to ask
 how you can tell if the 'd' useflag is working or not ;)

 Hehe. Good question.

 Well I enabled this USE flag for gcc but I don't have an
 executable that starts with

 gcc...
 gdc...

 And furthermore if I run 'equery u gcc' there is no d USE
 flag. It's not even there to tell me that gcc was compiled
 without it!


Hi Elias,

According to 'euse -i d', the 'd' flag only shows up for
'=sys-devel/gcc-3.4.6-r2' and '=sys-devel/gcc-4.1.2'. I'm assuming you
are using a newer version of gcc that doesn't have the d use flag.

My sugesstion would be to look for a portage overlay that has the D
compiler. Anton mentioned the Digital Mars D Compiler (dev-lang/dmd) at
sunrise overlay, so you might want to take a look at that. A quick
search also showed a wiki page on ldc [1], although I'm not sure how
reliable/legit it is.

Regards,
Pavel

[1] http://wiki.dlang.org/Installing_LDC_on_Gentoo
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS09CCAAoJENb1ecI556su5WcQAMckbYh8haL9l0Wkf+yxpjKG
hbr5fl2+D0ckdxsnF+Is0FA53n34CMbgLppWoC7QZWf3sQSKZ+PyoZGUGtQ16FOe
tAvDszICrQcFFbZtI/6I/NhenqqW08B/7AzBCLs8iJFKwyYEkyxdnfOrA8b0lZVE
rns+ad/UP6G9F+PUjoCajdYRGenHIHkaf9rgdK+cQRZw4w8iv5jDAmIjMs77tisZ
TXSYjKTlBYpWqmsaAnPMtU64zu/GZmgiCoUC5Z6fTxblT48E0RsItWvv+W3VXiAP
7sb4Ee1qij3ijKINYj7c+XFGlexUv9wC2Dx9vaWNfTC697MmSZ+EuJ0GikmxoKC0
Zxs9Iyj64IesFYLtuZFH0UDQ2j68qIy/eoj1qPnVSwdvAdieDeXOMig9D8uvXG2b
cZ5Oe7e0Y9jRL8GppR5pWywAvk/sQqy3xO2G6kdbGkrqjGVUqsmg3uP+9CtJ2aS6
+2qSvRVg2RWNoOK1HXWXB1qIQErIdD1uBKhwffO6nz3TA4HB1jjxGu+Q7kwLy4/5
mSfQiPt3iIcv0si7+zgj4qLRhkuGlI4KSqICSYI4TuojXDVb5DvYxK2w3LYuk3gQ
I03qAyYQ7x6xWgbj33nPst/8saOq8i4To9sxQeeft8eHLS8rqrsgz2f7HSfX0ekh
KrAqMTwTsL9f+SJwCyte
=vObp
-END PGP SIGNATURE-




Re: [gentoo-user] glibc update 2.16 2.17 - python relocation error at end of emerge

2014-01-13 Thread Tanstaafl

On 2014-01-11 10:06 PM, Rick Zero_Chaos Farina zeroch...@gentoo.org wrote:

On 01/08/2014 01:03 PM, Tanstaafl wrote:

Could this have anything to do with the fact that I don't have either of
these set in /etc/portage/make.comf:

PYTHON_TARGETS=python2_7 python3_3
PYTHON_SINGLE_TARGET=python2_7



You really do not want to do that. These are set by the profile, and
when updates come around (like python 3.4) your system won't get it
because you manually said you wanted python 3.3. Please, nobody should
be setting this variable randomly in make.conf. When in doubt, don't
change the defaults from the profile. You can see what is set for
everything with emerge --info.


I didn't set it (yet), I don't change things like this without learning 
whether or not it is really needed - which is why I asked the question. ;)


That said...

emerge --info shows no mention of anything PYTHON related, much less 
either of these.


Hmmm... it also doesn't show:

PHP_INI_VERSION=production
PHP_TARGETS=php5-5

Which I have explicitly set in /etc/portage/make.conf

Shouldn't they be showing?



Re: [gentoo-user] Re: D and Gentoo

2014-01-13 Thread Elias Diem
Hi Pavel

On 2014-01-13,  Pavel Kazakov wrote:

 According to 'euse -i d', the 'd' flag only shows up for
 '=sys-devel/gcc-3.4.6-r2' and '=sys-devel/gcc-4.1.2'. I'm assuming you
 are using a newer version of gcc that doesn't have the d use flag.

Indeed. Thank you for the explanation.


-- 
Greetings
Elias





[gentoo-user] Dell AppAssure Agent on gentoo - anyone ever tried?

2014-01-13 Thread Tanstaafl
Just curious if anyone has ever tried (and hopefully succeeded) getting 
the Dell AppAssure agent running on a gentoo box?


Thx



Re: [gentoo-user] VMware Workstation environment on Gentoo

2014-01-13 Thread Adam Carter
I cannot access my gentoo box right now, so I can't tell you exactly

 how many vmnet interface I have. But from what I remember, I have two
 vmnet: vmnet0 for bridge and vmnet1 for NAT.
 I am creating several interface on vmware-netcfg, but those interface
 not connected to physical interface (as explain in this tutorial:

 http://boerlowie.wordpress.com/2011/12/02/building-the-ultimate-vsphere-lab-part-3-vmware-workstation-8/
 ).


ok, so AFAIK all you need to do is go to the Settings of a guest, which
should open you up on the Hardware tab, then click the + Add button to
add a second Network Adapter.

-Adam


[gentoo-user] How to Set Environment Variables in Ebuilds

2014-01-13 Thread Masanori Ogino
Hello.

I wrote an ebuild and it executes a small Python script bundled in the
source. The Python script requires a environment variable to be set.

I tried something like:

NAME=value ${ECONF_SOURCE:-.}/script_file.py

and

export NAME=value
${ECONF_SOURCE:-.}/script_file.py

but the both fail to pass the parameter via the environment variable to the
script.

How can I do it? Please point it out if I overlooked something.

-- 
Masanori Ogino masanori.og...@gmail.com
http://twitter.com/omasanori
http://gplus.to/omasanori