Compiling MySQL 4.1 on PowerPC from src.rpm

Erik Bågfors zindar at gmail.com
Mon Nov 15 18:09:45 UTC 2004


If you need to build from source why are you using a rpm? Use a debian
source package or use the source tar-ball.

/Erik


On Mon, 15 Nov 2004 17:15:17 +0100, Sebastian Müsch
<sebastian at sebastian-muesch.de> wrote:
> Hi,
> 
> I'm using Ubuntu (Warty) on my Powerbook (TI) for one Month now, and after
> getting all the ppc-specific problems solved (key-mapping,
> cpu-frequency-scaling etc.), I'm now compiling some packages from
> source-rpms, because either they are missing in the source-tree or the
> version within the source tree is to old.
> 
> But there's one package, which i could not get compiled/installed:
> 
> If I try to use alien to convert the MySQL 4.1.7 source-rpm to a debian
> package, i get the following error:
> 
> Package build failed. Here's the log:
> dh_testdir
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs
> dh_installdocs
> dh_installchangelogs
> find . -maxdepth 1 -mindepth 1 -not -name debian -print0 |
>         xargs -0 -r -i cp -a {} debian/mysql
> dh_compress
> dh_makeshlibs
> dh_installdeb
> dh_shlibdeps
> dh_gencontrol
> dpkg-gencontrol: error: current build architecture powerpc does not appear
> in package's list (i386)
> dh_gencontrol: command returned error code 65280
> 
> Ok, as I know MySQL compiles well on my platform, so I just added my
> architecture to the debian/control - file. And than started on with
> dpkg-gencontrol within the build-directory. In now have the .deb-package and
> the .dsc, but there is no way to get it installed (dpkg reports, package was
> not installed because of strange package confilcts, where no packages are
> mentioned (?) ). So it seems like i missed some steps for creating the deb.
> 
> So my question is: Is there a way to override the "build architecture" for
> alien, or if not, can somebody please tell me how to convert the rpm the
> right way?
> 
> Maybe another way is to compile MySQL from the source.tar.gz: Does anybody
> know all the nessesary --bindir=.. --sbindir=... --lib=... --datadir=...
> paths for the configure script?
> 
> Regards
> Sebastian
> 
> --
>         .:'
>      _ :'_
>    .`_`-'_`.     Sebastian Müsch
>   :__|\ /|__:      sebastian at sebastian-muesch.de
>   :__| S |__:
>   :__|   |__:     iTunes is not running :-(
>    `._.-._.'
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list