[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: ballview - A free molecular modeling and molecular graphics tool



Le Tue, Jan 23, 2007 at 11:58:56AM +0100, Andreas Moll a écrit :
> >
> >* Your package does not build on iMac G5. Even on the 32-bit ppc port,
> >  G5 machines use a ppc64 kernel. Apparently, this confuses your
> >  configuration scripts. For the moment, the Debian buildds for powerpc
> >  are G4s, but should they become G5, your package would get a
> >  release-critical bug.
> We will try to find a G5 machine to fix the configure script.

Hi Andreas,

I had a look at your configure script, it seems that you do not support
all Debian architectures:

if test "$OS" = Linux ; then
        PROCESSOR=`${UNAME} -m`
        ARCHITECTURE=unknown
        if test "${PROCESSOR}" = sparc -o "${PROCESSOR}" = SPARC ; then
                ARCHITECTURE=sparc
                BINFMT=Linux-sparc
        fi
        if test `echo $PROCESSOR|${CUT} -c1` = i ; then
                ARCHITECTURE=i386
                BINFMT=Linux-i386
        fi
        if test `echo $PROCESSOR` = alpha ; then
                ARCHITECTURE=alpha
                BINFMT=Linux-alpha
        fi
        if test `echo $PROCESSOR` = x86_64 ; then
                ARCHITECTURE=x86_64
                BINFMT=Linux-x86_64
        fi
        if test "${ARCHITECTURE}" = "unknown" -a "${BALL_IGNORE_ARCH}" = ""; then
                { echo "$as_me:$LINENO: result: OS: ${OS} / hardware: ${PROCESSOR}" >&5
echo "${ECHO_T}OS: ${OS} / hardware: ${PROCESSOR}" >&6; }
                { echo "$as_me:$LINENO: result: Sorry - this architecture is currently not supported..." >&5

So maybe that just adding all the relevant arches, such as ppc, m68k, amd64,
mips, ... will do the job.

Then remains the ppc64-in-ppc32-userland problem. I will try to build the package with:

        if test `echo $PROCESSOR` = ppc64 ; then
                ARCHITECTURE=ppc64
                BINFMT=Linux-ppc64
	fi

and see if it complains, but I will do this tomorrow, as it seems that the
compilation takes hours (I am also compiling your package on a 1.6 Ghz i686).


When your package will be sponsored (I am not a DD), I will add it to the
Debian-Med metapackages with pleasure.


-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan



Reply to: