Errors while installing gbrowse2

View: New views
5 Messages — Rating Filter:   Alert me  

Errors while installing gbrowse2

by Wes Barris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am installing gbrowse2 on a system that is currently running gbrowse1.71b.
I have checked out revision 22338 of gbrowse2.  This is my Build.PL command:

perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
               --cgibin=/htdocs/gbrowse2/cgi-bin \
               --conf=/htdocs/gbrowse2/conf \
               --htdocs=/htdocs/gbrowse2/htdocs \
               --databases=/htdocs/gbrowse2/databases \
               --tmp=/htdocs/gbrowse2/tmp \
               --portdemo=8080 \
               --installconf=n \
               --installetc=n \
               --wwwuser=nobody

./Build test succeeds.

The install step has some errors:

sudo ./Build install uninst=1
.
.
.
*** SELinux detected -- fixing permissions ***
/usr/bin/chcon: /htdocs/gbrowse2/htdocs/i: No such file or directory
/usr/bin/chcon: failed to change context of /htdocs/gbrowse2/tmp to root:object_r:httpd_sys_content_rw_t: Invalid argument
Use of uninitialized value in concatenation (.) or string at /usr/local/src/bioinformatics/gbrowse2/Generic-Genome-Browser/install_util/GBrowseInstall.pm line 419, <GEN173> line 28.
/usr/bin/chcon: too few arguments
Try `/usr/bin/chcon --help' for more information.

***INSTALLATION COMPLETE***
Load http://localhost/htdocs for demo and documentation

I don't know whether the above errors are preventing the database
directory from being created:

wes@bioweb> pwd
/htdocs/gbrowse2
wes@bioweb> ls -la
total 44
drwxr-xr-x   6 wes    root   4096 Dec  8 15:04 .
drwxr-xr-x  20 root   root   4096 Sep 28 13:33 ..
drwxr-xr-x   2 root   root   4096 Dec  8 15:04 cgi-bin
drwxr-xr-x   6 root   root   4096 Dec  8 15:04 conf
drwxr-xr-x   6 root   root   4096 Dec  8 15:04 htdocs
drwxr-xr-x   2 nobody nobody 4096 Dec  8 15:04 tmp
wes@bioweb> ls -l htdocs/i
lrwxrwxrwx  1 nobody root 27 Dec  8 15:04 htdocs/i -> /htdocs/gbrowse2/tmp/images
wes@bioweb> ls -dZ tmp
drwxr-xr-x  nobody   nobody   root:object_r:file_t             tmp
wes@bioweb>

Many of the config files have a '.new' extension:

wes@bioweb> ls -l conf
total 124
-r--r--r--  1 root root 1636 Dec  4 08:34 detail_select_menu.conf
-r--r--r--  1 root root 2711 Dec  4 08:34 enzymes.txt
-r--r--r--  1 root root 4305 Dec  4 08:34 GBrowse.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 languages
-r--r--r--  1 root root 1398 Dec  4 08:34 log4perl.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 MobyServices
drwxr-xr-x  2 root root 4096 Dec  8 15:04 plugins
-r--r--r--  1 root root 3285 Dec  4 08:34 pop_demo.conf
-r--r--r--  1 root root  304 Dec  4 08:34 slave_preload.conf.new
-r--r--r--  1 root root 1822 Dec  4 08:34 submitter_plugin.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 themes
-r--r--r--  1 root root 7099 Dec  4 08:34 yeast_chr1+2.conf.new
-r--r--r--  1 root root 7165 Dec  4 08:34 yeast_renderfarm.conf.new
-r--r--r--  1 root root 3854 Dec  4 08:34 yeast_simple.conf.new

Same problem with the plugins directory:

wes@bioweb> ls -l conf/plugins
total 336
-r--r--r--  1 root root 13442 Dec  4 08:34 Aligner.pm.new
-r--r--r--  1 root root  7680 Dec  4 08:34 AlignTwoSequences.pm.new
-r--r--r--  1 root root  5208 Dec  4 08:34 AttributeHiliter.pm.new
-r--r--r--  1 root root  9593 Dec  4 08:34 BatchDumper.pm.new
-r--r--r--  1 root root  5608 Dec  4 08:34 Blat.pm.new
-r--r--r--  1 root root  6828 Dec  4 08:34 CMapDumper.pm.new
-r--r--r--  1 root root  3678 Dec  4 08:34 CreateBlastDB.pm.new
-r--r--r--  1 root root  8532 Dec  4 08:34 FastaDumper.pm.new
-r--r--r--  1 root root  3351 Dec  4 08:34 FBTableDumper.pm.new
-r--r--r--  1 root root  3577 Dec  4 08:34 FilterTest.pm.new
-r--r--r--  1 root root  4198 Dec  4 08:34 GeneFinder.pm.new
-r--r--r--  1 root root  4938 Dec  4 08:34 OligoFinder.pm.new
-r--r--r--  1 root root 39755 Dec  4 08:34 PrimerDesigner.pm.new
-r--r--r--  1 root root  8310 Dec  4 08:34 ProteinDumper.pm.new
-r--r--r--  1 root root  3364 Dec  4 08:34 RandomGene.pm.new
-r--r--r--  1 root root  4853 Dec  4 08:34 RestrictionAnnotator.pm.new
-r--r--r--  1 root root  8529 Dec  4 08:34 SequenceDumper.pm.new
-r--r--r--  1 root root  2722 Dec  4 08:34 SimpleTrackFinder.pm.new
-r--r--r--  1 root root  2497 Dec  4 08:34 SinWave.pm.new
-r--r--r--  1 root root  4404 Dec  4 08:34 SourceTrackFinder.pm.new
-r--r--r--  1 root root 18287 Dec  4 08:34 Spectrogram.pm.new
-r--r--r--  1 root root  5363 Dec  4 08:34 Submitter.pm.new
-r--r--r--  1 root root   388 Dec  4 08:34 TestFinder.pm.new
-r--r--r--  1 root root   608 Dec  4 08:34 test.pm.new
-r--r--r--  1 root root  6422 Dec  4 08:34 TrackDumper.pm.new


--
Wes Barris <wes.barris@...>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Errors while installing gbrowse2

by Lincoln Stein-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Wes,

You may need to use --install_base to change the location of the libraries as well:

perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
              --cgibin=/htdocs/gbrowse2/cgi-bin \
              --conf=/htdocs/gbrowse2/conf \
              --htdocs=/htdocs/gbrowse2/htdocs \
              --databases=/htdocs/gbrowse2/databases \
              --tmp=/htdocs/gbrowse2/tmp \
              --portdemo=8080 \
              --installconf=n \
              --installetc=n \
              --wwwuser=nobody \
              --install_base=/usr/share/gbrowse2/lib

When you initially start, do you have a directory named /htdocs? I'm not sure where the chcon errors are coming from - I will need to test on an SELinux system.

The .new paths are mystifying. I will try to figure this out.

Lincoln

On Tue, Dec 8, 2009 at 12:15 AM, Wes Barris <wes.barris@...> wrote:
I am installing gbrowse2 on a system that is currently running gbrowse1.71b.
I have checked out revision 22338 of gbrowse2.  This is my Build.PL command:

perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
              --cgibin=/htdocs/gbrowse2/cgi-bin \
              --conf=/htdocs/gbrowse2/conf \
              --htdocs=/htdocs/gbrowse2/htdocs \
              --databases=/htdocs/gbrowse2/databases \
              --tmp=/htdocs/gbrowse2/tmp \
              --portdemo=8080 \
              --installconf=n \
              --installetc=n \
              --wwwuser=nobody

./Build test succeeds.

The install step has some errors:

sudo ./Build install uninst=1
.
.
.
*** SELinux detected -- fixing permissions ***
/usr/bin/chcon: /htdocs/gbrowse2/htdocs/i: No such file or directory
/usr/bin/chcon: failed to change context of /htdocs/gbrowse2/tmp to root:object_r:httpd_sys_content_rw_t: Invalid argument
Use of uninitialized value in concatenation (.) or string at /usr/local/src/bioinformatics/gbrowse2/Generic-Genome-Browser/install_util/GBrowseInstall.pm line 419, <GEN173> line 28.
/usr/bin/chcon: too few arguments
Try `/usr/bin/chcon --help' for more information.

***INSTALLATION COMPLETE***
Load http://localhost/htdocs for demo and documentation

I don't know whether the above errors are preventing the database
directory from being created:

wes@bioweb> pwd
/htdocs/gbrowse2
wes@bioweb> ls -la
total 44
drwxr-xr-x   6 wes    root   4096 Dec  8 15:04 .
drwxr-xr-x  20 root   root   4096 Sep 28 13:33 ..
drwxr-xr-x   2 root   root   4096 Dec  8 15:04 cgi-bin
drwxr-xr-x   6 root   root   4096 Dec  8 15:04 conf
drwxr-xr-x   6 root   root   4096 Dec  8 15:04 htdocs
drwxr-xr-x   2 nobody nobody 4096 Dec  8 15:04 tmp
wes@bioweb> ls -l htdocs/i
lrwxrwxrwx  1 nobody root 27 Dec  8 15:04 htdocs/i -> /htdocs/gbrowse2/tmp/images
wes@bioweb> ls -dZ tmp
drwxr-xr-x  nobody   nobody   root:object_r:file_t             tmp
wes@bioweb>

Many of the config files have a '.new' extension:

wes@bioweb> ls -l conf
total 124
-r--r--r--  1 root root 1636 Dec  4 08:34 detail_select_menu.conf
-r--r--r--  1 root root 2711 Dec  4 08:34 enzymes.txt
-r--r--r--  1 root root 4305 Dec  4 08:34 GBrowse.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 languages
-r--r--r--  1 root root 1398 Dec  4 08:34 log4perl.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 MobyServices
drwxr-xr-x  2 root root 4096 Dec  8 15:04 plugins
-r--r--r--  1 root root 3285 Dec  4 08:34 pop_demo.conf
-r--r--r--  1 root root  304 Dec  4 08:34 slave_preload.conf.new
-r--r--r--  1 root root 1822 Dec  4 08:34 submitter_plugin.conf
drwxr-xr-x  2 root root 4096 Dec  8 15:04 themes
-r--r--r--  1 root root 7099 Dec  4 08:34 yeast_chr1+2.conf.new
-r--r--r--  1 root root 7165 Dec  4 08:34 yeast_renderfarm.conf.new
-r--r--r--  1 root root 3854 Dec  4 08:34 yeast_simple.conf.new

