[Gluster-devel] getting --libdir passed.
Kevan Benson
kbenson at a-1networks.com
Tue Oct 23 23:29:46 UTC 2007
Sorry, coming late into this conversation.
rpm --eval '%{_libdir}'
I was going through exactly this pain when I originally tried using the
RPMs. I spent enough time trying to get it separated out into separate
client and server packages with different required (no fuse required for
the server) that I decided my time was better spent doing testing and I
just ended up ssh tar piping directory tries to servers to ease
installations until I had a stable working glusterfs config and could
focus on the RPM again.
I think I modified your specs fairly heavily Matt, but they may have
changed quite a bit in the meantime (it was a few months ago). I'll try
to post my specs in a bit after comparing with what you guys have
currently. Maybe there will be something useful in there.
Matt Paine wrote:
> Hey Chris - not bad for not looking at one before
>
> I want to try a more generic way, there should be a rpm spec variable
> called %_libdir (i think or perhaps its just %_lib, its been a while).
> I havn't had a spare chance to even look at it, obviously hanv't got
> as much spare time as you do ;)
>
> Sorry for the delay, but I probably wont get to it until the weekend
> now :/
>
>
> But if you could spare a chance to try my new spec file after the
> weekend for interest that would be great.
>
>
>
> Matt.
>
>
>
> Chris Johnson wrote:
>
>> On Sun, 21 Oct 2007, Matt Paine wrote:
>>
>> So I had a spare nanoseond with nothing else to do (yeah, right)
>> and
>> modified the RPM SPEC file. Sometimes success can be very
>> anticlimactic. Frst time I've done one of these. See attached.
>>
>> No warrenties expressed or implied, your mileage may vary, yada
>> yada, yada. And it's just to solve my problem, nobody elses.
>>
>> Good luck.
>>
>>> Hi Chris
>>>
>>> I originally wrote the spec file, but not having an 64 bit system I
>>> didn't know of the different library.
>>>
>>> Is this the only chage? Pass --libdir=/lib64 ?
>>>
>>> Let me change the spec file to allow this change (I should be able
>>> to detect the arch automatically). Would you mind testing the spec
>>> file for me before I commit it to the tla?
>>>
>>>
>>> Thanks.
>>> Matt.
>>>
>>>
>>>
>>
>> -------------------------------------------------------------------------------
>>
>> Chris Johnson |Internet: johnson at nmr.mgh.harvard.edu
>> Systems Administrator |Web:
>> http://www.nmr.mgh.harvard.edu/~johnson
>> NMR Center |Voice: 617.726.0949
>> Mass. General Hospital |FAX: 617.726.7422
>> 149 (2301) 13th Street |If ignorance is bliss, why aren't there
>> more
>> Charlestown, MA., 02129 USA |happy people? Tea bag tag
>> -------------------------------------------------------------------------------
>>
>
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> .
>
--
-Kevan Benson
-A-1 Networks
More information about the Gluster-devel
mailing list