Ryan Braun wrote:
I'm hoping that we can get dsbuild to the point where it will hide this stuff and "just work".<snip>Use svrcore/configure --help to see all of the available options.When I try to recreate the build I'll definitely try this.
BTW, thanks for going through this process, and I apologize that I haven't had time to properly document how to use dsbuild. Would you be able to document what you've found, perhaps in the wiki on the Debian/Ubuntu page? If not, then just keep the emails coming.You should have used SVRCORE_SOURCE=1 MOZLDAP_SOURCE=1 PERLDAP_SOURCE=1 by default, it will attempt to build and install into /opt/fedora-dsI'll try having dsbuild create those packages next time.
Here are the snmp packages installed ywgbuild:/usr/src/dsbuild/meta/ds# dpkg -l|grep snmp ii libsnmp-base 5.2.3-7etch2 NET SNMP (Simple Network Management Protocol ii libsnmp-perl 5.2.3-7etch2 NET SNMP (Simple Network Management Protocol ii libsnmp9 5.2.3-7etch2 NET SNMP (Simple Network Management Protocol ii libsnmp9-dev 5.2.3-7etch2 NET SNMP (Simple Network Management Protocol I've sent the last portion of the build process to pastebin if you want to have a look at http://www.pastebin.org/20301 but the guts of the issue is this 3]: Entering directory `/usr/src/dsbuild/ds/ldapserver/work/fedora-ds-base-1.1.0' /bin/sh ./libtool --tag=CC --mode=link gcc -g -o ldap-agent-bin ldap/servers/snmp/ldap_agent_bin-main.o ldap/servers/snmp/ldap_agent_bin-ldap-agent.o ldap/servers/slapd/ldap_agent_bin-agtmmap.o -lssldap60 -lprldap60 -lldap60 -lldif60 -lsasl2 -lssl3 -lnss3 -lsoftokn3 -lplc4 -lplds4 -lnspr4 -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -lm -ldl -lsensors -lwrap -lwrap gcc -g -o ldap-agent-bin ldap/servers/snmp/ldap_agent_bin-main.o ldap/servers/snmp/ldap_agent_bin-ldap-agent.o ldap/servers/slapd/ldap_agent_bin-agtmmap.o -lssldap60 -lprldap60 -lldap60 -lldif60 /usr/lib/libsasl2.so -lresolv -lssl3 -lnss3 -lsoftokn3 -lplc4 -lplds4 -lnspr4 -L/usr/lib /usr/lib/libnetsnmpmibs.so /usr/lib/libnetsnmpagent.so /usr/lib/libnetsnmphelpers.so /usr/lib/libnetsnmp.so -lcrypto -lm -ldl -lsensors -lwrap ldap/servers/snmp/ldap_agent_bin-ldap-agent.o: In function `init_ldap_agent': ldap/servers/snmp/ldap-agent.c:98: undefined reference to `CONTAINER_INSERT' collect2: ld returned 1 exit status make[3]: *** [ldap-agent-bin] Error 1 make[3]: Leaving directory `/usr/src/dsbuild/ds/ldapserver/work/fedora-ds-base-1.1.0' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/dsbuild/ds/ldapserver/work/fedora-ds-base-1.1.0' make[1]: *** [build-work/fedora-ds-base-1.1.0/Makefile] Error 2 make[1]: Leaving directory `/usr/src/dsbuild/ds/ldapserver' make: *** [dep-../../ds/ldapserver] Error 2 make[ Any ideas?Looks like perhaps NETSNMP_USE_INLINE is not defined for some reason - it expects CONTAINER_INSERT to be defined inline, but it's not, and not defined in any libraries either. Looks like on debian it expects you to define NETSNMP_USE_INLINE=1 explicitly even though it looks as though it was built that way. On RHEL/Fedora, it looks like the NETSNMP_USE_INLINE is implicit.Where would I have to define that? I tried adding DS_CONFIGURE_ARGS = NETSNMP_USE_INLINE=1
Try adding DS_CONFIGURE_ENV += CPPFLAGS=-DNETSNMP_USE_INLINE=1 to somewhere around line 21 of dsbuild/ds/MakefileI think the proper solution will be to modify the ldapserver code to allow for net-snmp specific compiler and linker flags. But this will at least make the definition as localized as possible.
to ds.conf.mk and that didn't work. Ryan Braun Informatics OperationsAviation and Defence Services Division Chief Information Officer Branch, Environment Canada CIV: (204) 833-2500x2824 CSN: 257-2824 FAX: (204) 833-2524E-Mail: Ryan.Braun@xxxxxxxx -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
<<attachment: smime.p7s>>
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users