[Fedora-directory-users] Biulding an RPM without the Java Components

Richard Megginson rmeggins at redhat.com
Fri Aug 18 16:00:21 UTC 2006


Edit ds/adminserver/work/fedora-adminserver-1.0.2/Makefile - look for 
the line
PACKAGEDEPS += pkgBase pkgAdmin pkgMcc end_time
remove pkgMcc from this line

Eric Brown wrote:
> I have been trying to build with the dsbuild package and the BUILD_RPM
> and NOJAVA flags, but I get the following errors when it gets to
> building the Mission Control Console:
>
> === Packaging Mission Control Console Apps ======
>
> cd mcc; gmake BUILD_OPT=1 NO_MOCHA=1 NO_JAVA=1 NSPR_BASENAME=libnspr4
> USE_PTHREADS=1 SECURITY=domestic BUILD_MODE=ext BUILD_MODULE=SETUP_MCC
> -w
> gmake[3]: Entering directory
> `/home/erbrow/dsbuild-fds102/ds/adminserver/work/fedora-adminserver-1.0.2/mcc' 
>
> rm -rf ../built/domestic/mcc/dist/Linux2.6
> rm -rf ../built/domestic/mcc/dist/Other-UNIX
> mkdir -p ../built/domestic/mcc/dist/Linux2.6
> # Combine the client zip files from base and admin
> cd 
> ../built/package/Linux2.6_x86_glibc_PTH_OPT.OBJ/base/unzipped/client; \
>    tar cvf ../../../../../domestic/mcc/dist/Linux2.6/uxmcc.tar *
> /bin/sh: line 0: cd:
> ../built/package/Linux2.6_x86_glibc_PTH_OPT.OBJ/base/unzipped/client:
> No such file or directory
> tar: ../../../../../domestic/mcc/dist/Linux2.6/uxmcc.tar: Cannot open:
> No such file or directory
> tar: Error is not recoverable: exiting now
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory
> `/home/erbrow/dsbuild-fds102/ds/adminserver/work/fedora-adminserver-1.0.2/mcc' 
>
> make[2]: *** [pkgMcc] Error 2
> make[2]: Leaving directory
> `/home/erbrow/dsbuild-fds102/ds/adminserver/work/fedora-adminserver-1.0.2' 
>
> make[1]: *** [build-work/fedora-adminserver-1.0.2/Makefile] Error 2
> make[1]: Leaving directory `/home/erbrow/dsbuild-fds102/ds/adminserver'
> make: *** [dep-../../ds/adminserver] Error 2
>
>
> Has anyone built the rpm without the java components?
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20060818/267bf49d/attachment.bin>


More information about the 389-users mailing list