fink-users  

Re: [Fink-users] gdal and x86_64

Alexander Hansen
Thu, 18 Mar 2010 06:37:08 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/18/10 8:22 AM, Geoffrey Smith wrote:
> On 3/17/10 6:32 PM, fink-users-requ...@lists.sourceforge.net wrote:
>> Message: 6 Date: Wed, 17 Mar 2010 13:27:46 -0400 From: Hanspeter
>> Niederstrasser <f...@snaggledworks.com> Subject: Re: [Fink-users] gdal
>> and x86_64 To: fink-users <fink-users@lists.sourceforge.net> Message-ID:
>> <4ba11112.9020...@snaggledworks.com> Content-Type: text/plain;
>> charset=ISO-8859-1; format=flowed On 3/17/10 9:21 AM, Geoffrey Smith wrote:
>>>>  I am running Snow Leopard and
>>>>
>>>>  gbsmith$ fink --version
>>>>  Package manager version: 0.29.10
>>>>  Distribution version: selfupdate-rsync Wed Mar 17 08:45:08 2010, 10.6,
>>>>  x86_64
>>>>
>>>>  I am trying to install gdal, but, I get an error telling me it depends
>>>>  on xerces-c-dev -- unfortunately I cannot find xerces-c-dev anywhere in
>>>>  the x86_64 version of fink.
>> xerces-c-dev is restricted and not available on x86_64
>> <http://pdb.finkproject.org/pdb/package.php/xerces-c-dev>.  Contact the
>> maintainer to ask if it's possible to modify the package to let it build
>> on x86_64.  If it can't be, then gdal will have to be modified to mark
>> it as not available on x86_64.
>>
>>>>  Another more general question - is there, or is there planned, a way to
>>>>  install both 64bit and 32bit versions of packages from the same fink
>>>>  install?
>> No.  You can bootstrap a 2nd copy of Fink into a different directory
>> (like say /sw and /sw32) and for 99.9% of things they will coexist
>> happily without seeing each other, but a Fink install can only do a
>> single architecture.
>>
>> Hanspeter
>>
>>
>>
> 
> Thanks for the info.  I have contacted the maintainer directly and am 
> waiting for a response.
> 
> Thanks for the tip about moving the dir out of the way - I may work on 
> that.  I was hoping for a solution like used with yum where you can 
> select _64 packages from the same list as the _32, but I don't have any 
> idea of the technical difficulties that raises.
> 
> Thanks again,
> 
> -g
> 
> 

I don't think that's specific to _yum_, per se, but rather to _Linux_.

You needn't actually move the directory (and doing so actually makes
things more complicated).  If you install 64-bit in /sw and 32-bit in
/sw32, you can use executables from either tree.  You can sort of toggle
between them by changing the line in your .profile that mentions

. /sw/bin/init.sh

to use

. /sw32/bin/init.sh

instead, and then start a new terminal window.  That way you can still
give the full path to your 64-bit executables and use them even when the
32-bit tree is active.

If, instead, you move the 64-bit Fink tree the executables will mostly
be broken until you move it back, because they won't be able to find
Fink libraries that they link to.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuiLGAACgkQB8UpO3rKjQ8t0wCgmwpgCrIniNzKZ/KDRcQYQ0Sk
ofAAn3XjYhau4sa79SG6YcVlJH+tpsrl
=t9OL
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users