[Fink-users] HDF library for OS X Panther - how?

2004-01-14 Thread Tero Siili
This is a crossposting to scitech and fink-users lists.

I use OS X 10.3.2, have developer tools installed and use g77 as my 
Fortran 77 compiler. I have need to use the Hierarchical Data Format 
(HDF) library (v. 4.1) on OS X, the library being linked to some 
Fortran 77 code. Under Jaguar I was able to install the library via 
fink, but the code refused to link, apparently since the JPEG library 
was not found. Now - under Panther - I can not even find the hdf 
entry under FinkCommander or "fink list". Hence, I am unable to 
download and install the library - at least via fink.

I would need some info and advice as to how people have perhaps been 
able to install and use HDF, especially with g77 (I use g77 and HDF 
under linux with no major problems). Is it possible, that HDF is 
already installed, but I simply do not know how to take it into use?

Any help and pointers are appreciated - please cc: your possible 
replies also directly to my address.

With best regards

Tero Siili
Finnish Meteorological Institute
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] HDF library for OS X Panther - how?

2004-01-14 Thread Martin Costabel
On 14 janv. 2004, at 09:21, Tero Siili wrote:

This is a crossposting to scitech and fink-users lists.

I use OS X 10.3.2, have developer tools installed and use g77 as my 
Fortran 77 compiler. I have need to use the Hierarchical Data Format 
(HDF) library (v. 4.1) on OS X, the library being linked to some 
Fortran 77 code. Under Jaguar I was able to install the library via 
fink, but the code refused to link, apparently since the JPEG library 
was not found. Now - under Panther - I can not even find the hdf entry 
under FinkCommander or "fink list". Hence, I am unable to download and 
install the library - at least via fink.
Hmm, the Fink package database shows that hdf (and hdf5) is available 
for Panther, even in precompiled binary form, see 
http://fink.sourceforge.net/pdb/package.php/hdf

I would need some info and advice as to how people have perhaps been 
able to install and use HDF, especially with g77 (I use g77 and HDF 
under linux with no major problems). Is it possible, that HDF is 
already installed, but I simply do not know how to take it into use?
I cannot help with using it, but if you run "fink list -i hdf" or "dpkg 
-l hdf" from the command line, you will see if it is installed. If you 
don't even see it with "fink list hdf", your updating of Fink to 
Panther must have gone wrong.
Check if /sw/fink/dists is a symlink to 10.3 and that /sw/etc/fink.conf 
has a "Distribution: 10.3" line. Did you run "fink selfupdate"?

--
Martin


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] HDF library for OS X Panther - how?

2004-01-14 Thread Tero Siili
At 11:18 +0100 14.1.2004, Martin Costabel wrote:
On 14 janv. 2004, at 09:21, Tero Siili wrote:

This is a crossposting to scitech and fink-users lists.

I use OS X 10.3.2, have developer tools installed and use g77 as my 
Fortran 77 compiler. I have need to use the Hierarchical Data 
Format (HDF) library (v. 4.1) on OS X, the library being linked to 
some Fortran 77 code. Under Jaguar I was able to install the 
library via fink, but the code refused to link, apparently since 
the JPEG library was not found. Now - under Panther - I can not 
even find the hdf entry under FinkCommander or "fink list". Hence, 
I am unable to download and install the library - at least via fink.
Hmm, the Fink package database shows that hdf (and hdf5) is 
available for Panther, even in precompiled binary form, see 
http://fink.sourceforge.net/pdb/package.php/hdf
Yes, the page lists the version 4.1r5-13 being available, but the 
page does not show a download link that I could use directly. HDF 
should be downloadable via fink, hence I am not sure such a download 
link even should be there.


I would need some info and advice as to how people have perhaps 
been able to install and use HDF, especially with g77 (I use g77 
and HDF under linux with no major problems). Is it possible, that 
HDF is already installed, but I simply do not know how to take it 
into use?
I cannot help with using it, but if you run "fink list -i hdf" or 
"dpkg -l hdf" from the command line, you will see if it is 
installed. If you don't even see it with "fink list hdf", your 
updating of Fink to Panther must have gone wrong.
It does not show.

Check if /sw/fink/dists is a symlink to 10.3
It is not a symlink, but the directories appear to be identical (as 
far as sizes and time stamps are concerned).

 and that /sw/etc/fink.conf has a "Distribution: 10.3" line.
It has.

 Did you run "fink selfupdate"?
I did. Again now. No effect that I can detect.

Fink is version 0.6.2.

Incidently, HDF 4.2r0 seems to be available on the HDF pages directly 
for the OS X, so this may be resolved thus, without fink.

But, help may still be needed...

Tero Siili

---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] HDF library for OS X Panther - how?

2004-01-14 Thread Eric Hoch
Hi Tero, 
On Wed, 14 Jan 2004 14:02:41 +0200, Tero Siili wrote:
> Incidently, HDF 4.2r0 seems to be available on the HDF pages 
> directly for the OS X, so this may be resolved thus, without fink.
> 
> But, help may still be needed...

Here take a look at my hdf installation tutorial. I helped another 
user of the fink lists to get hdf installed and so it hopefully 
works for you too. You may not need every description but this 
instruction was for a newbie and so just read over these parts. 

Since all roads lead to Rome you have a lot of possibilities to get 
the 10.2-gcc 3.3 in this file or to get at least hdf. 

If you have done this type "sudo apt-get dist-upgrade". This will 
install the latest avaible version of fink and all the other 
packages which are currently installed. 

Once this is done do again a "sudo apt-get update". Fink now gets 
the latest package descriptions which are avaible for the new 
version that you installed in the prior step. 

Now a "sudo apt-get install hdf" should do what you want. Get the 
hdf package and all the packages it depends on. Say yes when fink 
asks you that it will install hdf and other packages in order to 
fullfill depencies. 

Depending on how fast your interneconnection is and which packages 
are needed etc every step can last from a couple of minutes up to a 
couple of hours.

If this way fails you have another one which I would prefer cause 
is more accurate imho but has high claims and is the hardcore way 
of doing it. At first you will understand nothing but after that 
you surely will have a little idea about the power of mac os x, 
fink and unixes in general. Once you learned it the hard way and 
everything is configured nothing more then a few commands are 
needed to be up-to-date and this is really cool. 

So here it is the hardcore way of getting hdf. 

So did you ever do a "fink selfupdate" after installing fink or 
your fink "untouched" since installing it. 


But first edit your fink.conf file and add the unstable trees to 
it. This procedure is descriped in the FAQ much better then I could 
do it so go and read it here 
 Questions 
4.7 and 4.8 are the interesting ones for you. What is not mentioned 
in the faq is that fink.conf can only be editet if you are root so 
you need to type sudo vi (or any other editor) fink.conf" instead 
of "vi fink.conf".

Check if your Distribution line in fink.conf looks like mine:
Distribution: 10.3
Leave every other line as is.

If you had to edit your fink.conf you have to run a "fink 
selfupdate" followed by a "fink index". 

Now it is time to check if hdf is avaible and it should be! So type 
a fink list hdf and see what the output ist. It should look similar 
to mine:
Maveric:~ erichoch$ fink list hdf
Information about 2368 packages read in 1 seconds.
 hdf  4.1r5-13 Scientific data format
 hdf5 1.6.1-1  Library and file format for 
scientific data
 hdf5-bin 1.6.1-1  Library and file format for 
scientific data
 hdf5-shlibs  1.6.1-1  Library and file format for 
scientific data

This output tells you that the version you want it called hdf and 
that a simple "fink install hdf" will do the job. So type "fink 
install hdf" and fink will download the sourcepackage from a mirror 
and after that unpackt the archive. Patch it if necessary and then 
compile and install it. 

I cannot say how long this will take since it depends on too much 
factors like your bandwith for downloads, the speed of your 
processor, package size of the sourcecode etc. 

Regards, 
Eric Hoch

-- 
## Ansprechpartner Anwenderunterstützung, users-Mailingliste
## War unsere Hilfe erfolgreich? Bitte teilen Sie es uns mit. Danke.
## de.OpenOffice.org - Office für MacOS X, Linux, Solaris & Windows 
## Netikette? http://www.eschkitai.de/openoffice/netikette.html


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users