any success installing bugzilla on macOS 10.13.x High Sierra?

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
any success installing bugzilla on macOS 10.13.x High Sierra?

I'm trying but running into issues installing DBD-mysql module.

Any suggestions or help will be appreciated.

Thx

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
thanks for your email. The problem I'm encountering is installing the DBD-mysql perl package on to High Sierra macOS. Its failing in the final link due to a mismatch between platform specific compiler flags. Specifically the -arch i386 should not be passed. I don't know where in the tool chain to remove this.

some logs:
step 1:
perl Makefile.PL
I will use the following settings for compiling and testing:

  cflags        (mysql_config ) = -I/usr/local/mysql/include
  embedded      (guessed      ) =
  ldflags       (guessed      ) =
  libs          (mysql_config ) = -L/usr/local/mysql/lib -lmysqlclient -lssl -lcrypto
  mysql_config  (Users choice ) = mysql_config
  nocatchstderr (default      ) = 0
  nofoundrows   (default      ) = 0
  nossl         (default      ) = 0
  testdb        (User's choice) = mydb
  testhost      (User's choice) = localhost
  testpassword  (User's choice) = mypassword
  testport      (default      ) =
  testsocket    (default      ) =
  testuser      (User's choice) = myusername

To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.

Checking if libs are available for compiling...
Looks good.

Using DBI 1.631 (for perl 5.018002 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI/
Generating a Unix-style Makefile
Writing Makefile for DBD::mysql
Writing MYMETA.yml and MYMETA.json

step 2:

make
Skip blib/lib/Bundle/DBD/mysql.pm (unchanged)
Skip blib/lib/DBD/mysql.pm (unchanged)
Skip blib/lib/DBD/mysql/GetInfo.pm (unchanged)
Skip blib/lib/DBD/mysql/INSTALL.pod (unchanged)
Running Mkbootstrap for mysql ()
chmod 644 "mysql.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644
cc -c  -I/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -DDBD_MYSQL_WITH_SSL -g  -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\"  "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"   dbdimp.c
cc -c  -I/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -DDBD_MYSQL_WITH_SSL -g  -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\"  "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"   mysql.c
cc -c  -I/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI -I/usr/local/mysql/include -DDBD_MYSQL_WITH_SSL -g  -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"4.050\" -DXS_VERSION=\"4.050\"  "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"   socket.c
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/mysql/lib" cc  -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector  dbdimp.o mysql.o socket.o  -o blib/arch/auto/DBD/mysql/mysql.bundle  \
           -L/usr/local/mysql/lib -lmysqlclient -lssl -lcrypto   \
         
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /usr/local/mysql/lib/libmysqlclient.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/mysql/lib/libmysqlclient.dylib
ld: warning: ignoring file /usr/local/mysql/lib/libssl.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/mysql/lib/libssl.dylib
ld: warning: ignoring file /usr/local/mysql/lib/libcrypto.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/mysql/lib/libcrypto.dylib
chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle
Manifying 3 pod documents

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

Bugzilla - Users mailing list
I reverted to manual install since my attempts at installing DBD-mysql using home-brew and cpan had failed. The mac build system should automatically be taking care of the platform specific build flags. Back 20+ years ago I was a heavy perl user but for last 3+ years I have migrated to python and the python package managers. Perhaps I’ll take a step back and retry one of the perl package managers. Your point is well taken….


> On Jan 17, 2019, at 10:46 AM, Thorsten Schöning <[hidden email]> wrote:
>
> Guten Tag [hidden email],
> am Donnerstag, 17. Januar 2019 um 19:26 schrieben Sie:
>
> You still didn't specify how exactly you are installing your required
> Perl packages. Is it really necessary to build from source? Are you
> doing it on our own or using CPAN or ...? Package managers, if
> available, pretty often handle problems like the one you have.
>
>> LD_RUN_PATH="/usr/local/mysql/lib" cc  -arch x86_64 -arch i386
>> -bundle -undefined dynamic_lookup -fstack-protector  dbdimp.o
>> mysql.o socket.o  -o blib/arch/auto/DBD/mysql/mysql.bundle  \
>>           -L/usr/local/mysql/lib -lmysqlclient -lssl -lcrypto   \
>>
>> ld: warning: The i386 architecture is deprecated for macOS (remove
>> from the Xcode build setting: ARCHS)[...]
>
> Search your mysql-folder for occurances if "i386", according to other
> sources regarding this problem, it should be defined in some file. If
> found, you can remove it and try again.
>
> https://github.com/openframeworks/openFrameworks/commit/da6929bf6dc529a1082224a7db249e8a073b2361
>
> If not found in that folder, I guess this is something defined in your
> platform, so it might be worth it to simply search all your files or
> on the internet how to configure that platform wide.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
In reply to this post by jainraje
I reverted to manual install since my attempts at installing DBD-mysql using home-brew and cpan package mangers had failed. The mac build system should automatically be taking care of the platform specific build flags. Back 20+ years ago I was a heavy perl user but for last 3+ years I have migrated to python and the python package managers. Perhaps I’ll take a step back and retry one of the perl package managers. Your point is well taken….
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
frustrated with the time I've wasted trying to install Bugzilla on my Mac!!

From the manual:
Note The Bugzilla team has very little Mac expertise and we’ve not been able to do a successful install of the latest version. We got close, though. If you’ve managed it, tell us how and we can update these docs!

I suggest you guys figure how to install on a mac and then update your docs (or let bugzilla die a slow death). I used bugzilla 20+ years ago.  At this point my time is probably better spent finding a newer and mac os supported issue tracking system.

What does close mean? How close did Bugzilla team get installing on the mac? What was installed successfully and what wasn't? How about some details?
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
In reply to this post by jainraje
Here is where my installation stands:

(1) checkup.pl is complaining about Email::MIME

TRACE1:
perl checksetup.pl
Password:
* This is Bugzilla 5.0.4 on perl 5.18.2
* Running on Darwin 17.7.0 Darwin Kernel Version 17.7.0: Fri Nov  2 20:43:16 PDT 2018; root:xnu-4570.71.17~1/RELEASE_X86_64

Checking perl modules...
Checking for               CGI.pm (v3.51)     ok: found v3.63
Checking for           Digest-SHA (any)       ok: found v6.02
Checking for             TimeDate (v2.23)     ok: found v2.24
Checking for             DateTime (v0.75)     ok: found v1.06
Checking for    DateTime-TimeZone (v1.64)     ok: found v2.23
Checking for                  DBI (v1.614)    ok: found v1.631
Checking for     Template-Toolkit (v2.24)     ok: found v2.28
Checking for         Email-Sender (v1.300011) ok: found v1.300031
Checking for           Email-MIME (v1.904)    not found
Checking for                  URI (v1.55)     ok: found v1.60
Checking for       List-MoreUtils (v0.32)     ok: found v0.33
Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004
Checking for              JSON-XS (v2.01)     ok: found v4.0

Checking available perl DBD modules...
Checking for               DBD-Pg (v2.7.0)    not found
Checking for           DBD-SQLite (v1.29)     ok: found v1.40
Checking for            DBD-mysql (v4.001)    ok: found v4.050
Checking for           DBD-Oracle (v1.19)     not found

The following Perl modules are optional:
Checking for                   GD (v1.20)     ok: found v2.50
Checking for                Chart (v2.4.1)    not found
Checking for          Template-GD (any)       not found
Checking for           GDTextUtil (any)       not found
Checking for              GDGraph (any)       not found
Checking for           MIME-tools (v5.406)    ok: found v5.505
Checking for          libwww-perl (any)       ok: found v6.05
Checking for             XML-Twig (any)       ok: found v3.52
Checking for          PatchReader (v0.9.6)    ok: found v0.9.6
Checking for            perl-ldap (any)       ok: found v0.58
Checking for          Authen-SASL (any)       ok: found v2.16
Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.04
Checking for           RadiusPerl (any)       ok: found v0.29
Checking for            SOAP-Lite (v0.712)    ok: found v1.27
Checking for          XMLRPC-Lite (v0.712)    ok: found v0.717
Checking for             JSON-RPC (any)       ok: found v1.06
Checking for           Test-Taint (v1.06)     ok: found v1.06
Checking for          HTML-Parser (v3.67)     ok: found v3.71
Checking for        HTML-Scrubber (any)       ok: found v0.17
Checking for               Encode (v2.21)     ok: found v2.49
Checking for        Encode-Detect (any)       ok: found v1.01
Checking for          Email-Reply (any)       not found
Checking for HTML-FormatText-WithLinks (v0.13)     ok: found v0.15
Checking for          TheSchwartz (v1.07)     ok: found v1.12
Checking for       Daemon-Generic (any)       ok: found v0.85
Checking for             mod_perl (v1.999022) ok: found v2.000009
Checking for     Apache-SizeLimit (v0.96)     not found
Checking for        File-MimeInfo (any)       ok: found v0.29
Checking for           IO-stringy (any)       ok: found v2.110
Checking for      Cache-Memcached (any)       ok: found v1.30
Checking for  File-Copy-Recursive (any)       ok: found v0.44
Checking for           File-Which (any)       ok: found v1.23
Checking for              mod_env (any)       ok
Checking for          mod_expires (any)       not found
Checking for          mod_headers (any)       ok
Checking for          mod_rewrite (any)       not found
Checking for          mod_version (any)       ok
***********************************************************************
* 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)                               *
***********************************************************************
*            Chart * New Charts, Old Charts                           *
*      Template-GD * Graphical Reports                                *
*       GDTextUtil * Graphical Reports                                *
*          GDGraph * Graphical Reports                                *
*      Email-Reply * Inbound Email                                    *
* Apache-SizeLimit * mod_perl                                         *
***********************************************************************
* APACHE MODULES                                                      *
***********************************************************************
* Some Apache modules allow to extend Bugzilla functionalities.       *
* These modules can be enabled in the Apache configuration file       *
* (usually called httpd.conf or apache2.conf).                        *
* - mod_headers, mod_env and mod_expires permit to automatically      *
*   refresh the browser cache of your users when upgrading Bugzilla.  *
* - mod_rewrite permits to write shorter URLs used by the REST API.   *
* - mod_version permits to write rules in .htaccess specific to       *
*   Apache 2.2 or 2.4.                                                *
* The modules you need to enable are:                                 *
*                                                                     *
*    mod_expires, mod_rewrite                                         *
*                                                                     *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

          Chart: perl install-module.pl Chart::Lines
    Template-GD: perl install-module.pl Template::Plugin::GD::Image
     GDTextUtil: perl install-module.pl GD::Text
        GDGraph: perl install-module.pl GD::Graph
    Email-Reply: perl install-module.pl Email::Reply
Apache-SizeLimit: perl install-module.pl Apache2::SizeLimit

COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run checksetup.pl):

    perl install-module.pl Email::MIME

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

  perl install-module.pl --all

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



(2) yet perl install-module.pl Email::MIME indicates Email::MIME version is up to date

TRACE2:

perl install-module.pl Email::MIME
Checking for                 CPAN (v1.81)     ok: found v2.00
Checking for                 YAML (any)       ok: found v1.27
Checking for   ExtUtils-MakeMaker (v6.31)     ok: found v7.34
Reading '/Users/rajeev/.cpan/Metadata'
  Database was generated on Mon, 21 Jan 2019 23:54:36 GMT
Installing Email::MIME version 1.946...
Email::MIME is up to date (1.946).


(3) and cpanm is unable to install Email::MIME

TRACE3:

cpanm Email::MIME
Password:
--> Working on Email::MIME
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-1.946.tar.gz ... OK
Configuring Email-MIME-1.946 ... OK
==> Found dependencies: Email::MIME::ContentType
--> Working on Email::MIME::ContentType
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-1.022.tar.gz ... OK
Configuring Email-MIME-ContentType-1.022 ... OK
==> Found dependencies: Encode
--> Working on Encode
Fetching http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-2.99.tar.gz ... OK
Configuring Encode-2.99 ... OK
Building and testing Encode-2.99 ... FAIL
! Installing Encode failed. See /Users/rajeev/.cpanm/work/1548150455.30983/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Installed version (2.49) of Encode is not in range '2.87'
! Bailing out the installation for Email-MIME-ContentType-1.022.
! Installing the dependencies failed: Module 'Email::MIME::ContentType' is not installed
! Bailing out the installation for Email-MIME-1.946.


If bugzilla team can not install perhaps no one else can as well?

Will you please advise?

--R
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

Bugzilla - Users mailing list
I appreciate your time providing your inputs. These are helpful.

I’m down to this last package. I’ll give it another effort over the next few days.

===
Rajeev Jain
From mobile

> On Jan 22, 2019, at 3:00 AM, Thorsten Schöning <[hidden email]> wrote:
>
> Guten Tag [hidden email],
> am Dienstag, 22. Januar 2019 um 10:54 schrieben Sie:
>
>> (1) checkup.pl is complaining about Email::MIME
>
> Is that the only package needed or did you install others successfully
> and only this package doesn't work anymore, despite using the same way
> or ...? Some more details might be of help.
>
>> (2) yet perl install-module.pl Email::MIME indicates Email::MIME version is up to date
>
> That might be OK, since "checksetup.pl" really "requires" the package
> in question, for which to work it needs to compile successfully,
> including all dependencies which might only be checked/used at
> runtime. "install-module.pl" OTOH maps to some module taking care of
> the installation and that might not know of all dependencies for some
> reason. On most Linuxes CPAN is used, on Windows under some
> circumstances PPM by ActiveState etc. How those model dependencies is
> totally beyond what Bugzilla can check, those things either work
> properly or they don't.
>
> Another thing is include directories, where Perl looks for packages.
> Those might be different between "checksetup.pl" and
> "install-module.pl". In case of CPAN, the files should have been
> placed in the "lib" folder of Bugzilla's installation dir. If CPAN
> simply works differently in your case, it might have placed the files
> somewhere else where they are not available for Bugzilla.
>
> So, search for the directory and file Email/MIME.pm to see where it is
> installed, maybe that gives you a hint about a difference of
> checksetup.pl and install-module.pl. If it's placed somehwere else,
> you might try linking it into "lib" or to use the environment variable
> PERL5LIB. What to link or put into PERL5LIB highly depends on what has
> been installed actually for Email::MIME. On my Ubuntu the package is
> placed in "/usr/share/perl5/Email/MIME.pm", so "/usr/share/perl5"
> would need to be added to PERL5LIB.
>
> It might as well be of help to have a look at what Ubuntu models as
> dependencies using their package manager:
>
> https://packages.ubuntu.com/trusty/perl/libemail-mime-perl
>
>> (3) and cpanm is unable to install Email::MIME
>
> [...]
>> ! Installing Encode failed. See
>> /Users/rajeev/.cpanm/work/1548150455.30983/build.log for details.
> [...]
>
> That reads like something specific to that package and is pretty
> normal for simply less supported platforms by the maintainers of
> some packages. You can't do anything about that besides debugging
> yourself.
>
>> Will you please advise?
>
> That might not be what you want to here, but if your platform doesn't
> provide the necessary dependencies easily, use another one which does
> or don't use Bugzilla at all. It's only one software and things like
> virtualization are easily available on your platform. Don't care too
> much.
>
> Ubuntu for example provides the most dependencies using their package
> manager APT and Windows-users run into the same problems with
> dependencies like you are, simply because some packages are not
> available because their maintainers don't care enough. Though on
> Windows it's only optional requirements missing AFAIK, my ActivetState
> Perl 5.22.3 for example provides Email-MIME using PPM.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
In reply to this post by jainraje
Thanks for talking time to answer my questions.Your feedback is helpful.

I used bugzilla many years ago and really liked its simplicity. My preference is to use bugzilla as opposed to other 3rd party bug tracker. My installation appears to blocked due to one last perl module (ie Email::Mime).

I will spend a little more effort to sort out these (hopefully) final dependancies and this package installed. If successful, then wonderful. If not perhaps ubuntu in a virtual machine may be my best option.

===
Rajeev Jain
[hidden email]


> On Jan 22, 2019, at 3:00 AM, Thorsten Schöning <[hidden email]> wrote:
>
> Guten Tag [hidden email],
> am Dienstag, 22. Januar 2019 um 10:54 schrieben Sie:
>
>> (1) checkup.pl is complaining about Email::MIME
>
> Is that the only package needed or did you install others successfully
> and only this package doesn't work anymore, despite using the same way
> or ...? Some more details might be of help.
>
>> (2) yet perl install-module.pl Email::MIME indicates Email::MIME version is up to date
>
> That might be OK, since "checksetup.pl" really "requires" the package
> in question, for which to work it needs to compile successfully,
> including all dependencies which might only be checked/used at
> runtime. "install-module.pl" OTOH maps to some module taking care of
> the installation and that might not know of all dependencies for some
> reason. On most Linuxes CPAN is used, on Windows under some
> circumstances PPM by ActiveState etc. How those model dependencies is
> totally beyond what Bugzilla can check, those things either work
> properly or they don't.
>
> Another thing is include directories, where Perl looks for packages.
> Those might be different between "checksetup.pl" and
> "install-module.pl". In case of CPAN, the files should have been
> placed in the "lib" folder of Bugzilla's installation dir. If CPAN
> simply works differently in your case, it might have placed the files
> somewhere else where they are not available for Bugzilla.
>
> So, search for the directory and file Email/MIME.pm to see where it is
> installed, maybe that gives you a hint about a difference of
> checksetup.pl and install-module.pl. If it's placed somehwere else,
> you might try linking it into "lib" or to use the environment variable
> PERL5LIB. What to link or put into PERL5LIB highly depends on what has
> been installed actually for Email::MIME. On my Ubuntu the package is
> placed in "/usr/share/perl5/Email/MIME.pm", so "/usr/share/perl5"
> would need to be added to PERL5LIB.
>
> It might as well be of help to have a look at what Ubuntu models as
> dependencies using their package manager:
>
> https://packages.ubuntu.com/trusty/perl/libemail-mime-perl
>
>> (3) and cpanm is unable to install Email::MIME
>
> [...]
>> ! Installing Encode failed. See
>> /Users/rajeev/.cpanm/work/1548150455.30983/build.log for details.
> [...]
>
> That reads like something specific to that package and is pretty
> normal for simply less supported platforms by the maintainers of
> some packages. You can't do anything about that besides debugging
> yourself.
>
>> Will you please advise?
>
> That might not be what you want to here, but if your platform doesn't
> provide the necessary dependencies easily, use another one which does
> or don't use Bugzilla at all. It's only one software and things like
> virtualization are easily available on your platform. Don't care too
> much.
>
> Ubuntu for example provides the most dependencies using their package
> manager APT and Windows-users run into the same problems with
> dependencies like you are, simply because some packages are not
> available because their maintainers don't care enough. Though on
> Windows it's only optional requirements missing AFAIK, my ActivetState
> Perl 5.22.3 for example provides Email-MIME using PPM.
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
In reply to this post by jainraje
Some positive new. I was able to install all the required perl modules. The checksetup.pl script is failing during creation of the tables...

Here is error log:
Checking for            DBD-mysql (v4.001)    ok: found v4.050
Checking for                MySQL (v5.0.15)   ok: found v8.0.13

Creating database bugs...
Adding new table bz_schema...
Initializing bz_schema...
Creating tables...
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups (
        id mediumint auto_increment PRIMARY KEY NOT NULL,
        name varchar(255) N' at line 1 [for Statement "CREATE TABLE groups (
        id mediumint auto_increment PRIMARY KEY NOT NULL,
        name varchar(255) NOT NULL,
        description mediumtext NOT NULL,
        isbuggroup tinyint NOT NULL,
        userregexp tinytext DEFAULT '' NOT NULL,
        isactive tinyint DEFAULT 1 NOT NULL,
        icon_url tinytext
) ENGINE = InnoDB CHARACTER SET utf8"] at Bugzilla/DB.pm line 837, <DATA> line 751.
        Bugzilla::DB::_bz_add_table_raw('Bugzilla::DB::Mysql=HASH(0x7ffcca714ce0)', 'groups', 'HASH(0x7ffcc3f61c28)') called at Bugzilla/DB.pm line 796
        Bugzilla::DB::bz_add_table('Bugzilla::DB::Mysql=HASH(0x7ffcca714ce0)', 'groups', 'HASH(0x7ffcc3f61c28)') called at Bugzilla/DB.pm line 509
        Bugzilla::DB::bz_setup_database('Bugzilla::DB::Mysql=HASH(0x7ffcca714ce0)') called at Bugzilla/DB/Mysql.pm line 558
        Bugzilla::DB::Mysql::bz_setup_database('Bugzilla::DB::Mysql=HASH(0x7ffcca714ce0)') called at checksetup.pl line 121

Can you tell me if bugzilla is compatible w/ mysql v8.0.13? If not I will downgrade to a v5 variant.

I'm very close to getting this running. Thank-you for your emails. I would not have made it this far with out your emails. Thank-you!


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: any success installing bugzilla on macOS 10.13.x High Sierra?

jainraje
Bugzilla is now running on my Mac OS X High Sierra computer. Biggest challenge was getting all the required perl modules to install. What worked for me was to use cpanm to install the perl modules.

https://www.cpan.org/modules/INSTALL.html

There were errors that need to be debugged and reviewing the error logs generated by checksetup.pl was key. Once all the required perl modules were successfully installed it was then following the bugzilla guide.

The comments you provided were very helpful. Thank-you again..

The check setup.pl log is provided as a reference showing which version of modules are being used.

best regards,
--Rajeev

sudo perl checksetup.pl
* This is Bugzilla 5.0.4 on perl 5.18.2
* Running on Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64

Checking perl modules...
Checking for               CGI.pm (v3.51)     ok: found v3.63
Checking for           Digest-SHA (any)       ok: found v6.02
Checking for             TimeDate (v2.23)     ok: found v2.24
Checking for             DateTime (v0.75)     ok: found v1.06
Checking for    DateTime-TimeZone (v1.64)     ok: found v2.23
Checking for                  DBI (v1.614)    ok: found v1.631
Checking for     Template-Toolkit (v2.24)     ok: found v2.28
Checking for         Email-Sender (v1.300011) ok: found v1.300031
Checking for           Email-MIME (v1.904)    ok: found v1.946
Checking for                  URI (v1.55)     ok: found v1.60
Checking for       List-MoreUtils (v0.32)     ok: found v0.33
Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004
Checking for              JSON-XS (v2.01)     ok: found v4.0

Checking available perl DBD modules...
Checking for               DBD-Pg (v2.7.0)    not found
Checking for           DBD-SQLite (v1.29)     ok: found v1.40
Checking for           DBD-Oracle (v1.19)     not found
Checking for            DBD-mysql (v4.001)    ok: found v4.050

The following Perl modules are optional:
Checking for                   GD (v1.20)     ok: found v2.50
Checking for                Chart (v2.4.1)    not found
Checking for          Template-GD (any)       not found
Checking for           GDTextUtil (any)       not found
Checking for              GDGraph (any)       not found
Checking for           MIME-tools (v5.406)    ok: found v5.505
Checking for          libwww-perl (any)       ok: found v6.05
Checking for             XML-Twig (any)       ok: found v3.52
Checking for          PatchReader (v0.9.6)    ok: found v0.9.6
Checking for            perl-ldap (any)       ok: found v0.58
Checking for          Authen-SASL (any)       ok: found v2.16
Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.04
Checking for           RadiusPerl (any)       ok: found v0.29
Checking for            SOAP-Lite (v0.712)    ok: found v1.27
Checking for          XMLRPC-Lite (v0.712)    ok: found v0.717
Checking for             JSON-RPC (any)       ok: found v1.06
Checking for           Test-Taint (v1.06)     ok: found v1.06
Checking for          HTML-Parser (v3.67)     ok: found v3.71
Checking for        HTML-Scrubber (any)       ok: found v0.17
Checking for               Encode (v2.21)     ok: found v2.87
Checking for        Encode-Detect (any)       ok: found v1.01
Checking for          Email-Reply (any)       ok: found v1.204
Checking for HTML-FormatText-WithLinks (v0.13)     ok: found v0.15
Checking for          TheSchwartz (v1.07)     ok: found v1.12
Checking for       Daemon-Generic (any)       ok: found v0.85
Checking for             mod_perl (v1.999022) ok: found v2.000009
Checking for     Apache-SizeLimit (v0.96)     not found
Checking for        File-MimeInfo (any)       ok: found v0.29
Checking for           IO-stringy (any)       ok: found v2.110
Checking for      Cache-Memcached (any)       ok: found v1.30
Checking for  File-Copy-Recursive (any)       ok: found v0.44
Checking for           File-Which (any)       ok: found v1.23
Checking for              mod_env (any)       ok
Checking for          mod_expires (any)       not found
Checking for          mod_headers (any)       ok
Checking for          mod_rewrite (any)       not found
Checking for          mod_version (any)       ok
***********************************************************************
* 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)                               *
***********************************************************************
*            Chart * New Charts, Old Charts                           *
*      Template-GD * Graphical Reports                                *
*       GDTextUtil * Graphical Reports                                *
*          GDGraph * Graphical Reports                                *
* Apache-SizeLimit * mod_perl                                         *
***********************************************************************
* APACHE MODULES                                                      *
***********************************************************************
* Some Apache modules allow to extend Bugzilla functionalities.       *
* These modules can be enabled in the Apache configuration file       *
* (usually called httpd.conf or apache2.conf).                        *
* - mod_headers, mod_env and mod_expires permit to automatically      *
*   refresh the browser cache of your users when upgrading Bugzilla.  *
* - mod_rewrite permits to write shorter URLs used by the REST API.   *
* - mod_version permits to write rules in .htaccess specific to       *
*   Apache 2.2 or 2.4.                                                *
* The modules you need to enable are:                                 *
*                                                                     *
*    mod_expires, mod_rewrite                                         *
*                                                                     *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

          Chart: perl install-module.pl Chart::Lines
    Template-GD: perl install-module.pl Template::Plugin::GD::Image
     GDTextUtil: perl install-module.pl GD::Text
        GDGraph: perl install-module.pl GD::Graph
Apache-SizeLimit: perl install-module.pl Apache2::SizeLimit


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

  perl install-module.pl --all

Reading ./localconfig...

OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:

    http://cyberelk.net/tim/software/patchutils/

Checking for            DBD-mysql (v4.001)    ok: found v4.050
Checking for                MySQL (v5.0.15)   ok: found v5.7.25

Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...

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.
checksetup.pl complete.
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.