Perl 6 - the future is here, just unevenly distributed

IRC log for #gluster-dev, 2014-05-06

| Channels | #gluster-dev index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:03 lpabon joined #gluster-dev
00:05 yinyin joined #gluster-dev
00:43 bala joined #gluster-dev
01:26 awheeler joined #gluster-dev
02:52 kdhananjay joined #gluster-dev
03:04 hagarth joined #gluster-dev
03:10 shubhendu joined #gluster-dev
03:25 awheeler joined #gluster-dev
03:29 kanagaraj joined #gluster-dev
03:46 itisravi joined #gluster-dev
03:59 ppai joined #gluster-dev
04:19 ndarshan joined #gluster-dev
04:23 bharata-rao joined #gluster-dev
04:35 nishanth joined #gluster-dev
04:43 hagarth joined #gluster-dev
04:50 yinyin_ joined #gluster-dev
04:52 aravindavk joined #gluster-dev
04:53 deepakcs joined #gluster-dev
05:15 kanagaraj joined #gluster-dev
05:15 kdhananjay joined #gluster-dev
05:29 lalatenduM joined #gluster-dev
05:31 bala joined #gluster-dev
05:31 surabhi joined #gluster-dev
05:52 kanagaraj joined #gluster-dev
05:53 hagarth joined #gluster-dev
06:05 yinyin joined #gluster-dev
06:15 ndarshan joined #gluster-dev
06:26 hagarth joined #gluster-dev
06:35 lalatenduM joined #gluster-dev
06:52 lkoranda joined #gluster-dev
06:59 edward1 joined #gluster-dev
07:01 kdhananjay joined #gluster-dev
07:04 kanagaraj joined #gluster-dev
07:08 deepakcs joined #gluster-dev
07:20 hagarth joined #gluster-dev
09:01 lkoranda joined #gluster-dev
10:27 kkeithley1 joined #gluster-dev
10:37 edward1 joined #gluster-dev
11:04 kkeithley1 JustinClift: ping. Are you using macports.org pkgs? Have you installed glib2 and glib2-devel? I appear to have automake 1.10 (but 1.17 is available). I can't tell what version of autoconf I have.
11:09 vikhyat joined #gluster-dev
12:05 itisravi joined #gluster-dev
12:05 itisravi joined #gluster-dev
12:57 ira joined #gluster-dev
13:07 hagarth joined #gluster-dev
13:51 bala joined #gluster-dev
13:54 tdasilva joined #gluster-dev
13:57 awheeler joined #gluster-dev
14:17 jobewan joined #gluster-dev
14:17 wushudoin joined #gluster-dev
14:41 [o__o] joined #gluster-dev
14:42 hchiramm_ joined #gluster-dev
14:58 JustinClift kkeithley_: On IRC now if you need me. :)
15:00 shubhendu joined #gluster-dev
15:04 kkeithley_ tell me more about your Mac OS dev setup
15:05 kkeithley_ JustinClift: oh, just reading your email
15:06 kkeithley_ does brew.sh have glib2 and glib2-devel packages?
15:09 JustinClift kkeithley_: It does have a glib package.  Just checked, it's for glib 2.40
15:09 JustinClift That glib package will also include the -devel stuff
15:10 JustinClift (it's never separated out on Homebrew)
15:11 kkeithley_ hmmm
15:13 kkeithley_ and does it have a /usr/share/aclocal/glib-2.0.m4 file?
15:15 kkeithley_ or whatever that translates to, /Developer/usr/share/aclocal/...
15:18 JustinClift kkeithley_: Heh.  As data point, Homebrew installs everything under /usr/local/
15:19 JustinClift I'll have to install glib to know where it chucks the m4 file.  1 min
15:20 kkeithley_ I'm not worried as much about where it is as long as it's installed somewhere where autoconf will find it.
15:21 kkeithley_ and then maybe my patch will work better
15:23 JustinClift Hmmm, it'll take a few minutes for me to get glib installed.  I'm actually testing a fix for qt Homebrew atm, so my Homebrew install isn't "standard" just right now.  Should be finished with that in abt 15 mins.
15:24 kkeithley_ no hurry
15:25 kkeithley_ not on my account
15:28 kkeithley_ and as Harsha noted, you should probably install pkgconfig too if you haven't already
15:33 dlambrig__ joined #gluster-dev
15:37 kkeithley_ I tried `sudo brew install glib`. It told me Error: Cowardly refusing to `sudo brew install`
15:37 kkeithley_ So I tried `brew install glib` and it told me  Error: Cannot write to /usr/local/Cellar
15:42 JustinClift kkeithley_: Did you chown -R /usr/local to your userid ?
15:43 kkeithley_ er, no...
15:43 kkeithley_ Didn't know I was supposed to
15:43 JustinClift kkeithley_: It was in the email. ;)
15:43 kkeithley_ it was?
15:43 JustinClift kkeithley_: At the moment, the /usr/local dir is chown-d to harsha's id
15:44 kkeithley_ okay, yes it was.
15:44 JustinClift So, either su - harsha before you do the brew install
15:44 JustinClift Or chown -R that directory to your userid
15:44 kkeithley_ How about we add you, me, and harsha to group wheel and make /usr/local group writeable
15:44 JustinClift kkeithley_: It's really a bad side effect of OSX Desktop being purposed as a single user desktop system
15:45 JustinClift kkeithley_: I wouldn't count on that working properly
15:45 JustinClift No guarantee other things will respect group writable access properly, and not set some dumb user level only permissions somewhere
15:45 kkeithley_ but we're not on the desktop.
15:46 * JustinClift is doubly confused
15:46 JustinClift kkeithley_: We're talking about the OSX Mac Mini server in Westford lab year?
15:46 JustinClift yeah
15:46 kkeithley_ And in 20+ years of using Macs including OS X since 10.0 I've never run into anything unixy that didn't work correctly, but, whatever
15:46 JustinClift s/year/yeah/
15:46 JustinClift kkeithley_: k, you could be right then.  Try it. :)
15:47 kkeithley_ well, I'm not using the desktop, I'm just ssh-ed in
15:52 kkeithley_ dear gawd, homebrew, cellar, bottles, kegs....   someone had way too much fun
15:57 JustinClift Yeah, they started out with "Homebrew" and followed that theme from there when dong names.
15:57 JustinClift doing
15:58 JustinClift Meh tpying suxks tdoay
15:59 kkeithley_ so, with glib installed, autogen.sh and configure run without errors to completion
15:59 kkeithley_ for me
16:00 kkeithley_ ymmv
16:00 kkeithley_ lots of stuff not enabled. I'd wager if I add a few more packages I can get more enabled
16:06 kkeithley_ fyi, I made /usr/local and /Library/Caches/Homebrew group writable (group = staff) and that's all it took
16:08 kkeithley_ hmmm, installed xml2 but didn't get XML output enabled
16:17 kkeithley_ er, what's the deal? I installed libxml2. All the headers were installed in /usr/local/Cellar/libxml2/2.9.1/....    l
16:17 kkeithley_ headers, libraries, etc., but nothing got put in /usr/local/include, e.g.
16:18 kkeithley_ so autoconf didn't find it.
16:21 kkeithley_ jclift: ^^^
16:22 kkeithley_ JustinClift: ^^^
16:23 JustinClift Sorry, was on another terminal.
16:23 JustinClift Hmmm...
16:24 JustinClift This sounds familiar
16:24 JustinClift Ahh.
16:24 JustinClift I bet I forgot to add the Homebrew aclocal dir to the system
16:24 * JustinClift checks
16:24 kkeithley_ it did glib correctly
16:25 kkeithley_ /usr/local/share/aclocal exists
16:27 JustinClift Hmmm, that's unexpected.  It looks like OSX 10.8 doesn't provide a native aclocal
16:27 JustinClift My 10.7 system does, so I had to add the Homebrew aclocal m4 directory to it
16:28 * JustinClift thinks
16:28 JustinClift When you did "brew install libxml2", did it mention anything about it being "keg only" ?
16:28 JustinClift kkeithley_: Sounds like it probably did
16:28 JustinClift kkeithley_: Try this:
16:28 JustinClift brew link libxml2
16:29 JustinClift That should link the installed libxml2 pieces into the normally-expected-locations under /usr/local
16:29 JustinClift So things will then find them
16:30 JustinClift "keg only" stuff is normally not linked in, as the base OS provides a version of the package anyway (although older)
16:32 JustinClift "keg only" isn't as useless as that sounds.  When a homebrew formula declares it needs something that's "keg only", Homebrew adjusts things so the new formula sees the keg
16:32 JustinClift The linking can be explicitly made to happen using "brew link <formula name>"
16:33 JustinClift (though that can confuse packages looking for the OS provided version)
16:34 JustinClift kkeithley_: Btw, I had the impression that we were trying to avoid needing pkg-config installed, thus the removal of the check for it from autogen.sh ?
16:34 JustinClift If that's not the case, lets just add that check back.
16:48 hchiramm__ joined #gluster-dev
16:50 kanagaraj joined #gluster-dev
17:13 hchiramm_ joined #gluster-dev
17:17 JustinClift k, I'm turning off the Mailman archiver on www.gluster.org for a bit, so I can try importing the old gluster-devel messages.
17:17 kanagaraj joined #gluster-dev
17:37 kkeithley_ No, I'm not trying trying to eliminate, or even avoid needing pkg-config. Not per se. I don't really recall what led me to believe that the autoconf macros in configure.ac were the better way to go, generally.
17:41 kkeithley_ ISTR that things worked better on OpenSolaris (or OpenIndiana), e.g., with autoconf tests. But at this point I might be misremembering things.
17:42 kkeithley_ And all that notwithstanding, the .ac in configure.ac is for autoconf, as far as I know. Having random pkg-config mixed in seems a teeny bit strange.
17:44 JustinClift Heh, sounds like it might be better to add the pkg-config test back to autogen.sh then, and lets just keep on using pkg-config tests. ;)
17:44 kkeithley_ and if the glib2 autoconf bits are an indication of how things are supposed to work, then prefering the autoconf macros, which in turn use pkg-config, seems like the right abstraction layer to me.
17:44 kkeithley_ But hey, I'm just one person
17:45 kkeithley_ brew link --force libxml2 ftw. Now I have XML output
17:46 kkeithley_ now, why doesn't having python give me glupy
17:51 JustinClift On OSX?
17:52 kkeithley_ yes
17:52 JustinClift Yeah, I noticed that the other day.  However I didn't look into it.
17:52 JustinClift Mentally filed under "things to look at later"
17:52 JustinClift So, it's not unexpected for you to have that
17:52 kkeithley_ brew link --force openssl should give me the encryption xlator
17:52 JustinClift Be carful to unlink them before you log out
17:53 kkeithley_ too many things to remember
17:53 JustinClift Leaving them linked in can muck up other people's building ;)
17:53 kkeithley_ ummmmm
17:56 JustinClift kkeithley_: Hmm, is this useful then? https://github.com/justinclift/homebrew/blob/glusterfs/Library/Formula/glusterfs.rb
17:56 glusterbot Title: homebrew/Library/Formula/glusterfs.rb at glusterfs · justinclift/homebrew · GitHub (at github.com)
17:57 * JustinClift just mashed it together out of some stuff I was mucking with last weekend
17:57 kkeithley_ what does that do?
17:57 JustinClift kkeithley_: Copy that to your local /usr/local/Library/Formula/ directory
17:57 JustinClift Then do "brew install glusterfs --HEAD"
17:58 JustinClift It's an "in development" Homebrew formula for Gluster
17:58 * JustinClift is still working out dependencies
17:58 JustinClift (thus brining up the pkg-config question on the mailing list)
17:59 JustinClift Ugh, that ones till has --enable-glupy in the args. I should adjust that, as it still doesn't install glupy, which you noticed.
17:59 JustinClift s/till/still/
18:04 kkeithley_ So, here's a possible reason for not using pkg-config.  XCode has zlib.h and libz.*.dylib, but no zlib.pc.  If you're going to rely on pkg-config then you're going to miss, e.g., the compress xlator.
18:05 kkeithley_ If we use autoconf to search for zlib.h and libz libs, then we win
18:06 JustinClift It sounds like autoconf is more accurate then.
18:06 kkeithley_ sorry, just to be accurate, XCode has zlib.h, OS X has libz.*.dylib.
18:07 JustinClift That bit makes sense.  OSX includes the development headers, whereas the OS just has the library ready to be used
18:07 kkeithley_ Which is not to say we don't want to use pkg-config
18:07 JustinClift heh
18:07 JustinClift I'll ok however we do it.  I just wanted to know if pkg-config needed to be in my dependency list or not.
18:08 kkeithley_ Going back to my glib2 example. If we use the autoconf bits for glib2, those will use pkg-config if it's there
18:08 JustinClift I'd added a check for it ages ago to autogen.sh, but as you know it got removed.
18:08 kkeithley_ Yes, I think we should, maybe even must
18:08 JustinClift I'm personally not bothered, I just want to know which was to go on it.
18:09 JustinClift So, sounds like we include it as a dep then (no probs), and might as well add a check for it to autogen.sh.
18:09 JustinClift If the check in autogen.sh that used to be there doesn't function correctly on some plaform (eg Solaris), when we can just adjust the check logic.
18:09 kkeithley_ And maybe it ought to be a BuildRequires in the rpm spec
18:09 JustinClift Heh, I'll leave that bit to you. ;)
18:10 kkeithley_ Or maybe that's something you get by default in RHEL and Fedora
18:10 kkeithley_ when you install -devel rpms
18:14 nishanth joined #gluster-dev
18:15 kkeithley_ successful build.
18:34 JustinClift Cool
19:04 edward1 joined #gluster-dev
19:15 kanagaraj joined #gluster-dev
19:45 purpleidea kkeithley_: are you a package sponsor for epel ?
19:52 kkeithley_ purpleidea: no, but I can make suggestions to a sponsor
19:53 purpleidea kkeithley_: turns out the gnome sysadmin is making puppet-gluster packages :P eg: http://pkgs.fedoraproject.org/cgit/puppet-gluster.git/tree/puppet-gluster.spec he is trying to get me to be the package maintainer for some of the deps, and that needs a sponsor. figured i'd ask if you were one
19:53 glusterbot Title: puppet-gluster.git - puppet-gluster (at pkgs.fedoraproject.org)
19:57 dlambrig__ joined #gluster-dev
20:01 kkeithley_ has Mr. Gnome Sysadmin opened a package sponsor ticket for you yet?
20:05 kkeithley_ I can probably get mrunge to sponsor you with minimal fuss, but the first step is to open a ticket at https://fedorahosted.org/packager-sponsors/newticket (sign in with your FAS username-and-password)
20:06 kkeithley_ purpleidea: ^^^
20:07 purpleidea kkeithley_: aha, will do...
20:07 purpleidea kkeithley_: do i have to write anything special in this ticket (eg: is there some doc/template i need to read first?(
20:08 kkeithley_ see https://fedorahosted.org/packager-sponsors/ticket/88
20:08 glusterbot Title: #88 (promote comaintainers to packager group) – packager-sponsors (at fedorahosted.org)
20:11 purpleidea kkeithley_: voila https://fedorahosted.org/packager-sponsors/ticket/132
20:11 glusterbot Title: #132 (New sponsor request) – packager-sponsors (at fedorahosted.org)
20:13 kkeithley_ okay, if nobody acts on it by tomorrow I'll poke mrunge
20:15 purpleidea kkeithley_: no rush :P thanks!
20:54 hchiramm_ joined #gluster-dev
21:20 ilbot3 joined #gluster-dev
21:20 Topic for #gluster-dev is now Gluster Development Channel - http://gluster.org | For general chat go to #gluster | Patches - http://review.gluster.org/ | Channel Logs - https://botbot.me/freenode/gluster-dev/ & http://irclog.perlgeek.de/gluster-dev/
22:27 [o__o] joined #gluster-dev
23:21 dlambrig__ joined #gluster-dev
23:47 dlambrig__ left #gluster-dev

| Channels | #gluster-dev index | Today | | Search | Google Search | Plain-Text | summary