Re: error installing libwww
Jason Kingan <[email protected]> Tue, 11 Feb 2003 09:16:55 -0700
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <[email protected]> |
Mildred, The problem you are having below is because of the --prefix option given to configure. It appears that libwww wants a full path for installation, which is quite common. Instead of configuring with --prefix=. , you should try --prefix=/home/mildred/tmp or something similar if all you want to do is grab the libs and whatnot. Hope this helps, Jason Kingan Century Software On Monday 10 February 2003 02:48 am, you wrote: > 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]> ############################################################# 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]>