Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cjthorley

Pages: [1]
1
Python / Running Python plus modules
« on: May 30, 2004, 09:54:39 pm »
Hi,

Im quite new to all this Zaurus development stuff but maybe you can help me out!

I have installed the following packages onto my Zaurus SL5600.

pyqt_3.10-1.0_arm.ipk
example_1.0.0_arm.ipk
python_2.3.3-1.0_arm.ipk

python-ide_0.8_arm.ipk
python-code_2.2.2-1.0_arm.ipk
python-devel_2.2.2-1.0_arm.ipk

However I am actually trying to run the follwing modules especially the Molecular Modelling tool kit.  The NUMERICAL and SCIENTIFIC modules are dependencies for Molecular MOdelling ToolKit as follows:-

NUMERICAL PYTHON
The base package: python-numeric_21.3-2.2_arm.ipk
The LinearAlgebra module: python-numeric-linearalgebra_21.3-2.2_arm.ipk
The FFT module: python-numeric-fft_21.3-2.2_arm.ipk
The RandomArray and RNG modules: python-numeric-random_21.3-2.2_arm.ipk
python-pickle_2.2.2-1.0_arm.ipk


SCIENTIFIC PYTHON
Everything except NetCDF: python-scientific_2.4.3-2.2_arm.ipk
NetCDF interface: python-scientific-netcdf_2.4.3-2.2_arm.ipk

MOLECULAR MODELLING TOOLKIT
mmtk_2.3.1_arm.ipk

My problem is that I cant seem to load up the Python GUI application.  I can tap the Python icon on the desktop and the egg timer appears on the task bar but then just disappears agian. I cant seem to find any documentation on getting Python to run.  I did try typing puthon in the terminal window and I did get a responce but my python terminal knowledge is next to nothing.  Anyway I think something is missing but im not sure what.  Can you help???? Let me know if you need more information??

The websites I have been using are as follwows:-

http://starship.python.net/~hinsen/Zaurus/
http://www.riverbankcomputing.co.uk/zaurus/index.php

Chris

2
General Discussion / root access rights
« on: May 24, 2004, 01:02:11 am »
guys i have just realised why!!!!  I dont have a cf card....sorry to waste your time.  Problem Solved!!!

3
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: May 24, 2004, 12:59:17 am »
are bugger!!!!!  yeah I need a cf card thats why it says cf.  God i really am idiot!  Well I had better buy a cf card pretty soon then.

Thanks

4
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: May 24, 2004, 12:36:38 am »
Hi freizugheit

Thanks for all you advice so far!  Its great but the task of getting Java running on my Zaurus is proving more difficult than I expected  Anyway I will keep trying!

In answer to your questions I dont have CF card yet but I do intend to buy one soon.  My zaurus is running out of memory fast.

So this is my situatui so far

1) I still havent managed to creat the directory /mnt/cf/java because of access rights.  I was thinking about changing the access rights for the cf directory using chmod in the terminal,  what do you think???? I also notice that in the cf directory is a file called NotAvailable and it has 0B.  Do you need it in there???

2) I have successfully installed and ran the EWE java program no problem.

3) I have also unpacked the jikes compiler (binary) which is now sitting in my /usr/bin directory and is showing a huge 12.7 M.........it looks to big.......what do you think????

4) I havent yet downloaded the classes.zip file because I am unsure of which classes.zip to download.  There seems to be many each representing a different version of JDK.  Which classes.zip do i need??? where should I place the classes.zip file????

5)  Actually I have the Personal Profile from SUN on my zaurus.  As I understand it this represents JDK 2 so it will be useful to incorporate this into my programming.  How do I make use of this with EWE???  and when I program??

Sorry for my lac of knowledge but your help is really improving my understanding.....Thanks alot!!!!

Chris

5
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: May 22, 2004, 12:16:24 am »
Hi,

My UNIX knowledge is also very basic but that is actually one of the reason why I bought the zaurus.  I can study using the terminal commandes as well as practice my Java skills on the go.  Its great so far but my level of UNIX and Programming is so low that its proving difficult to get started.

Anyway I am pretty sure the binary version of Jikes is on my Zaurus but im not sure where to put the file in the file system.

I still cant have write access to the /mnt/cf directory.  I keep getting a message saying that its read only even when logged in as root.  I have tried loggin in as root from the terminal (su -l command) and also I have tried executing the file manger with root privelages but still cant creat/write a new director /mnt/cf/java.......  Any advice???

I have a successful installation of EWE which is looking nice with a good editor.  I dont see a compile option on the editor though.  I will check it out later today.

Im tried running the echo commands echo $PATH and echo $CLASSPATH

The $PATH seems to be no problem but when i echo $CLASSPATH I just get a line return plus a blank line then it line returns again with the terminal promt.  In sure what going on here???

Anyway Its a struggle so far but I dont mind im leraning everystep of the way.  Sorry if its frustrating................thanks for you help and any help would be great!!!

Chris

6
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: May 21, 2004, 11:08:32 am »
Hi freizugheit and everybody else

Thanks for the advice! Im trying to install Jikes but when I unzip the jikes.tar.gz file I just get a load of messages with a file called jikes in the folder.  Anyway where should I copy the jikes file in the filesystem???

Also I installed the Ewe which is looking interesting but I am trying to open create a folder in the following path like you said

 /mnt/cf/java

However when I try and create the folder I keep getting an error message.....cannot create folder.  I tried again when logged in as root but with no success.....can hyou help again???

Also when i get up and running will I be able to add new .jar files to the /mnt/cf/java folder when I want to run new programs???

Sorry but its all a little new to me but im learning alot.

Thanks Chris

7
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: May 20, 2004, 04:24:30 am »
Hi Guys,

I have just bought a new SL5600 Zaurus. My main reason for buying this is to develop convenient informatic software.

Anyway I am currently a Java beginner but I would like to compile and run siomple Java programs while on the move. I have recently bought a book which came supplied with some great Java examples however I cant seem to get the simple programs to compile.

The code refers to an IMPORT package called essential.jar. I cant seem to get the compiler to recognise the IMPORT package .....eassential.jar. I have done some reasearch and it seems to be a problem with the CLASSPATH finding the .jar package! Is this the case??? If so can you help update the CLASSPATH to recognise this .jar package????

As I unmderstand it the .jar package contains some classes such as a keyboard class (for recieving imput from the keyborad) and some graph classes (to assist in drwaing simple graphs). Perhaps these clases are not part of the J2ME and only part of the Java 2 language. If this is the case how can I convert simple Java 2 code into understandable code for the Zaurus to compile???????

These are very difficult questions for me to answer becsuse Im just a beginner but any help would be great

Thanks

Topher

Pages: [1]