LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bugzilla on Fedora 9? (https://www.linuxquestions.org/questions/linux-newbie-8/bugzilla-on-fedora-9-a-742192/)

your_shadow03 07-23-2009 05:00 AM

Bugzilla on Fedora 9?
 
I have SVN running on Fedora 9 with WebDAV. Developers are happy working with SVN.Now I have received a request for installing Bugzilla on Linux. any Docs or hint how can i go for the same?
Will it affect SVN in any case?

Agrouf 07-23-2009 05:07 AM

yum install bugzilla

your_shadow03 07-23-2009 05:48 AM

The Machine is not connected to any repo or internet.

Agrouf 07-23-2009 06:42 AM

Then download the rpm file there:
http://www.rpmfind.net//linux/RPM/fe...c9.noarch.html
Check that you have all the dependancies listed in the page (Requires section) and install the rpm with that command:
rpm -i bugzilla-3.0.2-6.fc9.noarch.rpm

your_shadow03 07-23-2009 07:05 AM

I tried :
Code:


[root@Innov bugzilla-3.2.4]# ./checksetup.pl --check-modules
* This is Bugzilla 3.2.4 on perl 5.10.0
* Running on Linux 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008

Checking perl modules...
Checking for              CGI.pm (v3.33)    found v3.29
Checking for            TimeDate (v2.21)    not found
Checking for          PathTools (v0.84)  ok: found v3.2501
Checking for                DBI (v1.41)  ok: found v1.601
Checking for    Template-Toolkit (v2.15)    not found
Checking for          Email-Send (v2.00)    not found
Checking for          Email-MIME (v1.861)  not found
Checking for Email-MIME-Encodings (v1.313)  not found
Checking for Email-MIME-Modifier (v1.442)  not found

Checking available perl DBD modules...
Checking for              DBD-Pg (v1.45)  ok: found v1.49
Checking for          DBD-mysql (v4.00)  ok: found v4.005
Checking for          DBD-Oracle (v1.19)    not found

The following Perl modules are optional:
Checking for                  GD (v1.20)    not found
Checking for              Chart (v1.0)    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)      not found
Checking for          MIME-tools (v5.406)  not found
Checking for        libwww-perl (any)    ok: found v2.036
Checking for        PatchReader (v0.9.4)  not found
Checking for          PerlMagick (any)      not found
Checking for          perl-ldap (any)      not found
Checking for        Authen-SASL (any)      not found
Checking for          RadiusPerl (any)      not found
Checking for          SOAP-Lite (any)      not found
Checking for        HTML-Parser (v3.40)  ok: found v3.56
Checking for      HTML-Scrubber (any)      not found
Checking for Email-MIME-Attachment-Stripper (any)      not found
Checking for        Email-Reply (any)      not found
Checking for            mod_perl (v1.999022) ok: found v2.000003
***********************************************************************
* 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. *
*                                                                    *
* The latest versions of each module can be installed by running the  *
* commands below.                                                    *
***********************************************************************
COMMANDS:

    /usr/bin/perl install-module.pl CGI
    /usr/bin/perl install-module.pl Date::Format
    /usr/bin/perl install-module.pl Template
    /usr/bin/perl install-module.pl Email::Send
    /usr/bin/perl install-module.pl Email::MIME
    /usr/bin/perl install-module.pl Email::MIME::Encodings
    /usr/bin/perl install-module.pl Email::MIME::Modifier

**********************************************************************
* 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. If you want to install  *
* one of these modules, just run the appropriate command in the      *
* "COMMANDS TO INSTALL" section.                                    *
**********************************************************************

***********************************************************************
*                    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                  *
*                      XML-Twig * Move Bugs Between Installations    *
*                    MIME-tools * Move Bugs Between Installations    *
*                    PatchReader * Patch Viewer                      *
*                    PerlMagick * Optionally Convert BMP Attachments to PNGs *
*                      perl-ldap * LDAP Authentication                *
*                    Authen-SASL * SMTP Authentication                *
*                    RadiusPerl * RADIUS Authentication              *
*                      SOAP-Lite * XML-RPC Interface                  *
*                  HTML-Scrubber * More HTML in Product/Group Descriptions *
* Email-MIME-Attachment-Stripper * Inbound Email                      *
*                    Email-Reply * Inbound Email                      *
***********************************************************************
COMMANDS TO INSTALL:

            GD: /usr/bin/perl install-module.pl GD
          Chart: /usr/bin/perl install-module.pl Chart::Base
    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
      XML-Twig: /usr/bin/perl install-module.pl XML::Twig
    MIME-tools: /usr/bin/perl install-module.pl MIME::Parser
    PatchReader: /usr/bin/perl install-module.pl PatchReader
    PerlMagick: /usr/bin/perl install-module.pl Image::Magick
      perl-ldap: /usr/bin/perl install-module.pl Net::LDAP
    Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL
    RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
      SOAP-Lite: /usr/bin/perl install-module.pl SOAP::Lite
  HTML-Scrubber: /usr/bin/perl install-module.pl HTML::Scrubber
Email-MIME-Attachment-Stripper: /usr/bin/perl install-module.pl Email::MIME::Attachment::Stripper
    Email-Reply: /usr/bin/perl install-module.pl Email::Reply

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

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

Which perl do i need to install manually?

your_shadow03 07-23-2009 07:12 AM

[root@Innov BUGZILLA]# rpm -ivh bugzilla-3.0.2-6.fc9.noarch.rpm
error: Failed dependencies:
perl(Apache::DBI) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Date::Format) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Date::Parse) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::Address) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::MIME) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::MIME::Attachment::Stripper) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::MIME::Modifier) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::Reply) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Email::Send) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(MIME::Parser) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Net::LDAP) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Template::Stash) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(Time::Zone) is needed by bugzilla-3.0.2-6.fc9.noarch
perl(XML::Twig) is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-Address is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-MIME is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-MIME-Attachment-Stripper is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-MIME-Modifier is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-Reply is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-Send is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Email-Simple is needed by bugzilla-3.0.2-6.fc9.noarch
perl-MIME-tools is needed by bugzilla-3.0.2-6.fc9.noarch
perl-SOAP-Lite is needed by bugzilla-3.0.2-6.fc9.noarch
perl-Template-Toolkit is needed by bugzilla-3.0.2-6.fc9.noarch
[/code]
I have Linux Machine with wget at my home. There is no firewall so that I can download the RPM quickly and take it in USB and finally install those in my company.Will wget can just download and fetch package and can I install it here. I think it will be good idea installing one by one all pkg.Its time consuming.

Agrouf 07-23-2009 08:04 AM

If your linux machine at home is fedora 9, then you can do that command:
yumdownloader --resolve bugzilla

(you may have to install yumdownloader first if you don't have it already)

your_shadow03 07-23-2009 11:54 PM

I managed to install through :
Code:

[root@Innov BUGZILLA]# rpm -ivh bugzilla-3.0.2-6.fc9.noarch.rpm
Preparing...                ########################################### [100%]
  1:bugzilla              ########################################### [100%]

What Should I configure it further?
any link.

Agrouf 07-24-2009 12:28 AM

http://www.bugzilla.org/docs/3.0/htm...istration.html

your_shadow03 07-24-2009 12:39 AM

Agrouf, I appreciate your help for the link.
I need your quick help/reference with what next to do after I install the Bugzilla RPM.
I explored lots of Docs but all install it through tar.gz.I dont have YUM / Up2date working so it will take lots of time.
I read the Doc but I think I dint get it on step by step..It talks the complete theoretical concept.
Please provide me link where its step by step and straight way of installation.

your_shadow03 07-24-2009 01:20 AM

Also, If I try installing through tar.gz it reports missing Perl Modules.
i went to cpan.org website but no idea how can I download and install perl Packgs.
Please suggest for both.

Agrouf 07-24-2009 02:39 AM

google (www.google.com) gave me that page:
http://www.networkworld.com/columnis...6internet.html

You can search for and download cpan modules from there:
http://search.cpan.org/

cpan.org has an help page on module installation here:
http://www.cpan.org/modules/INSTALL.html

your_shadow03 07-24-2009 03:32 AM

Agrouf,
I explored few docs and finally got bugzilla installed.
What I did :
Code:

INSTALLING BUGZILLA

#cd /usr/share/bugzilla
#./checksetup.pl


....cking available perl DBD modules...
Checking for          DBD-Pg (v1.45)  ok: found v1.49
Checking for      DBD-mysql (v2.9003) ok: found v4.005

The following Perl modules are optional:
Checking for              GD (v1.20)    not found
Checking for    Template-GD (any)      not found
Checking for          Chart (v1.0)    not found
Checking for        GDGraph (any)      not found
Checking for      GDTextUtil (any)      not found
Checking for        XML-Twig (any)    ok: found v3.32
Checking for      MIME-tools (v5.406)  ok: found v5.426
Checking for    libwww-perl (any)    ok: found v2.036
Checking for    PatchReader (v0.9.4)  not found
Checking for      PerlMagick (any)      not found
Checking for      perl-ldap (any)    ok: found v0.34
Checking for      SOAP-Lite (any)    ok: found v0.710.07
Checking for    HTML-Parser (v3.40)  ok: found v3.56
Checking for  HTML-Scrubber (any)      not found
Checking for Email-MIME-Attachment-Stripper (any)    ok: found v1.315
Checking for    Email-Reply (any)    ok: found v1.202
Checking for        mod_perl (v1.999022) ok: found v2.000003
Checking for            CGI (v3.11)  ok: found v3.29
Checking for      Apache-DBI (v0.96)  ok: found v1.07

* NOTE: You must run any commands listed below as root.

**********************************************************************
* 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. If you want to install  *
* one of these modules, just run the appropriate command in the      *
* "COMMANDS TO INSTALL" section.                                    *
**********************************************************************

***********************************************************************
*  MODULE NAME * ENABLES FEATURE(S)                                  *
***********************************************************************
*      GDGraph * Graphical Reports                                  *
*  Template-GD * Graphical Reports                                  *
*    GDTextUtil * Graphical Reports                                  *
*            GD * Graphical Reports, New Charts, Old Charts          *
* HTML-Scrubber * More HTML in Product/Group Descriptions            *
*        Chart * New Charts, Old Charts                              *
*    PerlMagick * Optionally Convert BMP Attachments to PNGs          *
*  PatchReader * Patch Viewer                                        *
***********************************************************************
COMMANDS TO INSTALL:

        GDGraph: /usr/bin/perl -MCPAN -e 'install GD::Graph'
    Template-GD: /usr/bin/perl -MCPAN -e 'install Template::Plugin::GD::Image'
    GDTextUtil: /usr/bin/perl -MCPAN -e 'install GD::Text'
            GD: /usr/bin/perl -MCPAN -e 'install GD'
  HTML-Scrubber: /usr/bin/perl -MCPAN -e 'install HTML::Scrubber'
          Chart: /usr/bin/perl -MCPAN -e 'install Chart::Base'
    PerlMagick: /usr/bin/perl -MCPAN -e 'install Image::Magick'
    PatchReader: /usr/bin/perl -MCPAN -e 'install PatchReader'
Reading /etc/bugzilla/localconfig...
Checking for      DBD-mysql (v2.9003) ok: found v4.005
Checking for          MySQL (v4.1.2)  ok: found v5.0.51a

Building Schema object from database...
Adding new table bz_schema ...
Initializing the new Schema storage...
Adding new table attach_data ...
Adding new table attachments ...
Adding new table bug_group_map ...
Adding new table bug_severity ...
Adding new table bug_status ...
Adding new table bugs ...
Adding new table bugs_activity ...
Adding new table category_group_map ...
Adding new table cc ...
Adding new table classifications ...
Adding new table component_cc ...
Adding new table components ...
Adding new table dependencies ...
Adding new table duplicates ...
Adding new table email_setting ...
Adding new table fielddefs ...
Adding new table flagexclusions ...
Adding new table flaginclusions ...
Adding new table flags ...
Adding new table flagtypes ...
Adding new table group_control_map ...
Adding new table group_group_map ...
Adding new table groups ...
Adding new table keyworddefs ...
Adding new table keywords ...
Adding new table logincookies ...
Adding new table longdescs ...
Adding new table milestones ...
Adding new table namedqueries ...
Adding new table namedqueries_link_in_footer ...
Adding new table namedquery_group_map ...
Adding new table op_sys ...
Adding new table priority ...
Adding new table products ...
Adding new table profile_setting ...
Adding new table profiles ...
Adding new table profiles_activity ...
Adding new table quips ...
Adding new table rep_platform ...
Adding new table resolution ...
Adding new table series ...
Adding new table series_categories ...
Adding new table series_data ...
Adding new table setting ...
Adding new table setting_value ...
Adding new table tokens ...
Adding new table user_group_map ...
Adding new table versions ...
Adding new table votes ...
Adding new table watch ...
Adding new table whine_events ...
Adding new table whine_queries ...
Adding new table whine_schedules ...
Converting attach_data maximum size to 100G...
Inserting values into the 'priority' table:
'P1' sortkey: 100
'P2' sortkey: 200
'P3' sortkey: 300
'P4' sortkey: 400
'P5' sortkey: 500
Inserting values into the 'bug_status' table:
'UNCONFIRMED' sortkey: 100
'NEW'        sortkey: 200
'ASSIGNED'    sortkey: 300
'REOPENED'    sortkey: 400
'RESOLVED'    sortkey: 500
'VERIFIED'    sortkey: 600
'CLOSED'      sortkey: 700
Inserting values into the 'rep_platform' table:
'All'      sortkey: 100
'PC'        sortkey: 200
'Macintosh' sortkey: 300
'Other'    sortkey: 400
Inserting values into the 'resolution' table:
''          sortkey: 100
'FIXED'      sortkey: 200
'INVALID'    sortkey: 300
'WONTFIX'    sortkey: 400
'DUPLICATE'  sortkey: 500
'WORKSFORME' sortkey: 600
'MOVED'      sortkey: 700
Inserting values into the 'bug_severity' table:
'blocker'    sortkey: 100
'critical'    sortkey: 200
'major'      sortkey: 300
'normal'      sortkey: 400
'minor'      sortkey: 500
'trivial'    sortkey: 600
'enhancement' sortkey: 700
Inserting values into the 'op_sys' table:
'All'    sortkey: 100
'Windows' sortkey: 200
'Mac OS'  sortkey: 300
'Linux'  sortkey: 400
'Other'  sortkey: 500
Creating /var/lib/bugzilla/data directory...
Creating /var/lib/bugzilla/data/attachments directory...
Creating /var/lib/bugzilla/data/duplicates directory...
Creating /var/lib/bugzilla/data/mimedump-tmp directory...
Creating /var/lib/bugzilla/data/mining directory...
Creating /var/lib/bugzilla/data/webdot directory...
Creating /var/lib/bugzilla/extensions directory...
Creating graphs directory...
Creating skins/contrib directory...
Creating skins/custom directory...
Creating /var/lib/bugzilla/data/mail...
Creating ./Bugzilla/.htaccess...
Creating ./template/.htaccess...
Creating .htaccess...
Creating /var/lib/bugzilla/data/.htaccess...
Creating /var/lib/bugzilla/data/attachments/.htaccess...
Creating /var/lib/bugzilla/data/webdot/.htaccess...
Precompiling templates...
Fixing file permissions...
Initializing "Dependency Tree Changes" email_setting ...
Creating group admin...
Creating group tweakparams...
Creating group editusers...
Creating group creategroups...
Creating group editclassifications...
Creating group editcomponents...
Creating group editkeywords...
Creating group editbugs...
Creating group canconfirm...
Creating group bz_canusewhines...
Creating group bz_sudoers...
Creating group bz_canusewhineatothers...
Creating group bz_sudo_protect...
Adding a new user setting called 'skin'
Adding a new user setting called 'lang'
Adding a new user setting called 'post_bug_submit_action'
Adding a new user setting called 'per_bug_queries'
Adding a new user setting called 'zoom_textareas'
Adding a new user setting called 'csv_colsepchar'
Adding a new user setting called 'state_addselfcc'
Adding a new user setting called 'comment_sort_order'
Adding a new user setting called 'display_quips'

Looks like we don't have an administrator set up yet.
Either this is your first time using Bugzilla, or your
administrator's privileges might have accidentally been deleted.

Enter the e-mail address of the administrator: linuxfreaker@gmail.com
Enter the real name of the administrator: linuxfreaker
Enter a password for the administrator account:
Please retype the password to verify:
ajeet.singh.raina@logica.com is now set up as an administrator.
Creating default classification 'Unclassified'...
Creating initial dummy product 'TestProduct'...

Now that you have installed Bugzilla, you should visit the
'Parameters' page (linked in the footer of the Administrator
account) to ensure it is set up as you wish - this includes
setting the 'urlbase' option to the correct URL.
[root@Innov bugzilla]#

Before that I added a user called bugs and database with name "bugs"
I think the script did it for me.
Now I can login into Bugzilla through interface.
But I dont know how to make it work with SVN.
Any Idea? Since I am new and Hard working person..I know You will surely help me in knowing what developers need Bugzilla for.

Agrouf 07-24-2009 11:59 AM

Developers need Bugzilla to track bugs in code. It allows people or themselves to report bugs and when a bug is reported, they can use it to add informations related to the bug, or ask for more information. They can also track the status of the bug (has the cause been identified? Is it a real bug or a user misunderstanding? Has it been fixed? Does the user confirm it has been fixed...)

SVN (subversion) tracks changes in the code. With this, the developer can easily see which code was changed, for what and when.

Read this about SVN and bugzilla integration:
http://oss.segetech.com/bugzilla-svn-wiki.html

your_shadow03 07-24-2009 10:16 PM

I read everything in the doc but confused.I only want to setup SVN to work with Bugzilla.
Is there easy steps for the same?Is TRAC same as bugzilla?


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