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&#39;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">&lt;<a href="mailto:gmodhelp@googlemail.com">gmodhelp@googlemail.com</a>&gt;</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&#39;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? &nbsp;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">&lt;<a href="mailto:costar@childpsych.columbia.edu">costar@childpsych.columbia.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Lincoln,<br>
&gt;<br>
&gt; Thanks for your installation instructions. Here is what I get when I try<br>
&gt; the installation (note the Warning line bellow):<br>
&gt;<br>
&gt; =======================================================<br>
&gt; perl Makefile.PL HTDOCS=/var/www/html CONF=/etc/httpd/conf<br>
&gt; CGIBIN=/var/www/cgi-bin<br>
&gt;<br>
&gt; ----------------------------------------------<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;File Paths<br>
&gt;<br>
&gt; &nbsp;APACHE /usr/local/apache<br>
&gt; &nbsp; CONF /etc/httpd/conf<br>
&gt; &nbsp;HTDOCS /var/www/html<br>
&gt; &nbsp;CGIBIN /var/www/cgi-bin<br>
&gt; &nbsp; &nbsp;LIB<br>
&gt; &nbsp; &nbsp;BIN<br>
&gt; &nbsp;DO_XS 1<br>
&gt; NONROOT<br>
&gt; SELINUX<br>
&gt;<br>
&gt; (Run perl Makefile.PL -h for help on changing)<br>
&gt; ----------------------------------------------<br>
&gt; Writing Makefile for Bio::Graphics::Browser::CAlign<br>
&gt; Warning: -L./libucsc changed to<br>
&gt; -L/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/./libucsc<br>
&gt; Note (probably harmless): No library found for -lucsc<br>
&gt; Writing Makefile for Bio::Graphics::Browser::UcscTrackImage::libucsc<br>
&gt; Writing Makefile for Bio::Graphics::Browser::UcscTrackImage<br>
&gt; Writing Makefile for Generic-Genome-Browser<br>
&gt; =======================================================<br>
&gt;<br>
&gt; Then, when I try to proceed with the installation, I get the following:<br>
&gt;<br>
&gt; =======================================================<br>
&gt; -bash-3.1$ make<br>
&gt; make[1]: Entering directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libalign&#39;<br>
&gt; gcc -c &nbsp; -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe<br>
&gt; -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE<br>
&gt; -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall<br>
&gt; -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector<br>
&gt; --param=ssp-buffer-size=4 -m64 -mtune=generic &nbsp; -DVERSION=\&quot;1.00\&quot;<br>
&gt; -DXS_VERSION=\&quot;1.00\&quot; -fPIC<br>
&gt; &quot;-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE&quot; &nbsp; CAlign.c<br>
&gt; Running Mkbootstrap for Bio::Graphics::Browser::CAlign ()<br>
&gt; chmod 644 CAlign.bs<br>
&gt; rm -f ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so<br>
&gt; gcc &nbsp;-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions<br>
&gt; -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic CAlign.o<br>
&gt; &nbsp;-o ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so &nbsp; &nbsp; &nbsp; &nbsp; \<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\<br>
&gt;<br>
&gt; chmod 755 ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.so<br>
&gt; cp CAlign.bs ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.bs<br>
&gt; chmod 644 ../blib/arch/auto/Bio/Graphics/Browser/CAlign/CAlign.bs<br>
&gt; Manifying ../blib/man3/Bio::Graphics::Browser::CAlign.3pm<br>
&gt; make[1]: Leaving directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libalign&#39;<br>
&gt; make[1]: Entering directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc&#39;<br>
&gt; cd libucsc &amp;&amp; make<br>
&gt; make[2]: Entering directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/libucsc&#39;<br>
&gt; gcc -c &nbsp;-I/usr/local/include -I/usr/include -I../inc -D_REENTRANT<br>
&gt; -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement<br>
&gt; -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
&gt; -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2<br>
&gt; -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64<br>
&gt; -mtune=generic &nbsp; -DVERSION=\&quot;\&quot; -DXS_VERSION=\&quot;\&quot; -fPIC<br>
&gt; &quot;-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE&quot; &nbsp;-DGBROWSE<br>
&gt; -Wall -Werror axt.c<br>
&gt; cc1: warnings being treated as errors<br>
&gt; axt.c: In function âaxtGetSubsetOnTâ:<br>
&gt; axt.c:358: warning: ISO C90 forbids mixed declarations and code<br>
&gt; make[2]: *** [axt.o] Error 1<br>
&gt; make[2]: Leaving directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc/libucsc&#39;<br>
&gt; make[1]: *** [libucsc/libucsc.a] Error 2<br>
&gt; make[1]: Leaving directory<br>
&gt; `/var/www/html/gmod_ucsc_plugin/Generic-Genome-Browser-1.69/libucsc&#39;<br>
&gt; make: *** [subdirs] Error 2<br>
&gt; =======================================================<br>
&gt;<br>
&gt;<br>
&gt; Do you know why could this be.<br>
&gt;<br>
&gt; Thanks a lot!!<br>
&gt;<br>
&gt; Regards,<br>
&gt; Ramiro<br>
&gt;<br>
&gt; &gt;&gt;&gt; &quot;Lincoln Stein&quot; &lt;<a href="mailto:lincoln.stein@gmail.com">lincoln.stein@gmail.com</a>&gt; 11/12/08 1:39 PM &gt;&gt;&gt;<br>
&gt; Hi Ramiro,<br>
&gt; The instructions assume that you have downloaded and unpacked GBrowse<br>
&gt; into<br>
&gt; your home directory and have not yet installed it. Go to <a href="http://www.gmod.org" target="_blank">www.gmod.org</a>,<br>
&gt; download the tar file for the 1.69 release:<br>
&gt;<br>
&gt; <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>

&gt; many<br>
&gt; people have tried the UCSC plugin install, so please let me know what<br>
&gt; your<br>
&gt; experience is!<br>
&gt;<br>
&gt; Lincoln<br>
&gt;<br>
&gt; On Wed, Nov 12, 2008 at 10:20 AM, Ramiro Costa &lt;<br>
&gt; <a href="mailto:costar@childpsych.columbia.edu">costar@childpsych.columbia.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m trying to install the Gmod-UCSC plugin to be able to load UCSC<br>
&gt; tracks<br>
&gt; &gt; into Gbrowse.<br>
&gt; &gt;<br>
&gt; &gt; I followed the instructions given in the tutorial (<br>
&gt; &gt; <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>
&gt; &gt; clear to me.<br>
&gt; &gt; I downloaded the plugin but got stuck at the installing step. The<br>
&gt; tutorial<br>
&gt; &gt; says I should copy all non-CVS files from<br>
&gt; gmod-ucsc/Generic-Genome-Browser/<br>
&gt; &gt; into the corresponding locations in my GBrowse installation&#39;s<br>
&gt; &gt; Generic-Genome-Browser tree. When I search for the<br>
&gt; Generic-Genome-Browser<br>
&gt; &gt; tree, I only found an empty dir except for a hidden file named<br>
&gt; &quot;.packlist&quot;.<br>
&gt; &gt; The location of this dir is the following:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Generic-Genome-Browser<br>
&gt; &gt;<br>
&gt; &gt; Is this the correct place to install the plugin? Would someone please<br>
&gt; &gt; elaborate on the plugin installation steps?<br>
&gt; &gt;<br>
&gt; &gt; Thanks in advance!<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; Ramiro<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; &gt; This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s<br>
&gt; &gt; challenge<br>
&gt; &gt; Build the coolest Linux based applications with Moblin SDK &amp; win great<br>
&gt; &gt; prizes<br>
&gt; &gt; Grand prize is a trip for two to an Open Source event anywhere in the<br>
&gt; world<br>
&gt; &gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Gmod-gbrowse mailing list<br>
&gt; &gt; <a href="mailto:Gmod-gbrowse@lists.sourceforge.net">Gmod-gbrowse@lists.sourceforge.net</a><br>
&gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse" target="_blank">https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Lincoln D. Stein<br>
&gt;<br>
&gt; Ontario Institute for Cancer Research<br>
&gt; 101 College St., Suite 800<br>
&gt; Toronto, ON, Canada M5G0A3<br>
&gt; 416 673-8514<br>
&gt; Assistant: Stacey Quinn &lt;<a href="mailto:Stacey.Quinn@oicr.on.ca">Stacey.Quinn@oicr.on.ca</a>&gt;<br>
&gt;<br>
&gt; Cold Spring Harbor Laboratory<br>
&gt; 1 Bungtown Road<br>
&gt; Cold Spring Harbor, NY 11724 USA<br>
&gt; (516) 367-8380<br>
&gt; Assistant: Sandra Michelsen &lt;<a href="mailto:michelse@cshl.edu">michelse@cshl.edu</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<br>
&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
&gt; _______________________________________________<br>
&gt; Gmod-gbrowse mailing list<br>
&gt; <a href="mailto:Gmod-gbrowse@lists.sourceforge.net">Gmod-gbrowse@lists.sourceforge.net</a><br>
&gt; <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 &lt;<a href="mailto:Stacey.Quinn@oicr.on.ca">Stacey.Quinn@oicr.on.ca</a>&gt;<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 &lt;<a href="mailto:michelse@cshl.edu">michelse@cshl.edu</a>&gt;<br>