VectorLinux
November 26, 2014, 03:48:23 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: How to build package for VL7?  (Read 3358 times)
hata_ph
Packager
Vectorian
****
Posts: 3259


-- Just being myself --


« on: January 13, 2011, 06:17:03 pm »

I have just install VL7-A4 on virtualbox and was wondering how to build packge for it?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #1 on: January 13, 2011, 07:12:42 pm »

to start with i would download http://vectorlinux.osuosl.org/veclinux-7.0/iso-test/VL7.0-CORE-ALPHA-4.9.iso
maybe soon there will be a beta if we ever get all the major bugs figured.

there is sbbuilder and most of all the tools you will need to package away
Logged
hata_ph
Packager
Vectorian
****
Posts: 3259


-- Just being myself --


« Reply #2 on: January 13, 2011, 09:53:21 pm »

sbbuilder? Not build using slackbuild script?
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #3 on: January 13, 2011, 10:17:43 pm »

sbbuilder? Not build using slackbuild script?
sbbuilder is a slackbuild script builder

Code:
sbbuilder --link=http://sourceforge.net/projects/lxde/files/lxdm/lxdm-0.3.0/lxdm-0.3.0.tar.gz

Logged
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #4 on: January 14, 2011, 01:48:24 am »

Once you've generated the SlackBuild with sbbuilder, you'll need to change this line:
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.tlz
to
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.txz

since the format for VL7 packages is txz.
Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #5 on: January 14, 2011, 06:15:52 am »

Once you've generated the SlackBuild with sbbuilder, you'll need to change this line:
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.tlz
to
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.txz

since the format for VL7 packages is txz.

Budulay,
I think you are using the wrong version of sbbuilder.
Logged
toothandnail
Tester
Vectorian
****
Posts: 2527


« Reply #6 on: January 14, 2011, 11:00:17 am »

Once you've generated the SlackBuild with sbbuilder, you'll need to change this line:
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.tlz
to
Code:
makepkg -l y -c n $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.txz

since the format for VL7 packages is txz.

Budulay,
I think you are using the wrong version of sbbuilder.


Smiley Ok, I'll bute. I'm still on alpha 4.1 (don't have time to reinstall at the moment). There is no sbbuilder in it, and I've been using either 0.4.11(VL7.0 build) or 0.4.12 (VL6.0) build. Both of those use .tlz for makepkg. Where do I find a more recent version?

Paul.
Logged
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #7 on: January 14, 2011, 02:53:19 pm »

I was using the one that came with VL7 up to Alpha 4.6. Now I just got Alpha 4.9 installed which has sbbuilder-0.4.12.3-noarch-2vl70, but it doesn't work:
Code:
budulay7:$ sbbuilder --help
Can't locate Template.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.2/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.12.2 /usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.2 /usr/lib/perl5/5.12.2/i486-linux-thread-multi /usr/lib/perl5/5.12.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at /usr/bin/sbbuilder line 137.
BEGIN failed--compilation aborted at /usr/bin/sbbuilder line 137.

I'll also post this in the VL7 A4 feedback thread.
« Last Edit: January 14, 2011, 02:57:45 pm by budulay » Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #8 on: January 14, 2011, 03:22:57 pm »

@budulay
Posted an answer to your sbbuilder troubles here...http://forum.vectorlinux.com/index.php?topic=12673.msg79751#msg79751
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #9 on: January 14, 2011, 03:28:31 pm »

would be best to update to latest Alpha ASAP.

sbbuilder requires the Template perl module, we will include it in later ISO's for now run "cpan Template" as root
Logged
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #10 on: January 14, 2011, 03:59:55 pm »

That did the trick. Wink

Now it creates txz packages by default.
Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!