Date: Tue, 5 Jan 2016 09:05:49 +0100 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Cc: perl@FreeBSD.org Subject: small issue in port databases/p5-GDBM Message-ID: <20160105080549.GA2330@c720-r285885-amd64>
next in thread | raw e-mail | index | archive | help
Hello, I need the above port to build a small Ddbm database and it seems that there is a small issue; it can be triggered with this perl code: #!/usr/local/bin/perl require GDBM_File; which gives: $ ./test.pl String found where operator expected at /usr/local/lib/perl5/site_perl/mach/5.20/GDBM_File.pm line 74, near "XSLoader::load 'GDBM_File'" (Do you need to predeclare XSLoader::load?) syntax error at /usr/local/lib/perl5/site_perl/mach/5.20/GDBM_File.pm line 75, near "XSLoader::load 'GDBM_File'" Compilation failed in require at ./test.pl line 3. the mentioned line in GDBM_File.pm is: XSLoader::load 'GDBM_File', $VERSION; If one adds a line of use XSLoader; XSLoader::load 'GDBM_File', $VERSION; it works fine. I'm not a perl expert (and not subscribed to perl@FreeBSD.org) and don't know if this is the right fix. Should I file a bugzilla issue? This is with ports from head of December, 30. matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160105080549.GA2330>