[389-devel] adminserver 1.1.9 compilation

Rich Megginson rmeggins at redhat.com
Tue Dec 8 17:12:50 UTC 2009


Andrey Ivanov wrote:
> wget http://directory.fedoraproject.org/sources/389-admin-1.1.9.tar.bz2
>   
Can you try the 1.1.10.a1 code?  For 1.1.10 I put mod_admserv and 
mod_restartd directly in the source repo - they are not separate anymore 
- so they should build much more cleanly.  Git repo is here: 
http://git.fedorahosted.org/git/?p=389/admin.git;a=summary
The tag is 389-admin-1.1.10.a1
You can pull this source directly from gitweb using wget too:
wget 
http://git.fedorahosted.org/git/?p=389/admin.git;a=snapshot;h=389-admin-1.1.10.a1;sf=tgz
> 2009/12/8 Rich Megginson <rmeggins at redhat.com>:
>   
>> Andrey Ivanov wrote:
>>     
>>> Hi,
>>>
>>> I'm trying to compile 389 ds & admin from sources. I've found some
>>> changes and new dependencies compared to the version 1.1 (pcre, for
>>> example) which is ok. I've stucked against a strange behaviour when
>>> compiling 389-admin server (with ds, mod_nss and adminutil already
>>> compiled and installed) : if i don't have the packages
>>> automake.noarch autoconf.noarch and their dependency imake.x86_64 the
>>> compilation works fine but with large "WARNING"s :
>>>
>>>
>>> ./configure --prefix=/Local/dirsrv --with-adminutil=/Local/dirsrv/
>>> --with-modnss-bin=/usr/sbin
>>> --with-modnss-lib=/usr/lib64/httpd/modules/
>>> ....
>>>
>>> OK
>>>
>>>
>>>
>>> [root at ldap-model 389-admin-1.1.9]# make
>>> make ADMINSERVER=1 all-recursive
>>> make[1]: Entering directory `/Admin/BUILD/389_Admin/389-admin-1.1.9'
>>> Making all in mod_admserv
>>> make[2]: Entering directory
>>> `/Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv'
>>>  cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> automake-1.9 --foreign
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing: line 52:
>>> automake-1.9: command not found
>>> WARNING: `automake-1.9' is missing on your system.  You should only need
>>> it if
>>>         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
>>>         You might want to install the `Automake' and `Perl' packages.
>>>         Grab them from any GNU archive site.
>>> cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> autoconf
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing: line 52:
>>> autoconf: command not found
>>> WARNING: `autoconf' is missing on your system.  You should only need it if
>>>         you modified `configure.in'.  You might want to install the
>>>         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
>>>         archive site.
>>> /bin/sh ./config.status --recheck
>>> running /bin/sh ./configure  --prefix=/Local/dirsrv
>>> --with-adminutil=/Local/dirsrv/ --with-modnss-bin=/usr/sbin
>>> --with-modnss-lib=/usr/lib64/httpd/modules/ --with-adminserver
>>> --with-apxs=/usr/sbin/apxs --with-apr-config=/usr/bin/apr-1-config
>>> --with-moddir=/dirsrv/modules --cache-file=/dev/null --srcdir=.
>>> --no-create --no-recursion
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking for gcc... gcc
>>> checking for C compiler default output file name... a.out
>>>
>>> ... OK
>>>
>>>
>>>
>>>
>>> If i add the abovementioned packages (autoconf and automake) the make
>>> does not work :
>>>
>>> ./configure --prefix=/Local/dirsrv --with-adminutil=/Local/dirsrv/
>>> --with-modnss-bin=/usr/sbin
>>> --with-modnss-lib=/usr/lib64/httpd/modules/
>>> ....
>>>
>>> OK
>>>
>>>
>>>
>>> [root at ldap-model 389-admin-1.1.9]# make
>>> make ADMINSERVER=1 all-recursive
>>> make[1]: Entering directory `/Admin/BUILD/389_Admin/389-admin-1.1.9'
>>> Making all in mod_admserv
>>> make[2]: Entering directory
>>> `/Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv'
>>> cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> aclocal-1.9
>>> aclocal:configure.in:9: warning: macro `AM_PROG_LIBTOOL' not found in
>>> library
>>>  cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> automake-1.9 --foreign
>>> Makefile.am:17: Libtool library used but `LIBTOOL' is undefined
>>> Makefile.am:17:
>>> Makefile.am:17: The usual way to define `LIBTOOL' is to add
>>> `AC_PROG_LIBTOOL'
>>> Makefile.am:17: to `configure.in' and run `aclocal' and `autoconf' again.
>>> /usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear
>>> in AM_CONDITIONAL
>>> Makefile.am: C++ source seen but `CXX' is undefined
>>> Makefile.am:
>>> Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
>>> Makefile.am: to `configure.in' and run `autoconf' again.
>>> make[2]: *** [Makefile.in] Error 1
>>> make[2]: Leaving directory
>>> `/Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/Admin/BUILD/389_Admin/389-admin-1.1.9'
>>> make: *** [all] Error 2
>>>
>>>
>>>
>>>
>>> When at this point i remove  the packages again everything is fine once
>>> again :
>>>
>>>  yum remove automake.noarch autoconf.noarch imake.x86_64
>>>  [root at ldap-model 389-admin-1.1.9]# make
>>> make ADMINSERVER=1 all-recursive
>>> make[1]: Entering directory `/Admin/BUILD/389_Admin/389-admin-1.1.9'
>>> Making all in mod_admserv
>>> make[2]: Entering directory
>>> `/Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv'
>>>  cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> automake-1.9 --foreign
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing: line 52:
>>> automake-1.9: command not found
>>> WARNING: `automake-1.9' is missing on your system.  You should only need
>>> it if
>>>         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
>>>         You might want to install the `Automake' and `Perl' packages.
>>>         Grab them from any GNU archive site.
>>> cd . && /bin/sh
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing --run
>>> autoconf
>>> /Admin/BUILD/389_Admin/389-admin-1.1.9/mod_admserv/missing: line 52:
>>> autoconf: command not found
>>> WARNING: `autoconf' is missing on your system.  You should only need it if
>>>         you modified `configure.in'.  You might want to install the
>>>         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
>>>         archive site.
>>> /bin/sh ./config.status --recheck
>>> running /bin/sh ./configure  --prefix=/Local/dirsrv
>>> --with-adminutil=/Local/dirsrv/ --with-modnss-bin=/usr/sbin
>>> --with-modnss-lib=/usr/lib64/httpd/modules/ --with-adminserver
>>> --with-apxs=/usr/sbin/apxs --with-apr-config=/usr/bin/apr-1-config
>>> --with-moddir=/dirsrv/modules --cache-file=/dev/null --srcdir=.
>>> --no-create --no-recursion
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> ...
>>> OK
>>>
>>>
>>>
>>> Is this behavior expected?
>>>
>>>       
>> No, not really.  Where did you get the source?
>>     
>>> Bye,
>>>
>>> --
>>> 389-devel mailing list
>>> 389-devel at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>>>
>>>       
>> --
>> 389-devel mailing list
>> 389-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>>
>>     
>
> --
> 389-devel mailing list
> 389-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-devel
>   




More information about the 389-devel mailing list