Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to build the source of a package on myself (new version, some additions) but I want to use the ./configure options from the original package as a starting point. I can't find anything in the source package, so where can I see the actual options used to compile a binary Debian package?

The Name of the package is php5-cgi.

share|improve this question
    
What is the name of the package? –  jaume Mar 13 '13 at 10:08
    
I've added the name in the question. –  Fu86 Mar 13 '13 at 10:28

1 Answer 1

up vote 5 down vote accepted

The options should be in the source package in the debian/rules file.

You can also check the build log, to see how exactly the package was built.
Search for the package on https://buildd.debian.org/status/package.php
Follow the links to the version you want to check and click on the result to see the full log file and search for ./configure.

share|improve this answer
    
Great! But I can't find php5-cgi with the search :( –  Fu86 Mar 13 '13 at 10:29
3  
php5-cgi is a sub-package (unsure if this is the correct term) of the php5 package. You can figure this out by searching for the package on packages.debian.org/squeeze/php5-cgi and follow the "Developer Information" link on the right hand side. Note: since it's using sub-packages there might be multiple ./configure calls in the log. –  faker Mar 13 '13 at 10:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.