[BioC] Problem installing hexbin?

Robert Gentleman rgentlem at fhcrc.org
Tue Apr 25 23:41:12 CEST 2006


it seems fine on our Suse Box with
rgentlem at gladstone:~> gfortran --version
GNU Fortran 95 (GCC 4.0.2 20050901 (prerelease) (SUSE Linux))
Copyright (C) 2005 Free Software Foundation, Inc.
and:
  gfortran -fPIC -c hbin.f -o hbin.o

does what I think it is supposed to do.
So I suspect that something else is wrong.

I do see tabs not spaces in the file (which could cause some problems I 
suspect).

To find the source down load the package, untar it and look in
hexbin/src
you could try changing all tabs to the right number of spaces and see if 
that fixes things.

note the file also declares
         implicit none
and then does define a type for shape.

  best wishes
   Robert


Sander Oom wrote:
> David Henderson wrote:
> 
>>Hi Seth and Sander:
>>
>>
>>>>gfortran   -fPIC   -c hbin.f -o hbin.o
>>>> In file hbin.f:1
>>>>
>>>>       subroutine hbin(x,y,cell,cnt,xcm,ycm, size, shape,
>>>>                                                       1
>>>>Error: Symbol 'shape' at (1) has no IMPLICIT type
>>>>make: *** [hbin.o] Error 1
>>>>ERROR: compilation failed for package 'hexbin'
>>>>** Removing '/usr/lib/R/library/hexbin'
>>>
>>>I suspect the issue is with your Fortran compiler.  What does gfortran
>>>--version report?
>>
>>I have seen this before and the problem is that gfortran is more strict
>>about the 80 character column width than g77 was.  I think moving the
>>shape variable to the next line with a new type declaration, i.e.
>>something like: INTEGER shape, will fix the problem.
>>
>>Good Luck!!
>>
>>Dave H
> 
> 
> Hi Seth and Dave,
> 
> ~> gfortran --version
> GNU Fortran 95 (GCC 4.0.2 20050901 (prerelease) (SUSE Linux))
> Copyright (C) 2005 Free Software Foundation, Inc.
> 
> Would not know where to start looking for the 'shape' declaration.
> Hopefully the developer will be following the mailing list and know the
> answer....
> 
> Thanks,
> 
> Sander.
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
> 

-- 
Robert Gentleman, PhD
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
PO Box 19024
Seattle, Washington 98109-1024
206-667-7700
rgentlem at fhcrc.org



More information about the Bioconductor mailing list