Menu

#112 make install -- xmlwf fails on FreeBSD

closed-fixed
5
2001-12-07
2001-11-14
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    its trying to use csh to run a sh script .. easy fix

     
  • Greg Stein

    Greg Stein - 2001-12-07
    • status: open --> closed-fixed
     
  • Greg Stein

    Greg Stein - 2001-12-07

    Logged In: YES
    user_id=6501

    This has been fixed, now that we're using a single,
    top-level Makefile (with a correct SHELL variable).

     

Log in to post a comment.

MongoDB Logo MongoDB