473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to Un-Install perl-5.8?

34
My problem is, previously, i had installed perl-5.8.7 in my Linux. But when i do upgrade i.e when i install perl-5.8.8 in my machine, it doesn't get installed completely. So , i am getting error while doing programs.

It takes the path as /usr/local/lib/perl5/5.8.8
but i want to run my scripts in the path as /usr/lib/perl/5.8.7.


Any reply to this will make me Happy.
Sep 22 '07 #1
9 2960
numberwhun
3,509 Expert Mod 2GB
My problem is, previously, i had installed perl-5.8.7 in my Linux. But when i do upgrade i.e when i install perl-5.8.8 in my machine, it doesn't get installed completely. So , i am getting error while doing programs.

It takes the path as /usr/local/lib/perl5/5.8.8
but i want to run my scripts in the path as /usr/lib/perl/5.8.7.


Any reply to this will make me Happy.
First, I have deleted your other thread. Please be sure and post your question(s) only once to the forum and do not duplicate them. Accidents happen, we understand. :-)

As for your question, your scripts themselves will be run from wherever you put them on your Unix system. I am not sure what you mean by "it takes the path as ..... ".

Also, what errors are you getting when executing code? You can have two versions of perl on the same Unix machine, that isn't an issue. What happened during your installation that leads you to believe it isn't right?

Regards,

Jeff
Sep 22 '07 #2
aurekha
34
Thanks jeff for responding. But my problem is, previously, i had perl-5.8.7 and i run my scripts in /usr/lib/perl/5.8.7. Then later, i installed perl-5.8.8 , which is not completely installed in my machine.

When i run my mod-perl program,which is named as 'first::test' i am getting errors that, 'test' is not found at @INC, where @INC contains ------------- and something goes like that.

Here my machine will look for the upgraded version i.e perl-5.8.8. But unfortunately it is not installed completely in my machine.
Sep 22 '07 #3
aurekha
34
Thanks jeff for responding. But my problem is, previously, i had perl-5.8.7 and i run my scripts in /usr/lib/perl/5.8.7. Then later, i installed perl-5.8.8 , which is not completely installed in my machine.

When i run my mod-perl program,which is named as 'first::test' i am getting errors that, 'test' is not found at @INC, where @INC contains ------------- and something goes like that.

Here my machine will look for the upgraded version i.e perl-5.8.8. But unfortunately it is not installed completely in my machine.
Sep 22 '07 #4
numberwhun
3,509 Expert Mod 2GB
Thanks jeff for responding. But my problem is, previously, i had perl-5.8.7 and i run my scripts in /usr/lib/perl/5.8.7. Then later, i installed perl-5.8.8 , which is not completely installed in my machine.

When i run my mod-perl program,which is named as 'first::test' i am getting errors that, 'test' is not found at @INC, where @INC contains ------------- and something goes like that.

Here my machine will look for the upgraded version i.e perl-5.8.8. But unfortunately it is not installed completely in my machine.
Well, I would still like to know how you think Perl is not fully installed. Did the installation not finish? Did you interrupt it? Just because it is not finding a module that is "not" part of the default Perl installation is no reason to think that Perl is not installed. Because you have a new version, I would believe that you would have to reinstall the modules that you are using regularly (and any others). That is the way it sounds at least.

