You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Steven J. Hathaway (JIRA)" <ji...@apache.org> on 2012/09/18 23:35:07 UTC

[jira] [Created] (XALANC-732) AIX Build - Makefile Errors

Steven J. Hathaway created XALANC-732:
-----------------------------------------

             Summary: AIX Build - Makefile Errors
                 Key: XALANC-732
                 URL: https://issues.apache.org/jira/browse/XALANC-732
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: 1.11
         Environment: AIX platforms
            Reporter: Steven J. Hathaway
            Assignee: Steven J. Hathaway


The current SVN repository needs to have Makefiles fixed before release.

A line in the AIX-specific section references a bad version of the Xerces XML parser library.

Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Updated] (XALANC-732) AIX Build - Makefile Errors

Posted by "Steven J. Hathaway (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven J. Hathaway updated XALANC-732:
--------------------------------------

    Attachment: Makefile.incl.in.patch

AIX new patch committed - See file: Makefile.incl.in.patch

The library version used is the one installed using the link
lib/libxerces-c.so -> (installed version).so

Steve
                
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>         Attachments: Makefile.incl.in.patch, makefile-incl.patch
>
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Resolved] (XALANC-732) AIX Build - Makefile Errors

Posted by "Steven J. Hathaway (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven J. Hathaway resolved XALANC-732.
---------------------------------------

    Resolution: Fixed
    
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>         Attachments: Makefile.incl.in.patch, makefile-incl.patch
>
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (XALANC-732) AIX Build - Makefile Errors

Posted by "Steven J. Hathaway (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458204#comment-13458204 ] 

Steven J. Hathaway commented on XALANC-732:
-------------------------------------------

Hi Steven,


I've been spending much more time than I really wanted to today trying to get Xalan
to build on Aix.  I did, in the end, get it done, but not before a lot of
hair-pulling moments.

The problem is the file Makefile.incl.in . It assumes that Xerces libraries are
available at XERCESCROOT/lib , which is incorrect.  It also hard-codes the Xerces
version number incorrectly.

The bad line as it now is (in the AIX-specific section) is:

  XERCES_LIB= -L$(XERCESCROOT)/lib -lxerces-c27

That needs to be :
  XERCES_LIB= -L/home/prod/app/xerces/3_1_1.nondbg.nonICU/lib -lxerces-c

At least, for us.  (  /home/prod/app/xerces/3_1_1 etc is where we installed Xerces
after successfully building it. )


And especially don't drop that initial "-L" bit like I did today; (thank goodness I
had the previous correct build of Xalan-svn of 2011 to compare files with, otherwise
I don't think I'd have spotted that one...)


The runConfigure invocation I used was:

./runConfigure -p aix -c xlc_r -x xlC_r -m inmem -b 32 -P
/home/prod/app/xalan/xalanRev1387073/install.32bits >o.runConfigure 2>&1 &

With the following compiler: IBM XL C/C++ for AIX, V10.1 ...


There's some more things to explain, but I want to leave that for tomorrow or later,
as I've spent waaaay more time on this today than I should have, have to work on
some other things as well!

Sincerely,
Martin
                
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (XALANC-732) AIX Build - Makefile Errors

Posted by "Steven J. Hathaway (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459314#comment-13459314 ] 

Steven J. Hathaway commented on XALANC-732:
-------------------------------------------

The makefile-incl.patch has now been committed. -- ready for testing.
                
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>         Attachments: makefile-incl.patch
>
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Updated] (XALANC-732) AIX Build - Makefile Errors

Posted by "Steven J. Hathaway (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven J. Hathaway updated XALANC-732:
--------------------------------------

    Attachment: makefile-incl.patch

makefile-incl.patch // patches svn rev 1383082

(svn)/xalan/c/trunk/makefile.incl

                
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>         Attachments: makefile-incl.patch
>
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Commented] (XALANC-732) AIX Build - Makefile Errors

Posted by "Martin Elzen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XALANC-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459700#comment-13459700 ] 

Martin Elzen commented on XALANC-732:
-------------------------------------

Hi Steven,

this is almost correct but not quite:

that one line needs to end as follows:
XERCES_LIB= -L$(XERCESCROOT)/lib -lxerces-c-3.1

(note the - between the c and major version nr and the decimal point between the major and minor version numbers.

or you just let it end on -lxerces-c
without anything else, as a part of the Xerces build proces they create such an 'unversioned' link to the versioned lib file.

to illustrate, this is my Xerces lib dir:

$ ls -l $XERCESCROOT/lib
total 25944
-rwxr-xr-x    1 usbuild  prod       13277482 sep 20 14:33 libxerces-c-3.1.a
lrwxrwxrwx    1 usbuild  prod             17 sep 20 14:33 libxerces-c.a -> libxerces-c-3.1.a
-rwxr-xr-x    1 usbuild  prod            984 sep 20 14:33 libxerces-c.la
drwxr-xr-x    2 usbuild  prod            256 sep 20 14:33 pkgconfig


                
> AIX Build - Makefile Errors
> ---------------------------
>
>                 Key: XALANC-732
>                 URL: https://issues.apache.org/jira/browse/XALANC-732
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: 1.11
>         Environment: AIX platforms
>            Reporter: Steven J. Hathaway
>            Assignee: Steven J. Hathaway
>         Attachments: makefile-incl.patch
>
>
> The current SVN repository needs to have Makefiles fixed before release.
> A line in the AIX-specific section references a bad version of the Xerces XML parser library.
> Xerces 3.1 is used instead of 2.7

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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