Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

options used for compiling binary packages

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
geo

options used for compiling binary packages

#1 Post by geo »

Hello,

I use a binary package (sqwebmail) that works very well. But I need a small modification, so I have to modify the source code. I don't want to get into trouble using wrong options.

But where can I find the options used for the origninal binary of the Debian Woody package?

Grommet - Space Cadet

#2 Post by Grommet - Space Cadet »

http://packages.qa.debian.org/c/courier.html

email the Maintainer if you cant work it out but im pretty sure the info you want will be somewhere around that page.....

lacek
Posts: 764
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Contact:

#3 Post by lacek »

If you have sources in your sources.list, you can fetch the sources used to make a package with this command:

Code: Select all

apt-get source <package>
If will download and unpack the source of the package to the current directory. You can do whatever changes you may see fit, and use

Code: Select all

dpkg-buildpackage -us -uc
to build the binary package.
It will be created in the parent directory of the sources.

The source entry in the sources.list file (in the case you don't have any) looks just like the other entries, but begins with 'deb-src' instead of 'deb', like this:

Code: Select all

deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
(Don't forget to run 'apt-get update' after you modified your sources.list)

Guest

#4 Post by Guest »

source does not mean the options used to compile it.........

lacek
Posts: 764
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Contact:

#5 Post by lacek »

But if you download sources via apt-get, it includes the set of configure options used to create the binary package.
How could it possibly generate the same binary package if there were no configure switches? :-)

Post Reply