When I issue: # emerge sarg I get Calculating dependencies ...done! >>> emerge (1 of 1) net-analyzer/sarg-1.4.1-r2 to / >>> md5 src_uri ;-) sarg-1.4.1.tar.gz >>> md5 src_uri ;-) sarg-1.4.1-index.sort.patch >>> Unpacking source... >>> Unpacking sarg-1.4.1.tar.gz to /var/tmp/portage/sarg-1.4.1-r2/work >>> Unpacking sarg-1.4.1-index.sort.patch to /var/tmp/portage/sarg-1.4.1-r2/work unpack sarg-1.4.1-index.sort.patch: file format not recognized. Ignoring. * Applying sarg-1.4.1-index.sort.patch ... [ ok ] * Applying sarg-1.4.1-2.6.fix.patch ... [ ok ] >>> Source unpacked. creating cache ./config.cache configure: error: can not find install-sh or install.sh in cfgaux ./cfgaux !!! ERROR: net-analyzer/sarg-1.4.1-r2 failed. !!! Function src_compile, Line 31, Exitcode 1 !!! ./configure failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. If I do ./configure && make && make install, sarg compiles, but when I try to run sarg I get # sarg Segmentation fault
There hasn't been any progress on this. I have managed to download and install the latest version sarg-2.0.6. The ./configure script doesn't complete, but its possible to do "make" and "make install" to install it into the default location. It works fine on my amd64 machine. Below is a rudimentary ebuild. You need to download the tarball manually and it needs a bit of tweaking to make it work. I haven't mastered ebuilds and patches yet. Maybe somebody would like to make this into something decent. #sarg-2.0.6.ebuild inherit eutils DESCRIPTION="Sarg (Squid Analysis Report Generator) is a tool that allows you to view where your users are going to on the Internet." HOMEPAGE="http://sarg.sourceforge.net" SRC_URI="file:/usr/portage/distfiles/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="" RDEPEND=">=net-proxy/squid-2.5.1" src_unpack() { unpack ${A} cd ${S} } src_compile() { rm -rf config.cache emake || die } src_install() { dodir /etc/sarg /usr/bin /usr/man/man1 make \ BINDIR=${D}/usr/bin \ MANDIR=${D}/usr/man/man1 \ SYSCONFDIR=${D}/etc/sarg \ install || die }
I've just completed a successful emerge of sarg. Does anyone experience this as well?
yes. i can't even download it. >>> Downloading http://dev.gentoo.org/~eldad/distfiles/sarg-1.4.1-index.sort.patch --21:52:52-- http://dev.gentoo.org/%7Eeldad/distfiles/sarg-1.4.1-index.sort.patch => `/usr/portage/distfiles/sarg-1.4.1-index.sort.patch' Resolving dev.gentoo.org... 134.68.220.30 Connecting to dev.gentoo.org[134.68.220.30]:80... connected. HTTP request sent, awaiting response... 403 Forbidden 21:52:52 ERROR 403: Forbidden. !!! Couldn't download sarg-1.4.1-index.sort.patch. Aborting.
I can confirm the 403. $ ls -lh /home/eldad/public_html/distfiles/sarg-1.4.1-index.sort.patch -rw------- 1 eldad users 2.0K May 2 11:47 /home/eldad/public_html/distfiles/sarg-1.4.1-index.sort.patch You're probably not getting the error because the patch is already in your ${DISTFILES}? Cheers, Marcelo
fixed it, you can download it now
fixed in 2.0.8