On Wed, Apr 06, 2005 at 04:12:10PM +0200, Stefan Manegold wrote:
(2) Download the SRPM --- which we will provide soon (i.e., later today; so far there has not been any request for it) --- and built the binary RPM.
Thanx, but the now provided SRPM results in:
drempt:/private/rhel-build 537% rpmbuild -ba --sign /private/rpm/SPECS/MonetDB.spec Enter pass phrase: Pass phrase is good. error: parse error in expression error: /private/rpm/SPECS/MonetDB.spec:45: parseExpressionBoolean returns -1 error: Package has no %description: MonetDB
Fix:
%define buildphp 0 %define buildperl 0 %define buildpython 0 %define comp_cc gcc %define comp_cxx g++
(before "%if 0")
right. The "problem" is that we use a single spec file to build several RPMs. Obvioulsy, the -php, -perl, -python RPMs can only be built, if php/perl/python is available on the very system. This is detected by configure, and we convey the configure results to rpmbuild by echoing "%define buildX (0|1)" to rpmmacros in rpm.mk[.in] (cf. top level directory in source tree). This works for building the RPMs from the sources via "make rpm", but does not seem to work for building the RPM from a source RPM. Sorry for the inconvenience. We'll have to look into this, but at least I won't have time before Tuesday April 19.
But then it bails out with:
Processing files: MonetDB-devel-4.6.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/env libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libm.so.6(GLIBC_2.0) libmutils.so.0 libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/MonetDB-root error: Installed (but unpackaged) file(s) found: /usr/lib/python2.2/site-packages/CMapi.py /usr/lib/python2.2/site-packages/MapiLib.py /usr/lib/python2.2/site-packages/_MapiLib.la /usr/lib/python2.2/site-packages/_MapiLib.so.0.0.0
RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/python2.2/site-packages/CMapi.py /usr/lib/python2.2/site-packages/MapiLib.py /usr/lib/python2.2/site-packages/_MapiLib.la /usr/lib/python2.2/site-packages/_MapiLib.so.0.0.0 drempt:/private/rhel-build 545%
your system seem to have (at least) python, so you should set %define buildpython 1 likewise for php and perl. Stefan
Cheers,
-- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |