Well you need to look through runConfigure and call configure manually. This is the general idea, but you will need to look for the Linux options as opposed to the Solaris ones I used:
http://marc.theaimsgroup.com/?l=xerces-c-dev&m=111632243828922&w=2#1 Another approach is to hack the botton of runConfigure to make it add the libdir option when it performs the configure call. I believe this will fix your problem but the Xerces-C++ build system is complicated so I cannot guarantee it will work. When you call configure directly, you can pass these options (you'll probably want the libdir option): Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] HTH! Matt -----Original Message----- From: Lumir Vanek [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 1:28 AM To: [email protected] Subject: Need help with creating RPM for x86_64 -> force /lib64 instead of /lib Hi, I want to create Xerces-C RPM for SuSE 9.2 on AMD64. I use .spec file from CVS and have added following parameters for ./runConfigure : -C--enable-libsuffix=64 -l-L/usr/lib64 -b64 Also I have replaced all occurences of {prefix}/lib with {_libdir} I create RPM by following command: cp xerces-c-src_2_6_0.tar.gz /usr/src/packages/SOURCES/ rpmbuild -bb xerces-c.spec --target x86_64 ...and get this error: /var/tmp/xerces-c-root/usr/lib/libxerces-c.so.26: file format elf64-x86-64 /var/tmp/xerces-c-root/usr/lib/libxerces-c.so.26: should be in */lib64 Problem is that lib files are created in /lib, instead of /lib64. How to force build process to create libs in /lib64 ? Regards, Lumir Vanek ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
