now, i don't know if the followings were a wise thing to do, nevertheless i
tried them :)
i downloaded the specs, patches and sources from the url:
from the dir wbel-3, because i thought this is the closest to
Red Hat Enterprise Linux ES release 2.1 (Panama),
the distro i have to install subversion on.
i put them in /usr/src/redhat/blabla, and tried to build the (s)rpms.
on the first try of building the apr packages, i got the following error:
+ ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info -C --includedir=/usr/include/apr-0
configure: error: -C: invalid option; use --help to show usage
error: Bad exit status from /var/tmp/rpm-tmp.35104 (%build)
i tried without that -C option, and i got the (s)rpms, apr and apr-devel. i
installed them, everything seemed alright.
with db4 i wasn't so lucky:
rpm -ba db4.spec
autoconf: building aclocal.m4...
autoconf: running autoheader to build config.hin...
/usr/bin/m4: configure.in: No such file or directory
chmod: getting attributes of `config.hin': No such file or directory
autoconf: running autoconf to build configure
autoconf: configure.in: No such file or directory
configure: No such file or directory
+ exit 0
and it died after a short while.
David Summers wrote:
> First, please, please, please, email the email@example.com
> mailing list so others can benefit from our discussion.
> On Tue, 1 Jun 2004, Gergely Imre wrote:
>>i have trouble compiling subversion-1.0.4. i downloaded the source of apr,
>>apr-utils, db-4.2.52, and subversion. i want to compile the server, on a
>>i do it like this:
>>first i compiled Berkeley DB4:
>>./configure --prefix=/usr/local/db-4.2.52 --enable-cxx
>>then, i untarred the subversion source, and did a:
>>./configure --prefix=/usr/local/subversion-1.0.4 --with-ssl --with-zlib
>>at the end of the configure script, i got the following:
>>checking for static Apache module support... no
>>checking for Apache module support via DSO through APXS... no - Unable to
>>WARNING: skipping the build of mod_dav_svn
>> --with-apxs or --with-apache must be used
>>checking for socket in -lsocket... no
>>checking for availability of Berkeley DB... no
>>checking for ANSI C header files... (cached) yes
>>checking for an ANSI C-conforming const... yes
>>checking for size_t... yes
>>checking for working memcmp... yes
>>checking for vprintf... yes
>>checking for _doprnt... no
>>checking zlib.h usability... yes
>>checking zlib.h presence... yes
>>checking for zlib.h... yes
>>checking for inflate in -lz... yes
>>checking for python2... /usr/bin/python2
>>checking for Python 2.0 or newer
>>checking for JDK... no
>>checking for perl... /usr/bin/perl
>>configure: Enabled swig binding: perl
>>configure: Enabled swig binding: python
>>configure: Enabled swig binding: java
>>checking for swig... /usr/bin/swig
>>checking swig version... 1.1 (Patch 5)
>>configure: WARNING: swig bindings version 1.3.19 or newer needed for swig
>>checking for makeinfo... /usr/bin/makeinfo
>>configure: creating ./config.status
>>config.status: creating Makefile
>>config.status: creating svn-config
>>config.status: creating tools/backup/hot-backup.py
>>config.status: creating contrib/client-side/svn_load_dirs.pl
>>config.status: creating tools/hook-scripts/commit-access-control.pl
>>config.status: creating tools/hook-scripts/commit-email.pl
>>config.status: creating tools/hook-scripts/propchange-email.pl
>>config.status: creating svn_private_config.h
>>configure: WARNING: we have configured for a client-only build
>>The Subversion filesystem library, part of the server, requires
>>Berkeley DB version 4.0.14 or newer, which you don't seem to have
>>installed and linked to APR-UTIL. We have created makefiles which
>>will build the Subversion client code only, and skip the server. You
>>can find latest version of Berkeley DB at http://www.sleepycat.com/.
>>You can find the latest version of Berkeley DB here:
>>a don't want any apache dav support, but i do want the server, and not only
>>the client. i don't understand the last message, after the WARNING. i
>>actually have the db > 4.0.14 installed, why do i get this error?
> You seem to have tried to manually install apr, apr-utils, and db-4.2.52,
> so I'm not sure what to tell you. When you start changing paths then
> everything has to match and sometimes you have to go through wierd
> gyrations to get things to work.
> It looks like you may have db-4.0.14 installed at the same time? This
> might be causing a/the problem????
>>i know you have some cool rpms, but unfortunately i can't use them on this
>>installation of redhat.
>>could you give me some hints?
> The only thing I can suggest is to first try my (S)RPMs and then if that
> works incrementally change the SRPMs until you get it working. I've also
> got subversion repositories of a lot of this stuff at
> http://summersoft.fay.ar.us in case that helps.
> The whole purpose of someone doing (S)RPMs is so that other people won't
> have to go through all that hassle again.
> At this point it is all working for me on my RedHat 7.3 system, but
> if people can demonstrate problems with my RPMs then I'll be glad to try
> to fix them. Patches are very welcome. :-)
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Thu Jun 3 15:29:10 2004