Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Subversion and Apache problems [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
IRBMe
n00b
n00b


Joined: 25 Jun 2007
Posts: 2

PostPosted: Mon Jun 25, 2007 6:32 pm    Post subject: Subversion and Apache problems [Solved] Reply with quote

I'm trying to get subversion working with apache. I added "apache2 berkdb" to my USE flags and emerged both of them, configured them both with the basics, and they seemed to work great, until I tried to integrate them. When I configured apache to use subversion, it kept serving me blank pages. Examining the error_log gave me lots of this:

Code:

[Mon Jun 25 15:47:40 2007] [notice] child pid 16187 exit signal Segmentation fault (11)
[Mon Jun 25 15:47:40 2007] [notice] child pid 16188 exit signal Segmentation fault (11)
[Mon Jun 25 15:47:40 2007] [notice] child pid 16189 exit signal Segmentation fault (11)


I narrowed down the problem to adding "-D SVN" in /etc/conf.d/apache2, so attempted to resolve the problem by updating to subversion 1.4 in the hope that a bugfix solved the problem, so I unmasked subversion 1.4 and started emerging it. This just caused much larger headaches though.

After some initial problems with apr, I unmerged apr-util and apr and remerged them - this worked for a while, until I had some more problems:

Code:

/usr/bin/apr-config: No such file or directory
/usr/bin/apu-config: No such file or directory


I found that I had apr-1-config and apu-1-config, so I simply symlinked apr-config to apr-1-config and similarly for apu-config as a temporary fix. This worked, until I encountered another problem:

Code:

/usr/lib/apache2/build/instdso.sh: line 54: /usr/share/build-1/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [install-mods-shared] Error 1

!!! ERROR: dev-util/subversion-1.4.4-r2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  subversion-1.4.4-r2.ebuild, line 180:   Called die

!!! Installation of subversion failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/subversion-1.4.4-r2/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

$ emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 25 Jun 2007 14:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl alsa apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran gdbm gpm hal iconv ipv6 isdnlog kde libg++ midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl tcpd tetex truetype-fonts type1-fonts unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I'm stumped now


Last edited by IRBMe on Tue Jun 26, 2007 9:49 am; edited 1 time in total
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Durban, South Africa

PostPosted: Tue Jun 26, 2007 6:49 am    Post subject: Reply with quote

Looks like your Apache build is a little broken. I followed these two How Tos and I have
it all working like a charm....

Subversion HowTo
Apache + Subversion

Follow these two and you can't go wrong :)

HTH

-m
Back to top
View user's profile Send private message
IRBMe
n00b
n00b


Joined: 25 Jun 2007
Posts: 2

PostPosted: Tue Jun 26, 2007 9:49 am    Post subject: Reply with quote

di1bert wrote:
Looks like your Apache build is a little broken. I followed these two How Tos and I have
it all working like a charm....

Subversion HowTo
Apache + Subversion

Follow these two and you can't go wrong :)

HTH

-m


Those are the same guides I followed to no avail. It was a fresh install of apache and subversion, each of which worked separately, but as soon as I added "-D SVN" to /etc/conf.d/apache2, my error_log filled with segmentation faults.

I managed to solve the problem by unmerging and remerging apr, apr-util and libtool and then running an emerge -e. Once I did that, subversion 1.4.4 installed without a hitch, and worked beautifully with apache. I can only conclude it must have been a bug in subversion 1.3. Looks like it's been reported already though.
Back to top
View user's profile Send private message
JamieWolf
n00b
n00b


Joined: 19 Oct 2005
Posts: 19

PostPosted: Tue Jun 26, 2007 11:16 am    Post subject: Reply with quote

I had the exact same problem.

I also solved this by emerging subversion 1.4. Now it works like a charm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum