Install datetime perl module ubuntu1/4/2023 ![]() This can be done by searching to find the likely library: Which indicates that you might need to upgrade libxml2 and libxslt to the testing repository version too. $ publican Warning: program compiled against libxml 209 using older 208 Warning: XML::LibXML compiled against libxml2 20901, but runtime libxml2 is older 20800 Warning: program compiled against libxml 209 using older 208 Warning: XML::LibXSLT compiled against libxslt 10128, but runtime libxslt is older 10126 Can't open publican: No such file or directory at /usr/bin/publican line 430. Run the following command to try to install the testing version of publican package, and any updated dependancies:īecause Apt Pinning mixes 2 different debian streams in an un-tested way, incompatibilities may happen. Run the following command to update the list of packages available to your computer: For example, to edit the file in gedit run: Open (or create) your /etc/apt/preferences file in a text editor. For example, to edit the file in gedit run:Īdd the following line to the end of the file: My $sunset = DateTime::Event::Sunrise->sunset(longitude => $long, latitude => $latt, altitude => $alt, iteration => 1) įoreach my $cam_file = $state_directory.Open your /etc/apt/sources.list file in a text editor. My $sunrise = DateTime::Event::Sunrise->sunrise(longitude => $long, latitude => $latt, altitude => $alt, iteration => 1) My $dt = DateTime->new( year => $date, month => $date, day => $date, time_zone => $tz) ![]() My $state_directory = "/opt/camera_scripts/" # working directory for the state files My $tz = 'America/Chicago' # Timezone can be found (in ubuntu) by 'cat /etc/timezone' ![]() My $long = 'xx.xxxx' # Longitude from google My $latt = 'xx.xxxx' # Lattitude from google My $password = "password" #admin password My $username = "admin" # administrative username My = qw(1 5) # space delimited monitor id's ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |