[ expat-Bugs-481899 ] make install -- xmlwf fails on FreeBSD

noreply@sourceforge.net noreply@sourceforge.net
Wed Nov 14 15:18:02 2001


Bugs item #481899, was opened at 2001-11-14 15:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=481899&group_id=10127

Category: Build control
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: make install -- xmlwf fails on FreeBSD

Initial Comment:
during make --
cd xmlwf && make
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib -c xmlwf.c
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib -c xmlfile.c
xmlfile.c: In function `processStream':
xmlfile.c:149: warning: implicit declaration of 
function `close'
xmlfile.c:153: warning: implicit declaration of 
function `read'
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib -c codepage.c
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib -c unixfilemap.c
gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o 
unixfilemap.o -L../lib/.libs -lexpat

britney# make install
for dir in lib xmlwf; do  (cd $dir && make install);  
done
/bin/sh ../conftools/mkinstalldirs /usr/lib /usr/includ
e
/bin/sh ../libtool --mode=install /usr/bin/install -c 
libexpat.la /usr/lib/libexpat.la
/usr/bin/install -
c .libs/libexpat.so.1 /usr/lib/libexpat.so.1
(cd /usr/lib && rm -f libexpat.so && ln -s 
libexpat.so.1 libexpat.so)
(cd /usr/lib && rm -f libexpat.so && ln -s 
libexpat.so.1 libexpat.so)
/usr/bin/install -
c .libs/libexpat.lai /usr/lib/libexpat.la
/usr/bin/install -
c .libs/libexpat.a /usr/lib/libexpat.a
ranlib /usr/lib/libexpat.a
chmod 644 /usr/lib/libexpat.a
-------------------------------------------------------
---------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed 
libraries
in a given directory, LIBDIR, you must either use 
libtool, and
specify the full pathname of the library, or use `-
LLIBDIR'
flag during linking and do at least one of the 
following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment 
variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment 
variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared 
libraries for
more information, such as the ld(1) and ld.so(8) 
manual pages.
-------------------------------------------------------
---------------
/usr/bin/install -c -m 644 expat.h /usr/include
/bin/csh ../conftools/mkinstalldirs /usr/bin
errstatus=0: Command not found.
for: Command not found.
do: Command not found.
set: Variable name must begin with a letter.
*** Error code 1

Stop in /usr/local/build/expat-1.95.2/xmlwf.
*** Error code 1

Stop in /usr/local/build/expat-1.95.2.

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

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