Skip Menu |

This queue is for tickets about the chronos CPAN distribution.

Report information
The Basics
Id: 1393
Status: resolved
Worked: 2 min
Priority: 0/
Queue: chronos

People
Owner: Nobody in particular
Requestors: asjo [...] aparte-test.dk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Installing via CPAN on Debian yields error when attempting to install remindd in non-existant directory /etc/rc.d/init.d/
Executing an "install Chronos" via CPAN.pm on a Debian GNU/Linux-box dies with this error: CPAN.pm: Going to build S/SI/SIMONP/chronos-1.1.3.tar.gz [...] install -m 755 remindd /etc/rc.d/init.d install: cannot create regular file `/etc/rc.d/init.d': No such file or directory make: *** [startup_install] Error 1 /usr/bin/make install -- NOT OK Show quoted text
cpan>
Debian doesn't have an /etc/rc.d/ directory. Best regards, Adam.
From: nomis80 [...] linuxquebec.com
[guest - Mon Aug 5 09:13:25 2002]: Show quoted text
> install -m 755 remindd /etc/rc.d/init.d > install: cannot create regular file `/etc/rc.d/init.d': No such file > Debian doesn't have an /etc/rc.d/ directory.
Thanks a lot for the bug report! (I didn't even know people would file bug reports via CPAN!!!!) This is fixed in CVS. The attached patch addresses the issue.
Index: INSTALL =================================================================== RCS file: /data/cvs/Chronos/INSTALL,v retrieving revision 1.14 retrieving revision 1.15 diff -u -p -r1.14 -r1.15 --- INSTALL 1 Aug 2002 01:48:15 -0000 1.14 +++ INSTALL 5 Aug 2002 13:23:08 -0000 1.15 @@ -92,7 +92,8 @@ GENERAL UPGRADING 1) perl Makefile.PL && make && make install 2) service httpd restart -3) service remindd restart +3) install -m 755 remindd /etc/init.d (or wherever your startup scripts are) +4) service remindd restart INSTALLATION INSTRUCTIONS @@ -219,6 +220,7 @@ INSTALLATION INSTRUCTIONS 6) Have remindd start automatically on boot and start it + install -m 755 remindd /etc/init.d (or wherever your startup scripts are) /sbin/chkconfig --add remindd /sbin/chkconfig remindd on /sbin/service remindd start Index: Makefile.PL =================================================================== RCS file: /data/cvs/Chronos/Makefile.PL,v retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- Makefile.PL 31 Jul 2002 12:51:26 -0000 1.11 +++ Makefile.PL 5 Aug 2002 13:23:08 -0000 1.12 @@ -1,4 +1,4 @@ -# $Id: Makefile.PL,v 1.11 2002/07/31 12:51:26 nomis80 Exp $ +# $Id: Makefile.PL,v 1.12 2002/08/05 13:23:08 nomis80 Exp $ use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -33,8 +33,8 @@ WriteMakefile( sub MY::install { package MY; my $inherited = shift->SUPER::install(@_); - $inherited =~ s/^(install ::.*)/$1 lang_install html_install startup_install/m; - $inherited =~ s/^(uninstall ::.*)/$1 lang_uninstall html_uninstall startup_uninstall/m; + $inherited =~ s/^(install ::.*)/$1 lang_install html_install/m; + $inherited =~ s/^(uninstall ::.*)/$1 lang_uninstall html_uninstall/m; return $inherited; } @@ -54,9 +54,6 @@ html_install: mkdir -p /var/www/ssl/chronos_static install -m 644 $html_files /var/www/ssl/chronos_static -startup_install: - install -m 755 remindd /etc/rc.d/init.d - lang_uninstall: EOF $return .= "\trm -f " . ( join " ", map { "/usr/share/chronos/$_" } grep { -f } <lang/*> ) . "\n"; @@ -64,9 +61,6 @@ EOF html_uninstall: rm -f $html_files2 - -startup_uninstall: - rm -f /etc/rc.d/init.d/remindd EOF return $return; }
Didn't know I could login. Bug is closed.