Author Topic: Packaging Ruby And Svn  (Read 1363 times)

ltrm

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://
Packaging Ruby And Svn
« on: February 16, 2006, 05:38:05 pm »
I've built Ruby 1.8.4 and SVN 1.1.4 and they both seem to be working great.  I've even managed to get Rails installed via gem.  Nice

These are the first packages that I've built for pdaXrom and it seemed very easy but packaging them up is proving to be a bit of a problem though.  I'm getting the following:-

Code: [Select]
tar: --exclude=CONTROL: Cannot stat: No Such file or directory
tar: Error exit delayed from previous errors

As far as I can tell the control file looks ok.  I've been following the been following the tutorial for making ipkgs but I could do with a few more pointers.  Any ideas on what I should try checking next?  If the problem is definetly with the control file I think I'll just start from scratch again....  
C860 - pdaXrom + XFCE4 <montyBurns>mmm Excellent</montyBurns>
Socket Bluetooth rev E - Socket low-power WiFi
1Gb Microdrive - Integral 1Gb SD
Belkin IR Keyboard - Pretec (Royaltek RBT-3000) BluetoothGPS
CE-RH1 remote control - Solar charger + some other bits 'n' bobs

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Packaging Ruby And Svn
« Reply #1 on: February 16, 2006, 10:40:45 pm »
Quote
Code: [Select]
tar: --exclude=CONTROL: Cannot stat: No Such file or directory
tar: Error exit delayed from previous errors
Not sure but it looks like you haven't created the directory "CONTROL"

Quote
As far as I can tell the control file looks ok.  I've been following the been following the tutorial for making ipkgs but I could do with a few more pointers.  Any ideas on what I should try checking next?  If the problem is definetly with the control file I think I'll just start from scratch again.... 

Make sure you have followed the instructions at http://mail.pdaxrom.org/contrib/docs/making_ipkg_howto.html in particular your directory structure should look like:
Code: [Select]
ipkg-temp/
|-- CONTROL
|   `-- control
|-- etc
|   `-- foo.conf
`-- usr
    |-- bin
    |   `-- foo
    `-- share
        |-- applications
        |   `-- foo.desktop
        `-- pixmaps
            `-- foo.png

The odd thing is that the mkipkg script should have caught the error about the missing CONTROL directory (if indeed that is the problem) and would not have gotten to the tar stage.

It might be because you're not using the latest version of mkipkg?

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Packaging Ruby And Svn
« Reply #2 on: February 17, 2006, 01:48:32 am »
Quote
It might be because you're not using the latest version of mkipkg?

Most probably it is.
The older script doesn't like newer version of gnu tar
SLC-860 cacko / senao wifi

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Packaging Ruby And Svn
« Reply #3 on: September 05, 2006, 08:48:41 pm »
Hi ltrm, did you ever get ruby/gem/rails/svn etc packed into ipks. I'd like to get all of this working on my Z. Also if you're using sqlite I'd like to know where you got the ruby-sqlite bindings. I'm struggling a bit to find the right ipks. I downloaded Fabians ipk of ruby 1.8.4 but it doesn't seem to include gem as stated in the announcements post.

Any help would be appreciated. Thanks.