LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bugzilla installation on SLES 11 SP1 (https://www.linuxquestions.org/questions/linux-newbie-8/bugzilla-installation-on-sles-11-sp1-944398/)

varunb 05-11-2012 07:42 AM

bugzilla installation on SLES 11 SP1
 
Hi,

I want to install and test bugzilla on SLES 11 sp1.

as per the below url i was trying to install,but some perl modules are not at all loading.

http://www.thegeekstuff.com/2010/05/...illa-on-linux/

Code:


SLES-11:/srv/www/htdocs/bugzilla # ./checksetup.pl --check-modules
* This is Bugzilla 3.6.9 on perl 5.10.0
* Running on Linux 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200

Checking perl modules...
Checking for              CGI.pm (v3.51)  ok: found v3.59
Checking for          Digest-SHA (any)    ok: found v5.45
Checking for            TimeDate (v2.21)  ok: found v2.22
Checking for            DateTime (v0.28)    not found
Checking for  DateTime-TimeZone (v0.71)    not found                                                                                       
Checking for                DBI (v1.41)  ok: found v1.607                                                                                 
Checking for    Template-Toolkit (v2.22)  ok: found v2.24
Checking for          Email-Send (v2.00)  ok: found v2.198
Checking for          Email-MIME (v1.861)  ok: found v1.910
Checking for Email-MIME-Encodings (v1.313)  ok: found v1.313
Checking for Email-MIME-Modifier (v1.442)  ok: found v1.910
Checking for                URI (any)    ok: found v1.37

Checking available perl DBD modules...
Checking for              DBD-Pg (v1.45)    not found
Checking for          DBD-mysql (v4.00)  ok: found v4.008                                                                                 
Checking for          DBD-Oracle (v1.19)    not found
                                                                                                                                             
The following Perl modules are optional:
Checking for                  GD (v1.20)    not found
Checking for              Chart (v2.1)    not found                                                                                       
Checking for        Template-GD (any)      not found                                                                                       
Checking for          GDTextUtil (any)      not found                                                                                       
Checking for            GDGraph (any)      not found                                                                                       
Checking for            XML-Twig (any)    ok: found v3.40                                                                                   
Checking for          MIME-tools (v5.406)  ok: found v5.502
Checking for        libwww-perl (any)    ok: found v5.816
Checking for        PatchReader (v0.9.4)  ok: found v0.9.6
Checking for          perl-ldap (any)    ok: found v0.37
Checking for        Authen-SASL (any)      not found
Checking for          RadiusPerl (any)      not found                                                                                       
Checking for          SOAP-Lite (v0.710.06) ok: found v0.714                                                                               
Checking for            JSON-RPC (any)      not found
Checking for          Test-Taint (any)      not found                                                                                       
Checking for        HTML-Parser (v3.40)  ok: found v3.56                                                                                   
Checking for      HTML-Scrubber (any)    ok: found v0.09
Checking for Email-MIME-Attachment-Stripper (any)    ok: found v1.316
Checking for        Email-Reply (any)    ok: found v1.202
Checking for        TheSchwartz (any)      not found
Checking for      Daemon-Generic (any)      not found                                                                                       
Checking for            mod_perl (v1.999022) ok: found v2.000004                                                                             
Checking for  Math-Random-Secure (v0.05)    not found
***********************************************************************                                                                     
* REQUIRED MODULES                                                    *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* See below for commands to install these modules.                    *
***********************************************************************
* OPTIONAL MODULES                                                    *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by          *
* installing the latest version you gain access to additional        *
* features.                                                          *
*                                                                    *
* The optional modules you do not have installed are listed below,    *
* with the name of the feature they enable. Below that table are the  *
* commands to install each module.                                    *
***********************************************************************
*        MODULE NAME * ENABLES FEATURE(S)                            *
***********************************************************************
*                GD * Graphical Reports, New Charts, Old Charts      *
*              Chart * New Charts, Old Charts                        *
*        Template-GD * Graphical Reports                              *
*        GDTextUtil * Graphical Reports                              *
*            GDGraph * Graphical Reports                              *
*        Authen-SASL * SMTP Authentication                            *
*        RadiusPerl * RADIUS Authentication                          *
*          JSON-RPC * JSON-RPC Interface                            *
*        Test-Taint * JSON-RPC Interface, XML-RPC Interface          *
*        TheSchwartz * Mail Queueing                                  *
*    Daemon-Generic * Mail Queueing                                  *
* Math-Random-Secure * Improve cookie and token security              *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

            GD: /usr/bin/perl install-module.pl GD
          Chart: /usr/bin/perl install-module.pl Chart::Lines
    Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
    GDTextUtil: /usr/bin/perl install-module.pl GD::Text
        GDGraph: /usr/bin/perl install-module.pl GD::Graph
    Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL
    RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
      JSON-RPC: /usr/bin/perl install-module.pl JSON::RPC
    Test-Taint: /usr/bin/perl install-module.pl Test::Taint
    TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
 Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic
Math-Random-Secure: /usr/bin/perl install-module.pl Math::Random::Secure

COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run this script):                                                                                                               
                                                                                                                                             
    /usr/bin/perl install-module.pl DateTime
    /usr/bin/perl install-module.pl DateTime::TimeZone

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl install-module.pl --all

*** Installation aborted. Read the messages above. ***

also if i go through perl shell i.e CPAN

Code:

SLES-11:/srv/www/htdocs/bugzilla # perl -MCPAN -e shell
CPAN: File::HomeDir loaded ok (v0.66)
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan[1]> force install GD
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Fri, 11 May 2012 04:11:57 GMT
CPAN: YAML loaded ok (v0.81)
Going to read /root/.cpan/build/
............................................................................DONE
Found 101 old builds, restored the state of 101
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.46.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/GD-2.46-SGVOlj
  '/usr/bin/perl Makefile.PL' returned status 512, won't make
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install

cpan[2]> force install DateTime
Running install for module 'DateTime'
Running Build for D/DR/DROLSKY/DateTime-0.74.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/DateTime-0.74-C5KGGB
  Has already been made
Running Build test
Module::Build version 0.3601 required--this is only version 0.280801 at ./Build line 42
  DROLSKY/DateTime-0.74.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DROLSKY/DateTime-0.74.tar.gz
Running Build install
Module::Build version 0.3601 required--this is only version 0.280801 at ./Build line 42
  DROLSKY/DateTime-0.74.tar.gz
  ./Build install  -- NOT OK
CPAN: Module::Build loaded ok (v0.280801)
Failed during this command:
 DROLSKY/DateTime-0.74.tar.gz                : make_test FAILED but failure ignored because 'force' in effect

Some modules says its installed but again if i run the command

Code:

SLES-11:/srv/www/htdocs/bugzilla # ./checksetup.pl --check-modules
same error come's. Can anyone please tell me what needs to be done??? i am really stuck with this.

djsoundfx 05-12-2012 09:58 PM

[QUOTE=varunb;4675888]
Code:


COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run this script):                                                                                                               
                                                                                                                                             
    /usr/bin/perl install-module.pl DateTime
    /usr/bin/perl install-module.pl DateTime::TimeZone

To attempt an automatic install of every required and optional module
with one command, do:

  /usr/bin/perl install-module.pl --all

*** Installation aborted. Read the messages above. ***

Have you tried any of these commands? According to what you posted the only thing missing is the DateTime and DateTime::Timezone modules. If you haven't yet installed these modules go ahead and try that (using the code that here) and then try to reinstall Bugzilla. If you run in to errors let me know.

djsoundfx 05-12-2012 10:02 PM

Quote:

cpan[2]> force install DateTime
Running install for module 'DateTime'
Running Build for D/DR/DROLSKY/DateTime-0.74.tar.gz
Has already been unwrapped into directory /root/.cpan/build/DateTime-0.74-C5KGGB
Has already been made
Running Build test
Module::Build version 0.3601 required--this is only version 0.280801 at ./Build line 42
DROLSKY/DateTime-0.74.tar.gz
./Build test -- NOT OK
Didn't see this a minute ago, sorry. The critical thing here appears to be your build is out of date:
Quote:

Module::Build version 0.3601 required--this is only version 0.280801
Have you tried updating this? and/or verifying that is your current build version (which if it isn't this may suggest another problem).

varunb 05-13-2012 11:44 PM

[QUOTE=djsoundfx;4677005]
Quote:

Originally Posted by varunb (Post 4675888)
[CODE]
Have you tried any of these commands? According to what you posted the only thing missing is the DateTime and DateTime::Timezone modules. If you haven't yet installed these modules go ahead and try that (using the code that here) and then try to reinstall Bugzilla. If you run in to errors let me know.

Hi,

Yes you are correct only two modules has to be installed, other modules are optional.
Also I tried the install --all command too and later if i run

./checksetup.pl --check-modules

error is same like DateTime and DateTime::Timezone modules are not found.

varunb 05-13-2012 11:46 PM

Quote:

Originally Posted by djsoundfx (Post 4677007)
Didn't see this a minute ago, sorry. The critical thing here appears to be your build is out of date:
Have you tried updating this? and/or verifying that is your current build version (which if it isn't this may suggest another problem).

Can you please tell me how should i update it???

should i have to download source package and reinstall it again???

djsoundfx 05-15-2012 10:10 AM

Quote:

Originally Posted by varunb (Post 4677667)
Can you please tell me how should i update it???

From within CPAN you should be able to run:
Code:

cpan> upgrade Build
Quote:

Originally Posted by varunb (Post 4677667)
should i have to download source package and reinstall it again???

The source package for Bugzilla? I don't think that is necessary you don't seem to have any problems with the code. Also make sure your make is up to date...
Code:

make -v
Should be 3.8x

For some general commands you can use in cpan check out: http://beerpla.net/2007/10/12/cpan-t...odule-manager/ and I like to use cpanminus to manage modules to use that run:
Code:

cpan> install App::cpanminus
Then, cpanm Module::Name to install modules


djsoundfx 05-15-2012 10:12 AM

After you update build you should be able to try again (and hopefully) install the Datetime modules, then Bugzilla. Let me know how it goes.

varunb 05-16-2012 10:04 AM

Quote:

Originally Posted by djsoundfx (Post 4679002)
After you update build you should be able to try again (and hopefully) install the Datetime modules, then Bugzilla. Let me know how it goes.

Hi,

Thanks for your reply. I tried updating too, through CPAN
cpan> upgrade Build

But i was facing the same errors. Also i searched i google too i din find any solutions.
Atlas i got a idea to remove the .cpan(/root/.cpan/) directory itself, start building and installing the modules from scratch.

running the command
#perl -MCPAN -e shell

and installing modules from scratch, following the steps again from below URL
http://www.thegeekstuff.com/2010/05/...illa-on-linux/
Thank god atlas i got bugzilla was installed successfully on my PC.

And Hey also i was facing problem like

403 forbidden message when trying to access bugzilla through browser.

so finding the solution for this was bit little tricky. As per below two urls

http://forums.fedoraforum.org/archiv.../t-115327.html
http://support.modwest.com/content/2...forbidden.html

i am easily acessing bugzilla by changing permissions of file and adding few lines in my
httpd.conf file.

djsoundfx 05-16-2012 09:35 PM

Great, so you've got it all up and running then?

varunb 05-17-2012 12:54 AM

Quote:

Originally Posted by djsoundfx (Post 4680459)
Great, so you've got it all up and running then?

Yeah. . !!! its all working fine. .!!! :) i will close this thread. . !!!

and thank you djsoundfx. . :)


All times are GMT -5. The time now is 04:40 AM.