W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2003

error installing libwww

From: Mildred Frisco <mildredf@asti.dost.gov.ph>
Date: Tue, 11 Feb 2003 09:19:25 +0800
To: <www-lib@w3.org>
Message-ID: <001601c2d16b$9e181740$26040a0a@Smeagle>



-----Original Message-----
From: ViewML development list [mailto:viewml-devel@viewml.com]On Behalf
Of Mildred Frisco
Sent: Monday, February 10, 2003 5:48 PM
To: ViewML development list
Subject: error installing libwww




Hi!  I would like to ask help in building libwww for stroongarm.  My project
is to build the viewml binary for strongarm.  I've already built jpeglib,
microwindows and flnx.  I had problems cross compiling libwww but i think
they're solved now but I have errors with make install in order to install
them to the correct directories.  Here are the commands i used in compiling
libwww.  I created the directory /arm-linux-projects/w3c-libwww-5.2.8/arm,
and under this directory i cross-compiled libwww .....

[mildred@arwen arm]$ ../configure --prefix=.
[mildred@arwen arm]$ CC=arm-linux-gcc CXX=arm-linux-g++ NM='arm-linux-nm -B'
RANLIB=arm-linux-ranlib make CPPFLAGS+=/armdir/usr/local/arm/include
CFLAGS+=/armdir/usr/local/arm/include  -e
	(note: I also set CFLAGS and CPPFLAGS so the program will look to the
arm-linux directory for header files.  what other way can I do this ?)
[mildred@arwen arm]$ make install
Making install in config
make[1]: Entering directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/config'
make[2]: Entering directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/config'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/arm-linux-projects/w3c-libwww-5.2.8/arm/config'
make[1]: Leaving directory `/arm-linux-projects/w3c-libwww-5.2.8/arm/config'
Making install in modules
make[1]: Entering directory
 `/arm-linux-projects/w3c-libwww-5.2.8/arm/modules' Making install in expat
make[2]: Entering directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat'
Making install in xmltok
make[3]: Entering directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat/xmltok'
make[4]: Entering directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat/xmltok'
/bin/sh ../../../../config/mkinstalldirs ./lib
/bin/sh ../../../libtool  --mode=install /usr/bin/install -c libxmltok.la
./lib/libxmltok.la
libtool: install: `./lib' must be an absolute directory name
Try `libtool --help --mode=install' for more information.
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat/xmltok'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat/xmltok'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules/expat'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/arm-linux-projects/w3c-libwww-5.2.8/arm/modules'
make: *** [install-recursive] Error 1
[mildred@arwen arm]$


If I have installed the library successfully, how do i set the configuration
 / make alterations in viewml to compile it and point the new location of
the
 libwww files ?

With regards to setting the header files directory, is there another way
than
including it in CFLAGS and CPPFLAGS ?  I was thinking of using
LD_LIBRARY_PATH but I've heard that it is not advisable to use.  Can you
tell
me more about this and how to use it ?

Thank you very much

Mildred

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


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <viewml-devel@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-off@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-digest@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-index@viewml.com>
Send administrative queries to  <viewml-devel-request@viewml.com>
Received on Monday, 10 February 2003 20:12:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:43 GMT