Skip to Content.
Sympa Menu

freetds - [freetds] apache rpm generation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: <loic.cloatre AT orange.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] apache rpm generation
  • Date: Wed, 28 Dec 2011 10:56:52 +0100

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.





Archive powered by MHonArc 2.6.24.

Top of Page