emerge subversion -p These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] dev-libs/apr (from pkg dev-util/subversion-1.0.6) [ebuild U ] dev-util/subversion-1.0.6 [1.0.4-r1] so i unmerged apr and try to emerge subversion, but subversion's configure stops asking for apr libs. i manually removed the !apr from ebuild...and configure checking for APR... yes checking APR version... 0.9.4 wanted regex is 0\.9\.[5-9] or 1\.0 configure: error: invalid apr version found so...how can i install subversion? 1.0.4 ebuild had no problem. only with 1.0.6
Apr is provided by apache2 or subversion itself. The problem is that this apr has a way too low version. Unfortunately there is no recent apr release (so apache2 provides it's own) which means that the apr package is kind of shooting itself in the foot.
and so how can i install 1.0.6? i removed apr from apache, trying to use subversion one. configure hangs. any solution? must i disable any apache/2 support?
Just unmerge apr and merge apache2. And make sure that you have apache2 in your useflags for subversion.
doesn't work! look: USE="apache2 -apache" emerge subversion Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/subversion-1.0.6 to / >>> md5 src_uri ;-) subversion-1.0.6.tar.bz2 berkdb apache2 * The apache2 subversion module will be built, and libapr from the * apache package will be used instead of the included. >>> Source unpacked. ssl ssl apache2 apache2 berkdb berkdb python python configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. Configuring Subversion 1.0.6 creating config.nice checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether ln -s works... yes configure: Apache Portable Runtime (APR) library configuration checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. !!! ERROR: dev-util/subversion-1.0.6 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed USE="-apache2 apache" emerge subversion Calculating dependencies ...done! !!! Error: the >=net-www/apache-2* package conflicts with another package. !!! both can't be installed on the same system together. !!! Please use 'emerge --pretend' to determine blockers. USE="-apache2 -apache" emerge subversion Calculating dependencies ...done! !!! Error: the >=net-www/apache-2* package conflicts with another package. !!! both can't be installed on the same system together. !!! Please use 'emerge --pretend' to determine blockers. USE="apache2 apache" give se same error of the first one. so i tried all the four apache combination and i can't skip apache support...or it will block actually i can't install 1.0.6
Try to recompile apache2 first. Make sure that you have a program called apr-config in your path
that package was with apr libs, that i unmerged. i use to compile apache2 with emerge, i've the lastest versions. this is my emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.8-rc2) ================================================================= System uname: 2.6.8-rc2 i686 Pentium II (Deschutes) Gentoo Base System version 1.5.2 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.57a-r1,sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat5 /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox" GENTOO_MIRRORS="http://gentoo.tiscali.nl/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.math.bme.hu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi adns alsa apache2 apm arts audiofile avi berkdb bonobo caps cdr crypt cups curl dvd encode esd ethereal fam fbcon fdftk firebird flac flash foomaticdb freetds gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib innodb java joystick jpeg kde ldap libg++ libgda libusb libwww linguas_it mad mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner sdl slang slp snortsam spell ssl svg svga tcltk tcpd tetex theora tiff truetype usb x86 xml xml2 xmms xv xvid zlib"
That file should be provided by apache2. Please please remerge apache2 before trying anything else. The version provided by the apr package is both too old, and it has file overlaps with apache2.
new versions fixed that problem. so it may be closed.