error installing libwww

"Mildred Frisco" <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <001601c2d16b$9e181740$26040a0a@Smeagle>


-----Original Message-----
From: ViewML development list [mailto:[email protected]]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 <[email protected]>.
To unsubscribe, E-mail to: <[email protected]>
To switch to the DIGEST mode, E-mail to <[email protected]>
To switch to the INDEX mode, E-mail to <[email protected]>
Send administrative queries to  <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.