You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2006/11/04 07:42:28 UTC

DO NOT REPLY [Bug 40892] New: - Link test for checking libexpat intead of shaky reading file test

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40892

           Summary: Link test for checking libexpat intead of shaky reading
                    file test
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
        AssignedTo: bugs@apr.apache.org
        ReportedBy: henryjen@ztune.net


Attached patch allows to build apr-util with system provided libexpat on
OpenSolaris.

On the machine, there is a expat.h and libexpat.so.* in /usr/sfw/include and
/usr/sfw/lib. But there is no .a or .la file.

It should not be required to have a .la file, not to mention a .a file. .a is,
afaik, an archive file for static link.

Attached patch use AC_CHECK_LIB to ensure a library can be found, and it uses a
for loop to look into potential folders, currently I put lib and lib64 in there.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 40892] - Link test for checking libexpat intead of shaky reading file test

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40892


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From jorton@redhat.com  2006-11-09 02:09 -------


*** This bug has been marked as a duplicate of 28205 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 40892] - Link test for checking libexpat intead of shaky reading file test

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40892





------- Additional Comments From henryjen@ztune.net  2006-11-03 22:43 -------
Created an attachment (id=19086)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19086&action=view)
link test for libexpat from lib or lib64

Detect libexpat with link test. Assuming lib should be in lib or lib64. Other
can be added if appropriate

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.