[Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread Jonathan Greenberg
Finkers:

I'd like to work with g95, and use netcdf-g95, this week, but I have 
a Snow Leopard system and g95 hasn't been upgraded yet to work with 10.6 
in the fink repository.  I'm sure it'll be upgraded soon enough, but I 
have a more generic question that relates to this specific issue.  There 
are binaries for MacOS X available directly from g95.org that appear to 
work -- what  I'm wondering is, so I don't have unix binaries all over 
my system, is whether or not I'll run into problems moving the binary 
and the libs in /sw/bin and /sw/lib.  On a related note, netcdf-g95, of 
course, requires g95 (there appears to be 10.6 version available via 
fink install), so how do I either bypass the dependency check, or 
point it to my g95 binary I grabbed from elsewhere?

Thanks!

--j

-- 

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread David R. Morrison
That may be true, but we have no way of building a binary for g95 on  
10.6 at the moment.  Using a binary built on an earlier 10.x  might be  
a stopgap solution, but in the long run, it is not good news for g95  
on OS X.

I'm not a fortran guy, myself, but I was under the impression that  
most folks had migrated from g95 to gfortran; is this not correct?

   -- Dave


On Sep 12, 2009, at 3:58 PM, Jonathan Greenberg wrote:

 Hmm, the binary SEEMS to work, but then again I'm not sure how to  
 test it:

 http://ftp.g95.org/g95-x86-osx.tgz

 (its a dependency for a climate model I'm trying to compile) -- I  
 noticed it seemed to be compiling some of the code correctly, but  
 can't be sure its working across the board.

 --j

 David R. Morrison wrote:
 Perhaps you know more about g95 than the current fink developer/ 
 maintainer team does.  I am under the impression that bringing g95  
 to 10.6 is going to be very difficult, if not impossible.

  -- Dave


 On Sep 12, 2009, at 3:32 PM, Jonathan Greenberg wrote:

 Finkers:

   I'd like to work with g95, and use netcdf-g95, this week, but I  
 have
 a Snow Leopard system and g95 hasn't been upgraded yet to work  
 with 10.6
 in the fink repository.  I'm sure it'll be upgraded soon enough,  
 but I
 have a more generic question that relates to this specific issue.   
 There
 are binaries for MacOS X available directly from g95.org that  
 appear to
 work -- what  I'm wondering is, so I don't have unix binaries all  
 over
 my system, is whether or not I'll run into problems moving the  
 binary
 and the libs in /sw/bin and /sw/lib.  On a related note, netcdf- 
 g95, of
 course, requires g95 (there appears to be 10.6 version available via
 fink install), so how do I either bypass the dependency check, or
 point it to my g95 binary I grabbed from elsewhere?

   Thanks!

 --j

 -- 

 Jonathan A. Greenberg, PhD
 Postdoctoral Scholar
 Center for Spatial Technologies and Remote Sensing (CSTARS)
 University of California, Davis
 One Shields Avenue
 The Barn, Room 250N
 Davis, CA 95616
 Cell: 415-794-5043
 AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports  
 2008 30-Day
 trial. Simplify your report design, integration and deployment -  
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/fink-users


 -- 

 Jonathan A. Greenberg, PhD
 Postdoctoral Scholar
 Center for Spatial Technologies and Remote Sensing (CSTARS)
 University of California, Davis
 One Shields Avenue
 The Barn, Room 250N
 Davis, CA 95616
 Cell: 415-794-5043
 AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread monipol
On 12/09/2009, at 19:32, Jonathan Greenberg wrote:
I'd like to work with g95, and use netcdf-g95, this week, but I  
 have
 a Snow Leopard system and g95 hasn't been upgraded yet to work with  
 10.6
 in the fink repository.  I'm sure it'll be upgraded soon enough, but I
 have a more generic question that relates to this specific issue.   
 There
 are binaries for MacOS X available directly from g95.org that appear  
 to
 work -- what  I'm wondering is, so I don't have unix binaries all over
 my system, is whether or not I'll run into problems moving the binary
 and the libs in /sw/bin and /sw/lib.  On a related note, netcdf-g95,  
 of
 course, requires g95 (there appears to be 10.6 version available via
 fink install), so how do I either bypass the dependency check, or
 point it to my g95 binary I grabbed from elsewhere?


Hello, Jonathan.

If I understood correctly you're thinking of installing a non-Fink g95  
and copying its files to Fink's folder, /sw. That's potential for  
trouble because you'd be installing files that are supposed to be  
installed by Fink, potentially messing with Fink's (dpkg's) internal  
list of installed files, as well as leaving dangling files if you  
attempt to undo this 'installation'. There's also the issue that  
library full paths are hardcoded into programs linked against them, so  
you might have to create appropriate symbolic links whenever needed. I  
wouldn't recommend it at all and Fink wouldn't be able to provide you  
any further support.

In summary, don't do it. :)

As for netcdf-g95 using a non-Fink g95 in a different location (/usr/ 
local, /opt, etc), one possibility is to create a local netcdf-g95  
package and modify its package description so that it doesn't depend  
on Fink's g95 and uses a non-Fink g95 for compilation. You may find  
information on local packages in the following pages:

http://finkers.wordpress.com/2009/06/08/local-packages/
http://finkers.wordpress.com/2009/07/24/creating-local-packages/

I've never used Fortran and I don't know netcdf-g95 so I wouldn't be  
able to tell you how much work it would be to adapt it so that it uses  
a non-Fink g95 compiler.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users