[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-devel
Subject:    Re: [Bacula-devel] FW: s390-unknown-linux-gnu --- rpmbuild of
From:       Kern Sibbald <kern () sibbald ! com>
Date:       2008-02-26 20:49:51
Message-ID: 200802262149.56383.kern () sibbald ! com
[Download RAW message or body]

Thanks, I have applied your patch and released a new version of depkgs, which 
also has the latest version of SQLite.

Kern

On Monday 11 February 2008 23.03:51 David Boyes wrote:
> Problem reported elsewhere with compiling Bacula from source RPM on
> zSeries Linux in 64-bit mode. Patch attached to fix compilation of mtx
> in depkgs.
>
> > The error is actually coming from mtx, which is a dependency packaged
> > with bacula.  If you cd into BUILD/depkgs/mtx-1.3.11 and
> > run ./configure, you'll see the same error:
> >
> > ---
> > checking build system type... Invalid configuration
> > `s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized
> > configure: error: /bin/sh ./config.sub s390x-unknown-linux-gnu failed
> > ---
> >
> > The problem is that the machine arch is 's390x', and mtx expects
>
> 's390'.
>
> > Attached is a patch to fix this.  Here's one way to apply it.  The
>
> basic
>
> > idea is to untar the tarball containing mtx, apply the patch, then
> > re-tar it:
> >
> > 1.) Save the patch to /tmp/mtx-s390x.patch
> > 2.) cd to the .../SOURCES directory
> > 3.) cp  depkgs-09Sep07.tar.gz  depkgs-09Sep07.tar.gz.orig
> > 4.) tar xvzf depkgs-09Sep07.tar.gz
> > 5.) cd  depkgs/mtx-1.3.11/
> > 6.) patch -p0 < /tmp/mtx-s390x.patch
> > 7.) cd  ../..
> > 8.) tar cvzf  depkgs-09Sep07.tar.gz  depkgs
> >
> > Now, rpmbuild will pick up the new tarball and (should) complete
> > successfully.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic