Re: Chmod Issue on 810

2008-08-02 Thread Frantisek Dufka
Dr. Nicholas Shaw wrote:

 Frantisek, I tried the link and the deb file for sqlite3 but it is not
 installable on Chinook, incompatible application package. Sigh...

Download it and run 'dpkg -i sqlite3_3.4.1-1osso3_armel.deb' as root. 
Application Manager can install only 'user friendly' packages and this 
limitation is deliberate. sqlite is not such package so you need to use 
dpkg (or apt-get install when package is in repository).

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-08-01 Thread Graham Cobb
On Thursday 31 July 2008 23:11:49 Dr. Nicholas Shaw wrote:
 Graham Cobb has sqlite3? Ok, over to his web site... :-)

Sorry, Nick, no.  I have sqlite (including the sqlite shell), but not sqlite3.

From my experience building sqlite, I would guess that re-building the debian 
sqlite3 should be reasonably straightforward once the tcl stuff is removed 
(do ruby, etc also build from this source? if so, they will need to be 
removed as well).  

But, on the other hand, as Nokia has obviously already done that in order to 
create libsqlite3* why didn't they also put sqlite3 in the SDK?

I can't remember why you wanted this but I believe the on-disk format is the 
same as for Debian I386 -- you can copy a database to a Debian system and use 
sqlite3 there.

Graham
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-08-01 Thread Frantisek Dufka
Graham Cobb wrote:
 On Thursday 31 July 2008 23:11:49 Dr. Nicholas Shaw wrote:
 Graham Cobb has sqlite3? Ok, over to his web site... :-)
 
 Sorry, Nick, no.  I have sqlite (including the sqlite shell), but not sqlite3.
 

http://lists.maemo.org/pipermail/maemo-developers/2008-June/033562.html

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-08-01 Thread Dr. Nicholas Shaw
Thanks, Graham.

I have sqlite3 running under Debian and I have the source on my 810 but I
haven't been successful in compiling it.  I tried getting the scratchbox
working but haven't been successful.  I may try it again once the new
computer (received it Wednesday) is repaired (memory or motherboard).

I have a few programs that I've written/am writing that use sqlite3:

- gas mileage program (works with mpg/kpl)
- expense report program
- mini database similar to MobileDB

Frantisek, I tried the link and the deb file for sqlite3 but it is not
installable on Chinook, incompatible application package. Sigh...

I'll solve this eventually...

Nick.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham Cobb
Sent: Friday, August 01, 2008 05:05
To: maemo-developers@maemo.org
Subject: RE: Chmod Issue on 810

On Thursday 31 July 2008 23:11:49 Dr. Nicholas Shaw wrote:
 Graham Cobb has sqlite3? Ok, over to his web site... :-)

Sorry, Nick, no.  I have sqlite (including the sqlite shell), but not
sqlite3.

From my experience building sqlite, I would guess that re-building the
debian 
sqlite3 should be reasonably straightforward once the tcl stuff is removed 
(do ruby, etc also build from this source? if so, they will need to be 
removed as well).  

But, on the other hand, as Nokia has obviously already done that in order to

create libsqlite3* why didn't they also put sqlite3 in the SDK?

I can't remember why you wanted this but I believe the on-disk format is the

same as for Debian I386 -- you can copy a database to a Debian system and
use 
sqlite3 there.

Graham
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-31 Thread maemo
On Mon, 28 Jul 2008, Luca Olivetti wrote:

  You mean, the sqlite3 shell isn't installed, since sqlite3 itself *is* 
  that library. I'm not sure if is there a package for maemo providing the 
  shell
 
 It appears currently there isn't one:
 https://bugs.maemo.org/show_bug.cgi?id=3215

I ran up against the same problem a few months ago.

I installed the sqlite command-line package from Graham Cobb and now 
have the shell command available for testing/debugging databases.


-- 
Aj.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-07-31 Thread Dr. Nicholas Shaw
Graham Cobb has sqlite3? Ok, over to his web site... :-)

Nick.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 16:04
To: Luca Olivetti
Cc: maemo-developers@maemo.org
Subject: Re: Chmod Issue on 810

On Mon, 28 Jul 2008, Luca Olivetti wrote:

  You mean, the sqlite3 shell isn't installed, since sqlite3 itself *is* 
  that library. I'm not sure if is there a package for maemo providing the

  shell
 
 It appears currently there isn't one:
 https://bugs.maemo.org/show_bug.cgi?id=3215

I ran up against the same problem a few months ago.

I installed the sqlite command-line package from Graham Cobb and now 
have the shell command available for testing/debugging databases.


