Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge inject
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hackertype
n00b
n00b


Joined: 03 Jun 2003
Posts: 32

PostPosted: Sun Jun 15, 2003 3:44 am    Post subject: emerge inject Reply with quote

I'm trying to understand how inject works because I'm installing portage on an already functioning linux system.

Suppose I have installed a package such as berkely DB from source and not via ebuild because the ebuild of it won't work. Then suppose I want ot emerge base-layout or any other package that DEPENDS on berkely DB. I can inject berkely DB with emerge inject and things are fine.

So how does emerge know where the DB libs are installed if I have injected it? If it has to compile a package that is dependant on those DB libs what will it do?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9527
Location: beyond the rim

PostPosted: Sun Jun 15, 2003 3:20 pm    Post subject: Reply with quote

If you inject a package portage will not know where the files are installed, only that they are installed. It's then up to the other packages to figure out where the libs and programs they depend on are installed. This is usually acomplished by using autoconf.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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