View previous topic :: View next topic |
Author |
Message |
elsevir n00b
Joined: 11 Apr 2003 Posts: 18
|
Posted: Wed Jul 30, 2003 6:04 pm Post subject: make a static library |
|
|
hi,
i'm completly noob on gentoo, and wish to compile a static library of the DBI pkg.
How could we do that stuff ?
Thks |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Thu Jul 31, 2003 4:57 am Post subject: |
|
|
well, you could try
Code: |
USE="static" emerge DBI
|
but that will not do you any good; perl modules don't pay attention to that USE flag.
Your best bet would be to unpack the source of the module, then take a look at the Makefile.PL for that module, and see if you could modify it to enable static libs.
Code: |
ebuild /usr/portage/dev-perl/DBI/DBI-1.37.ebuild unpack
cd /var/tmp/portage/DBI-1.37/work/DBI
nano -w Makefile.PL
<make changes>
cd
ebuild /usr/portage/dev-perl/DBI/DBI-1.37.ebuild compile qmerge
|
I have no idea if this will work, or what you are ultimately trying to do. But this should get you started... |
|
Back to top |
|
|
elsevir n00b
Joined: 11 Apr 2003 Posts: 18
|
Posted: Thu Jul 31, 2003 3:38 pm Post subject: |
|
|
i finally found where the pkg.tar.gz has been download ... and do it manually
thx for the answer too |
|
Back to top |
|
|
|