-- 
Aj.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-07-28 Thread Dr. Nicholas Shaw
Luca,

 Don't take my word for it, but I think sqlite3 is already included on
 the tablet (at least I can see /usr/lib/libsqlite3.so.0.8.6), maybe you
 just have to install the sdk version of the packages
 (repository.maemo.org)

Yes, you are correct, e.g. libsqlite3.so.0.8.6 is present on the tablet;
however, that lib file is also on Debian 4R3 but Sqlite3 isn't installed.
Now my curiosity is up so I'll have to check the packages to see what this
file is used for since it doesn't appear to be related to sqlite3.  On the
Debian install, it's located in /usr/local/lib. :-)  

Nick.


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-28 Thread Luca Olivetti
En/na Dr. Nicholas Shaw ha escrit:
 Luca,
 
 Don't take my word for it, but I think sqlite3 is already included on
 the tablet (at least I can see /usr/lib/libsqlite3.so.0.8.6), maybe you
 just have to install the sdk version of the packages
 (repository.maemo.org)
 
 Yes, you are correct, e.g. libsqlite3.so.0.8.6 is present on the tablet;
 however, that lib file is also on Debian 4R3 but Sqlite3 isn't installed.

You mean, the sqlite3 shell isn't installed, since sqlite3 itself *is* 
that library. I'm not sure if is there a package for maemo providing the 
shell, however there should be one providing the headers 
(libsqlite3-dev) for at least C development.
Again, don't take my word for it, I use sqlite but from freepascal 
programs, so definitely not on the tablet.

 Now my curiosity is up so I'll have to check the packages to see what this
 file is used for since it doesn't appear to be related to sqlite3.  On the
 Debian install, it's located in /usr/local/lib. :-)  

Strange, I thought that proper debian packages didn't install anything 
under /usr/local, but I'm not that acquainted to debian.

Bye
-- 
Luca

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-28 Thread Luca Olivetti
En/na Luca Olivetti ha escrit:

 You mean, the sqlite3 shell isn't installed, since sqlite3 itself *is* 
 that library. I'm not sure if is there a package for maemo providing the 
 shell

It appears currently there isn't one:
https://bugs.maemo.org/show_bug.cgi?id=3215

Bye
-- 
Luca
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-27 Thread Jac Kersing
On Sat, 26 Jul 2008, Sarah Newman wrote:

 No, it won't be able to store those bits because such permission information 
 isn't stored on that file system.  But I can run executables stored on VFAT 
 with those options. Isn't that good enough?

If you don't care the system considers all files executable it is. So it 
probably solves the problem in this case.

Best regards,

Jac

---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-27 Thread Luca Olivetti
El Sat, 26 Jul 2008 17:27:18 -0600
Dr. Nicholas Shaw [EMAIL PROTECTED] escribió:

 I untar'd sqlite3 and I am able to see the execute bits and I was
 able to run configure (script).  Sadly though there are errors that
 may be the result of Maemo being only a subset of Debian.  So I'll
 start checking the errors in config.log.

Don't take my word for it, but I think sqlite3 is already included on
the tablet (at least I can see /usr/lib/libsqlite3.so.0.8.6), maybe you
just have to install the sdk version of the packages
(repository.maemo.org)

Bye
-- 
Luca
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-26 Thread Sarah Newman
There is a mount option, 'noexec,' that could be preventing you from 
running something on the SD card.  You can check by running 'mount'
  with no options and if necessary editing /etc/fstab to remove the 
option and then remount the cards.

