User forums > Using Code::Blocks
Which distribution should I install ? Which packages are needed ?
TheTuxKeeper:
Ok I'll think I'll install Debian Etch and Ubuntu Dapper today or tomorrow.
grv575:
--- Quote from: daniel2000 on December 29, 2005, 01:32:31 am ---@grv575: you can only make a generic rpm if you use static libraries. But dynamic libs are commonly used and then you need a rpm linked against the same version. So it's easier to build a few rpm's each for one distribution than one for all. The spec file is only responsible for the pre compile phase. Before the rpm will be compiled all the macros are replaced by a string defined on the system you build it. When the binary rpm is built it's hard to change paths and so on.
--- End quote ---
So why not create a generic .src.rpm then that people could just use to efforlessly build & host binary rpms for each distro? It just requires using rpm macros like %{_datadir} that expand to the right paths depending on the distro the .src.rpm is compiled on right?
takeshimiya:
And what is this http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0-rc2.src.rpm?download then?
grv575:
Heh. :D
TheTuxKeeper:
--- Quote from: grv575 on December 29, 2005, 03:07:28 am ---So why not create a generic .src.rpm then that people could just use to efforlessly build & host binary rpms for each distro? It just requires using rpm macros like %{_datadir} that expand to the right paths depending on the distro the .src.rpm is compiled on right?
--- End quote ---
Like Takeshi Miya wrote it's already done :D
But not everyone wants to compile codeblocks before using it. So we need binary packages.
That reminds me that I wanted to extend the spec file. I'll put in a few %if 's to check which distribution is used that it's a fullfeatured one (with all distribution specific requires,...).
Navigation
[0] Message Index
[*] Previous page
Go to full version