Libwww package for Fedora Core 6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Libwww package for Fedora Core 6

Kristian Spangsege-2

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

Reply | Threaded
Open this post in threaded view
|

Re: Libwww package for Fedora Core 6

Kristian Spangsege-2

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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: Libwww package for Fedora Core 6

Kristian Spangsege-2

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 <[hidden email]> 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 <[hidden email]> 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