Hi Angie,<br><br>Ramiro Costa is having problems with the UCSC plugin, and is probably the first outsider to attempt this. Here is the original correspondence and Dave Clement's analysis of the problem. Do you have any suggestions for a fix?<br>
<br>Lincoln<br><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 12:55 PM, Dave Clements, GMOD Help Desk <span dir="ltr"><<a href="mailto:gmodhelp@googlemail.com">gmodhelp@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ramiro,<br>
<br>
The problem appears to be that<br>
<br>
1. The file axt.c contains a C variable declaration after a C<br>
statement (not a problem in itself)<br>
2. The makefile specifically asks the C compiler for a warning when<br>
that happens. (-Wdeclaration-after-statement)<br>
3. The makefile specifically asks for all warnings to be promoted to<br>
fatal compile errors. (-Werror)<br>
<br>
However, I can't find anywhere in the Makefile.PL file for either<br>
GBrowse or the UCSC plugin where they specifically ask for the<br>
-Wdeclaration-after-statement or -Werror options on C compilations.<br>
<br>
Is it possible these options are coming from the local environment?<br>
If you get rid of these 2 otpions it should compile (or at least get<br>
farther).<br>
<br>
Does anyone with a better understanding of Makefile.PL have a suggestion?<br>
<br>
Thanks,<br>
<br>
Dave C.<br>
<br>
Was this helpful? Let us know at <a href="http://gmod.org/wiki/Help_Desk_Feedback" target="_blank">http://gmod.org/wiki/Help_Desk_Feedback</a><br>
<br>
<br>
On Sat, Nov 22, 2008 at 4:55 AM, Ramiro Costa<br>
<div><div></div><div class="Wj3C7c"><<a href="mailto:costar@childpsych.columbia.edu">costar@childpsych.columbia.edu</a>> wrote:<br>
><br>
> Hi Lincoln,<br>
><br>
> Thanks for your installation instructions. Here is what I get when I try<br>
> the installation (note the Warning line bellow):<br>
><br>
> =======================================================<br>
> perl Makefile.PL HTDOCS=/var/www/html CONF=/etc/httpd/conf<br>
> CGIBIN=/var/www/cgi-bin<br>
><br>
> ----------------------------------------------<br>
> File Paths<br>
><br>
> APACHE /usr/local/apache<br>
> CONF /etc/httpd/conf<br>
> HTDOCS /var/www/html<br>
> CGIBIN /var/www/cgi-bin<br>
> LIB<br>
> BIN<br>
> DO_XS 1<br>
> NONROOT<br>
> SELINUX<br>
><br>
> (Run perl Makefile.PL -h for help on changing)<br>
> ----------------------------------------------<br>
> Writing Makefile for Bio::Graphics::Browser::CAlign<br>
> Warning: -L./libucsc changed to<br>
> -L/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/./libucsc<br>
> Note (probably harmless): No library found for -lucsc<br>
> Writing Makefile for Bio::Graphics::Browser::UcscTrackImage::libucsc<br>
> Writing Makefile for Bio::Graphics::Browser::UcscTrackImage<br>
> Writing Makefile for Generic-Genome-Browser<br>
> =======================================================<br>
><br>
> Then, when I try to proceed with the installation, I get the following:<br>
><br>
> =======================================================<br>
> -bash-3.1$ make<br>
> make[1]: Entering directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libalign'<br>
> gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe<br>
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE<br>
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall<br>
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector<br>
> --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.00\"<br>
> -DXS_VERSION=\"1.00\" -fPIC<br>
> "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" CAlign.c<br>
> Running Mkbootstrap for Bio::Graphics::Browser::CAlign ()<br>
> chmod 644 CAlign.bs<br>
> rm -f ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so<br>
> gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions<br>
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic CAlign.o<br>
> -o ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so \<br>
> \<br>
><br>
> chmod 755 ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so<br>
> cp CAlign.bs ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.bs<br>
> chmod 644 ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.bs<br>
> Manifying ../blib/man3/Bio::Graphics::Browser::CAlign.3pm<br>
> make[1]: Leaving directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libalign'<br>
> make[1]: Entering directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc'<br>
> cd libucsc && make<br>
> make[2]: Entering directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/libucsc'<br>
> gcc -c -I/usr/local/include -I/usr/include -I../inc -D_REENTRANT<br>
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement<br>
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
> -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2<br>
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64<br>
> -mtune=generic -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC<br>
> "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DGBROWSE<br>
> -Wall -Werror axt.c<br>
> cc1: warnings being treated as errors<br>
> axt.c: In function âaxtGetSubsetOnTâ:<br>
> axt.c:358: warning: ISO C90 forbids mixed declarations and code<br>
> make[2]: *** [axt.o] Error 1<br>
> make[2]: Leaving directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/libucsc'<br>
> make[1]: *** [libucsc/libucsc.a] Error 2<br>
> make[1]: Leaving directory<br>
> `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc'<br>
> make: *** [subdirs] Error 2<br>
> =======================================================<br>
><br>
><br>
> Do you know why could this be.<br>
><br>
> Thanks a lot!!<br>
><br>
> Regards,<br>
> Ramiro<br>
><br>
> >>> "Lincoln Stein" <<a href="mailto:lincoln.stein@gmail.com">lincoln.stein@gmail.com</a>> 11/12/08 1:39 PM >>><br>
> Hi Ramiro,<br>
> The instructions assume that you have downloaded and unpacked GBrowse<br>
> into<br>
> your home directory and have not yet installed it. Go to <a href="http://www.gmod.org" target="_blank">www.gmod.org</a>,<br>
> download the tar file for the 1.69 release:<br>
><br>
> <a href="http://sourceforge.net/project/showfiles.php?group_idUnpack" target="_blank">http://sourceforge.net/project/showfiles.php?group_idUnpack</a> it into your home directory, and then proceed from there. Not<br>
> many<br>
> people have tried the UCSC plugin install, so please let me know what<br>
> your<br>
> experience is!<br>
><br>
> Lincoln<br>
><br>
> On Wed, Nov 12, 2008 at 10:20 AM, Ramiro Costa <<br>
> <a href="mailto:costar@childpsych.columbia.edu">costar@childpsych.columbia.edu</a>> wrote:<br>
><br>
> > Hi All,<br>
> ><br>
> > I'm trying to install the Gmod-UCSC plugin to be able to load UCSC<br>
> tracks<br>
> > into Gbrowse.<br>
> ><br>
> > I followed the instructions given in the tutorial (<br>
> > <a href="http://gmod.org/wiki/GBrowse_UCSC_Plugin_Install_HOWTO" target="_blank">http://gmod.org/wiki/GBrowse_UCSC_Plugin_Install_HOWTO</a>) but still not<br>
> > clear to me.<br>
> > I downloaded the plugin but got stuck at the installing step. The<br>
> tutorial<br>
> > says I should copy all non-CVS files from<br>
> gmod-ucsc/Generic-Genome-Browser/<br>
> > into the corresponding locations in my GBrowse installation's<br>
> > Generic-Genome-Browser tree. When I search for the<br>
> Generic-Genome-Browser<br>
> > tree, I only found an empty dir except for a hidden file named<br>
> ".packlist".<br>
> > The location of this dir is the following:<br>
> ><br>
> ><br>
> ><br>
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Generic-Genome-Browser<br>
> ><br>
> > Is this the correct place to install the plugin? Would someone please<br>
> > elaborate on the plugin installation steps?<br>
> ><br>
> > Thanks in advance!<br>
> ><br>
> > Regards,<br>
> ><br>
> > Ramiro<br>
> ><br>
> ><br>
> ><br>
> -------------------------------------------------------------------------<br>
> > This SF.Net email is sponsored by the Moblin Your Move Developer's<br>
> > challenge<br>
> > Build the coolest Linux based applications with Moblin SDK & win great<br>
> > prizes<br>
> > Grand prize is a trip for two to an Open Source event anywhere in the<br>
> world<br>
> > <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
> > _______________________________________________<br>
> > Gmod-gbrowse mailing list<br>
> > <a href="mailto:Gmod-gbrowse@lists.sourceforge.net">Gmod-gbrowse@lists.sourceforge.net</a><br>
> > <a href="https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse" target="_blank">https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Lincoln D. Stein<br>
><br>
> Ontario Institute for Cancer Research<br>
> 101 College St., Suite 800<br>
> Toronto, ON, Canada M5G0A3<br>
> 416 673-8514<br>
> Assistant: Stacey Quinn <<a href="mailto:Stacey.Quinn@oicr.on.ca">Stacey.Quinn@oicr.on.ca</a>><br>
><br>
> Cold Spring Harbor Laboratory<br>
> 1 Bungtown Road<br>
> Cold Spring Harbor, NY 11724 USA<br>
> (516) 367-8380<br>
> Assistant: Sandra Michelsen <<a href="mailto:michelse@cshl.edu">michelse@cshl.edu</a>><br>
><br>
><br>
> -------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
> Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
> Grand prize is a trip for two to an Open Source event anywhere in the world<br>
> <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
> _______________________________________________<br>
> Gmod-gbrowse mailing list<br>
> <a href="mailto:Gmod-gbrowse@lists.sourceforge.net">Gmod-gbrowse@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse" target="_blank">https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln D. Stein<br><br>Ontario Institute for Cancer Research<br>101 College St., Suite 800<br>Toronto, ON, Canada M5G0A3<br>416 673-8514<br>Assistant: Stacey Quinn <<a href="mailto:Stacey.Quinn@oicr.on.ca">Stacey.Quinn@oicr.on.ca</a>><br>
<br>Cold Spring Harbor Laboratory<br>1 Bungtown Road<br>Cold Spring Harbor, NY 11724 USA<br>(516) 367-8380 <br>Assistant: Sandra Michelsen <<a href="mailto:michelse@cshl.edu">michelse@cshl.edu</a>><br>