[Gluster-users] building 1.4.0rc6

Harshavardhana Ranganath harsha at zresearch.com
Tue Dec 30 15:20:45 UTC 2008


yes

On Tue, Dec 30, 2008 at 2:00 PM, Stas Oskin <stas.oskin at gmail.com> wrote:

> Hi.
>
> Just to clarify, it's possible to build the apache module via GlusterFS
> configure script, but not the lighttpd one (which needs to be built via the
> lighttpd configure process)?
>
> Regards.
>
> 2008/12/30 Harshavardhana Ranganath <harsha at zresearch.com>
>
> Hi Stas,
>>
>>    mod_glusterfs is for checking for apache module build directly
>> with glusterfs build. But there is no lighttpd support at the moment
>> at the configure level.
>>
>> Regards
>> On 12/30/08, Stas Oskin <stas.oskin at gmail.com> wrote:
>> > Hi.
>> >
>> > Yes, this is clear to me, as I built lighttpd modules in the past.
>> >
>> > What I'm asking about, is what the "mod_glusterfs" option means in
>> configure
>> > script?
>> >
>> > Regards.
>> >
>> > 2008/12/29 Harshavardhana Ranganath <harsha at zresearch.com>
>> >
>> >> Hi Stas,
>> >>
>> >>    Seperately means not even through the configure script. You need to
>> >> copy
>> >> the lighttpd files from glusterfs directory and copy it to actual
>> lighttpd
>> >> source directory
>> >> and patch its Makefile using the *.diff provided under lighttpd
>> directory
>> >> from glusterfs
>> >> Only then you will be able to build lighttpd glusterfs module.
>> >>
>> >> Regards
>> >>
>> >> On Mon, Dec 29, 2008 at 3:54 PM, Stas Oskin <stas.oskin at gmail.com>
>> wrote:
>> >>
>> >>> Hi.
>> >>>
>> >>> If the lighttpd module needs to be compiled separately, what the the
>> >>> lighttpd config option does in the ./configure script?
>> >>>
>> >>> Regards.
>> >>>
>> >>> 2008/12/29 Harshavardhana Ranganath <harsha at zresearch.com>
>> >>>
>> >>> Hi Stas,
>> >>>>
>> >>>>     Right now there are no such ways, you need to read the README
>> inside
>> >>>> the glusterfs lighttpd directory and copy the source files to
>> lighttpd
>> >>>> source directory and patch the Makefile using the diff provided and
>> >>>> compile.
>> >>>> Apart from that you can build RPMS for glusterfs and get it installed
>> as
>> >>>> stated earlier . Also you need glusterfs rpms installed for lighttpd
>> >>>> module
>> >>>> of glusterfs to work as it depends on "libglusterfsclient"
>> >>>>
>> >>>> Regards
>> >>>>
>> >>>> On Sun, Dec 28, 2008 at 2:41 AM, Stas Oskin <stas.oskin at gmail.com
>> >wrote:
>> >>>>
>> >>>>> Hi.
>> >>>>>
>> >>>>> I'm just building my own copy of GlusterFS 1.4.0rc7 RPM. Anyone
>> knows
>> >>>>> of
>> >>>>> a way to build the mod_glusterfs for Lighttpd via RPM?
>> >>>>>
>> >>>>> Regards.
>> >>>>>
>> >>>>> 2008/12/21 Harshavardhana Ranganath <harsha at zresearch.com>
>> >>>>>
>> >>>>>>  rpmbuild -ta glusterfs-1.4.0rc6.tar.gz --without modglfs
>> >>>>>>
>> >>>>>> should work for you. Let us know if you get any issue.
>> >>>>>>
>> >>>>>> On Sun, Dec 21, 2008 at 1:14 AM, Matt Lawrence <
>> matt.lawrence at tamu.edu
>> >>>>>> > wrote:
>> >>>>>>
>> >>>>>>> Harshavardhana Ranganath wrote:
>> >>>>>>>
>> >>>>>>>> * Replies inline *
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> On Sun, Dec 21, 2008 at 1:05 AM, Matt Lawrence <
>> >>>>>>>> matt.lawrence at tamu.edu <mailto:matt.lawrence at tamu.edu>> wrote:
>> >>>>>>>>
>> >>>>>>>>    Matt Lawrence wrote:
>> >>>>>>>>    > I am trying to build the latest release candidate and have
>> run
>> >>>>>>>>    into a
>> >>>>>>>>    > bit of a problem.
>> >>>>>>>>    >
>> >>>>>>>>    > When I run ./configure, I get:
>> >>>>>>>>    >
>> >>>>>>>>    > GlusterFS configure summary
>> >>>>>>>>    > ===========================
>> >>>>>>>>    > FUSE client        : no
>> >>>>>>>>    > Infiniband verbs   : no
>> >>>>>>>>    > epoll IO multiplex : yes
>> >>>>>>>>    > Berkeley-DB        : no
>> >>>>>>>>    > libglusterfsclient : yes
>> >>>>>>>>    > mod_glusterfs      : no ()
>> >>>>>>>>    > argp-standalone    : no
>> >>>>>>>>    >
>> >>>>>>>>    I'm answering my own question.  In my case, the solution was
>> to
>> >>>>>>>> run
>> >>>>>>>>    "rpmbuild -ta glusterfs-1.4.0rc6.tar.gz", install packages to
>> >>>>>>>> satisfy
>> >>>>>>>>    dependencies and then run "rpmbuild -ta
>> glusterfs-1.4.0rc6.tar.gz
>> >>>>>>>>    --without apxs_default".
>> >>>>>>>>
>> >>>>>>>>    Minor problem when I went to install:
>> >>>>>>>>    -bash-3.2# rpm -U /usr/src/redhat/RPMS/x86_64/glusterfs-*rpm
>> >>>>>>>>    /var/tmp/rpm-tmp.71291: line 2: /apxs: No such file or
>> directory
>> >>>>>>>>    error: %post(glusterfs-1.4.0rc6-1.x86_64) scriptlet failed,
>> exit
>> >>>>>>>>    status 127
>> >>>>>>>>
>> >>>>>>>>  rpmbuild "--without apxs_default" needs to be used in
>> conjunction
>> >>>>>>>> with "--define apxs_path /usr/local/apache"
>> >>>>>>>> if you have "apxs" installed in standard path then such an option
>> is
>> >>>>>>>> not required. Also look inside glusterfs.spec file inside tarball
>> >>>>>>>> for more
>> >>>>>>>> information on glusterfs specific rpmbuild command line
>> parameters
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>> I looked in the spec file, but I'm a novice at them.  How do I
>> build
>> >>>>>>> a
>> >>>>>>> glusterfs rpm without any apache support?
>> >>>>>>>
>> >>>>>>> -- Matt
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> --
>> >>>>>> Harshavardhana
>> >>>>>> [y4m4 on #gluster at irc.freenode.net]
>> >>>>>> "Samudaya TantraShilpi"
>> >>>>>> Z Research Inc - http://www.zresearch.com
>> >>>>>>
>> >>>>>>
>> >>>>>> _______________________________________________
>> >>>>>> Gluster-users mailing list
>> >>>>>> Gluster-users at gluster.org
>> >>>>>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Harshavardhana
>> >>>> [y4m4 on #gluster at irc.freenode.net]
>> >>>> "Samudaya TantraShilpi"
>> >>>> Z Research Inc - http://www.zresearch.com
>> >>>>
>> >>>>
>> >>
>> >>
>> >> --
>> >> Harshavardhana
>> >> [y4m4 on #gluster at irc.freenode.net]
>> >> "Samudaya TantraShilpi"
>> >> Z Research Inc - http://www.zresearch.com
>> >>
>> >>
>> >
>>
>>
>> --
>> Harshavardhana
>> [y4m4 on #gluster at irc.freenode.net]
>> "Samudaya TantraShilpi"
>> Z Research Inc - http://www.zresearch.com
>>
>


-- 
Harshavardhana
[y4m4 on #gluster at irc.freenode.net]
"Samudaya TantraShilpi"
Z Research Inc - http://www.zresearch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081230/5faa78f5/attachment.html>


More information about the Gluster-users mailing list