<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>48031</bug_id>
          
          <creation_ts>2004-04-16 04:22 0000</creation_ts>
          <short_desc>POPFile missing dependency: DBI</short_desc>
          <delta_ts>2006-02-27 15:09:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>djc@gentoo.org</reporter>
          <assigned_to>stuart@gentoo.org</assigned_to>
          <cc>mr_bones_@gentoo.org</cc>
    
    <cc>stuart@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-04-16 04:22:59 0000</bug_when>
            <thetext>POPFile won&apos;t run for me when I just emerged it. It complains about not finding DBI. After I&apos;ve emerged it, it gets further, but now it&apos;s complaining about DBI::SQLite. Will try to install that now.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mcpu=athlon-tbird -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -mcpu=i686 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache fixpackages sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;acpi acpi4linux apache2 apm gd gtk2 libwww mmx mysql ncurses nls pam
readline samba slang spell ssl truetype x86 xml2&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-04-16 04:36:04 0000</bug_when>
            <thetext>I also needed to install DBI::SQLite and DBD::SQLite before POPFile wanted to run...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stuart@gentoo.org</who>
            <bug_when>2004-04-17 12:50:09 0000</bug_when>
            <thetext>I&apos;m sorry - this version got marked as stable by accident.  We&apos;ll get that sorted out.

Best regards,
Stu</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stuart@gentoo.org</who>
            <bug_when>2004-04-17 13:26:19 0000</bug_when>
            <thetext>Hi,

I&apos;ve added the missing dependencies into popfile-0.21.1.ebuild.  The updated ebuild should show up on an rsync mirror near you in about an hour.

The ebuild works for me, but could you test it too please, and let me know how you get on?

Many thanks,
Stu</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-04-19 01:23:43 0000</bug_when>
            <thetext>Shouldn&apos;t you give it -r1 when you change the ebuild?

Anyway, I reemerged, but I can&apos;t run the start script from anywhere else than its own directory. Need to cd into /usr/share/popfile, then run ./popfile.pl, otherwise it complains:

Can&apos;t locate POPFile/Loader.pm in @INC (@INC contains: ./ /etc/perl /usr/lib/per
l5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site
_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /
usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr
/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/li
b/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/lo
cal/lib/site_perl .) at /usr/share/popfile/popfile.pl line 37.
BEGIN failed--compilation aborted at /usr/share/popfile/popfile.pl line 37.

Also, I was trying to connect to the HTTP-interface from my another box at the network and it doesn&apos;t allow that. When I use an SSH tunnel like 1884:localhost:1884 to the box POPFile is running on, it works, but that makes it kinda awkward.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-04-19 01:34:07 0000</bug_when>
            <thetext>Okay, fixed that last problem with the remote connection. Turns out there&apos;s an option for that, I had just missed it in the config file because it has the non-descriptive name html_local.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stuart@gentoo.org</who>
            <bug_when>2004-04-19 14:40:43 0000</bug_when>
            <thetext>The ebuild is marked as unstable - that&apos;s why it doesn&apos;t need a version bump.  I&apos;ll bump it once I&apos;m happy it works, so that everyone who picked up the broken stable version can get the new shiny working version ;-)

Popfile is working the way that it was designed to work.  By default, you have to run it from /usr/share/popfile.  There&apos;s something in the release notes for v0.21.0 about a couple of new environment variables you can set.  Check out http://popfile.sf.net/ for more information.  It&apos;s called Multi User Phase 1 I believe.

By default, popfile does not allow you to connect from anywhere other than the localhost.  This is deliberate.  If you connect to the web interface from localhost, one of the settings allows you to permit connections from other machines.

Give that a go, and let me know how you get on ;-)

Best regards,
Stu</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-10-18 05:17:55 0000</bug_when>
            <thetext>This has been working fine. Can be FIXED.

A new version of POPFile (0.22.1 is current, I think) would be nice, or shall I open another bug for that?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-12-12 19:37:00 0000</bug_when>
            <thetext>hmmm.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>djc@gentoo.org</who>
            <bug_when>2004-12-14 03:15:53 0000</bug_when>
            <thetext>Hmmm, indeed.

New ebuild is in bug 71836</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-12-10 07:04:08 0000</bug_when>
            <thetext>Hmmm...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-02-27 15:09:08 0000</bug_when>
            <thetext>popfile-0.21.1 depends on dev-perl/DBD-SQLite which depends on dev-perl/DBI. Closing a stale bug.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>