[MacPorts] #23010: cannot find basewiki
#23010: cannot find basewiki -------------------------------+-------------------------------------------- Reporter: weakish@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ikiwiki -------------------------------+-------------------------------------------- ikiwiki hardcoded basewiki location at /usr/share/ikiwiki/basewiki but macports put the basewiki in /opt/local/share/ikiwiki/basewiki Error log: Can't stat /usr/share/ikiwiki/basewiki: No such file or directory at /opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Plugin/autoindex.pm line 60 Can't stat /usr/share/ikiwiki/basewiki: No such file or directory at /opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Render.pm line 341 -- Ticket URL: <http://trac.macports.org/ticket/23010> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23010: cannot find basewiki -------------------------------+-------------------------------------------- Reporter: weakish@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ikiwiki -------------------------------+-------------------------------------------- Comment(by weakish@…): It seems that this is not considered as a bug (at least according to upstream opinions): http://ikiwiki.info/bugs/PREFIX_not_honoured_for_underlaydir/ Macports users have to manually set the basewiki and template dir place in the config file (this not very convinient). What's more, auto.setup and auto-blog.setup will not work. -- Ticket URL: <http://trac.macports.org/ticket/23010#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23010: cannot find basewiki -------------------------------+-------------------------------------------- Reporter: weakish@… | Owner: tommyd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ikiwiki -------------------------------+-------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => tommyd@… -- Ticket URL: <http://trac.macports.org/ticket/23010#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23010: cannot find basewiki -------------------------------+-------------------------------------------- Reporter: weakish@… | Owner: tommyd@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ikiwiki -------------------------------+-------------------------------------------- Changes (by tommyd@…): * status: new => assigned Comment: Unfortunately I've found out in the past that the author doesn't like to include proper handling of DESTDIR and PREFIX in Makefile.PL as well, so I'm with you and have no problem patching this out by hand. I'll still post the patch to upstream if done. Thanks for reporting! -- Ticket URL: <http://trac.macports.org/ticket/23010#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23010: cannot find basewiki --------------------------------+------------------------------------------- Reporter: weakish@… | Owner: tommyd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: Port: ikiwiki | --------------------------------+------------------------------------------- Changes (by tommyd@…): * status: assigned => closed * resolution: => worksforme Comment: Replying to [ticket:23010 weakish@…]:
ikiwiki hardcoded basewiki location at /usr/share/ikiwiki/basewiki but macports put the basewiki in /opt/local/share/ikiwiki/basewiki
Error log:
Can't stat /usr/share/ikiwiki/basewiki: No such file or directory at /opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Plugin/autoindex.pm line 60 Can't stat /usr/share/ikiwiki/basewiki: No such file or directory at /opt/local/lib/perl5/vendor_perl/5.8.9/IkiWiki/Render.pm line 341
I've looked more closely on this issue and it seems as if the current version (3.20091218) seems to have fixed this issue. What version do you use? in IkiWiki.pm `$config{underlaydir}` is defined as `$installdir/share/ikiwiki/basewiki`, and `$installdir` is set a couple of lines above correctly to `/opt/local`. -- Ticket URL: <http://trac.macports.org/ticket/23010#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts