[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Building dual-arch RPMs
- From: Matthew Saltzman <mjs ces clemson edu>
- To: nahant-list redhat com
- Subject: Building dual-arch RPMs
- Date: Fri, 3 Mar 2006 19:16:57 -0500 (EST)
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]