You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Henry Tiquet Leyva <he...@gmail.com> on 2013/02/02 20:32:53 UTC

Re: Error Building module hsqldb - Installation Source Code in AOO

I have been getting the same problem with hsqldb but sorry I haven't
understood yet how disable the UTF-8.

there is a command for do it?
where I need execute it?


2013/1/30 Alan Eduardo Puc Pech <al...@gmail.com>

> Hi team, I could help on how to disable UTF-8 to solve the problem? or as
> change the string to Knuth-Morris-Pratt to fix it, I attached the file.
>
>
> 2013/1/29 Alan Eduardo Puc Pech <al...@gmail.com>
>
>> Hello! thanks for your replies, I'm sorry for not giving answers, I don't
>> have  internet, the sunday last. Now, I just download patches of  HSQLDB of
>> Subversion, but have some type of installation?
>>
>>
>> 2013/1/29 Alexandro Colorado <jz...@oooes.org>
>>
>>> On Sun, Jan 27, 2013 at 1:59 AM, Alan Eduardo Puc Pech <
>>> alan.pucpech@gmail.com> wrote:
>>>
>>> > Hi team! I'm AlanSan, i have a problem with the compilation of AOO, the
>>> > error shows when the module starts the Building module hsqldb. I need
>>> your
>>> > help to solve this problem
>>> >
>>>
>>> It would be useful if you can join the #dev.openoffice.org IRC channel
>>> so
>>> you can get more dynamic support to your questions. So far one
>>> recommendation via Pavel is to unset all the LANG variables.
>>>
>>>
>>>
>>> >
>>> > This is the error:
>>> >
>>> > =============
>>> > Building module hsqldb
>>> > =============
>>> >
>>> > Entering /home/alan/ooo/main/hsqldb
>>> >
>>> > mkdir: cannot create directory `./unxlngi6.pro/misc/build/hsqldb/':
>>> File
>>> > exists
>>> > Buildfile: /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/build/build.xml
>>> >
>>> > init:
>>> >
>>> > javaversion6:
>>> >
>>> > javaversion4:
>>> >
>>> > javaversion2:
>>> >
>>> > -prepare:
>>> >
>>> > codeswitcher:
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/build/build.xml:135: warning:
>>> > 'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set
>>> > to false for repeatable builds
>>> >
>>> > switches:
>>> >
>>> > switchtojdk14:
>>> >
>>> > switchtojdk16:
>>> >      [java] ........................
>>> >
>>> > store:
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/build/build.xml:291: warning:
>>> > 'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set
>>> > to false for repeatable builds
>>> >
>>> > lib:
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/build/build.xml:302: warning:
>>> > 'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set
>>> > to false for repeatable builds
>>> >     [javac] Compiling 46 source files to /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/classes
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                        ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                         ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                          ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                                 ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                                  ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:39
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Implements the Knuth???Morris???Pratt string search
>>> > algorithm for searching
>>> >     [javac]                                   ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Note that the Boyer???Moore algorithm is generally
>>> > considered to be the better
>>> >     [javac]                       ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Note that the Boyer???Moore algorithm is generally
>>> > considered to be the better
>>> >     [javac]                        ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:69
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Note that the Boyer???Moore algorithm is generally
>>> > considered to be the better
>>> >     [javac]                         ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]         ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]          ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]           ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >         ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >          ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >           ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >                  ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >                   ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:81
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * Boyer???Moore requires at minimum twice the memory
>>> required
>>> > by Knuth???Morris???Pratt
>>> >     [javac]
>>> >                    ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                     ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                      ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                       ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                              ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                               ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:84
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * outperforms Knuth???Morris???Pratt.
>>> >     [javac]                                ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                   ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                    ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                     ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                            ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                             ^
>>> >     [javac] /home/alan/ooo/main/hsqldb/
>>> >
>>> >
>>> unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/KMPSearchAlgorithm.java:89
>>> > :
>>> > error: unmappable character for encoding ASCII
>>> >     [javac]  * @see <a href="
>>> >
>>> http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm
>>> > ">Knuth???Morris???Pratt
>>> > algorithm</a>
>>> >     [javac]
>>> >                                              ^
>>> >     [javac] 30 errors
>>> >
>>> > BUILD FAILED
>>> > /home/alan/ooo/main/hsqldb/
>>> > unxlngi6.pro/misc/build/hsqldb/build/build.xml:302: Compile failed;
>>> see
>>> > the
>>> > compiler error output for details.
>>> >
>>> > Total time: 3 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/alan/ooo/main/hsqldb
>>> >
>>> > When you have fixed the errors in that module you can resume the build
>>> by
>>> > running:
>>> >
>>> >    build --all:hsqldb
>>> >
>>>
>>>
>>>
>>> --
>>> Alexandro Colorado
>>> Apache OpenOffice Contributor
>>> http://es.openoffice.org
>>>
>>
>>
>

Re: Error Building module hsqldb - Installation Source Code in AOO

Posted by Henry Tiquet Leyva <he...@gmail.com>.
I had a error in the path,
It is my truest path:

/usr/lib/jvm/java-6-openjdk-i386

Finally I did this:

./configure --with-jdk-home=/usr/lib/jvm/java-6-openjdk-i386

And now it is compiling, thank you for your help Ariel




2013/2/2 Ariel Constenla-Haile <ar...@apache.org>

> Hi Henry,
>
> On Sat, Feb 02, 2013 at 02:39:52PM -0600, Henry Tiquet Leyva wrote:
> > Ariel Constenla-Haile
> >
> > *I used these commands:*
> > *autoconf*
> > *./configure --with-jdk-home=kiker/Downloads/*
>
> Did you install the JDK6 in kiker/Downloads? This does not look like
> a path, so I guess the build system is still using the JDK7, source
> LinuxX86Env.Seet.sh and try:
>
> ]$ $JAVA_HOME/bin/javac -version
>
> what's the output?
>
>
> I have installed the JDK6 in /opt/jdk1.6, then the switch is:
>
> ./configure --with-jdk-home=/opt/jdk1.6 [other configure switches]
>
> After sourcing LinuxX86Env.Set.sh, check it worked:
>
> ]$ echo $JAVA_HOME
> /opt/jdk1.6
>
> ]$ $JAVA_HOME/bin/javac -version
> javac 1.6.0_30
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>

Re: Error Building module hsqldb - Installation Source Code in AOO

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Henry,

On Sat, Feb 02, 2013 at 02:39:52PM -0600, Henry Tiquet Leyva wrote:
> Ariel Constenla-Haile
> 
> *I used these commands:*
> *autoconf*
> *./configure --with-jdk-home=kiker/Downloads/*

Did you install the JDK6 in kiker/Downloads? This does not look like
a path, so I guess the build system is still using the JDK7, source
LinuxX86Env.Seet.sh and try:

]$ $JAVA_HOME/bin/javac -version

what's the output?


I have installed the JDK6 in /opt/jdk1.6, then the switch is:

./configure --with-jdk-home=/opt/jdk1.6 [other configure switches]

After sourcing LinuxX86Env.Set.sh, check it worked:

]$ echo $JAVA_HOME 
/opt/jdk1.6

]$ $JAVA_HOME/bin/javac -version
javac 1.6.0_30


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: Error Building module hsqldb - Installation Source Code in AOO

Posted by Henry Tiquet Leyva <he...@gmail.com>.
Ariel Constenla-Haile

*I used these commands:*
*autoconf*
*./configure --with-jdk-home=kiker/Downloads/*
*
LinuxX86Env.Set.sh
./bootstrap
source LinuxX86Env.Set.sh
cd instsetoo_native
build --all

but I got the same error:

BUILD FAILED
/home/kiker/ooo/main/hsqldb/
unxlngi6.pro/misc/build/hsqldb/build/build.xml:314: Compile failed; see the
compiler error output for details.

Total time: 6 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

*


2013/2/2 Ariel Constenla-Haile <ar...@apache.org>

> On Sat, Feb 02, 2013 at 01:32:53PM -0600, Henry Tiquet Leyva wrote:
> > I have been getting the same problem with hsqldb but sorry I haven't
> > understood yet how disable the UTF-8.
> >
> > there is a command for do it?
> > where I need execute it?
>
> I'd make it simpler: download a JDK 6 and re configure with
> --with-jdk-home=<PATH_TO_JDK6>
>
>
> Regards
> --
> Ariel Constenla-Haile
> La Plata, Argentina
>

Re: Error Building module hsqldb - Installation Source Code in AOO

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Sat, Feb 02, 2013 at 01:32:53PM -0600, Henry Tiquet Leyva wrote:
> I have been getting the same problem with hsqldb but sorry I haven't
> understood yet how disable the UTF-8.
> 
> there is a command for do it?
> where I need execute it?

I'd make it simpler: download a JDK 6 and re configure with
--with-jdk-home=<PATH_TO_JDK6>


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina