apache rpm generation

<[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <16051_1325066210_4EFAE7E2_16051_5453_1_B9E516E31D2C924DB7933D867565C07E0DDE03F91A@PUEXCB2C.nanterre.francetelecom.fr>
Hi,

For the needed of our project, we have to compile our Apache as Platform Independent (i.e. with the -fPIE compile option and some other link options). 
We want to do the same with our freetds but there is now configure option that permit us to do that.
(because when we launch apache, we get a segfault and maybe this is because of enable-pie option)

Have you ever solve this issue?

Thanks,

A part of our spec file:
%build

#1 build of freetds
	cd $RPM_BUILD_DIR/%{FreetdsStem}
	./configure --prefix=%{ApacheFreeTdsRoot} \
	--enable-sybase-compat
	make clean
	make
	make install
	
#2 build of apache	
	cd $RPM_BUILD_DIR/%{ApacheStem}
	./configure --prefix=%{ApacheRoot} \
	    --with-included-apr \
		--enable-ssl \
		--enable-dbd \
	    --enable-mods-shared="dbd ssl" \
	    --enable-cache \
	    --enable-pie \
	    --enable-http \
		--with-freetds=%{ApacheFreeTdsRoot} \
		CPPFLAGS=-DAPU_DSO_BUILD=1
	make clean
	make

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorization.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange shall not be liable if this message was modified, changed or falsified.
Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.