PDA

View Full Version : apt-get custom configuration help?


imaginit
12th August 2006, 19:04
I seem to be getting along fine with linux. I have installed it over and over and configured with moderate success a web server, ftp server, mail, mysql etc. One thing is bugging me and I bet someone can help me with this probably super simple question...

I am using ubuntu and Debian flavors of Linux. To install packages using the package manager I use apt-get. Alternatively I have installed from source compiling it and building etc. What I am trying to figure out is, while using apt-get, is there any way to customize the configure settings that get passed to the configure script?

Say for instance apt-get installs PHP with no PFPRO support compiled with it, but I need to support that. There has to be a way to add to the apt-get installation some confugration settings prior to it installing. I would want to add --with-pfpro in this instance. Any help or link to directions or tutorials that might help me accomplish what I am asking would be great. I am sure this will help me drastically with my entire linux life when I figure this out.

Thanks in advance! :confused:

falko
13th August 2006, 20:05
Say for instance apt-get installs PHP with no PFPRO support compiled with it, but I need to support that. There has to be a way to add to the apt-get installation some confugration settings prior to it installing. I would want to add --with-pfpro in this instance.
No, this doesn't work. The packages come compiled, so adding options doesn't help. You either have to find the appropriate package for your needs (try
apt-cache search search_string), or compile from the sources (or build your own .deb packages - this tutorial might be interesting: http://www.howtoforge.com/howto_linux_debian_deb_checkinstall ).