Mildred Frisco
2003-02-10 09:48:27 UTC
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 .....
[***@arwen arm]$ ../configure --prefix=.
[***@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 ?)
[***@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
[***@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-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
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 .....
[***@arwen arm]$ ../configure --prefix=.
[***@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 ?)
[***@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
[***@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-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>