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

Building dual-arch RPMs



Are there any tips for building 64-bit and 32-bit RPMs? I tried to build Dag's clearsilver-0.10.1 RPM for PPC, but my ppc64 system seems unhappy doing that. If I build for --target ppc, it ends with an error:

    RPM build errors:
        File not found by glob: /home/mjs/src/rpmbuild/tmp/clearsilver-0.10.1-1.rf-root/usr/lib64/python*/site-packages/neo_cgi.so

If I build for the default arch (ppc64), I get different errors:

    In file included from /usr/include/python2.3/Python.h:48,
                     from ./neo_cgi.c:12:
    /usr/include/python2.3/pyport.h:554:2: #error "LONG_BIT definition
    appears wrong for platform (bad gcc/glibc config?)."
    In file included from /usr/include/python2.3/Python.h:48,
                     from ./neo_util.c:12:
    /usr/include/python2.3/pyport.h:554:2: #error "LONG_BIT definition
    appears wrong for platform (bad gcc/glibc config?)."
    gcc -O2 -g -pipe -m64 -fsigned-char -mminimal-toc -Wall -I../  -o dict.o
    -c dict.c
    In file included from /usr/include/python2.3/Python.h:48,
                     from ./neo_cs.c:12:
    /usr/include/python2.3/pyport.h:554:2: #error "LONG_BIT definition
    appears wrong for platform (bad gcc/glibc config?)."
    make[1]: *** [Makefile.depends] Error 1

and later lots of confusion about missing libneo_* files. I know Dag doesn't build dual-arch RPMs, but I'd like to know what's needed.

TIA.


--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


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