You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Alberto Massari <am...@datadirect.com> on 2006/05/22 10:23:03 UTC

Re: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

At 05:39 PM 5/20/2006 +0200, Axel Weiß wrote:
> > Alberto Massari commented on XERCESC-1069:
> > ------------------------------------------
> >
> > Can you test the 3.0 branch under SVN to see if the new autoconf-based
> > configure script works?
>
>Alberto,
>
>FYE: A Saturday afternoon testrun.
>Checked out svn co https://svn.apache.org/repos/asf/xerces/c/trunk
>Revision 408027.
>Configured on AMD64, SuSE-10.0, without additional parameters.
>Building fine, without warnings.
>Installing without warnings, but libraries go to /usr/local/lib instead
>of /usr/local/lib64.
>Maybe this issue is related to XERCESC-1489.
>
>Cheers,
>                         Axel

Hi Axel,
can you check if the binary outputs are really 64 
bit? I am not sure that configure generates by 
default the proper command line options to force a 64 bit build.

Thanks,
Alberto




>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Alberto Massari <am...@datadirect.com>.
At 12:53 AM 5/23/2006 +0200, Axel Weiß wrote:
>Alberto Massari wrote:
> > At 10:35 PM 5/22/2006 +0200, Axel Weiß wrote:
> > >Alberto Massari wrote:
> > > > can you check if the binary outputs are really 64
> > > > bit? I am not sure that configure generates by
> > > > default the proper command line options to force a 64 bit build.
> > >
> > >Hi Alberto,
> > >
> > >axel@luckyluke:/usr/local/lib> file libxerces-3.0.so
> > >libxerces-3.0.so: ELF 64-bit LSB shared object, AMD x86-64, version 1
> > > (SYSV), not stripped
> > >
> > >:)
> >
> > Good :-)
> > Can you check if rpmbuild instead needs some
> > specific switch? According to the bug reporter,
> > using {%_lib} in the spec file should be enough
> > to be compatible with both 32 and 64 bit environments.
>
>Don't know how to make rpmbuild (grep for 'rpm' gave no hits in Makefile).
>
>However, in trunk/Makefile, line 247: libdir = ${exec_prefix}/lib
>trunk/Makefile.in, line 247: libdir = @libdir@
>
>shows that @libdir@ is set wrong.

Hi Axel,
rpmbuild is an utility that reads the 
xerces-c.spec file and executes the instructions found there.
The spec file specifies this line

make prefix=$RPM_BUILD_ROOT%{prefix} 
libdir=$RPM_BUILD_ROOT%{prefix}/%{_lib} install

that overwrites the libdir variable found in the Makefile.
So, provided that %{_lib} is expanded into "lib64", it should work.

Alberto


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Axel Weiß <aw...@informatik.hu-berlin.de>.
Alberto Massari wrote:
> At 10:35 PM 5/22/2006 +0200, Axel Weiß wrote:
> >Alberto Massari wrote:
> > > can you check if the binary outputs are really 64
> > > bit? I am not sure that configure generates by
> > > default the proper command line options to force a 64 bit build.
> >
> >Hi Alberto,
> >
> >axel@luckyluke:/usr/local/lib> file libxerces-3.0.so
> >libxerces-3.0.so: ELF 64-bit LSB shared object, AMD x86-64, version 1
> > (SYSV), not stripped
> >
> >:)
>
> Good :-)
> Can you check if rpmbuild instead needs some
> specific switch? According to the bug reporter,
> using {%_lib} in the spec file should be enough
> to be compatible with both 32 and 64 bit environments.

Don't know how to make rpmbuild (grep for 'rpm' gave no hits in Makefile).

However, in trunk/Makefile, line 247: libdir = ${exec_prefix}/lib
trunk/Makefile.in, line 247: libdir = @libdir@

shows that @libdir@ is set wrong.

Cheers,
			Axel

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Scott Cantor <ca...@osu.edu>.
> do you have the time to test the 3.0 branch? It would be very 
> helpful, as I don't have a 64-bit hardware nor the experience with 
> the 64-bit architecture.

I sympathize...I do have access to one box I test on for the moment. It's on
my TODO list to check this, I've been trying to find time to test
XML-Security for Berin on the same kinds of platforms, but I wanted to test
Xerces as well as soon as I can.

Is there a tarball of 3.0 anywhere, or just svn trunk?

I have to package Xerces and xmlsec for all the OpenSAML/Shibboleth
supported platforms, so I've been messing with those builds and specfiles
for a while now. Some folks at Stanford are working on packages for Debian
now as well. My hope is for 3.0 to resolve most of that custom packaging.

Do you have a timeline at this point for when 3.0 should be final? Is it
basically "when people stop reporting issues" or sometime later?

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Alberto Massari <am...@datadirect.com>.
At 05:28 PM 5/22/2006 -0400, Scott Cantor wrote:
> > Can you check if rpmbuild instead needs some
> > specific switch? According to the bug reporter,
> > using {%_lib} in the spec file should be enough
> > to be compatible with both 32 and 64 bit environments.
>
>When I ran into this with Xerces 2.x, one issue had to do with specifying
>the --libdir switch using the -C switch to runConfigure. It was building
>things into lib but then the rest of the specfile was using lib64.
>
>Since runConfigure is gone (I think?), might not be the same problem.

Hi Scott,
do you have the time to test the 3.0 branch? It would be very 
helpful, as I don't have a 64-bit hardware nor the experience with 
the 64-bit architecture.

Thanks in advance,
Alberto

>-- Scott
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Scott Cantor <ca...@osu.edu>.
> Can you check if rpmbuild instead needs some 
> specific switch? According to the bug reporter, 
> using {%_lib} in the spec file should be enough 
> to be compatible with both 32 and 64 bit environments.

When I ran into this with Xerces 2.x, one issue had to do with specifying
the --libdir switch using the -C switch to runConfigure. It was building
things into lib but then the rest of the specfile was using lib64.

Since runConfigure is gone (I think?), might not be the same problem.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Alberto Massari <am...@datadirect.com>.
At 10:35 PM 5/22/2006 +0200, Axel Weiß wrote:
>Alberto Massari wrote:
> > can you check if the binary outputs are really 64
> > bit? I am not sure that configure generates by
> > default the proper command line options to force a 64 bit build.
>
>Hi Alberto,
>
>axel@luckyluke:/usr/local/lib> file libxerces-3.0.so
>libxerces-3.0.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV),
>not stripped
>
>:)

Good :-)
Can you check if rpmbuild instead needs some 
specific switch? According to the bug reporter, 
using {%_lib} in the spec file should be enough 
to be compatible with both 32 and 64 bit environments.

Thanks,
Alberto

>                         Axel
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: [jira] Commented: (XERCESC-1069) configure gcc 64-bit on solaris fails

Posted by Axel Weiß <aw...@informatik.hu-berlin.de>.
Alberto Massari wrote:
> can you check if the binary outputs are really 64
> bit? I am not sure that configure generates by
> default the proper command line options to force a 64 bit build.

Hi Alberto,

axel@luckyluke:/usr/local/lib> file libxerces-3.0.so
libxerces-3.0.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), 
not stripped

:)
			Axel

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org