Same problem with the plugins directory:

wes@bioweb> ls -l conf/plugins
total 336
-r--r--r--  1 root root 13442 Dec  4 08:34 Aligner.pm.new
-r--r--r--  1 root root  7680 Dec  4 08:34 AlignTwoSequences.pm.new
-r--r--r--  1 root root  5208 Dec  4 08:34 AttributeHiliter.pm.new
-r--r--r--  1 root root  9593 Dec  4 08:34 BatchDumper.pm.new
-r--r--r--  1 root root  5608 Dec  4 08:34 Blat.pm.new
-r--r--r--  1 root root  6828 Dec  4 08:34 CMapDumper.pm.new
-r--r--r--  1 root root  3678 Dec  4 08:34 CreateBlastDB.pm.new
-r--r--r--  1 root root  8532 Dec  4 08:34 FastaDumper.pm.new
-r--r--r--  1 root root  3351 Dec  4 08:34 FBTableDumper.pm.new
-r--r--r--  1 root root  3577 Dec  4 08:34 FilterTest.pm.new
-r--r--r--  1 root root  4198 Dec  4 08:34 GeneFinder.pm.new
-r--r--r--  1 root root  4938 Dec  4 08:34 OligoFinder.pm.new
-r--r--r--  1 root root 39755 Dec  4 08:34 PrimerDesigner.pm.new
-r--r--r--  1 root root  8310 Dec  4 08:34 ProteinDumper.pm.new
-r--r--r--  1 root root  3364 Dec  4 08:34 RandomGene.pm.new
-r--r--r--  1 root root  4853 Dec  4 08:34 RestrictionAnnotator.pm.new
-r--r--r--  1 root root  8529 Dec  4 08:34 SequenceDumper.pm.new
-r--r--r--  1 root root  2722 Dec  4 08:34 SimpleTrackFinder.pm.new
-r--r--r--  1 root root  2497 Dec  4 08:34 SinWave.pm.new
-r--r--r--  1 root root  4404 Dec  4 08:34 SourceTrackFinder.pm.new
-r--r--r--  1 root root 18287 Dec  4 08:34 Spectrogram.pm.new
-r--r--r--  1 root root  5363 Dec  4 08:34 Submitter.pm.new
-r--r--r--  1 root root   388 Dec  4 08:34 TestFinder.pm.new
-r--r--r--  1 root root   608 Dec  4 08:34 test.pm.new
-r--r--r--  1 root root  6422 Dec  4 08:34 TrackDumper.pm.new


--
Wes Barris <wes.barris@...>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse



--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Errors while installing gbrowse2

by Wes Barris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lincoln Stein wrote:

> Hi Wes,
>
> You may need to use --install_base to change the location of the
> libraries as well:
>
> perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>               --cgibin=/htdocs/gbrowse2/cgi-bin \
>               --conf=/htdocs/gbrowse2/conf \
>               --htdocs=/htdocs/gbrowse2/htdocs \
>               --databases=/htdocs/gbrowse2/databases \
>               --tmp=/htdocs/gbrowse2/tmp \
>               --portdemo=8080 \
>               --installconf=n \
>               --installetc=n \
>               --wwwuser=nobody \
>               --install_base=/usr/share/gbrowse2/lib

I just added that flag and reinstalled.  However, the errors I am getting
indicate that I have to tell gbrowse where to look for the new files.
Should I go through and delete any Browser2 tree under /usr/lib/perl5
or set an environment variable or?

