Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building without Merging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ialtywu
n00b
n00b


Joined: 16 May 2002
Posts: 25

PostPosted: Thu Jul 11, 2002 3:20 am    Post subject: Building without Merging Reply with quote

I know that you can do an emerge -b foo and it will merge as well as store a binary tbz2 package _however_ I cannot find any flags for building a package _without_ merging. Is it possible to do this or must I unmerge a package after building? Will unmerging delete the binary package too?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jul 11, 2002 4:13 am    Post subject: Reply with quote

You can use ebuild to do this (man ebuild for more info).
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 11, 2002 4:28 am    Post subject: Reply with quote

You probably want something like this:
Code:
# ebuild /usr/portage/category/package/package-version.ebuild compile

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ialtywu
n00b
n00b


Joined: 16 May 2002
Posts: 25

PostPosted: Thu Jul 11, 2002 4:46 pm    Post subject: Reply with quote

:oops: (sound one slapping self on forehead) forgot about trying 'ebuild' instead of 'emerge' . . . I will try this, many thanks.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 11, 2002 4:53 pm    Post subject: Reply with quote

Also, to make the tarball -- instead of using compile, do this:

Code:
# ebuild /usr/portage/category/package/package-version.ebuild install
# tar cjf package-version.tar.bz2 /var/tmp/portage/package-version/image/*


Note that this does not install the ebuild into your filesystem, but rather into the image/ directory.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ialtywu
n00b
n00b


Joined: 16 May 2002
Posts: 25

PostPosted: Thu Jul 11, 2002 7:18 pm    Post subject: Reply with quote

Thanks for the additional insight Delta407 . . .

Will ebuild also take care of the necessary dependencies, and build the additional packages (if needed) like emerge will?

Just wanted to know before I go steamrolling into this.

Thanks again.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jul 11, 2002 8:03 pm    Post subject: Reply with quote

delta407 wrote:
Also, to make the tarball -- instead of using compile, do this:

Code:
# ebuild /usr/portage/category/package/package-version.ebuild install
# tar cjf package-version.tar.bz2 /var/tmp/portage/package-version/image/*

Why not
Code:
# ebuild /usr/portage/category/package/package-version.ebuild package
? ;)


ialtywu wrote:
Will ebuild also take care of the necessary dependencies, and build the additional packages (if needed) like emerge will?

No, only emerge will do this.
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 11, 2002 8:05 pm    Post subject: Reply with quote

fghellar wrote:
Why not
Code:
# ebuild /usr/portage/category/package/package-version.ebuild package
? ;)


Oh... yeah... :roll:

That'd be the easy way out.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ialtywu
n00b
n00b


Joined: 16 May 2002
Posts: 25

PostPosted: Thu Jul 11, 2002 8:14 pm    Post subject: Reply with quote

Ok, I think I am ready to give it a shot.

Thanks again folks, mucho appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum