W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2007

Re: Libwww package for Fedora Core 6

From: Kristian Spangsege <kristian.spangsege@gmail.com>
Date: Sun, 2 Sep 2007 16:46:14 +0200
Message-ID: <19c077830709020746k23e1cbdmf9b8c215151a9bd9@mail.gmail.com>
To: andreas.bierfert@lowlatency.de
Cc: www-lib@w3.org

Here is what I do to test:

rpm -i http://download.fedora.redhat.com/pub/fedora/linux/extras/6/SRPMS/w3c-libwww-5.4.1-0.4.20060206cvs.fc6.src.rpm
patch /usr/src/redhat/SPECS/w3c-libwww.spec <<EOF
77c77
< %configure --enable-shared --disable-static --with-gnu-ld
--with-regex --with-zlib --with-ssl
---
> %configure --enable-shared --disable-static --with-gnu-ld --with-regex --with-zlib --with-ssl --enable-reentrant
EOF
rpmbuild -bb /usr/src/redhat/SPECS/w3c-libwww.spec
rpm -i /usr/src/redhat/RPMS/i386/w3c-libwww-*5.4.1-0.4.20060206cvs.i386.rpm



On 9/2/07, Kristian Spangsege <kristian.spangsege@gmail.com> wrote:
> I should add that I have tried to build and install with
> '--enable-reentrant' om my Fedora Core 6 and I have tested both the
> sample applications that come with Libwww and my own code, and so far
> I found no issues.
>
> On 9/2/07, Kristian Spangsege <kristian.spangsege@gmail.com> wrote:
> > Hi Andreas
> >
> > Are you the current maintainer of the Libwww package for Fedora? Hope so :-)
> >
> > I noticed from the RPM spec file that the flag '--enable-reentrant' is
> > not used on the configure command. Is there a good reason for this?
> >
> > You might know this already, but '--enable-reentrant' makes Libwww
> > attempt to use reentrant system calls such as 'gethostbyname_r'
> > instead of 'gethostbyname'. See for example INSTALL.html.
> >
> > Since all these reentrant versions are available with current versions
> > of glibc, I suggest that you enable this feature in the packeges.
> >
> > The reason I am concerned is that in my code I really depend on the
> > reentrance so I can run other libraries concurrently, and it is just
> > unfortunate that I cannot use the default packages.
> >
> > Let me know if you have reasons not to do this.
> >
> > There is also the alternative, to add a reconfigue option to the spec
> > file so people could do something like rpmbuild --rebuild
> > w3c-libwww.src.rpm --with reentrant
> >
> > Regards,
> > Kristian Spangsege
> >
> >
> > --
> > "Will robots inherit the earth? Yes, but they will be our children. We
> > owe our minds to the deaths and lives of all the creatures that were
> > ever engaged in the struggle called Evolution. Our job is to see that
> > all this work shall not end up in meaningless waste."
> >                                               -- MARVIN L. MINSKY
> >
>
>
> --
> "Will robots inherit the earth? Yes, but they will be our children. We
> owe our minds to the deaths and lives of all the creatures that were
> ever engaged in the struggle called Evolution. Our job is to see that
> all this work shall not end up in meaningless waste."
>                                               -- MARVIN L. MINSKY
>


-- 
"Will robots inherit the earth? Yes, but they will be our children. We
owe our minds to the deaths and lives of all the creatures that were
ever engaged in the struggle called Evolution. Our job is to see that
all this work shall not end up in meaningless waste."
                                              -- MARVIN L. MINSKY
Received on Sunday, 2 September 2007 14:46:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 2 September 2007 14:46:21 GMT