LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 12: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, 02:40 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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, 11:52 AM   #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 11:59 AM.
 
Old 08-15-2002, 12: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, 12: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, 05:39 AM   #6
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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 05:43 AM.
 
  


Reply



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 05:58 AM
Perl using other programs eagle683 Programming 6 07-11-2005 03:03 AM
Executing web based Perl programs in userdirs markham82 Linux - General 3 12-15-2004 07:49 PM
Can't use any Perl programs in MAndrake? PLEASE HELP! dawelshdude Linux - Newbie 0 05-19-2004 12:45 PM
Executing Perl Programs 1huskerfan Programming 3 01-06-2002 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 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
Open Source Consulting | Domain Registration