LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   questions about packages (https://www.linuxquestions.org/questions/linux-newbie-8/questions-about-packages-499133/)

MagicMaxi 11-06-2006 10:43 AM

questions about packages
 
Hi!

I've got a few questions baout packages. I'm using Suse 10.0 OSS. If I install a package from binary-rpm it will be detected as installed if I search for it with e.g. Yast.
I mean, when I start Yast-software and search for that package yast will show me that I have installed that package.
When I make e.g. libraries from source, meaning ./configure make make install then Yast does not show me that I have installed that package. So if I want to install a package from rpm that depends on the package i built with make I cant install the rpm. How can I tell Yast that I have installed that package from source?

another question: Where can I find a good tutorial about the files config.in, config.am, configure, make, make.in, make.am and so on. I mean the files, that are used to build the sources.

And a third question: In which directories does pkg-config look for the *.pc files? Where can I get *.pc files, wenn I did not install the package from rpm but from source? fltk2 e.g. does not have such a *.pc-file

I hope you can help me :)

pixellany 11-06-2006 02:25 PM

I would suggest asking one question at a time---makes it easier (and more likely) to get responses.

Quote:

I've got a few questions baout packages. I'm using Suse 10.0 OSS. If I install a package from binary-rpm it will be detected as installed if I search for it with e.g. Yast.
I mean, when I start Yast-software and search for that package yast will show me that I have installed that package.
I don't know, but it is easy enough to test.

Quote:

When I make e.g. libraries from source, meaning ./configure make make install then Yast does not show me that I have installed that package. So if I want to install a package from rpm that depends on the package i built with make I cant install the rpm. How can I tell Yast that I have installed that package from source?
In principle, you can edit a YAST config file to make it believe just about anything. I would, however, regard this as something akin to juggling chainsaws.

Quote:

another question: Where can I find a good tutorial about the files config.in, config.am, configure, make, make.in, make.am and so on. I mean the files, that are used to build the sources.
Read any of numerous docs on building Linux SW--I would start at TLDP.org

Quote:

And a third question: In which directories does pkg-config look for the *.pc files? Where can I get *.pc files, wenn I did not install the package from rpm but from source? fltk2 e.g. does not have such a *.pc-file
Lazy way out of this one: As root, enter: "find / -name *.pc"

Also--I would use the package manager whenever you can, and then simply install anything else to /opt. You can then easily keep track of what YOU installed, vs what YAST did.


All times are GMT -5. The time now is 05:52 PM.