|
|
Line 1: |
Line 1: |
− | ==Talk and User talk==
| + | #REDIRECT [[Talk:Error compilando hsqldb]] |
− | If you were trying to move your article to this page, you need to specify "User talk:(name)" to do it. You can blank this page and try again, if you like.
| + | |
− | | + | |
− | Your friendly neighborhood sysop, --[[User:TJFrazier|TJ]] ([[User_talk:TJFrazier|Talk]]) 19:34, 1 February 2013 (UTC)
| + | |
− | | + | |
− | == Error compilando hsqldb ==
| + | |
− | | + | |
− | === Introducción ===
| + | |
− | | + | |
− | He estado trabajando en la compilación de AOO y siguiendo la guia original,
| + | |
− | estos son los comandos que he utilizado:<br />
| + | |
− | | + | |
− | $autoconf
| + | |
− | $./configure --with-jdk-home=/usr/lib/jvm/java-6-openjdk-i386
| + | |
− | $./bootstrap
| + | |
− | $source LinuxX86Env.Set.sh
| + | |
− | $cd instsetoo_native
| + | |
− | $build --all
| + | |
− | | + | |
− | === El problema ===
| + | |
− | Mientras estaba compilando me mandaba este error:<br />[[File:2013-02-02-123305_1024x600_scrot.png|thumbnail|Error: hsqldb]]
| + | |
− | | + | |
− | | + | |
− | | + | |
− | BUILD FAILED /home/kiker/ooo/main/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:302: Compile failed; see the compiler error output for details.
| + | |
− | Total time: 12 seconds dmake: Error code 1, while making './unxlngi6.pro/misc/build/so_built_so_hsqldb'
| + | |
− | 1 module(s): hsqldb need(s) to be rebuilt
| + | |
− | Reason(s):
| + | |
− | ERROR: error 65280 occurred while making /home/kiker/ooo/main/hsqldb
| + | |
− | When you have fixed the errors in that module you can resume the build by running:
| + | |
− | build --all:hsqldb
| + | |
− | | + | |
− | | + | |
− | Esto es debido a problemas de versiones de codificación. Yo tenia instalado el jdk-7 esto cuasaba problemas con la codificación de UTF-8.
| + | |
− | | + | |
− | === La solución ===
| + | |
− | Para solucionarlo descargué el jdk-6 con el que si es compatible y después lo instalé.
| + | |
− | finalmente en el paso de configuración puse la ruta y el nombre del archivo en donde se encuentra el jdk en mi máquina:<br />
| + | |
− | | + | |
− | | + | |
− | $autoconf
| + | |
− | $./configure '''--with-jdk-home=/usr/lib/jvm/java-6-openjdk-i386'''<br />
| + | |
− | $./bootstrap
| + | |
− | $source LinuxX86Env.Set.sh
| + | |
− | $cd instsetoo_native
| + | |
− | $build --all
| + | |
− | | + | |
− | | + | |
− | Con esto fue posible compilar el módulo hsql y seguir adelante.
| + | |