Thread: DIY - KeK
View Single Post
Old 08-09-2012, 12:39 PM   #197
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Expat for KeK_Emu

Expat

Get thing

(armv6l:1) /home/src # wget http://downloads.sourceforge.net/project/expat/expat
/2.1.0/expat-2.1.0.tar.gz


(armv6l:1) /home/src # tar -xzvf expat-2.1.0.tar.gz
(armv6l:1) /home/src # cd expat-2.1.0
(armv6l:1) /home/src/expat-2.1.0 #

Configure thing

(armv6l:1) /home/src/expat-2.1.0 # ./configure --prefix=/home --with-sysroot=/home

Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting 
config.status: creating expat.pc
config.status: creating expat_config.h
config.status: executing libtool commands
Make thing

(armv6l:1) /home/src/expat-2.1.0 # make
Spoiler:
Code:
/bin/sh ./libtool --silent --mode=compile gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmlrole.lo -c lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 7:0:6 -rpath /home/lib  -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c
gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c
gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/codepage.o -c xmlwf/codepage.c
gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o xmlwf/unixfilemap.o -c xmlwf/unixfilemap.c
/bin/sh ./libtool --silent --mode=link gcc -std=gnu99 -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H  -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/unixfilemap.o libexpat.la
(armv6l:1) /home/src/expat-2.1.0 #


Install thing

(armv6l:1) /home/src/expat-2.1.0 # make install
Spoiler:
Code:
/bin/sh ./conftools/mkinstalldirs /home/lib /home/include /home/lib/pkgconfig
/bin/sh ./libtool --mode=install /bin/install -c libexpat.la /home/lib/libexpat.la
libtool: install: /bin/install -c .libs/libexpat.so.1.6.0 /home/lib/libexpat.so.1.6.0
libtool: install: (cd /home/lib && { ln -s -f libexpat.so.1.6.0 libexpat.so.1 || { rm -f libexpat.so.1 && ln -s libexpat.so.1.6.0 libexpat.so.1; }; })
libtool: install: (cd /home/lib && { ln -s -f libexpat.so.1.6.0 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.1.6.0 libexpat.so; }; })
libtool: install: /bin/install -c .libs/libexpat.lai /home/lib/libexpat.la
libtool: install: /bin/install -c .libs/libexpat.a /home/lib/libexpat.a
libtool: install: chmod 644 /home/lib/libexpat.a
libtool: install: ranlib /home/lib/libexpat.a
libtool: finish: PATH="/home/bin:/home/lib:/home/share:/home/include:/bin:/sbin:/sbin" ldconfig -n /home/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/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 the `-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.
----------------------------------------------------------------------
for FN in ./lib/expat.h ./lib/expat_external.h ; do /bin/install -c -m 644 $FN /home/include ; done
/bin/install -c -m 644 expat.pc /home/lib/pkgconfig/expat.pc
/bin/sh ./conftools/mkinstalldirs /home/bin /home/share/man/man1
mkdir /home/share/man/man1
/bin/sh ./libtool --mode=install /bin/install -c xmlwf/xmlwf /home/bin/xmlwf
libtool: install: /bin/install -c xmlwf/.libs/xmlwf /home/bin/xmlwf
/bin/install -c -m 644 ./doc/xmlwf.1 /home/share/man/man1
(armv6l:1) /home/src/expat-2.1.0 #


Doned, No hassles.
twobob is offline   Reply With Quote