#13 Compilation fails for Expat expat-1.95.1

closed-invalid
nobody
5
2000-12-19
2000-11-08
Raj
No

(cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.0.1 libexpat.so.0)
(cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.0.1 libexpat.so)
ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o
../libtool: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libexpat.la'
Current working directory /export/home/rajanr/perl/xml/expat-1.95.1/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'

I then checked up the Makefile in the lib directory, it has LIBRARY=libexpat.la there. I could not understand the ar cru .libs/libexpat.a line.

Can some body help please

rajanvaradha@hotmail.com

Discussion

  • Raj
    Raj
    2000-11-10

    Gents,
    Problem solved I did not have access to the ar command, and added /usr/ccs/bin to my path and that cleared the problem.

    Please close this record.

    Regards
    Rajan

     
  • What kind of system are you attempting this on? Please provide the ouptut of "uname -s -r -m -p".

    Thanks!

     
    • labels: 100100 --> Build control
     
    • status: open --> closed-invalid
     
  • This is an user environment error as reported by the user; not an Expat problem.