[ expat-Bugs-576396 ] expat 1.95.3 fails to build on aix 4.3.3

noreply@sourceforge.net noreply@sourceforge.net
Tue Jul 2 07:25:12 2002


Bugs item #576396, was opened at 2002-07-02 07:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=576396&group_id=10127

Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: expat 1.95.3 fails to build on aix 4.3.3

Initial Comment:
Hi everybody,

when attempting to build expat 1.95.3 on aix 4.3.3,
i had the following error running 'make'

/bin/sh ./libtool --silent --mode=compile cc -g   -Ilib -I. -o 
lib/xmlparse.lo -
c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile cc -g   -Ilib -I. -o 
lib/xmltok.lo -c
lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile cc -g   -Ilib -I. -o 
lib/xmlrole.lo -c
 lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link cc -g   -Ilib -I. -no-
undefined -version-
info 2:0:2 -rpath /usr/test/lib  -o lib/libexpat.la 
lib/xmlparse.lo lib/xmltok.l
o lib/xmlrole.lo
ar: No such file or directory
ar: 0707-113 The fopen system call failed on 
file .libs/libexpat.a.
make: *** [lib/libexpat.la] Erreur 1

I searched the web and found a similar error with a 
solution described in

http://www.freetype.org/pipermail/devel/2002-
March/003045.html

<quote>
The problem was the AR was being passed $objdir, when 
it should be $output_objdir. The former is a relative path, 
and we need an absolute path.
</quote>

It' a 'configure' issue
I tried it and it works !
I also succeeded to build perl module XML::Parser 2-31
:-)

I've sent the patch as an attachment

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=576396&group_id=10127