Unix Technical Forum

Package Configurations

This is a discussion on Package Configurations within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Is there a way to find out what "./configure" options on a given software package (say, for example, apache) ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 03:22 PM
47computers@gmail.com
 
Posts: n/a
Default Package Configurations

Is there a way to find out what "./configure" options on a given
software package (say, for example, apache) would produce the package
as it is by default in Slackware (10.0, to be specific)? That is, the
options that were used when the package was built into the distro?


-David

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 03:22 PM
Eef Hartman
 
Posts: n/a
Default Re: Package Configurations

47computers@gmail.com wrote:
> Is there a way to find out what "./configure" options on a given
> software package (say, for example, apache) would produce the package
> as it is by default in Slackware (10.0, to be specific)? That is, the
> options that were used when the package was built into the distro?


No, but you can look at the SlackBuild script for the version IN
the distribution to see how that one was build.
For instance, the 10.0 appache source is on CD 4, in the
source/n/apache
subdir, and the script itself is called "apache.SlackBuild"

Note that unlike the configure/make way of building a package,
this is a pure shell (bash) script, there is no correlation with
any configure options.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 03:22 PM
Melissa Danforth
 
Posts: n/a
Default Re: Package Configurations

Eef Hartman <E.J.M.Hartman@math.tudelft.nl> wrote:
: No, but you can look at the SlackBuild script for the version IN
: the distribution to see how that one was build.
: For instance, the 10.0 appache source is on CD 4, in the
: source/n/apache
: subdir, and the script itself is called "apache.SlackBuild"

: Note that unlike the configure/make way of building a package,
: this is a pure shell (bash) script, there is no correlation with
: any configure options.

Except that the SlackBuild script can (and often does) call ./configure
with the options chosen for the package

For example, in apache.SlackBuild we see:
../configure \
--prefix=/usr \
--enable-static \
--enable-shared

And here we see why Slackware's OpenSSH does not have PAM support from the
openssh.SlackBuild script:
../configure \
--prefix=/usr \
--sysconfdir=/etc/ssh \
--without-pam \
--with-md5-passwords \
--with-tcp-wrappers \
--with-default-path=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin \
--with-ipv4-default \
--with-privsep-path=/var/empty \
--with-privsep-user=sshd \
$ARCH-slackware-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 03:22 PM
wim
 
Posts: n/a
Default Re: Package Configurations

47computers wrote:

> Is there a way to find out what "./configure" options on a given software
> package (say, for example, apache) would produce the package as it is by
> default in Slackware (10.0, to be specific)? That is, the options that
> were used when the package was built into the distro?


See:
ftp://ftp.bit.nl/mirror/slackware/sl...che.SlackBuild

--
Wim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 03:22 PM
Douglas Mayne
 
Posts: n/a
Default Re: Package Configurations

On Fri, 24 Mar 2006 22:03:35 +0000, Melissa Danforth wrote:

> Eef Hartman <E.J.M.Hartman@math.tudelft.nl> wrote:
> : No, but you can look at the SlackBuild script for the version IN

<snip>
/
> And here we see why Slackware's OpenSSH does not have PAM support from the
> openssh.SlackBuild script:
> ./configure \
> --prefix=/usr \
> --sysconfdir=/etc/ssh \
> --without-pam \

<snip>
>

Yes, this is one place /* where */ the PAM option is off. It does not
get into the reason /* why */ it is off ;-) Also, adding PAM would
require more than just toggling this switch.

--
Douglas Mayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com