[ 
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

In a fit of insanity, I've managed to get another iteration of the spec file 
written that works on Solaris x86 (really).

I'm attaching the file itself rather than a diff, the changes are significant 
and easier to see as a whole.

Significant changes were needed to the option handling, I made a lot of macro 
corrections, and a macro'd most of the standard file operations, some of which 
actually don't work on Solaris as is. I also coded around an issue with find 
and ldconfig by checking for Solaris specifically.

I tested with the rpm supplied by Sun via SFW packages and it built a 32-bit 
RPM set, which seems to be the normal case, since the 64 bit OS reports itself 
as i386.


> 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, 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