LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   anjuta 1.2.4a installation help for fedora6 (https://www.linuxquestions.org/questions/linux-software-2/anjuta-1-2-4a-installation-help-for-fedora6-553362/)

deep_ft06 05-12-2007 08:26 AM

anjuta 1.2.4a installation help for fedora6
 
hi,

i get the following errors when installing anjuta on fedora 6.
______________________________________________________________________
[deep@localhost anjuta]$ cd anjuta-1.2.4a
[deep@localhost anjuta-1.2.4a]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
______________________________________________________________________


please give detailed instrunctions
thanks

waelaltaqi 05-12-2007 10:00 AM

the ./configure script is telling you that it requires XML::Parser perl module. Perl models can be confusing to install the first time ,but You will need to learn how to install perl modules sooner or later. There is couple ways to install perl modules:

1- thourgh CPAN website. click on http://search.cpan.org/~msergeant/XM...2.34/Parser.pm
unpack the then cd into the directory and issue the following command:
Code:

perl Makefile.PL
      make && make check
      make install

2- by using CPAN shell. To access CPAN shell, issue the following command:

Code:

perl -MCPAN -e shell
this command will ask you some questions to prepeare the shell which downloads perl modules directly fro CPAN's website and installs then for you. The most important question, is what mirrors you want CPAN shell to pull installation sources from. The command above should show you somethings like this at some point:
Code:

(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) [] 5
(1) Bahamas
(2) Canada
(3) Mexico
(4) United States
Select your country (or several nearby countries) [] 4
Sorry! since you don't have any existing picks, you must make a
geographic selection.

(1) ftp://carroll.cac.psu.edu/pub/CPAN/
(2) ftp://cpan-du.viaverio.com/pub/CPAN/
(3) ftp://cpan-sj.viaverio.com/pub/CPAN/
(4) ftp://cpan.calvin.edu/pub/CPAN
(5) ftp://cpan.cs.utah.edu/pub/CPAN/
(6) ftp://cpan.cse.msu.edu/
(7) ftp://cpan.erlbaum.net/CPAN/
(8) ftp://cpan.glines.org/pub/CPAN/
(9) ftp://cpan.hostrack.net/pub/CPAN
(10) ftp://cpan.llarian.net/pub/CPAN/
(11) ftp://cpan.mirrors.redwire.net/pub/CPAN/
(12) ftp://cpan.mirrors.tds.net/pub/CPAN
(13) ftp://cpan.netnitco.net/pub/mirrors/CPAN/
(14) ftp://cpan.pair.com/pub/CPAN/
(15) ftp://cpan.teleglobe.net/pub/CPAN
(16) ftp://cpan.uchicago.edu/pub/CPAN/
40 more items, hit SPACE RETURN to show them

i usually choose couple of mirrors here to insure that i'm going to get installation file if some mirrors are down. After choosing the mirrors, you should issue the following command in the CPAN shell:
Code:

cpan> install XML::Parser
next time you issue
Code:

perl -MCPAN -e shell
you will find yourself in the CPAN shell and can issue install commands all over.

3- i would think that there is RPM packages for XML::Parser. i will leave that search for you.

hollywoodb 05-12-2007 10:34 AM

Don't mess with CPAN. There are plenty of Perl modules in the official repos.

Code:

yum list perl\*

waelaltaqi 05-12-2007 11:47 AM

[QUOTE=hollywoodb]Don't mess with CPAN. There are plenty of Perl modules in the official repos.

there might be perl modules from repos but they're not always fully updated. Latest perl modules are not insteantly reflected to rpm. with perl i like to install from source and see what
Code:

make check
output will give me. make check will tell you for sure if the module will surly work after installation or not.

deep_ft06 05-13-2007 02:05 AM

xml parser installation
 
i downloaded the tar.gz file from "cpan" . now how do i install it and thanks for all the previous replies.

_____________________________________________________________________
[deep@localhost XML-Parser-2.34]$ ls
Changes Expat Makefile.PL MANIFEST Parser Parser.pm README samples t
[deep@localhost XML-Parser-2.34]$ ./configure
bash: ./configure: No such file or directory
[deep@localhost XML-Parser-2.34]$
_____________________________________________________________________

waelaltaqi 05-13-2007 09:54 AM

let's say that you downloaded the tar.gz file on the desktop. open terminal and do the following:
Code:

$ su root                       
$ tar zxvf XML-Parser-2.34.tar.gz
$ cd XML-Parser-2.34/
$ perl Makefile.pl
$ make
$ make check
$ make install

post more questions if you have any

reddazz 05-13-2007 04:44 PM

Fedora Core 6 has anjuta 2.x in the YUM repos, so you could save yourself time and effort by installing it using YUM.


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