Results 1 to 4 of 4

Thread: OT: Compiling statically libraries

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    3

    OT: Compiling statically libraries

    This maybe an offtopic message but it's somehow related to klik. I'm making my own "implementation" of the klik ideas, I have many cmg working now (i'm using fuseiso and zisofs images) but now I have found some problems (I knew I would encounter them sooner or later), for example, I would like to make cmgs of kdemultimedia apps like kscd and kmix, but not the others, and I would like to make a cmg of an app called kzenexplorer. These apps separately uses some libraries that I don't want to install system wide so I'm thinking on compiling them STATICALLY, but I don't know how to tell that to the "configure" script. If I do the make LDFLAGS=-static thing it seems to put every library used by the app statically, this include for example qt and others... and I don't want qt statically compiled.

    So, the question is, if a compile libmylib and it generates a .so and .a (shared and static), how do I tell to make or configure to use the static one? How do I tell the compiler that I want some libs dinamically linked and others statically linked?? I've seen there are apps like amarok which uses for example SQLite statically linked, but they include sqlite source in their package and so the Makefiles do their job, but my problem is how to do it with an externally compiled library libmylib.a

    Well, thanks for the klik idea, i'm doing some things that I want to put here when finished!

    Samuel.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Hi Samuel,

    why don't you join the klik project instead of making your own implementation? (There is always a bunch of klik developers on #klik on irc.freenode.net that would like to work with you...)

    As for compiling, I can't help you since I never compile anything. klik always uses binaries that are already on the web.

    Greetings,
    probono

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    3
    Quote Originally Posted by probono
    Hi Samuel,

    why don't you join the klik project instead of making your own implementation? (There is always a bunch of klik developers on #klik on irc.freenode.net that would like to work with you...)

    As for compiling, I can't help you since I never compile anything. klik always uses binaries that are already on the web.

    Greetings,
    probono
    Thanks anyway probono, I would like to join to the klik project but I want to be sure to be useful so I want to finish some testings before reporting some results. By the way, there is one thing that I don't like from the klik project. Although I don't know more than the docs in the website, I think there is a great dependency on Debian GNU/Linux, APT and .deb packages (as fas as I know the klik cmg are created at server side with deb files, or isn't?).

    My project is based on LinuxFromScratch, I'm creating XML profiles (www.linuxfromscratch.org/nALFS) to automatize the package compilation. At the XML you can choose three kind of installation. 1. Install normally (make install) 2. Create a cmg package (now KDE packages only are the target) or 3. Create a binary tarball (this is because I have in mind to create or use some installer for the base packages, and the cmg for the rest of apps).

    What I've made is a simpler zAppRun and a Wrapper, just thinking on my own desires

    Basically that's my idea. All the cmg stuff is credited to the Klik people (you and others ), FUSE people (i'm using fuse), and FUSEISO author. Ouch! The Linux From Scratch people does most of the job in my project! Thanks to everybody!

    Probono, maybe this could be the beginning of a Klik based "distribution"?? (I prefer to call it OS because I'm breaking many LSB standards for the sake of enduser commodity).

    Samuel.

    PD: Excuse my english if there are some mistakes.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Hi Samuel,

    your project sounds very interesting. No, klik has no special dependency on debian (other than that it indeed uses deb packages as main binary source).klik can use rpm, tgz and other formats in just the same way. It basically just unpacks the archives and repacks them as cmg files.

    LSB compliance is something I wouldn't break in the base system ("OS") if I were you... because it basically ensures that most apps will run on top of it!

    Greetings,
    probono

Similar Threads

  1. shared libraries
    By divinity in forum The Lounge
    Replies: 0
    Last Post: 02-18-2008, 03:06 AM
  2. Installing software libraries (not using apt-get?)
    By Kierano in forum General Support
    Replies: 1
    Last Post: 07-13-2004, 01:17 AM
  3. Adding libraries
    By Bob_Foster in forum General Support
    Replies: 2
    Last Post: 07-08-2004, 04:27 AM
  4. QT libraries ?!?!
    By smarchand291 in forum General Support
    Replies: 1
    Last Post: 06-14-2004, 11:58 PM
  5. problem to add new shared libraries!
    By skontox in forum General Support
    Replies: 4
    Last Post: 01-07-2004, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM

$87.96