Re: Moto binary

Cory Wright <[email protected]> Wed, 19 Mar 2003 09:30:43 -0500
Newsgroups gmane.comp.lang.moto.devel
Organization Stand Blue Technology
Message-ID <[email protected]>
On Wed, Mar 19, 2003 at 03:09:26PM +0000, Stefano Corsi wrote:
> does someone want to build and test the RPM distribution of moto_0_19_0?
> Attached here is the spec file.

Stefano, you RULE!

I just tried this and ran into the following error when running the rpm -ba
command:

+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd moto_0_19_0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (moto-nocrypto.patch):'
Patch #0 (moto-nocrypto.patch):
+ patch -p1 -s
1 out of 1 hunk FAILED -- saving rejects to file mx/codex/db/pgsql/PGSQL.i.in.rej
error: Bad exit status from /var/tmp/rpm-tmp.82315 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.82315 (%prep)


And here is what ended up in the mx/codex/db/pgsql/PGSQL.i.in.rej file:

***************
*** 1,11 ****
  Extension: PGResultSet

- @MXLIBCRYPT@
- @MXLIBSSL@
- @MXLIBCRYPTO@
-
- Archive: "@PGSQL_LIBRARY_DIR@/libpq.a"
-
  Include: "pgconn.h"
  Include: "pgrset.h"
  Include: "tabulardata.h"
--- 1,5 ----
  Extension: PGResultSet

  Include: "pgconn.h"
  Include: "pgrset.h"
  Include: "tabulardata.h"


This is on Red Hat 7.2, with apache installed in /usr/local/apache, mysql
in /usr/local/mysql and postgresql in /usr/local/pgsql.

Any ideas?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/