Are you saying that you actually put your scripts into "/usr/lib/perl/5.8.7" or that is where you kept the Perl binary? Just curious as either is rather unusual since that is a lib directory. The standard default Unix path is /usr/bin/perl ( which is the executable. If you do a "which perl", that is probably the one it refers to. And, if you do "perl -v" on the command line, it will tell you which one you are using.

Regards,

Jeff
Sep 22 '07 #5
aurekha
34
Perl is working in my machine. When come to mod-perl, it is not recognising the path '/usr/lib/perl' instead, it is choosing '/usr/local/lib/perl'

Here, I interrupt the installation of 5.8.8. When i am writing modperl programs, i am getting error that, 'program name' not found in @INC.


when i see the contents of the @INC, i didn't find path as '/usr/lib/perl'

How to append this path into @INC????????????//
Sep 22 '07 #6
numberwhun
3,509 Expert Mod 2GB
Perl is working in my machine. When come to mod-perl, it is not recognising the path '/usr/lib/perl' instead, it is choosing '/usr/local/lib/perl'

Here, I interrupt the installation of 5.8.8. When i am writing modperl programs, i am getting error that, 'program name' not found in @INC.


when i see the contents of the @INC, i didn't find path as '/usr/lib/perl'

How to append this path into @INC????????????//
@INC contains the path (I believe) to the modules that you have installed. If your issue is that it cannot find a module, then re-install it via CPAN and see if it works. If you interupted the Perl installation in any way, then you should go ahead and redo it to have it complete.

I am still a little lost as to why you need /usr/lib/perl. The 'lib directory is where the libraries are. This is not the place for executables or scripts.

Regards,

Jeff
Sep 22 '07 #7
aurekha
34
From starting onwards, i used to do my scripts in that path onlyyy.

And also, one more thing is that, when i use '/usr/local/lib/perl' instead of '/usr/lib/perl' , i am getting error. I think , this error is occuring, that modules i had installed previously doesn't compatible with the latest version.

when i test by using 'perl -v', i am getting 5.8.8. So previous modules doesn't work with upgraded version. So, now my machine is having 5.8.7 and halfly installed 5.8.8.

What can i dooooooooooooo????????//
Sep 22 '07 #8
numberwhun
3,509 Expert Mod 2GB
From starting onwards, i used to do my scripts in that path onlyyy.

And also, one more thing is that, when i use '/usr/local/lib/perl' instead of '/usr/lib/perl' , i am getting error. I think , this error is occuring, that modules i had installed previously doesn't compatible with the latest version.

when i test by using 'perl -v', i am getting 5.8.8. So previous modules doesn't work with upgraded version. So, now my machine is having 5.8.7 and halfly installed 5.8.8.

What can i dooooooooooooo????????//
I would re-install any modules you need, just as I mentioned earlier. Also, it is a good idea to put your scripts somewhere other than /usr/lib/perl. Keep them in your own development directory.

Regards,

Jeff
Sep 22 '07 #9
aurekha
34
Thanks for ur reply to me, My problem has been solved. What i did is, i re-installed perl-5.8.8. which takes path in my own dir.

Thank you
Sep 24 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Agathe | last post by:
Bonjour, Je souhaite insérer dans une table MySQL des données provenant d'un fichier texte grâce à un script PHP. Mon fichier porte l'extension "txt" et les données sont séparées par des ";'. ...
6
by: Raymond H. | last post by:
Bonjour, Je n'arrive pas à savoir comment lire via vb4 l'adresse d'un favoris dans le dossier des favoris où Internet Explorer place ses favoris. Par exemple, comment fait-on pour afficher l'url...
2
by: Mauro | last post by:
Ciao a tutti! vorrei sapere se qualcuno potrebbe darmi qualche dritta (o se sa dove reperire un tutorial) su come realizzare un trial a tempo, da integrare ad un mio programma per impedirne...
1
by: richard | last post by:
bonjour je me connecte à une base de données interbase/firebird en utilisant, KinterbasDB http://kinterbasdb.sourceforge.net/ pour ceux que ca interesse mais je pense que le probleme est le...
3
by: pascal Joseph | last post by:
J'ai un formulaire avec un seul champ text appelé "unite" et un bouton. En javascript j'aimerai utiliser un script qui interdise les valeurs de type "char" et soit supérieur à 0 J'ai trouvé...
5
by: Chris | last post by:
Bonjour, Plusieurs fichiers PHP d'un programme open source de compteur de visites viennent de se faire hacker sur mon serveur (hébergement mutualisé chez un fournisseur d'accès). Le hacker a...
3
by: Jorge Gallardo | last post by:
Hola de nuevo a todos... Agradecido a todos los que me habeis solucionado problemas anteriores... Pero como no es novedad, me surge otro. Recientemente buscando, adquiri un codigo para juntar...
1
by: Alex | last post by:
Ciao a tutti, sto sviluppando un applicazione windows, in breve all'interno dello stesso namespace ho un form con una datagrid e un thread che effettua dei controlli e "dovrebbe" caricare i dati...
15
by: Ciudad Tecnópolis | last post by:
Hola, primero que todo mil disculpas por postear una pregunta no relacionada al tema pero se que será muy útil para todos! Actualmente estoy presentando un desarrollo en .NET para una compañía y...
3
by: nano9 | last post by:
Hola gente quisiera que alguien me pudiera ayudar con un problemilla que tengo, resulta que estoy programando en ASP con C# y estoy usando un cadbgrid que se comporta parecido a un datagrid o...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.