[Kroupware] apache compiling problems
Bill Swingle
unfurl at nextrials.com
Fri Aug 8 10:42:26 CEST 2003
It seems this was fixed in the latest version of the QIM.
You have to compile gdbm with --define 'with_ndbm yes' before compiling
apache.
-Bill
On Fri, Aug 08, 2003 at 11:54:31AM -0400, Pablo Marques wrote:
> I am trying to compile apache with the following options:
> ---------------------------------------------------------------------------------------------------------------
> rpm -ba apache.spec --define 'with_mod_ssl yes' --define 'with_mod_dav yes'
> --define 'with_mod_auth_ldap yes' --define 'with_mod_php_openldap yes'
> --define 'with_mod_php_imap yes' --define 'with_mod_php yes' --define
> 'with_mod_php_gettext yes' --define 'with_gdbm_ndbm yes'
>
> result:
>
> error: failed build dependencies:
> gdbm::with_ndbm = yes is needed by apache-1.3.27-20030611
>
> ---------------------------------------------------------------------------------------------------------------
> rpm -ba apache.spec --define 'with_mod_ssl yes' --define 'with_mod_dav yes'
> --define 'with_mod_auth_ldap yes' --define 'with_mod_php_openldap yes'
> --define 'with_mod_php_imap yes' --define 'with_mod_php yes' --define
> 'with_mod_php_gettext yes' --define 'with_gdbm yes' --define 'with_ndbm yes'
>
> result:
>
> : undefined reference to `dbm_open'
> modules/standard/libstandard.a(mod_auth_dbm.o)(.text+0xd3): In function
> `get_dbm_pw':
> : undefined reference to `dbm_fetch'
> modules/standard/libstandard.a(mod_auth_dbm.o)(.text+0xe8): In function
> `get_dbm_pw':
> : undefined reference to `dbm_close'
> collect2: ld returned 1 exit status
> make[3]: *** [target_static] Error 1
> make[2]: *** [build-std] Error 2
> make[1]: *** [build] Error 2
> make: *** [install-all] Error 2
> + /kolab/lib/openpkg/shtool install -c -m 644 /dev/null
> /kolab/RPM/TMP/apache-1.3.27-root/kolab/etc/apache/php.ini
> cp: cannot create regular file
> `/kolab/RPM/TMP/apache-1.3.27-root/kolab/etc/apache/#INST at 30130#': No such
> file or directory
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.26709 (%install)
>
>
> RPM build errors:
> Bad exit status from /kolab/RPM/TMP/rpm-tmp.26709 (%install)
> --------------------------------------------------------------------------------------------------------
>
> What am I doing wrong?
>
> kolab at Server$ rpm -qa
> make-3.80-20030109
> binutils-2.14-20030613
> procmail-3.22-20030330
> expat-1.95.6-20030130
> perl-5.8.0-20030409
> perl-ds-20030123-20030123
> perl-xml-20030614-20030614
> perl-crypto-20030309-20030309
> openssl-0.9.7b-20030530
> perl-sys-20030612-20030612
> perl-mail-20030521-20030521
> m4-1.4o-20020206
> sed-4.0.7-20030411
> gettext-0.12.1-20030528
> ncurses-5.3.20030614-20030615
> flex-2.5.4a-20030402
> fsl-1.1.0-20030522
> db-4.1.25.1-20030605
> openldap-2.1.21-20030609
> postfix-2.0.12-20030617
> perl-www-1.2.1-1.2.1
> openpkg-20030606-20030606
> patch-2.5.9-20030520
> gcc-3.3-20030614
> zlib-1.1.4-20030227
> readline-4.3-20020718
> perl-openpkg-20030515-20030515
> perl-time-20030325-20030325
> perl-term-20030411-20030411
> perl-conv-20030513-20030513
> perl-ssl-20030614-20030614
> perl-util-20030610-20030610
> perl-net-20030614-20030614
> perl-ldap-20030520-20030520
> bison-1.35-20030604
> libiconv-1.9.1-20030529
> imap-2002d-20030530
> getopt-20030307-20030609
> pcre-4.3-20030530
> gdbm-1.8.3-20030213
> mm-1.3.0-20030307
> sasl-2.1.13-20030530_kolab
> imapd-2.1.14-20030707_kolab
>
> =====================================================================
> kolab at Server$ uname -a
> Linux Server 2.4.20-19.9smp #1 SMP Tue Jul 15 17:04:18 EDT 2003 i686 i686 i386
> GNU/Linux
> =====================================================================
> kolab at Server$ cat /etc/redhat-release
> Red Hat Linux release 9 (Shrike)
> =====================================================================
>
> --
> Pablo Marques
>
> _______________________________________________
> Kroupware mailing list
> Kroupware at mail.kde.org
> http://mail.kde.org/mailman/listinfo/kroupware
--
-=| Bill Swingle <unfurl at nextrials.com>
-=| Senior Systems Administrator
-=| Nextrials Inc. 1 925 785 1419
More information about the Kroupware
mailing list