[Fedora-directory-users] notes on building fds in etch and a failed build question

Ryan Braun Ryan.Braun at ec.gc.ca
Fri Feb 22 17:33:01 UTC 2008


On Wednesday 20 February 2008 10:18 pm, Rich Megginson wrote:
> > Sure enough,  there is no /usr/src/dsbuild/ds/jss directory.
> >
> > If I go ahead and create the directory it still fails.  I guess it's
> > looking for more then just a directory
> >
> > ==> Building ds/jss as a dependency
> > make[1]: Entering directory `/usr/src/dsbuild/ds/jss'
> > make[1]: *** No rule to make target `install'.  Stop.
> > make[1]: Leaving directory `/usr/src/dsbuild/ds/jss'
> > make: *** [dep-../../ds/jss] Error 2
> >
> >
> > Thanks for all the help Rich.
>
> You're now past the point where I gave up :P  But you now should have
> the core directory server.  What's left is the console and the admin
> server components.
>
> You can build the admin server stuff with
> make ... BUILD_DS_ADMIN=1 ADMINUTIL_SOURCE=1 MOD_NSS_SOURCE=1
> ADMINSERVER_SOURCE=1
>
> The java components will be more tricky.
>
> For ldapjdk, it would be nice to be able to build from source in
> dsbuild, but the jar file is cross platform and stable.
>
> JSS is different because it has some JNI code and should be compiled.
> There are binaries available from ftp.mozilla.org but I don't know how
> well they will work.
>
> None of the other java components listed at
> http://directory.fedoraproject.org/wiki/Source and
> http://directory.fedoraproject.org/wiki/BuildingConsole have been rolled
> into dsbuild.

Ok java components we'll come back to later,  I'm having trouble building 
mod_nss now.

infinity:/usr/src/dsbuild/meta/ds# make BUILD_DS_ADMIN=1 ADMINUTIL_SOURCE=1 
MOD_NSS_SOURCE=1 ADMINSERVER_SOURCE=1 SVRCORE_SOURCE=1 MOZLDAP_SOURCE=1 
PERLDAP_SOURCE=1
[===== NOW BUILDING:     ds-1.1.0       =====]
        [fetch] complete for ds.
        [checksum] complete for ds.
        [extract] complete for ds.
        [patch] complete for ds.
 ==> Building ds/svrcore as a dependency
 ==> Building ds/mozldap as a dependency
 ==> Building ds/perldap as a dependency
 ==> Building ds/ldapserver as a dependency
 ==> Building ds/adminutil as a dependency
 ==> Building ds/mod_nss as a dependency
cat: /etc/redhat-release: No such file or directory
make[1]: Entering directory `/usr/src/dsbuild/ds/mod_nss'
[===== NOW BUILDING:     mod_nss-1.0.7  =====]
        [fetch] complete for mod_nss.
        [checksum] complete for mod_nss.
        [extract] complete for mod_nss.
        [patch] complete for mod_nss.
        [configure] complete for mod_nss.
 ==> Running make in work/mod_nss-1.0.7
make[2]: Entering directory `/usr/src/dsbuild/ds/mod_nss/work/mod_nss-1.0.7'
source='mod_nss.c' object='mod_nss.lo' libtool=yes \
        depfile='.deps/mod_nss.Plo' tmpdepfile='.deps/mod_nss.TPlo' \
        depmode=gcc3 /bin/sh ./depcomp \
        /bin/sh ./libtool --mode=compile 
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_nss\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_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/usr/include/nspr   -I/usr/include/nss -I/usr/include/nspr    -I/usr/include/apr-1.0     -g  -c -o 
mod_nss.lo `test -f 'mod_nss.c' || echo './'`mod_nss.c
 
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_nss\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_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/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/usr/include/apr-1.0 -g -c 
mod_nss.c -MT 
mod_nss.lo -MD -MP -MF .deps/mod_nss.TPlo  -fPIC -DPIC -o .libs/mod_nss.o
In file included from /usr/include/apache2/ap_config.h:25,
                 from /usr/include/apache2/httpd.h:43,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr.h:270: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_file_io.h:29,
                 from /usr/include/apr-1.0/apr_network_io.h:26,
                 from /usr/include/apache2/httpd.h:53,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_file_info.h:210: error: expected 
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_network_io.h:26,
                 from /usr/include/apache2/httpd.h:53,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_file_io.h:548: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_file_io.h:740: error: expected declaration specifiers 
or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:53,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_network_io.h:545: error: expected declaration 
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_buckets.h:32,
                 from /usr/include/apache2/httpd.h:54,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_mmap.h:134: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_mmap.h:161: error: expected declaration specifiers 
or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:54,
                 from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_buckets.h:242: error: expected 
specifier-qualifier-list before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:706: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:718: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:754: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:890: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:891: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1168: error: expected declaration 
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1367: error: expected declaration 
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1381: error: expected declaration 
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1431: error: expected declaration 
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1447: error: expected declaration 
specifiers or '...' before 'apr_off_t'
In file included from mod_nss.h:20,
                 from mod_nss.c:16:
/usr/include/apache2/httpd.h:826: error: expected specifier-qualifier-list 
before 'apr_off_t'
In file included from /usr/include/apache2/http_core.h:32,
                 from mod_nss.h:22,
                 from mod_nss.c:16:
/usr/include/apache2/util_filter.h:142: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:299: error: expected declaration specifiers 
or '...' before 'apr_off_t'
In file included from mod_nss.h:22,
                 from mod_nss.c:16:
/usr/include/apache2/http_core.h:229: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'ap_get_limit_req_body'
/usr/include/apache2/http_core.h:672: error: expected declaration specifiers 
or '...' before 'apr_off_t'
In file included from mod_nss.h:27,
                 from mod_nss.c:16:
/usr/include/apache2/http_protocol.h:111: error: expected declaration 
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/http_protocol.h:203: error: expected declaration 
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/mpm.h:26,
                 from mod_nss.h:30,
                 from mod_nss.c:16:
/usr/include/apache2/scoreboard.h:116: error: expected 
specifier-qualifier-list before 'apr_off_t'
In file included from mod_nss.h:32,
                 from mod_nss.c:16:
/usr/include/apr-1.0/apr_strings.h:297: error: expected declaration specifiers 
or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_strings.h:313: error: expected ')' before '*' token
/usr/include/apr-1.0/apr_strings.h:349: error: expected ')' before 'size'
make[2]: *** [mod_nss.lo] Error 1
make[2]: Leaving directory `/usr/src/dsbuild/ds/mod_nss/work/mod_nss-1.0.7'
make[1]: *** [build-work/mod_nss-1.0.7/Makefile] Error 2
make[1]: Leaving directory `/usr/src/dsbuild/ds/mod_nss'
make: *** [dep-../../ds/mod_nss] Error 2
infinity:/usr/src/dsbuild/meta/ds#




More information about the 389-users mailing list