Dr. Nicholas Shaw wrote:
 I have an issue that has me confused.  Thanks to Frantisek, I have C and C++
 installed and running on my 810.  The next thing was to install Sqlite3
 (needed for a program I'm migrating) so I downloaded the source files onto
 my SD card.  I became root via rootsh, ran configure and, error.  So I did
 an ls on the configure file and, surprise - the execute bits were missing.
 I was more than surprised as I've downloaded/compiled the latest versions of
 Sqlite3 several times without error on my SUSE and Debian Linux servers.  I
 also ran chmod by itself just to make sure it was actually there.  
 
 I ran chmod and checked the permissions and - still no execute bits.
 Thinking it had something to do with the external card, I moved the entire
 directory to the internal card - same thing.  
 
 I created a script in /home/user and ran chmod to make it executable and -
 no problem. I've tried chmod as user and as root with the same results.  It
 works in the user directory but not on either internal or external card and
 there's not enough space in /user to place all the source code then compile
 the code.  
 
 Any suggestions will be appreciated and THANKS IN ADVANCE! 
 
 Nick.
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-26 Thread Jac Kersing
On Sat, 26 Jul 2008, Dr. Nicholas Shaw wrote:

 I ran chmod and checked the permissions and - still no execute bits.
 Thinking it had something to do with the external card, I moved the entire
 directory to the internal card - same thing.

By default both cards are mounted VFAT file systems. No execute bits 
available on vfat. If you need considerable space for your development (  
what's available on the root filesystem) you could consider creating an 
ext2 filesystem on the external card.

Best regards,

Jac

---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-26 Thread Sarah Newman
I have execute available on my vfat cards.

from fstab:
/dev/mmcblk0p1  /media/mmc2 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0
/dev/mmcblk1p1  /media/mmc1 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0

Jac Kersing wrote:
 On Sat, 26 Jul 2008, Dr. Nicholas Shaw wrote:
 
 I ran chmod and checked the permissions and - still no execute bits.
 Thinking it had something to do with the external card, I moved the entire
 directory to the internal card - same thing.
 
 By default both cards are mounted VFAT file systems. No execute bits 
 available on vfat. If you need considerable space for your development (  
 what's available on the root filesystem) you could consider creating an 
 ext2 filesystem on the external card.
 
 Best regards,
 
 Jac
 
 ---
   Jac KersingTechnical Consultant   The-Box Development
   [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-26 Thread Jac Kersing
On Sat, 26 Jul 2008, Sarah Newman wrote:

 I have execute available on my vfat cards.

 from fstab:
 /dev/mmcblk0p1  /media/mmc2 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0
 /dev/mmcblk1p1  /media/mmc1 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0

Have you tried chmod +x on a file and looked at the results? Being able to 
mount it without noexec does not mean the file system is able to store the 
bits :-)

Best regards,

Jac

---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Chmod Issue on 810

2008-07-26 Thread Sarah Newman
No, it won't be able to store those bits because such permission 
information isn't stored on that file system.  But I can run executables 
stored on VFAT with those options. Isn't that good enough?

Jac Kersing wrote:
 On Sat, 26 Jul 2008, Sarah Newman wrote:
 
 I have execute available on my vfat cards.

 from fstab:
 /dev/mmcblk0p1  /media/mmc2 vfat rw,noauto,nodev,nosuid,utf8,uid=2 
 0 0
 /dev/mmcblk1p1  /media/mmc1 vfat rw,noauto,nodev,nosuid,utf8,uid=2 
 0 0
 
 Have you tried chmod +x on a file and looked at the results? Being able 
 to mount it without noexec does not mean the file system is able to 
 store the bits :-)
 
 Best regards,
 
 Jac
 
 ---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-07-26 Thread Dr. Nicholas Shaw
I tried it after following Sarah's e-mail and it worked.  Sarah - thanks!
Jac - thanks as well for your suggestion!

Nick.


-Original Message-
From: Jac Kersing [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 26, 2008 16:29
To: Sarah Newman
Cc: Dr. Nicholas Shaw; 'maemo-dev List'
Subject: Re: Chmod Issue on 810

On Sat, 26 Jul 2008, Sarah Newman wrote:

 I have execute available on my vfat cards.

 from fstab:
 /dev/mmcblk0p1  /media/mmc2 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0
 /dev/mmcblk1p1  /media/mmc1 vfat rw,noauto,nodev,nosuid,utf8,uid=2 0 0

Have you tried chmod +x on a file and looked at the results? Being able to 
mount it without noexec does not mean the file system is able to store the 
bits :-)

Best regards,

Jac

---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Chmod Issue on 810

2008-07-26 Thread Dr. Nicholas Shaw
I untar'd sqlite3 and I am able to see the execute bits and I was able to
run configure (script).  Sadly though there are errors that may be the
result of Maemo being only a subset of Debian.  So I'll start checking the
errors in config.log.

Again - thanks!

Nick.

-Original Message-
From: Sarah Newman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 26, 2008 16:37
To: Jac Kersing
Cc: Dr. Nicholas Shaw; 'maemo-dev List'
Subject: Re: Chmod Issue on 810

No, it won't be able to store those bits because such permission 
information isn't stored on that file system.  But I can run executables 
stored on VFAT with those options. Isn't that good enough?

Jac Kersing wrote:
 On Sat, 26 Jul 2008, Sarah Newman wrote:
 
 I have execute available on my vfat cards.

 from fstab:
 /dev/mmcblk0p1  /media/mmc2 vfat rw,noauto,nodev,nosuid,utf8,uid=2 
 0 0
 /dev/mmcblk1p1  /media/mmc1 vfat rw,noauto,nodev,nosuid,utf8,uid=2 
 0 0
 
 Have you tried chmod +x on a file and looked at the results? Being able 
 to mount it without noexec does not mean the file system is able to 
 store the bits :-)
 
 Best regards,
 
 Jac
 
 ---
  Jac KersingTechnical Consultant   The-Box Development
  [EMAIL PROTECTED] CISSP   RHCEhttp://www.the-box.com
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers