[Fedora-directory-devel] Please review: Bug 222398: Allow building on Fedora

Richard Megginson rmeggins at redhat.com
Fri Jan 12 02:48:10 UTC 2007


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222398
Resolves: bug 222398
Bug Description: Allow building on Fedora
Reviewed by: ???
Files: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=145417
Branch: HEAD
Fix Description: There are a few issues with building on Fedora (5 or 
later):
1) Need to be able to build with db4.2, db4.3, db4.4, etc.  This version
auto-detects the db version from the db.h file it finds.  In order to use a
different db version, just use configure --with-db=path or 
--with-db-inc=path that points to a
different db.h
2) mozldap and svrcore are now part of Fedora, so we need to look for those
components.  Look for mozldap6 first to allow building on RHEL-4 as well.
mozldap now includes libldif, so add that to the link line.
svrcore-devel is now just svrcore - a svrcore runtime package and a
svrcore-devel build time package.
3) FHS means FHS - /etc, /var/, prefix=/usr and exec_prefix=/usr.  It 
doesn't
make any sense to talk about FHS under a prefix.  This means the default 
build
will do /opt/fedora-ds/etc, var, lib, bin, share, and so on instead of 
/opt/fedora-ds/usr/etc.  --with-fhs resets prefix=/usr and 
exec_prefix=/usr, and overrides the default settings for sysconfdir and 
localstatedir
So, different build types:
FHS - use configure --with-fhs - uses /etc, /var, /usr/lib, /usr/share, etc.
Nothing - configure - uses /opt/fedora-ds/etc/, var/, bin/, lib/, etc.
GNU style - configure --prefix=/usr/local - /usr/local/etc, 
/usr/local/bin, /usr/local/var, and so on

Developers can use configure --prefix=/home/user/fds && make && make 
install to install local versions

Platforms tested: FC-6
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=145418&action=diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070111/e46fbf0e/attachment.bin>


More information about the Fedora-directory-devel mailing list