View previous topic :: View next topic |
Author |
Message |
hackertype n00b
Joined: 03 Jun 2003 Posts: 32
|
Posted: Sun Jun 15, 2003 3:44 am Post subject: emerge inject |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9527 Location: beyond the rim
|
Posted: Sun Jun 15, 2003 3:20 pm Post subject: |
|
|
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 |
|
|
|