Re: I did it a mess with perl
Joost Kooij [debian-user] 21/07/01 14:05 +0200: On Sat, Jul 21, 2001 at 01:22:19PM +, Victor wrote: Install dh-perl-make rtfm build your own libperl-dbd-foo.deb. dpkg -p dh-make-perl Package: dh-make-perl Priority: optional Section: devel Cheers, Joost Hi Joost, I'm unable to find dh-make-perl rtfm under deb http://security.debian.org stable/updates main contrib non-free deb http://ftp.it.debian.org/debian Debian2.2r3 main contrib non-free Where can I find them? Vittorio
Re: I did it a mess with perl
On Mon, Jul 23, 2001 at 10:47:06AM +, Victor uttered: I'm unable to find dh-make-perl rtfm under deb http://security.debian.org stable/updates main contrib non-free deb http://ftp.it.debian.org/debian Debian2.2r3 main contrib non-free Where can I find them? [EMAIL PROTECTED]:~$ madison dh-make-perl dh-make-perl |0.8 | testing | source, all dh-make-perl |0.8 | unstable | source, all Ergo, dh-make-perl only exists in woody or sid. -- Steve Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing pgpThhJLMIJDV.pgp Description: PGP signature
Re: I did it a mess with perl
On Sat, Jul 21, 2001 at 01:22:19PM +, Victor wrote: Hi Friends, I'll be a long reading for you! As an absolute beginner with Perl I've been having a go at using Perl DBI to connect to an Oracle server. therefore I neede to download and install from www.cpan.org the DBD::Oracle and the new DBI... *The Sad Story* Reading the poor documentation under my debian potato 2.2r3 and the copious documentation on Perl (www.perl.org), perldoc and CPAN, and following the advice in dbi-users@perl.org list, not finding the command 'cpan' in my potato installation, I finally issued: perl -MCPAN -eshell which (unfortunately) started a brand-new compilation and installation (using, upon my silly declaration, /usr/bin and /usr/lib) of perl (5.6.1), and of the DBI and DBDs I'd asked for. ick. this is one of the reasons to find an alternate source for CPAN material, i fear. (sometimes it's great to have the latest and greatest -- but it's really nice the way debian works with its oh, you have version X clavis? then here's the compatible version Y of frammistat to go with it...) be aware also that many of the CPAN modules are ALREADY debianized as # apt-get install libsomething-or-otherperl for example, my potato setup knows of: $ dpkg --get-selections lib\*perl | cut -f1 libansicolor-perl libapache-asp-perl libapache-dbi-perl libapache-dbilogger-perl libapache-filter-perl libapache-mod-perl libapache-session-perl libapache-ssi-perl libauthen-pam-perl libcgi-xml-perl libcgi-xmlform-perl libcompress-zlib-perl libdbd-csv-perl libdbd-mysql-perl libdbd-pg-perl libdbi-perl libdelimmatch-perl libdevel-symdump-perl libdigest-md5-perl libhtml-embperl-perl libhtml-mason-perl libhtml-parser-perl libhtml-simpleparse-perl libi18n-langtags-perl libio-stringy-perl libmime-base64-perl libmime-perl libmldbm-perl libnet-dns-perl libnet-perl libnet-telnet-perl libpgperl libsgmls-perl libsql-statement-perl libstorable-perl libterm-readkey-perl libtext-csv-perl libtext-format-perl libtime-hires-perl libtime-period-perl libtimedate-perl liburi-perl libwww-perl libxbase-perl libxml-dom-perl libxml-generator-perl libxml-grove-perl libxml-node-perl libxml-parser-perl libxml-perl libxml-rss-perl libxml-twig-perl libxml-writer-perl even tho i only have installed $ dpkg --get-selections lib\*perl | grep install libapache-asp-perl install libapache-dbi-perl install libapache-dbilogger-perlinstall libapache-filter-perl install libapache-session-perl install libapache-ssi-perl install libauthen-pam-perl install libdbi-perl install libdelimmatch-perl install libdevel-symdump-perl install libdigest-md5-perl install libhtml-mason-perl install libhtml-parser-perl install libhtml-simpleparse-perlinstall libi18n-langtags-perl install libmime-base64-perl install libmldbm-perl install libnet-dns-perl install libnet-perl install libnet-telnet-perl install libpgperl install libsgmls-perl install libstorable-perlinstall libterm-readkey-perlinstall libtext-format-perl install libtime-hires-perl install libtimedate-perlinstall liburi-perl install libwww-perl install to learn about the ones you have downloaded, do dpkg -L libwhateverperl apt-cache show libyadayadaperl -- DEBIAN NEWBIE TIP #62 from Will Trillich [EMAIL PROTECTED] : Wouldn't it be nice to SEE YOUR TABS WHILE YOU EDIT? With Vim, you can do this with :set listchars=tab:+-,trail:$ :set list and
I did it a mess with perl
Hi Friends, I'll be a long reading for you! As an absolute beginner with Perl I've been having a go at using Perl DBI to connect to an Oracle server. therefore I neede to download and install from www.cpan.org the DBD::Oracle and the new DBI... *The Sad Story* Reading the poor documentation under my debian potato 2.2r3 and the copious documentation on Perl (www.perl.org), perldoc and CPAN, and following the advice in dbi-users@perl.org list, not finding the command 'cpan' in my potato installation, I finally issued: perl -MCPAN -eshell which (unfortunately) started a brand-new compilation and installation (using, upon my silly declaration, /usr/bin and /usr/lib) of perl (5.6.1), and of the DBI and DBDs I'd asked for. *The bottom line* So, now I have that strange, confusing mixture of a perl 5.005 coming from a deb package and a perl 5.6.1 compiled from tarballs in CPAN under the same /usr/bin and /usr/lib. Obviously the perl command was overwritten during the compilation by version 5.6.1. *Your suggestion for a way out* Minimal: Because I need various DBDs which are not included in the deb files, is there away to fix perl as it is now in my PC? Tiresome: I luckily did a complete backup of my system tarring all the main dirs on another linux box via NFS. Therefore I could have a chance to recover my initial, working greatly, stable configuration. But what should I do to install a new DBI and many DBM and whatever else stuff from CPAN which are not included in the deb packages? Ciao Vittorio :-((
Re: I did it a mess with perl
On Sat, Jul 21, 2001 at 01:22:19PM +, Victor wrote: perl -MCPAN -eshell *The bottom line* So, now I have that strange, confusing mixture of a perl 5.005 coming from a deb package and a perl 5.6.1 compiled from tarballs in CPAN under the same /usr/bin and /usr/lib. Obviously the perl command was overwritten during the compilation by version 5.6.1. *Your suggestion for a way out* Reinstall all the perl debs on your system. If you use the --reinstall option to apt-get, it is almost easy, even. Minimal: Because I need various DBDs which are not included in the deb files, is there away to fix perl as it is now in my PC? Reinstall all perl packages that dpkg thinks are still on your system. Tiresome: I luckily did a complete backup of my system tarring all the main dirs on another linux box via NFS. Therefore I could have a chance to recover my initial, working greatly, stable configuration. But With debian, you only need a backup of /etc and of /var/lib/dpkg/status. The rest can be installed completely. There are extra copies of the status file in /var/backups, too (useful when you have hosed only the status file and do not want to reconstruct it manually). what should I do to install a new DBI and many DBM and whatever else stuff from CPAN which are not included in the deb packages? Install dh-perl-make rtfm build your own libperl-dbd-foo.deb. dpkg -p dh-make-perl Package: dh-make-perl Priority: optional Section: devel Installed-Size: 92 Maintainer: Paolo Molaro [EMAIL PROTECTED] Architecture: all Version: 0.8 Depends: debhelper (= 3.0.0), libpod-parser-perl, perl, make, dpkg-dev, fakeroot Filename: pool/main/d/dh-make-perl/dh-make-perl_0.8_all.deb Size: 12988 MD5sum: 6cdf821df978d5da3f0eed7ad3096cac Description: Create debian packages from perl modules dh-make-perl will create the files required to build a debian source package out of a perl package. This works for most simple packages and is also useful for getting started with packaging perl modules. Given a perl package name, it can also automatically download it from CPAN. Cheers, Joost