[Muscle] Problem generating Muscle Card Applet 0.9.11
Karsten Ohme
widerstand at t-online.de
Sat Feb 16 14:49:51 PST 2008
Amanda Ortega schrieb:
> Karsten,
>
> I stayed a litlle confused about the lots of directories existing in
> MusclePlugins in http://svn.debian.org/... I have to use the direcoty
> trunk\MCardApplet, right?
Correctly. Trunk is the official stuff.
>
> I installed the version 1.3.0_05 of Java and edited the file JCOP.properties.
> But now, when I type "ant JCOP" this error is showed:
>
>> ant JCOP
> Buildfile: build.xml
>
> JCOP:
>
> precompile:
>
> BUILD FAILED
> C:\Java\MusclePlugins\trunk\MCardApplet\build.xml:18: The following error
> occurr
> ed while executing this line:
> C:\Java\MusclePlugins\trunk\MCardApplet\common.xml:38: Execute failed:
> java.io.I
> OException: CreateProcess: cpp -DWITH_RSA -DWITH_EC -DWITH_AES -DWITH_SIGN
> -DWIT
> H_ENCRYPT -DWITH_JC22 -DWITH_DES -DWITH_SERIAL -DWITH_SET_STATE
> -DWITH_DELETE_ID
> -DWITH_MOVE_KEY -DWITH_MOVE_OBJECT -DWITH_CHANGE_ACL -DWITH_DELETE_KEY
> -DWITH_G
> ET_CHALLENGE -DWITH_RSA_1024 -DWITH_RSA_2048 -DWITH_AES_128 -DWITH_AES_192
> -DWIT
> H_AES_256 -DWITH_DSA_1024 -DWITH_CIPHER_RSA_NOPAD -DWITH_CIPHER_RSA_PKCS1
> -DWITH
> _CIPHER_DES_CBC_NOPAD -DWITH_CIPHER_DES_ECB_NOPAD
> -DWITH_CIPHER_DES_CBC_ISO9797_
> M1 -DWITH_CIPHER_DES_CBC_ISO9797_M2 -DWITH_CIPHER_DES_ECB_ISO9797_M1
> -DWITH_CIPH
> ER_DES_ECB_ISO9797_M2 -DWITH_CIPHER_DES_ECB_PKCS5
> -DWITH_CIPHER_AES_BLOCK_128_CB
> C_NOPAD -DWITH_CIPHER_AES_BLOCK_128_ECB_NOPAD -DWITH_SIGN_ECDSA_SHA
> -DWITH_SIGN_
> RSA_MD5_PKCS1 -DWITH_SIGN_RSA_SHA_PKCS1 -DWITH_SIGN_DES_MAC8_NOPAD
> -DWITH_SIGN_D
> ES_MAC8_ISO9797_M1 -DWITH_SIGN_DES_MAC8_ISO9797_M2 -DWITH_AES_MAC_128_NOPAD
> -DWI
> TH_EC_FP_112 -DWITH_EC_F2M_113 -DWITH_EC_FP_128 -DWITH_EC_F2M_131
> -DWITH_EC_FP_1
> 60 -DWITH_EC_F2M_163 -DWITH_EC_FP_192 -DWITH_EC_F2M_193 -DJAVA_PACKAGE=
> com.mD
>
> Total time: 0 seconds
>
>
> What is it?
Do you have the command cpp? Install a gcc compiler. For Windows you can
use Cygwin and install gcc. See the README. If this is not the error, we
have to look at it again.
Regards,
Karsten
>
> Thanks,
> Amanda
>
> 2008/2/13, Karsten Ohme <widerstand at t-online.de>:
>> Amanda Ortega schrieb:
>>> Hi! I didin't know ant before, but I have learned the basics. I
>> installed
>>> the programmes needed and I adjusted the setenvJCOP.sh file.
>>> Do I have to do
>>> any other thing?
>> It is now also contained with the MCardApplet in SVN:
>>
>> http://svn.debian.org/
>>
>> Search MusclePlugins. If you can verify it, I can release a new version.
>>
>> The INSTALL description there is more up to date and it might be
>> simpler. But it should works only with this version you have. Some
>> programs are not necessary e.g. JAXP. For you with a JCOP card only
>> J2SDK 1.3.0_05 and JavaCard version Java Card 2.2.1.
>>
>>> I typed the following command:
>>>
>>> ant -buildfile buildJCOP.xml
>> No. "ant JCOP" is enough (if ant is on the path).
>>
>>> under the directory MCardApplet. But this error was showed:
>>>
>>>
>> /home/amanda/downloads/muscle_card/MCardApplet/MCardApplet/buildJCOP.xml:63:
>>> Error running ${env.JAVA_BUILD_HOME}/bin/javac compiler
>>>
>>> The line referred by JAVA_BUILD_HOME at setenvJCOP.sh is:
>> Is the file setenvJCOP from you? You actually must only edit
>> JCOP.properties. And Java 1.5 is OK for running ant, but for compiling
>> the applet it is not working. Look in he INSTALL, I believe it was Java
>> 1.3 and you can keep the JCOP.properties if you place the directories in
>> the mentioned order.
>>
>> Regards,
>> Karsten
>>
>>> JAVA_BUILD_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/
>>>
>>> and /usr/lib/jvm/java-1.5.0-sun-1.5.0.10/bin/javac exists. So, I don't
>> know
>>> why it is showing this error.
>>>
>>> Help, please!
>>> Thanks,
>>> Amanda
>>>
>>> 2008/2/6, Karsten Ohme <widerstand at t-online.de>:
>>>> Ludovic Rousseau schrieb:
>>>>> Hello Karsten,
>>>>>
>>>>> On Feb 6, 2008 12:58 AM, Karsten Ohme <widerstand at t-online.de> wrote:
>>>>>> Use my written Ant scripts (You know ant?)
>>>>>>
>>>>>> http://web.inf.tu-dresden.de/~ko189283/MuscleCard/<http://web.inf.tu-dresden.de/%7Eko189283/MuscleCard/>
>>>>>>
>>>>>> MCardApplet.zip
>>>>>>
>>>>>> just replace the source with your source. And read the README or
>>>> INSTALL
>>>>>> or what sounds like this.
>>>>> Maybe you could update the build script on alioth with your ant files?
>>>>> That would be great!
>>>> Yes. On my task list. If I forget it, bug me.
>>>>
>>>> Karsten
>>>>> Bye
>>>>>
>>>> _______________________________________________
>>>> Muscle mailing list
>>>> Muscle at lists.musclecard.com
>>>> http://lists.drizzle.com/mailman/listinfo/muscle
>>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Muscle mailing list
>>> Muscle at lists.musclecard.com
>>> http://lists.drizzle.com/mailman/listinfo/muscle
>> _______________________________________________
>> Muscle mailing list
>> Muscle at lists.musclecard.com
>> http://lists.drizzle.com/mailman/listinfo/muscle
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Muscle mailing list
> Muscle at lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
More information about the Muscle
mailing list