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 - alexei

Pages: [1] 2
1
Zaurus - pdaXrom / Postfix Anyone?
« on: October 23, 2006, 02:32:16 am »
Hi has anyone compiled postfix for pdaxrom?

The mail setup I want is mutt for reading, offlineimap to get the mail and postfix or similar to deliver the mail. Mutt and offlineimap are available but is postfix?

The feature I'm after in the MTA is a disconnected mode so that I can queue messages to send offline (eg on a bus) and send them once I can connect the Z, postfix will do this but I'm not sure about others.

cheers,

Alexei

2
Zaurus - pdaXrom / Setting Time
« on: May 23, 2006, 07:36:18 am »
I ran into this problem recently (1.1.0beta1). How about modifying
/etc/apm/scripts.d/hwclock to read

suspend() {
  # first need to turn off atd for this to work
  /etc/rc.d/init.d/atd stop  
  hwclock --systohc
  return 0
}

resume() {
  hwclock --hctosys
  /etc/rc.d/init.d/atd start
  return 0
}


will this break anything else?

3
Zaurus - pdaXrom / (solved) Missing Python Library (rc12)?
« on: October 30, 2005, 11:37:22 pm »
Hi,

there are two files that are missing from the python distribution:

urllib.py and urlparse.py (both should be in  /usr/lib/python2.4/)

without these the xml stuff won't work and they don't seem to be available in any of the python ipks. As a quick solution just copy them across from any other machine and put them in /usr/lib/python2.4/ . At some point these should be added to one of the existing packages like python-xml or python-html

cheers,

Alexei

4
Zaurus - pdaXrom / (solved) Missing Python Library (rc12)?
« on: October 23, 2005, 04:34:29 am »
Hi, I've just upgraded from a 750 to a 3100  and I'm reinstalling things ...

tried to use pythons xml library, but I get an error that it can't find any parsers, any ideas as to which packages I'm missing?

I've installed expat_1.95.8_armv5tel.ipk and python-xml

i.e.

zaurus:~/bin>ls -l /usr/lib/libexpat.so*
lrwxrwxrwx    1 root     root           17 Oct 23 10:58 /usr/lib/libexpat.so -> libexpat.so.0.5.0
lrwxrwxrwx    1 root     root           17 Oct 23 10:58 /usr/lib/libexpat.so.0 -> libexpat.so.0.5.0
-rwxr-xr-x    1 root     root       114108 Oct 23 10:58 /usr/lib/libexpat.so.0.5.0

but the following script:

from xml.sax import make_parser
make_parser()

results in:

Traceback (most recent call last):
  File "test_sax.py", line 4, in ?
    make_parser(["xml.sax.expatreader"])
  File "/usr/lib/python2.4/xml/sax/__init__.py", line 93, in make_parser
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

5
Zaurus - pdaXrom / Please Help: Compiling Mutt...
« on: April 08, 2005, 09:55:25 pm »
OK success!

the trick was to copy  posix1_lim.h to the local directory. (and to kill every running app .... gcc was dying unexpectedly - running out of memory?)

I'll provide an ipk soon.

6
Zaurus - pdaXrom / Useful Writting App: Gournal
« on: April 07, 2005, 08:32:33 pm »
nice going chero!

How usable is it (responsiveness etc)?

I would still rather see native version .... two approaches would be to either compile perl-gtk (and perl-gnome-canvas ?) or to port the app to python and compile python-gnome-canvas bindings.

I'd prefer the latter as I'm a python afficionado, and would like to develop the application further both for a desktop and on the Z

7
Zaurus - pdaXrom / Please Help: Compiling Mutt...
« on: April 07, 2005, 08:21:17 pm »
I'm still using RC8 ... I've successfully compiled a couple of small programs, so my paths seem set up OK.

If I include /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/include/bits/ directly I get lots of errors saying things like "never include <bits/stdio.h> directly: use <stdio> instead" and the whole thing goes pear-shaped very quickly.

