Difference between revisions of "Libxml"
Jump to navigation
Jump to search
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Lowercase title}} | |
+ | {{Infobox development tools | ||
+ | | title = libxml | ||
+ | | image = | ||
+ | | type = | ||
+ | | author = | ||
+ | | maintainer = | ||
+ | | contributor = | ||
+ | | portedby = | ||
+ | | version = | ||
+ | | licence = MIT License | ||
+ | | download = http://88.191.73.231/emvivre/wii/libxml/libxml.tar.bz2 | ||
+ | | website = http://xmlsoft.org/ | ||
+ | | discussion = | ||
+ | | source = | ||
+ | }} | ||
+ | {{No Download}} | ||
− | + | This is the compilation of '''libxml'''. | |
− | You | + | You need to add -lxml2 in Makefile. |
+ | |||
+ | == Compilation of libxml2 == | ||
+ | |||
+ | Fetch code with | ||
+ | svn co svn://svn.gnome.org/svn/libxml2/trunk | ||
+ | |||
+ | then | ||
+ | cd trunk | ||
+ | ./autogen.sh --host=powerpc-gekko | ||
− | + | if all is good you should have | |
+ | configure: error: /bin/sh ./config.sub powerpc-gekko failed | ||
+ | checking build system type... i686-pc-linux-gnu | ||
+ | checking host system type... Invalid configuration `powerpc-gekko': system `gekko' not recognized | ||
+ | |||
+ | because we need learn to ./configure what is powerpc-gekko architecture, so add these line in config.sub at line 233 | ||
+ | -gekko) | ||
+ | basic_machine=powerpc-eabi | ||
+ | os=-elf | ||
+ | ;; | ||
+ | |||
+ | next paste this | ||
+ | ./configure --host=powerpc-eabi --enable-static --disable-shared \ | ||
+ | --without-c14n --without-catalog --without-debug --without-docbook \ | ||
+ | --without-fexceptions --without-ftp --without-history --without-html \ | ||
+ | --without-http --without-iso8859x --without-legacy --without-mem-debug \ | ||
+ | --without-minimum --without-output --without-pattern --without-push \ | ||
+ | --without-reader --without-regexps --without-run-debug --without-sax1 \ | ||
+ | --without-schemas --without-schematron --without-threads \ | ||
+ | --without-thread-alloc --without-tree --without-valid --without-writer \ | ||
+ | --without-xinclude --without-xpath --without-xptr --without-modules \ | ||
+ | --without-coverage | ||
+ | |||
+ | and start compilation with | ||
+ | make libxml2.la | ||
+ | |||
+ | some materials can crash during compilation, but it doesn't matter, importants stuffs are built, next install the library compiled | ||
+ | cp -rv include/libxml/ $DEVKITPRO/libogc/include/ | ||
+ | cp -v .libs/libxml2.a $DEVKITPRO/libogc/lib/wii/ | ||
+ | |||
+ | thanks mvanbem for compilation trick with [http://mvanbem.blogspot.com/2008/12/using-configure-scripts-to-cross.html config.sub] | ||
+ | |||
+ | [[Category:Libraries]] |
Latest revision as of 04:18, 22 February 2023
libxml | |
General | |
---|---|
Licence | MIT License |
Links | |
Download | |
Website |
ARCHIVISTS NEEDED |
This homebrew application currently contains an invalid download link. It was either not caught in the web archive or on a forum that required registration to download files; which the Wayback Machine cannot index. PLEASE PROVIDE A NEW DOWNLOAD IF YOU HAVE THIS APPLICATION. |
This is the compilation of libxml.
You need to add -lxml2 in Makefile.
Compilation of libxml2
Fetch code with
svn co svn://svn.gnome.org/svn/libxml2/trunk
then
cd trunk ./autogen.sh --host=powerpc-gekko
if all is good you should have
configure: error: /bin/sh ./config.sub powerpc-gekko failed checking build system type... i686-pc-linux-gnu checking host system type... Invalid configuration `powerpc-gekko': system `gekko' not recognized
because we need learn to ./configure what is powerpc-gekko architecture, so add these line in config.sub at line 233
-gekko) basic_machine=powerpc-eabi os=-elf ;;
next paste this
./configure --host=powerpc-eabi --enable-static --disable-shared \ --without-c14n --without-catalog --without-debug --without-docbook \ --without-fexceptions --without-ftp --without-history --without-html \ --without-http --without-iso8859x --without-legacy --without-mem-debug \ --without-minimum --without-output --without-pattern --without-push \ --without-reader --without-regexps --without-run-debug --without-sax1 \ --without-schemas --without-schematron --without-threads \ --without-thread-alloc --without-tree --without-valid --without-writer \ --without-xinclude --without-xpath --without-xptr --without-modules \ --without-coverage
and start compilation with
make libxml2.la
some materials can crash during compilation, but it doesn't matter, importants stuffs are built, next install the library compiled
cp -rv include/libxml/ $DEVKITPRO/libogc/include/ cp -v .libs/libxml2.a $DEVKITPRO/libogc/lib/wii/
thanks mvanbem for compilation trick with config.sub