[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render.pm line 726.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1615.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 200.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
[Wed Dec 09 09:42:48 2009] [error] [client 140.253.153.217] Can't locate object method "method" via package "Bio::DB::SeqFeature::Segment" at
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Karyotype.pm line 343.


> When you initially start, do you have a directory named /htdocs? I'm not
> sure where the chcon errors are coming from - I will need to test on an
> SELinux system.

Yes.  Before I install gbrowse2, the /htdocs/gbrowse2 directory exists.

> The .new paths are mystifying. I will try to figure this out.
>
> Lincoln
>
> On Tue, Dec 8, 2009 at 12:15 AM, Wes Barris <wes.barris@...> wrote:
>
>     I am installing gbrowse2 on a system that is currently running
>     gbrowse1.71b.
>     I have checked out revision 22338 of gbrowse2.  This is my Build.PL
>     command:
>
>     perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>                   --cgibin=/htdocs/gbrowse2/cgi-bin \
>                   --conf=/htdocs/gbrowse2/conf \
>                   --htdocs=/htdocs/gbrowse2/htdocs \
>                   --databases=/htdocs/gbrowse2/databases \
>                   --tmp=/htdocs/gbrowse2/tmp \
>                   --portdemo=8080 \
>                   --installconf=n \
>                   --installetc=n \
>                   --wwwuser=nobody
>
>     ./Build test succeeds.
>
>     The install step has some errors:
>
>     sudo ./Build install uninst=1
>     .
>     .
>     .
>     *** SELinux detected -- fixing permissions ***
>     /usr/bin/chcon: /htdocs/gbrowse2/htdocs/i: No such file or directory
>     /usr/bin/chcon: failed to change context of /htdocs/gbrowse2/tmp to
>     root:object_r:httpd_sys_content_rw_t: Invalid argument
>     Use of uninitialized value in concatenation (.) or string at
>     /usr/local/src/bioinformatics/gbrowse2/Generic-Genome-Browser/install_util/GBrowseInstall.pm
>     line 419, <GEN173> line 28.
>     /usr/bin/chcon: too few arguments
>     Try `/usr/bin/chcon --help' for more information.
>
>     ***INSTALLATION COMPLETE***
>     Load http://localhost/htdocs for demo and documentation
>
>     I don't know whether the above errors are preventing the database
>     directory from being created:
>
>     wes@bioweb> pwd
>     /htdocs/gbrowse2
>     wes@bioweb> ls -la
>     total 44
>     drwxr-xr-x   6 wes    root   4096 Dec  8 15:04 .
>     drwxr-xr-x  20 root   root   4096 Sep 28 13:33 ..
>     drwxr-xr-x   2 root   root   4096 Dec  8 15:04 cgi-bin
>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 conf
>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 htdocs
>     drwxr-xr-x   2 nobody nobody 4096 Dec  8 15:04 tmp
>     wes@bioweb> ls -l htdocs/i
>     lrwxrwxrwx  1 nobody root 27 Dec  8 15:04 htdocs/i ->
>     /htdocs/gbrowse2/tmp/images
>     wes@bioweb> ls -dZ tmp
>     drwxr-xr-x  nobody   nobody   root:object_r:file_t             tmp
>     wes@bioweb>
>
>     Many of the config files have a '.new' extension:
>
>     wes@bioweb> ls -l conf
>     total 124
>     -r--r--r--  1 root root 1636 Dec  4 08:34 detail_select_menu.conf
>     -r--r--r--  1 root root 2711 Dec  4 08:34 enzymes.txt
>     -r--r--r--  1 root root 4305 Dec  4 08:34 GBrowse.conf
>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 languages
>     -r--r--r--  1 root root 1398 Dec  4 08:34 log4perl.conf
>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 MobyServices
>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 plugins
>     -r--r--r--  1 root root 3285 Dec  4 08:34 pop_demo.conf
>     -r--r--r--  1 root root  304 Dec  4 08:34 slave_preload.conf.new
>     -r--r--r--  1 root root 1822 Dec  4 08:34 submitter_plugin.conf
>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 themes
>     -r--r--r--  1 root root 7099 Dec  4 08:34 yeast_chr1+2.conf.new
>     -r--r--r--  1 root root 7165 Dec  4 08:34 yeast_renderfarm.conf.new
>     -r--r--r--  1 root root 3854 Dec  4 08:34 yeast_simple.conf.new
>
>     Same problem with the plugins directory:
>
>     wes@bioweb> ls -l conf/plugins
>     total 336
>     -r--r--r--  1 root root 13442 Dec  4 08:34 Aligner.pm.new
>     -r--r--r--  1 root root  7680 Dec  4 08:34 AlignTwoSequences.pm.new
>     -r--r--r--  1 root root  5208 Dec  4 08:34 AttributeHiliter.pm.new
>     -r--r--r--  1 root root  9593 Dec  4 08:34 BatchDumper.pm.new
>     -r--r--r--  1 root root  5608 Dec  4 08:34 Blat.pm.new
>     -r--r--r--  1 root root  6828 Dec  4 08:34 CMapDumper.pm.new
>     -r--r--r--  1 root root  3678 Dec  4 08:34 CreateBlastDB.pm.new
>     -r--r--r--  1 root root  8532 Dec  4 08:34 FastaDumper.pm.new
>     -r--r--r--  1 root root  3351 Dec  4 08:34 FBTableDumper.pm.new
>     -r--r--r--  1 root root  3577 Dec  4 08:34 FilterTest.pm.new
>     -r--r--r--  1 root root  4198 Dec  4 08:34 GeneFinder.pm.new
>     -r--r--r--  1 root root  4938 Dec  4 08:34 OligoFinder.pm.new
>     -r--r--r--  1 root root 39755 Dec  4 08:34 PrimerDesigner.pm.new
>     -r--r--r--  1 root root  8310 Dec  4 08:34 ProteinDumper.pm.new
>     -r--r--r--  1 root root  3364 Dec  4 08:34 RandomGene.pm.new
>     -r--r--r--  1 root root  4853 Dec  4 08:34 RestrictionAnnotator.pm.new
>     -r--r--r--  1 root root  8529 Dec  4 08:34 SequenceDumper.pm.new
>     -r--r--r--  1 root root  2722 Dec  4 08:34 SimpleTrackFinder.pm.new
>     -r--r--r--  1 root root  2497 Dec  4 08:34 SinWave.pm.new
>     -r--r--r--  1 root root  4404 Dec  4 08:34 SourceTrackFinder.pm.new
>     -r--r--r--  1 root root 18287 Dec  4 08:34 Spectrogram.pm.new
>     -r--r--r--  1 root root  5363 Dec  4 08:34 Submitter.pm.new
>     -r--r--r--  1 root root   388 Dec  4 08:34 TestFinder.pm.new
>     -r--r--r--  1 root root   608 Dec  4 08:34 test.pm.new
>     -r--r--r--  1 root root  6422 Dec  4 08:34 TrackDumper.pm.new
>
>
>     --
>     Wes Barris <wes.barris@...>
>
>     ------------------------------------------------------------------------------
>     Return on Information:
>     Google Enterprise Search pays you back
>     Get the facts.
>     http://p.sf.net/sfu/google-dev2dev
>     _______________________________________________
>     Gmod-gbrowse mailing list
>     Gmod-gbrowse@...
>     <mailto:Gmod-gbrowse@...>
>     https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>
>
>
>
> --
> Lincoln D. Stein
> Director, Informatics and Biocomputing Platform
> Ontario Institute for Cancer Research
> 101 College St., Suite 800
> Toronto, ON, Canada M5G0A3
> 416 673-8514
> Assistant: Renata Musa <Renata.Musa@...
> <mailto:Renata.Musa@...>>


--
Wes Barris <wes.barris@...>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Errors while installing gbrowse2

by Scott Cain-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Wes,

Could you try adding "--uninst 1" to the ./Build install command?
That should get rid of old perl modules that might cause a problem.

Scott


On Tue, Dec 8, 2009 at 6:49 PM, Wes Barris <wes.barris@...> wrote:

> Lincoln Stein wrote:
>> Hi Wes,
>>
>> You may need to use --install_base to change the location of the
>> libraries as well:
>>
>> perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>>               --cgibin=/htdocs/gbrowse2/cgi-bin \
>>               --conf=/htdocs/gbrowse2/conf \
>>               --htdocs=/htdocs/gbrowse2/htdocs \
>>               --databases=/htdocs/gbrowse2/databases \
>>               --tmp=/htdocs/gbrowse2/tmp \
>>               --portdemo=8080 \
>>               --installconf=n \
>>               --installetc=n \
>>               --wwwuser=nobody \
>>               --install_base=/usr/share/gbrowse2/lib
>
> I just added that flag and reinstalled.  However, the errors I am getting
> indicate that I have to tell gbrowse where to look for the new files.
> Should I go through and delete any Browser2 tree under /usr/lib/perl5
> or set an environment variable or?
>
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render.pm line 726.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1615.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 200.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
> [Wed Dec 09 09:42:48 2009] [error] [client 140.253.153.217] Can't locate object method "method" via package "Bio::DB::SeqFeature::Segment" at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Karyotype.pm line 343.
>
>
>> When you initially start, do you have a directory named /htdocs? I'm not
>> sure where the chcon errors are coming from - I will need to test on an
>> SELinux system.
>
> Yes.  Before I install gbrowse2, the /htdocs/gbrowse2 directory exists.
>
>> The .new paths are mystifying. I will try to figure this out.
>>
>> Lincoln
>>
>> On Tue, Dec 8, 2009 at 12:15 AM, Wes Barris <wes.barris@...> wrote:
>>
>>     I am installing gbrowse2 on a system that is currently running
>>     gbrowse1.71b.
>>     I have checked out revision 22338 of gbrowse2.  This is my Build.PL
>>     command:
>>
>>     perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>>                   --cgibin=/htdocs/gbrowse2/cgi-bin \
>>                   --conf=/htdocs/gbrowse2/conf \
>>                   --htdocs=/htdocs/gbrowse2/htdocs \
>>                   --databases=/htdocs/gbrowse2/databases \
>>                   --tmp=/htdocs/gbrowse2/tmp \
>>                   --portdemo=8080 \
>>                   --installconf=n \
>>                   --installetc=n \
>>                   --wwwuser=nobody
>>
>>     ./Build test succeeds.
>>
>>     The install step has some errors:
>>
>>     sudo ./Build install uninst=1
>>     .
>>     .
>>     .
>>     *** SELinux detected -- fixing permissions ***
>>     /usr/bin/chcon: /htdocs/gbrowse2/htdocs/i: No such file or directory
>>     /usr/bin/chcon: failed to change context of /htdocs/gbrowse2/tmp to
>>     root:object_r:httpd_sys_content_rw_t: Invalid argument
>>     Use of uninitialized value in concatenation (.) or string at
>>     /usr/local/src/bioinformatics/gbrowse2/Generic-Genome-Browser/install_util/GBrowseInstall.pm
>>     line 419, <GEN173> line 28.
>>     /usr/bin/chcon: too few arguments
>>     Try `/usr/bin/chcon --help' for more information.
>>
>>     ***INSTALLATION COMPLETE***
>>     Load http://localhost/htdocs for demo and documentation
>>
>>     I don't know whether the above errors are preventing the database
>>     directory from being created:
>>
>>     wes@bioweb> pwd
>>     /htdocs/gbrowse2
>>     wes@bioweb> ls -la
>>     total 44
>>     drwxr-xr-x   6 wes    root   4096 Dec  8 15:04 .
>>     drwxr-xr-x  20 root   root   4096 Sep 28 13:33 ..
>>     drwxr-xr-x   2 root   root   4096 Dec  8 15:04 cgi-bin
>>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 conf
>>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 htdocs
>>     drwxr-xr-x   2 nobody nobody 4096 Dec  8 15:04 tmp
>>     wes@bioweb> ls -l htdocs/i
>>     lrwxrwxrwx  1 nobody root 27 Dec  8 15:04 htdocs/i ->
>>     /htdocs/gbrowse2/tmp/images
>>     wes@bioweb> ls -dZ tmp
>>     drwxr-xr-x  nobody   nobody   root:object_r:file_t             tmp
>>     wes@bioweb>
>>
>>     Many of the config files have a '.new' extension:
>>
>>     wes@bioweb> ls -l conf
>>     total 124
>>     -r--r--r--  1 root root 1636 Dec  4 08:34 detail_select_menu.conf
>>     -r--r--r--  1 root root 2711 Dec  4 08:34 enzymes.txt
>>     -r--r--r--  1 root root 4305 Dec  4 08:34 GBrowse.conf
>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 languages
>>     -r--r--r--  1 root root 1398 Dec  4 08:34 log4perl.conf
>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 MobyServices
>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 plugins
>>     -r--r--r--  1 root root 3285 Dec  4 08:34 pop_demo.conf
>>     -r--r--r--  1 root root  304 Dec  4 08:34 slave_preload.conf.new
>>     -r--r--r--  1 root root 1822 Dec  4 08:34 submitter_plugin.conf
>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 themes
>>     -r--r--r--  1 root root 7099 Dec  4 08:34 yeast_chr1+2.conf.new
>>     -r--r--r--  1 root root 7165 Dec  4 08:34 yeast_renderfarm.conf.new
>>     -r--r--r--  1 root root 3854 Dec  4 08:34 yeast_simple.conf.new
>>
>>     Same problem with the plugins directory:
>>
>>     wes@bioweb> ls -l conf/plugins
>>     total 336
>>     -r--r--r--  1 root root 13442 Dec  4 08:34 Aligner.pm.new
>>     -r--r--r--  1 root root  7680 Dec  4 08:34 AlignTwoSequences.pm.new
>>     -r--r--r--  1 root root  5208 Dec  4 08:34 AttributeHiliter.pm.new
>>     -r--r--r--  1 root root  9593 Dec  4 08:34 BatchDumper.pm.new
>>     -r--r--r--  1 root root  5608 Dec  4 08:34 Blat.pm.new
>>     -r--r--r--  1 root root  6828 Dec  4 08:34 CMapDumper.pm.new
>>     -r--r--r--  1 root root  3678 Dec  4 08:34 CreateBlastDB.pm.new
>>     -r--r--r--  1 root root  8532 Dec  4 08:34 FastaDumper.pm.new
>>     -r--r--r--  1 root root  3351 Dec  4 08:34 FBTableDumper.pm.new
>>     -r--r--r--  1 root root  3577 Dec  4 08:34 FilterTest.pm.new
>>     -r--r--r--  1 root root  4198 Dec  4 08:34 GeneFinder.pm.new
>>     -r--r--r--  1 root root  4938 Dec  4 08:34 OligoFinder.pm.new
>>     -r--r--r--  1 root root 39755 Dec  4 08:34 PrimerDesigner.pm.new
>>     -r--r--r--  1 root root  8310 Dec  4 08:34 ProteinDumper.pm.new
>>     -r--r--r--  1 root root  3364 Dec  4 08:34 RandomGene.pm.new
>>     -r--r--r--  1 root root  4853 Dec  4 08:34 RestrictionAnnotator.pm.new
>>     -r--r--r--  1 root root  8529 Dec  4 08:34 SequenceDumper.pm.new
>>     -r--r--r--  1 root root  2722 Dec  4 08:34 SimpleTrackFinder.pm.new
>>     -r--r--r--  1 root root  2497 Dec  4 08:34 SinWave.pm.new
>>     -r--r--r--  1 root root  4404 Dec  4 08:34 SourceTrackFinder.pm.new
>>     -r--r--r--  1 root root 18287 Dec  4 08:34 Spectrogram.pm.new
>>     -r--r--r--  1 root root  5363 Dec  4 08:34 Submitter.pm.new
>>     -r--r--r--  1 root root   388 Dec  4 08:34 TestFinder.pm.new
>>     -r--r--r--  1 root root   608 Dec  4 08:34 test.pm.new
>>     -r--r--r--  1 root root  6422 Dec  4 08:34 TrackDumper.pm.new
>>
>>
>>     --
>>     Wes Barris <wes.barris@...>
>>
>>     ------------------------------------------------------------------------------
>>     Return on Information:
>>     Google Enterprise Search pays you back
>>     Get the facts.
>>     http://p.sf.net/sfu/google-dev2dev
>>     _______________________________________________
>>     Gmod-gbrowse mailing list
>>     Gmod-gbrowse@...
>>     <mailto:Gmod-gbrowse@...>
>>     https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>
>>
>>
>>
>> --
>> Lincoln D. Stein
>> Director, Informatics and Biocomputing Platform
>> Ontario Institute for Cancer Research
>> 101 College St., Suite 800
>> Toronto, ON, Canada M5G0A3
>> 416 673-8514
>> Assistant: Renata Musa <Renata.Musa@...
>> <mailto:Renata.Musa@...>>
>
>
> --
> Wes Barris <wes.barris@...>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse@...
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>



--
------------------------------------------------------------------------
Scott Cain, Ph. D.                                   scott at scottcain dot net
GMOD Coordinator (http://gmod.org/)                     216-392-3087
Ontario Institute for Cancer Research

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Errors while installing gbrowse2

by Wes Barris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Scott Cain wrote:
> Hi Wes,
>
> Could you try adding "--uninst 1" to the ./Build install command?
> That should get rid of old perl modules that might cause a problem.

Yes, I already have cpan configured to use that.  I also add that
option whenever manually installing.

> Scott
>
>
> On Tue, Dec 8, 2009 at 6:49 PM, Wes Barris <wes.barris@...> wrote:
>> Lincoln Stein wrote:
>>> Hi Wes,
>>>
>>> You may need to use --install_base to change the location of the
>>> libraries as well:
>>>
>>> perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>>>               --cgibin=/htdocs/gbrowse2/cgi-bin \
>>>               --conf=/htdocs/gbrowse2/conf \
>>>               --htdocs=/htdocs/gbrowse2/htdocs \
>>>               --databases=/htdocs/gbrowse2/databases \
>>>               --tmp=/htdocs/gbrowse2/tmp \
>>>               --portdemo=8080 \
>>>               --installconf=n \
>>>               --installetc=n \
>>>               --wwwuser=nobody \
>>>               --install_base=/usr/share/gbrowse2/lib
>> I just added that flag and reinstalled.  However, the errors I am getting
>> indicate that I have to tell gbrowse where to look for the new files.
>> Should I go through and delete any Browser2 tree under /usr/lib/perl5
>> or set an environment variable or?
>>
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render.pm line 726.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1615.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 200.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:47 2009] [error] [client 140.253.153.217] Use of uninitialized value in concatenation (.) or string at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Browser2/Render/HTML.pm line 1888.
>> [Wed Dec 09 09:42:48 2009] [error] [client 140.253.153.217] Can't locate object method "method" via package "Bio::DB::SeqFeature::Segment" at
>> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Bio/Graphics/Karyotype.pm line 343.
>>
>>
>>> When you initially start, do you have a directory named /htdocs? I'm not
>>> sure where the chcon errors are coming from - I will need to test on an
>>> SELinux system.
>> Yes.  Before I install gbrowse2, the /htdocs/gbrowse2 directory exists.
>>
>>> The .new paths are mystifying. I will try to figure this out.
>>>
>>> Lincoln
>>>
>>> On Tue, Dec 8, 2009 at 12:15 AM, Wes Barris <wes.barris@...> wrote:
>>>
>>>     I am installing gbrowse2 on a system that is currently running
>>>     gbrowse1.71b.
>>>     I have checked out revision 22338 of gbrowse2.  This is my Build.PL
>>>     command:
>>>
>>>     perl Build.PL --apachemodules=/htdocs/apache-httpd/lib \
>>>                   --cgibin=/htdocs/gbrowse2/cgi-bin \
>>>                   --conf=/htdocs/gbrowse2/conf \
>>>                   --htdocs=/htdocs/gbrowse2/htdocs \
>>>                   --databases=/htdocs/gbrowse2/databases \
>>>                   --tmp=/htdocs/gbrowse2/tmp \
>>>                   --portdemo=8080 \
>>>                   --installconf=n \
>>>                   --installetc=n \
>>>                   --wwwuser=nobody
>>>
>>>     ./Build test succeeds.
>>>
>>>     The install step has some errors:
>>>
>>>     sudo ./Build install uninst=1
>>>     .
>>>     .
>>>     .
>>>     *** SELinux detected -- fixing permissions ***
>>>     /usr/bin/chcon: /htdocs/gbrowse2/htdocs/i: No such file or directory
>>>     /usr/bin/chcon: failed to change context of /htdocs/gbrowse2/tmp to
>>>     root:object_r:httpd_sys_content_rw_t: Invalid argument
>>>     Use of uninitialized value in concatenation (.) or string at
>>>     /usr/local/src/bioinformatics/gbrowse2/Generic-Genome-Browser/install_util/GBrowseInstall.pm
>>>     line 419, <GEN173> line 28.
>>>     /usr/bin/chcon: too few arguments
>>>     Try `/usr/bin/chcon --help' for more information.
>>>
>>>     ***INSTALLATION COMPLETE***
>>>     Load http://localhost/htdocs for demo and documentation
>>>
>>>     I don't know whether the above errors are preventing the database
>>>     directory from being created:
>>>
>>>     wes@bioweb> pwd
>>>     /htdocs/gbrowse2
>>>     wes@bioweb> ls -la
>>>     total 44
>>>     drwxr-xr-x   6 wes    root   4096 Dec  8 15:04 .
>>>     drwxr-xr-x  20 root   root   4096 Sep 28 13:33 ..
>>>     drwxr-xr-x   2 root   root   4096 Dec  8 15:04 cgi-bin
>>>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 conf
>>>     drwxr-xr-x   6 root   root   4096 Dec  8 15:04 htdocs
>>>     drwxr-xr-x   2 nobody nobody 4096 Dec  8 15:04 tmp
>>>     wes@bioweb> ls -l htdocs/i
>>>     lrwxrwxrwx  1 nobody root 27 Dec  8 15:04 htdocs/i ->
>>>     /htdocs/gbrowse2/tmp/images
>>>     wes@bioweb> ls -dZ tmp
>>>     drwxr-xr-x  nobody   nobody   root:object_r:file_t             tmp
>>>     wes@bioweb>
>>>
>>>     Many of the config files have a '.new' extension:
>>>
>>>     wes@bioweb> ls -l conf
>>>     total 124
>>>     -r--r--r--  1 root root 1636 Dec  4 08:34 detail_select_menu.conf
>>>     -r--r--r--  1 root root 2711 Dec  4 08:34 enzymes.txt
>>>     -r--r--r--  1 root root 4305 Dec  4 08:34 GBrowse.conf
>>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 languages
>>>     -r--r--r--  1 root root 1398 Dec  4 08:34 log4perl.conf
>>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 MobyServices
>>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 plugins
>>>     -r--r--r--  1 root root 3285 Dec  4 08:34 pop_demo.conf
>>>     -r--r--r--  1 root root  304 Dec  4 08:34 slave_preload.conf.new
>>>     -r--r--r--  1 root root 1822 Dec  4 08:34 submitter_plugin.conf
>>>     drwxr-xr-x  2 root root 4096 Dec  8 15:04 themes
>>>     -r--r--r--  1 root root 7099 Dec  4 08:34 yeast_chr1+2.conf.new
>>>     -r--r--r--  1 root root 7165 Dec  4 08:34 yeast_renderfarm.conf.new
>>>     -r--r--r--  1 root root 3854 Dec  4 08:34 yeast_simple.conf.new
>>>
>>>     Same problem with the plugins directory:
>>>
>>>     wes@bioweb> ls -l conf/plugins
>>>     total 336
>>>     -r--r--r--  1 root root 13442 Dec  4 08:34 Aligner.pm.new
>>>     -r--r--r--  1 root root  7680 Dec  4 08:34 AlignTwoSequences.pm.new
>>>     -r--r--r--  1 root root  5208 Dec  4 08:34 AttributeHiliter.pm.new
>>>     -r--r--r--  1 root root  9593 Dec  4 08:34 BatchDumper.pm.new
>>>     -r--r--r--  1 root root  5608 Dec  4 08:34 Blat.pm.new
>>>     -r--r--r--  1 root root  6828 Dec  4 08:34 CMapDumper.pm.new
>>>     -r--r--r--  1 root root  3678 Dec  4 08:34 CreateBlastDB.pm.new
>>>     -r--r--r--  1 root root  8532 Dec  4 08:34 FastaDumper.pm.new
>>>     -r--r--r--  1 root root  3351 Dec  4 08:34 FBTableDumper.pm.new
>>>     -r--r--r--  1 root root  3577 Dec  4 08:34 FilterTest.pm.new
>>>     -r--r--r--  1 root root  4198 Dec  4 08:34 GeneFinder.pm.new
>>>     -r--r--r--  1 root root  4938 Dec  4 08:34 OligoFinder.pm.new
>>>     -r--r--r--  1 root root 39755 Dec  4 08:34 PrimerDesigner.pm.new
>>>     -r--r--r--  1 root root  8310 Dec  4 08:34 ProteinDumper.pm.new
>>>     -r--r--r--  1 root root  3364 Dec  4 08:34 RandomGene.pm.new
>>>     -r--r--r--  1 root root  4853 Dec  4 08:34 RestrictionAnnotator.pm.new
>>>     -r--r--r--  1 root root  8529 Dec  4 08:34 SequenceDumper.pm.new
>>>     -r--r--r--  1 root root  2722 Dec  4 08:34 SimpleTrackFinder.pm.new
>>>     -r--r--r--  1 root root  2497 Dec  4 08:34 SinWave.pm.new
>>>     -r--r--r--  1 root root  4404 Dec  4 08:34 SourceTrackFinder.pm.new
>>>     -r--r--r--  1 root root 18287 Dec  4 08:34 Spectrogram.pm.new
>>>     -r--r--r--  1 root root  5363 Dec  4 08:34 Submitter.pm.new
>>>     -r--r--r--  1 root root   388 Dec  4 08:34 TestFinder.pm.new
>>>     -r--r--r--  1 root root   608 Dec  4 08:34 test.pm.new
>>>     -r--r--r--  1 root root  6422 Dec  4 08:34 TrackDumper.pm.new
>>>
>>>
>>>     --
>>>     Wes Barris <wes.barris@...>
>>>
>>>     ------------------------------------------------------------------------------
>>>     Return on Information:
>>>     Google Enterprise Search pays you back
>>>     Get the facts.
>>>     http://p.sf.net/sfu/google-dev2dev
>>>     _______________________________________________
>>>     Gmod-gbrowse mailing list
>>>     Gmod-gbrowse@...
>>>     <mailto:Gmod-gbrowse@...>
>>>     https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>>
>>>
>>>
>>>
>>> --
>>> Lincoln D. Stein
>>> Director, Informatics and Biocomputing Platform
>>> Ontario Institute for Cancer Research
>>> 101 College St., Suite 800
>>> Toronto, ON, Canada M5G0A3
>>> 416 673-8514
>>> Assistant: Renata Musa <Renata.Musa@...
>>> <mailto:Renata.Musa@...>>
>>
>> --
>> Wes Barris <wes.barris@...>
>>
>> ------------------------------------------------------------------------------
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>> _______________________________________________
>> Gmod-gbrowse mailing list
>> Gmod-gbrowse@...
>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>
>
>
>
> --
> ------------------------------------------------------------------------
> Scott Cain, Ph. D.                                   scott at scottcain dot net
> GMOD Coordinator (http://gmod.org/)                     216-392-3087
> Ontario Institute for Cancer Research


--
Wes Barris <wes.barris@...>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse