Since it is now verified that I don't have any lacking packages, I will now try
to modify the spec file. Inspecting the contents of the spec file
%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
Seems to me that it already has --with-apr-config.
I found out that --with-apr-config locates the file apr-config but for the case
of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6,
it is located at
which apr-1-config
/usr/bin/apr-1-config
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9
redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the
case as I am in now but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
On the top portion of the spec file, only
%{?dtag: %{expand: %%define %dtag 1}}
%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}
%define desktop_vendor rpmforge
but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.
If it is the recommended fix, not just some hack-type-fix, how should I be
defining _bindir? I mean, are there any guidlines or standards that I should be
following?
--- On Fri, 4/29/11, Alfred Ganz <[email protected]> wrote:
> From: Alfred Ganz <[email protected]>
> Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
> To: "Abed-nego G. Escobal, Jr." <[email protected]>
> Cc: [email protected]
> Date: Friday, 29 April, 2011, 11:41 AM
> Date: Thu, 28 Apr
> 2011 18:34:38 -0700 (PDT)
> Subject: Re: [users] rapidsvn-0.9.6-2
> segmentation fault
>
> checking for APR... not found
> configure: error: APR is required. Try
> --with-apr-config.
> error: Bad exit status from
> /var/tmp/rpm-tmp.14783 (%build)
>
> What I have
>
> rpm -qa --qf '%{name} %{vendor}
> %{arch}\n' apr\*
> apr-util CentOS x86_64
> apr-devel CentOS x86_64
> apr-util-devel CentOS x86_64
> apr CentOS x86_64
>
> Any suggestions?
> Read the configure script and see how it tests for APR. You
> may have to
> run it with --with-apr-config as instructed.
>
> I presume it creates a small test program and tries to link
> it, and it
> either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
> different place
> than where they are installed, or it looks for a different
> version.
>
> AG
>
> --
>
> ----------------------------------------------------------------------
> Alfred Ganz
>
> alfred-ganz:at:agci.com
> AG Consulting, Inc.
>
> (203) 624-9667
> 440 Prospect Street # 11
> New Haven, CT 06511
>
> ----------------------------------------------------------------------
>
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users