Daniel Spannbauer wrote:
Ok, linked /usr/include/apache2/ap_mpm.h to mpm.h, works. Till the next error:if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include -I/tm p/fedora-ds-build/include -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-build/ include -Wall -W -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp /fedora-ds-build/include -L/tmp/fedora-ds-build/lib -O2 -pipe -MT ../plugins/sasldb.o -MD -MP -MF ".deps/../plugins/sasldb.Tpo" \-c -o ../plugins/sasldb.o ^Test -f '../plugins/sasldb.c' || echo './'../plugins/sasldb.c; \ then mv ".deps/../plugins/sasldb.Tpo" ".deps/../plugins/sasldb.Po"; \ else rm -f ".deps/../plugins/sasldb.Tpo"; exit 1; \ fi ../plugins/sasldb.c: In function â<80><98>sasldb_auxprop_lookupâ<80><99>:../plugins/sasldb.c:59: warning: unused parameter â<80><98>glob_contextâ<80><99>../plugins/sasldb.c: In function â<80><98>sasldb_auxprop_storeâ<80><99>:../plugins/sasldb.c:131: warning: unused parameter â<80><98>glob_contextâ<80><99>../plugins/sasldb.c: In function â<80><98>sasldb_auxprop_plug_initâ<80><99>: ../plugins/sasldb.c:206: warning: unused parameter â<80><98>plugnameâ<80><99>../plugins/sasldb.c: At top level:../plugins/sasldb.c:223: fatal error: opening dependency file .deps/../plugins/sasldb.Tpo: No such file or directory compilation terminated. make[4]: *** [../plugins/sasldb.o] Error 1make[4]: Leaving directory /root/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20/lib' make[3]: *** [all-recursive] Error 1make[3]: Leaving directory /root/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20'make[2]: *** [all] Error 2make[2]: Leaving directory /root/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20'make[1]: *** [build-work/cyrus-sasl-2.1.20/Makefile] Error 2 make[1]: Leaving directory /root/dsbuild/ds/cyrus-sasl' make: *** [dep-../../ds/cyrus-sasl] Error 2 Is the dsbuild tested on other OS than Fedora?
Yes. It also builds on HP/ux and Solaris. Some of the problems you've had are environmental (differences in libraries, locations, etc). All of the library requirements are documented at http://directory.fedora.redhat.com/wiki/Building
I'd swear this error sounds familiar. Can you ensure that you have the development package of db4 installed? I know I worked with another user on a sasl build problem and posted the output to my configure, can you compare your output to that?
rob
Regards Daniel Daniel Spannbauer wrote:Ok, some flies linked, a few Steps later:cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_S TRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_nss\" -DVERSION=\"1.0\" -DST DC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_S TRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT _H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -I. - I. -I/usr/include/apache2 -I/root/dsbuild/ds/mozilla/work/mozilla/dist/Linux2.6_ x86_glibc_PTH_OPT.OBJ/include -I/root/dsbuild/ds/mozilla/work/mozilla/dist/publi c/nss -I/usr/include/apache2 -I/tmp/fedora-ds-build/include -I/tmp/fedora-ds-bui ld/include -I/tmp/fedora-ds-build/include -DWANT_SSL2 -I/tmp/fedora-ds-build/inc lude -L/tmp/fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/ fedora-ds-build/lib -O2 -pipe -I/tmp/fedora-ds-build/include -L/tmp/fedora-ds-bu ild/lib -O2 -pipe -c mod_nss.c -MT mod_nss.lo -MD -MP -MF .deps/mod_nss.TPlo -fPIC -DPIC -o .libs/mod_nss.lo In file included from mod_nss.c:16: mod_nss.h:30:17: error: mpm.h: No such file or directory make[2]: *** [mod_nss.lo] Error 1 make[2]: Leaving directory /root/dsbuild/ds/mod_nss/work/mod_nss-1.0' make[1]: *** [build-work/mod_nss-1.0/Makefile] Error 2 make[1]: Leaving directory /root/dsbuild/ds/mod_nss' make: *** [dep-../../ds/mod_nss] Error 2 Wheres the Error? Regards Daniel Richard Megginson wrote:Daniel Spannbauer wrote:Ok, I solved the "-lcurses"-Problem with a link from /usr/lib/libncurses.a to libcurses.aNext Problem: The make wont find the termcap: *** No rule to make target -ltermcap', needed by/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall.a'. Stop.A find obove /usr/lib found:ox:~/dsbuild/meta/ds # find /usr/lib/ -name *termcap* -print/usr/lib/zsh/4.2.5/zsh/termcap.so /usr/lib/libtermcap.so.2.0.8 /usr/lib/perl5/5.8.7/termcap.pl /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/termcap.ph /usr/lib/termcap /usr/lib/termcap/libtermcap.a /usr/lib/termcap/libtermcap.so /usr/lib/libtermcap.so.2 Does anybody know how to solve that?It's looking for libtermcap.so in /usr/lib, but on your system it is in /usr/lib/termcap. You can either make a symlink for that, or edit setuputil/nsconfig.mk or setuputil/nsdefs.mk (I can't remember which) and add /usr/lib/termcap to the lib path.Regards Daniel Daniel Spannbauer wrote:Hallo Richard, sorry, I should read your messages :) find /us/lib -name \*curses\* -print: /usr/lib/YaST2/plugin/libpy2ncurses.so.2 /usr/lib/YaST2/plugin/libpy2ncurses.so.2.0.0 /usr/lib/YaST2/plugin/libpy2ncurses.la /usr/lib/YaST2/plugin/libpy2ncurses.so /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/cursesapp.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/cursesf.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/cursesm.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/cursesp.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/cursesw.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/ncurses.ph /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/curses.ph/usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/ncurses_dll.ph/usr/lib/libncurses++w.a /usr/lib/libncurses.so.4 /usr/lib/libncurses.so.4.2 /usr/lib/python2.4/lib-dynload/_curses_panel.so /usr/lib/python2.4/lib-dynload/_curses.so /usr/lib/python2.4/curses /usr/lib/libncurses++.a /usr/lib/libncursesw.so.5 /usr/lib/libncursesw.so /usr/lib/libncurses.so /usr/lib/libncursesw.so.5.4 /usr/lib/libncurses.aox:~ # So no lcurses. Now I have to look where to find this curses for SuSE.Thank Regards Daniel Richard Megginson wrote:Ok. Try find /usr/lib -name \*curses\* -printIt's failing to find -lcurses, which should be the file /usr/lib/*curses*Daniel Spannbauer wrote:Hallo Richard, the Output is: ox:~ # find /usr/include/ -name \*curses\* -print /usr/include/cursesapp.h /usr/include/curses.h /usr/include/ncurses.h /usr/include/cursesf.h /usr/include/cursesm.h /usr/include/cursesp.h /usr/include/cursesw.h /usr/include/ncurses_dll.h Thats all. Regards Daniel Richard Megginson wrote:On my system, the curses libs are provided by the ncurses and ncurses-devel packages.Try this: find /usr/lib -name \*curses\* -print ? Daniel Spannbauer wrote:Hallo Richard, yes, I get an Output. There was something wrong on the system. Reboot solved it. Anyway: A new failure:ox:~/dsbuild/meta/ds # make [BUILD_RPM=1] [===== NOW BUILDING: ds-1 =====] [fetch] complete for ds. [checksum] complete for ds. [extract] complete for ds. [patch] complete for ds. ==> Building ds/mozilla as a dependency ==> Building ds/icu as a dependency ==> Building ds/adminutil as a dependency ==> Building ds/setuputil as a dependency make[1]: Entering directory /root/dsbuild/ds/setuputil' [===== NOW BUILDING: fedora-setuputil-1.0 =====] [fetch] complete for fedora-setuputil. [checksum] complete for fedora-setuputil. [extract] complete for fedora-setuputil. [patch] complete for fedora-setuputil. [configure] complete for fedora-setuputil. ==> Running make in work/fedora-setuputil-1.0 cat: /etc/redhat-release: No such file or directory make[2]: Entering directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0' if test ! -d Linux2.6; then mkdir Linux2.6; fi; perl buildnum.pl -p Linux2.6 perl pumpkin.pl 90 pumpkin.dat The components are up to date ==== Starting Server Installer Build ==========gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic MOZILLA_SOURCE_ROOT_EXT=BUILD_MODULE=SetupSDK -w installerSDK cat: /etc/redhat-release: No such file or directory gmake[3]: Entering directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'cd installer/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domesticMOZILLA_SOURCE_ROOT_EXT= -w PERL5=perl cat: /etc/redhat-release: No such file or directory cat: /etc/redhat-release: No such file or directory gmake[4]: Entering directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib' cd ../include; cp nsdefs.h setupldap.h ldapu.h global.h uninstall.h code.hutf8.h nsutils.h setupapi.h setupdefs.h setupinst.h setupnvpair.h/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/includecd ../unix/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domesticMOZILLA_SOURCE_ROOT_EXT= SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=1 NS_PRODUCT=VERSION= NS_USE_NATIVE= NSPR_BASENAME= -w cat: /etc/redhat-release: No such file or directory cat: /etc/redhat-release: No such file or directory gmake[5]: Entering directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'gmake[5]: *** No rule to make target -lcurses', needed by/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall.a'.Stop. gmake[5]: Leaving directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib'gmake[3]: *** [installerSDK] Error 2 gmake[3]: Leaving directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0' make[2]: *** [buildInstaller] Error 2 make[2]: Leaving directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0' make[1]: *** [build-work/fedora-setuputil-1.0/Makefile] Error 2 make[1]: Leaving directory /root/dsbuild/ds/setuputil' make: *** [dep-../../ds/setuputil] Error 2 ------------------- Thanks for your help. Regards Daniel ---------------------- Richard Megginson wrote:I'm not sure what needs to be installed. On my Fedora Core 4 system, /usr/include/curses.h is provided by the ncurses-devel package.If you do find /usr/include -name curses.h -print do you get anything? Daniel Spannbauer wrote:------------------------------------------------------------------------Hallo Richard ncurses und ncurses-devel is installed. greetings Daniel Richard Megginson wrote:Looks like you need to install curses-devel or ncurses-devel Daniel Spannbauer wrote:Hallo,i Try to install the Directory-Server on SuSE 10.0. While the dsbuild I get an Error.Here the Complete Log of the dsbuild: -------------------------------------------------------------- ox:~/dsbuild/meta/ds # make [BUILD_RPM=1] [===== NOW BUILDING: ds-1 =====] [fetch] complete for ds. [checksum] complete for ds. [extract] complete for ds. [patch] complete for ds. ==> Building ds/mozilla as a dependency ==> Building ds/icu as a dependency ==> Building ds/adminutil as a dependency ==> Building ds/setuputil as a dependency make[1]: Entering directory /root/dsbuild/ds/setuputil' [===== NOW BUILDING: fedora-setuputil-1.0 =====] [fetch] complete for fedora-setuputil. [checksum] complete for fedora-setuputil. [extract] complete for fedora-setuputil. [patch] complete for fedora-setuputil. [configure] complete for fedora-setuputil. ==> Running make in work/fedora-setuputil-1.0 cat: /etc/redhat-release: No such file or directory make[2]: Entering directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0' if test ! -d Linux2.6; then mkdir Linux2.6; fi; perl buildnum.pl -p Linux2.6 perl pumpkin.pl 90 pumpkin.dat The components are up to date ==== Starting Server Installer Build ==========gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic MOZILLA_SOURCE_ROOT_EXT=BUILD_MODULE=SetupSDK -w installerSDK cat: /etc/redhat-release: No such file or directory gmake[3]: Entering directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'cd installer/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domesticMOZILLA_SOURCE_ROOT_EXT= -w PERL5=perl cat: /etc/redhat-release: No such file or directory cat: /etc/redhat-release: No such file or directory gmake[4]: Entering directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib' cd ../include; cp nsdefs.h setupldap.h ldapu.h global.h uninstall.h code.h utf8.h nsutils.h setupapi.h setupdefs.h setupinst.h setupnvpair.h /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/include cd ../unix/lib; gmake BUILD_OPT=1 USE_PTHREADS=1 SECURITY=domestic MOZILLA_SOURCE_ROOT_EXT= SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=1 NS_PRODUCT=VERSION= NS_USE_NATIVE= NSPR_BASENAME= -w cat: /etc/redhat-release: No such file or directory cat: /etc/redhat-release: No such file or directory gmake[5]: Entering directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'gcc -c -fPIC -pipe -DLINUX -Dlinux -DBSD -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DNO_DBM -DNO_NODELOCK -DXP_UNIX -DLinux -O2-DSPAPI20 -DBUILD_NUM=\"2005.342.1316\"-I/root/dsbuild/ds/mozilla/work/mozilla/dist/public/ldap -I../../includeux-curse.c -o/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall/ux-curse.oIn file included from ux-curse.c:33: ux-curse.h:52:38: error: curses.h: No such file or directory ux-curse.c: In function â<80><98>exit_messageâ<80><99>:ux-curse.c:78: error: â<80><98>stdscrâ<80><99> undeclared (first use in this function) ux-curse.c:78: error: (Each undeclared identifier is reported only onceux-curse.c:78: error: for each function it appears in.) ux-curse.c: In function â<80><98>grab_string_genericâ<80><99>:ux-curse.c:217: error: â<80><98>stdscrâ<80><99> undeclared (first use in this function)ux-curse.c: In function â<80><98>print_oneplaceâ<80><99>:ux-curse.c:313: error: â<80><98>stdscrâ<80><99> undeclared (first use in this function)ux-curse.c: In function â<80><98>new_pageâ<80><99>:ux-curse.c:325: error: â<80><98>stdscrâ<80><99> undeclared (first use in this function)ux-curse.c: In function â<80><98>w_initscrâ<80><99>:ux-curse.c:354: warning: comparison between pointer and integer ux-curse.c:356: warning: comparison between pointer and integer ux-curse.c:358: warning: comparison between pointer and integergmake[5]: ***[/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/built/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libinstall/ux-curse.o]Error 1gmake[5]: Leaving directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/unix/lib'gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory/root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0/installer/lib'gmake[3]: *** [installerSDK] Error 2 gmake[3]: Leaving directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0' make[2]: *** [buildInstaller] Error 2 make[2]: Leaving directory /root/dsbuild/ds/setuputil/work/fedora-setuputil-1.0'make[1]: *** [build-work/fedora-setuputil-1.0/Makefile] Error 2make[1]: Leaving directory /root/dsbuild/ds/setuputil' make: *** [dep-../../ds/setuputil] Error 2------------------------------------------------------------------Does anybody know why? Thanks for helping Daniel -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-------------------------------------------------------------------------- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-------------------------------------------------------------------------- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users-------------------------------------------------------------------------- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users------------------------------------------------------------------------ -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users