Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make a static library
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
elsevir
n00b
n00b


Joined: 11 Apr 2003
Posts: 18

PostPosted: Wed Jul 30, 2003 6:04 pm    Post subject: make a static library Reply with quote

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
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 287
Location: where the hell is Tesuque, New Mexico?

PostPosted: Thu Jul 31, 2003 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
elsevir
n00b
n00b


Joined: 11 Apr 2003
Posts: 18

PostPosted: Thu Jul 31, 2003 3:38 pm    Post subject: Reply with quote

i finally found where the pkg.tar.gz has been download ... and do it manually :)

thx for the answer too :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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