8
Zaurus - pdaXrom / Please Help: Compiling Mutt...
« on: April 06, 2005, 11:52:55 pm »
Hi, I'm trying to natively compile mutt on the Z (with different options and patches from the one in the feeds)

I've mounted zgcc-3.3.2.img in /opt/arm/3.3.2-vfp and exported:

export PATH=$PATH:/opt/arm/3.3.2-vfp/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/arm/3.3.2-vfp/lib

./configure -enable-pop -enable-immap -with-homespool=~/INBOX --includedir=/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/include

It configures OK but make dies with:

...
mutt.h:46:24: posix1_lim.h: No such file or directory

although the file is at:

/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/include/bits/posix1_lim.h

How to I get it to find this file?

Sorry if this is a silly question, I'm not very experienced at compiling.

9
Zaurus - pdaXrom / Useful Writting App: Gournal
« on: April 04, 2005, 11:20:46 am »
Hi, anyone had a look at this: http://www.adebenham.com/gournal/ ?
Seems like it would be really useful on the Z. It's based on perl and gtk.

I'm keen on helping to port it across to python and gtk if anyone else is interested.
We would need gnome's canvas and python bindings.  Everything else (python, pygtk etc)
is already available as an ipk. I've had a play with a demo scribble script in pygtk and I  think
the Z is fast enough for it not to be a problem.

10
Zaurus - pdaXrom / Fvwm Bug
« on: March 30, 2005, 10:26:46 pm »
Thank you Christoph! It works a treat.  

11
Zaurus - pdaXrom / Fvwm Bug
« on: March 29, 2005, 10:46:10 pm »
you're right, it is a compilation issue. FvwmEvent fails to run on the Z (easy to check with ps). On my laptop it's not linked into librplay and it runs happily.

From the man page:

"The  rplay support is enabled when FvwmEvent is compiled with HAVE_RPLAY"

So ... could anyone who has compiled fvwm please give me some pointers!! I have not been able to cross-compile fvwm, which seems to check for the existence of everything under the sun in the configure script. Help in compiling much appreciated.

12
Zaurus - pdaXrom / Do You Want These Apps?
« on: March 29, 2005, 10:22:33 pm »
armonix - how did you compile mutt? Did you x-compile or compile on the Z? Could you post your configure script and any pointers please. I want to compile it with various patches applied but I am having difficulties. Thanks a ton in advance.

13
Zaurus - pdaXrom / Usb Storage Mode Not Working!
« on: March 26, 2005, 01:30:58 am »
I fixed the above (changing "/dev/mmcd0"  to  "/dev/mmcd/disc0/part1"). When I plug in the
zaurus I get "kernel: USB Mass Storage device found at 3" appearing in the syslogs so things are good ... but I get "mount: /dev/sda1 is not a valid block device" errors whenever I try to mount the zauru's SD card as a usb drive.  I've tried this for both an msdos and ext2 formatted SD cards with the same result. I can mount a standard usb drive without any problems

Help!!

14
Zaurus - pdaXrom / Fvwm Bug
« on: March 26, 2005, 12:26:51 am »
I don't have librplay on my laptop and it's working fine there. Hmmmm, laptop version is 2.5.8
zaurus version is 2.5.10 ...

15
Zaurus - pdaXrom / Fvwm Bug
« on: March 24, 2005, 02:30:35 am »
Hello,   I'm trying to set up fvwm so that new windows start off maximized, I think this would be useful on the zaurus (it's always possible to define exceptions for certain programs). According to the docs the following should work in .fvwm2rc:

AddToFunc StartFunction
  + I Module FvwmEvent

*FvwmEvent: StartDelay 4
*FvwmEvent: add_window Maximize

this works on my laptop, but fails on the zaurus. Do any of the fvwm gurus out there have any ideas?

Pages: [1] 2