LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2002, 01:28 AM   #1
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Rep: Reputation: 30
Question Running perl programs


(OS) RH 7.3

I just tried to install a perl program (acid im) and I couldn't get it to work, do i need some special perl module to run perl programs?

Thanks for your help LQ !
 
Old 08-15-2002, 03:40 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
what message do u get trying to run the program? itīs important to know that cause that might have several reasons. some of them:

u have to
'chmod 0755 yourperlfile'
to make it executable

#/usr/bin/perl
or similar should be the first line of the program and should point to your perl. u can run 'whereis perl' to find the file

so plz post the error message and the code
cheers, jens
 
Old 08-15-2002, 12:52 PM   #3
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Original Poster
Rep: Reputation: 30
First i untared it with tar -zxvf in a dir. called acidim, then .........

[root@localhost root]# cd /root/acidim/acidim-0.1
[root@localhost acidim-0.1]# ./configure
bash: ./configure: No such file or directory
[root@localhost acidim-0.1]#

What am I doing wrong here?

Last edited by tied2; 08-15-2002 at 12:59 PM.
 
Old 08-15-2002, 01:20 PM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
You are assuming that:
(a) that is needs to be compiled
and
(b) it was built using autoconf/automake et al

There should be a README or some such in the archive, do a "ls" and then read it.
 
Old 08-15-2002, 01:45 PM   #5
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Original Poster
Rep: Reputation: 30
It says sorry charlie the readme for English is not yet done.



II. INSTALACAO
===============

Os requisitos para este software e':

* Um servidor Web capaz de executar scripts CGI.
(o sistema foi desenvolvido em Apache 1.3.12)
* Um interpretador Perl, versao 5.
(o sistema foi desenvolvido com Perl 5.005_03)
* Um editor de arquivos
(usei o joe, mas voce pode gostar de outro
* Um navegador para testar
(o sistema foi testado com Netscape 4.6 e 4.7)

Mesmo nao tendo funcoes dependentes de sistemas operacionais,
recomendo que a instalacao do pacote seja feita em algum ambiente Unix. Em
minha box Linux (distribuicao Debian, versao 2.2), tudo ocorreu muito bem
Tendo todos estes requisitos, a instacao e' muito simples: basta
criar um diretorio em algum lugar do servidor que os scripts CGI possam ser
executados, fazer o upload dos arquivos e diretorios, e ajustar os modos dos
arquivos desta forma:
* Arquivos .pl: 755
* Arquivos .txt: 777
* Sub-Diretorios e arquivos internos: 777
Agora sera' necessario testar o sistema -- aponte o seu browser para
onde o cadastra.pl esta'. Cadastre-se, e acesse o acidIM com seu nome de
usuario e senha. Agora, leia a secao de observacoes!
Se tudo ocorreu bem, voce devera' ver a lista de contatos e uma
mensagem do Sistema. Caso algo de errado, leia essa secao com cautela e
tente novamente!
 
Old 08-16-2002, 06:39 AM   #6
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
u donīt need to configure and make this program. perl programs are scripts that are parsed as text files. all u have to do is put it in a directory of a server softare like apache and let cgi be executed in this directory. if u use apache for example the default directory for that is /usr/local/apache/cgi-bin. to make it executable u have to 'chmod 0755 urfile.cgi'. u have to tell apache what extensions it should treat as cgi programs, i. e. .cgi or .pl or .plx
i donīt speak portugese but thatīs what i get from the programīs comment.
if u donīt have a server yet, u can get that at www.apache.org for free. itīs very well documented. with that u can build your personal little internet and run cgi programs in a webbrowser like mozilla, konqueror...
cheers, jens

Last edited by j-ray; 08-16-2002 at 06:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run cgi programs with perl in susu 10??? please help me!!!! geril SUSE / openSUSE 1 11-20-2005 06:58 AM
Perl using other programs eagle683 Programming 6 07-11-2005 04:03 AM
Executing web based Perl programs in userdirs markham82 Linux - General 3 12-15-2004 08:49 PM
Can't use any Perl programs in MAndrake? PLEASE HELP! dawelshdude Linux - Newbie 0 05-19-2004 01:45 PM
Executing Perl Programs 1huskerfan Programming 3 01-06-2002 08:39 PM


All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration