[ 
https://issues.apache.org/jira/browse/XERCESC-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Cantor updated XERCESC-1740:
----------------------------------

    Attachment: xerces-c.spec.patch

Patch to correct problems with RPM spec file, including:

* fix for old Copyright line, which now breaks rpmbuild.
* identify C++ compiler using rpm macros
* define 64-bit build option for known archs
* set libdir for configure (needed for lib64 builds)
* comment out unneeded ln command
* move Xerces install from lib to lib64 if needed
* rationalize file sections to use proper macros

Works on CentOS 5 x86_64, will test further.

> RPM spec file missing 64-bit support
> ------------------------------------
>
>                 Key: XERCESC-1740
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1740
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: CentOS (RHEL) 5, x86_64
>            Reporter: Scott Cantor
>         Attachments: xerces-c.spec.patch
>
>
> The spec file, when tweaked to fix other issues, does build, but produces a 
> 32-bit library. Making it support 64-bit requires both runConfigure changes 
> and fixes to the library install process.
> I will attempt to attach a patch if I can come up with one that isn't a 
> complete rewrite, but I do have a working spec file for 2.7.0 that is rather 
> different as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to