It is currently Sun May 19, 2013 6:35 am

All times are UTC




Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:06 pm 

You don't need anything like icon or desktop files for libraries.


  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:07 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Quote:
buildpkg -g foo
cp: target `deps/gst-plugins-farsight-0.12.9/gst-plugins-farsight-0.12.9/ZENBUILD' is not a directory

Is there some thing wrong?

Btw. i have created ZENBUILD folder in side that path. Still same.

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


Last edited by Zenwalk addict on Thu Sep 11, 2008 3:09 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:09 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
gapan wrote:
You don't need anything like icon or desktop files for libraries.

But how to test them if they are working or is it assumed that it will work. I know to know ff it works, install the package which is dependent on it and see from there. But tats later part. With out doign that way?

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:17 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
For libraries the only possibility is to test software that depends on it. You might find "libraries" that include/need desktop file and icon, but those aren't real libraries anymore.

If anybody gets problems with your lib there's the maintainer in the buildfile and he'll contact you and might ask you to change configure variables, etc

Like I contacted e.g. gmg coz of the pygtk library.


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:18 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Great... :)

Seems like buildpkg -g seems giving some problem. See my previous 2 posts.

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:20 pm 

Zenwalk addict wrote:
Quote:
buildpkg -g foo
cp: target `deps/gst-plugins-farsight-0.12.9/gst-plugins-farsight-0.12.9/ZENBUILD' is not a directory

Is there some thing wrong?

Btw. i have created ZENBUILD folder in side that path. Still same.

Do you have spaces in your dir names? Don't.


  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:22 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
gapan wrote:
Zenwalk addict wrote:
Quote:
buildpkg -g foo
cp: target `deps/gst-plugins-farsight-0.12.9/gst-plugins-farsight-0.12.9/ZENBUILD' is not a directory

Is there some thing wrong?

Btw. i have created ZENBUILD folder in side that path. Still same.

Do you have spaces in your dir names? Don't.


Let me paste you the whole thing here:

Code:
zenwalker[gst-plugins-farsight-0.12.9]$ ls
AUTHORS      Makefile.am  common        config.status  gst         stamp-h1
COPYING      Makefile.in  compile       config.sub     install-sh  tests
COPYING.LIB  NEWS         config.guess  configure      libtool
ChangeLog    README       config.h      configure.ac   ltmain.sh
INSTALL      ZENBUILD     config.h.in   depcomp        m4
Makefile     aclocal.m4   config.log    ext            missing
zenwalker[gst-plugins-farsight-0.12.9]$ bu
buildpkg  builtin   bunzip2   
zenwalker[gst-plugins-farsight-0.12.9]$ buildpkg -g
cp: target `deps/gst-plugins-farsight-0.12.9/gst-plugins-farsight-0.12.9/ZENBUILD' is not a directory


Btw, this is where this dir exits:
/mnt/Personal_Data/Zenwalk Projects/Empathy/Empathy Deps/telepathy deps/gst-plugins-farsight-0.12.9/gst-plugins-farsight-0.12.9

Seems like yes few top dir has spaces in b/w, But why such problem? :(

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


Last edited by Zenwalk addict on Thu Sep 11, 2008 3:24 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:24 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
What about $PWD

Try it in ~.


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:25 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Should i remove the spaces and try again? But again why such problem?

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:28 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
Try e.b. installpkg /some/path with space

You'll get a problem coz installpkg thinks after the space begins a new argument, but it's still the same path. And that's buildpkg's problem. I assume without knowing its internals that it doesn't use "cp '/some/path with space'", but "cp /some/path with space", so here there are e.g. 3 arguments.


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:30 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Ok then, ill put some char in b/w.

Thanks for answers guys.

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 3:33 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Just wondering, do packagers get email account in Zenwalk? some thing like xyz@zenwalk.org :D
I wud love to have one l!!!

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 4:06 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
hey guys,

Now i created the ZenBuild file. But if i uncomment out source row and give a url there. The buildpkg starts to download it. But i have already downloaded it. So now, how to make buildpkg package that source and compile and give me 2 folders viz pkg and src ?

I have the ZENBUILD dir inside the source code folder. So i hope u got it now. The source code is in the parent dri where Zenbuild script exists. So i want builpkg to take the parent folder contents to build package.

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 4:21 pm 
Community Packager
Community Packager
User avatar

Joined: Wed Oct 03, 2007 4:53 pm
Posts: 264
OK,

I un-tar the source to begin with to be able to look at the INSTALL/README files and run ./configure --help The directory structure I use for all my compiling is as below, the source being initially extracted to the last directory shown:
/home/max/compiles/somepackagename/somepackageversion/somepackagesource

When I'm ready to create the ZENBUILD and afterwards the package, I cd .. to the directory above - so I am no longer in the source directory, I am here:
/home/max/compiles/somepackagename/somepackageversion

It is there that I create the ZENBUILD with buildpkg -g and enter in the variables and any modifications needed to compile the package. You could take the source tarball you've already downloaded and put it in that same directory with the ZENBUILD, or as you've found let buildpkg download it again for you. Buildpkg will create the necessary pkg and src directories for you.

If the ZENBUILD is correct, you should be able to copy that one ZENBUILD into any directory, run buildpkg -zx as root (run man buildpkg for other options) and end up with the source and package files automagically downloaded and generated for you.


 Profile Send private message  
 
 Post subject: Re: Doubt with buildPkg
PostPosted: Thu Sep 11, 2008 4:23 pm 
Master of the known universe
Master of the known universe

Joined: Fri May 16, 2008 2:44 pm
Posts: 1347
Location: Munich, Germany
If the downloaded file is yet in that directory buildpkg won't redownload it otherwise it will.

So you create your Zenbuild
Execute buildpkg
Execute su -c ./build-xxxxxx.sh 2>&1 | tee build-.....log


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: