wrapping this saga up...

punk...@lucknow ~/Projects/netcdf-4.1.1$ ./configure --disable-f77
--disable-netcdf-4
..
Making install in man4
TEXINPUTS=".:$TEXINPUTS" \
        MAKEINFO='/bin/sh /Users/punkish/Projects/netcdf-4.1.1/missing --run
makeinfo   -I .' \
        texi2dvi -s  --pdf --batch netcdf.texi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[1]: *** [netcdf.pdf] Error 1
make: *** [install-recursive] Error 1
punk...@lucknow ~/Projects/netcdf-4.1.1$

In spite of the above error, I did a 'sudo make install' and then
installed PDL::NetCDF 4.03, and I've got everything working.

But, seriously, this has to be the worst software experience possible.
Fatally failing because the darn TeX environment is not correct and so
a PDF man page can't be built!



On Sun, May 30, 2010 at 6:03 PM, P Kishor <[email protected]> wrote:
> On Sun, May 30, 2010 at 4:59 PM, P Kishor <[email protected]> wrote:
>> On Sun, May 30, 2010 at 3:07 PM, P Kishor <[email protected]> wrote:
>>> On Sun, May 30, 2010 at 3:04 PM, Chris Marshall <[email protected]> wrote:
>>>> On 5/30/2010 3:53 PM, P Kishor wrote:
>>>>>
>>>>> punk...@lucknow ~/Projects$perldl
>>>>> defined(%hash) is deprecated at /usr/local/bin/perldl line 61.
>>>>>        (Maybe you should just omit the defined()?)
>>>>> perlDL shell v1.352
>>>>> ..
>>>>> perldl>
>>>>
>>>> That is a new warning in perl 5.12.  It has already been
>>>> fixed in PDL git.  The log for the change says: remove
>>>> the 'defined' from 'defined %PDL::Confg' in order to
>>>> avoid the deprecation warning that perl-5.12 issues wrt
>>>> this practice.
>>>>
>>>>
>>>
>>> Ok, thanks. I won't worry about that for now. PDL, at large, seems to
>>> be working otherwise. But I am unable to re-build libnetcdf, and
>>> hence, PDL::NetCDF. By the way, my earlier report about C compiler
>>> unable to create executables was wrong. I had a typo in my env
>>> variable. Setting it correctly brings me back to square one --
>>>
>>> checking nm flags...
>>> checking for C-equivalent to Fortran routine "SUB"... sub_
>>> checking for Fortran "byte"... yes
>>> checking for Fortran "integer*2"... yes
>>> checking if Fortran "byte" is C "signed char"... configure: error:
>>> Could not link conftestf.o and conftest.o
>>>
>>>
>>
>>
>> While building libnetcdf, if I turn off support for hdf5 and f77, I am
>> able to build it, but the arch is wrong. I did the following
>>
>> ./configure --prefix=/usr/local/netcdf --disable-f77 --disable-netcdf-4
>>
>> then did a make && make install, but I get the following error
>>
>> PDL/NetCDF/NetCDF.bundle        \
>>           -L/usr/local/netcdf/lib -lnetcdf     \
>>
>> ld: warning: in /usr/local/lib/libnetcdf.a, file was built for
>> unsupported file format which is not the architecture being linked
>> (x86_64)
>> chmod 755 blib/arch/auto/PDL/NetCDF/NetCDF.bundle
>> cp NetCDF.bs blib/arch/auto/PDL/NetCDF/NetCDF.bs
>> chmod 644 blib/arch/auto/PDL/NetCDF/NetCDF.bs
>> Manifying blib/man3/PDL::NetCDF.3
>> punk...@lucknow ~/Projects/PDL-NetCDF-4.03$
>>
>> I thought stuff automatically build 64-bits on Mac OS X 10.6.x, but I guess 
>> not.
>>
>> Any suggestions?
>>
>>
>
>
> Yup, the problem is definitely with 64-bit support. I built PDL and
> PDL-NetCDF (including libnetcdf.a) on another Mac OS X machine with
> Perl 5.12.1, and it built just fine. The only difference -- this one
> is a Mac OS X 10.5.x computer, all at 32-bits.
>
> So, the question is -- how do I build libnetcdf with 64-bit support on
> Mac OS X 10.6.3?
>
>
>
> --
> Puneet Kishor http://www.punkish.org
> Carbon Model http://carbonmodel.org
> Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
> Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
> Nelson Institute, UW-Madison http://www.nelson.wisc.edu
> -----------------------------------------------------------------------
> Assertions are politics; backing up assertions with evidence is science
> =======================================================================
>

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to