On 8/25/12 12:16 PM, garykolson wrote:
> While updating libnc-dap3-3.7.3-5, the build quickly encountered an error 
> when looking for "curl/types.h" header which was not found.  I have curl and 
> libcurl4 both installed, but there is no /sw/include/curl/types.h file. The 
> build script may be looking for a types.h file somewhere else?  There is no 
> such file in /sw/include/libnc-dap either.
> 
>> make
>> make  all-recursive
>> make[1]: Entering directory 
>> `/sw/src/fink.build/libnc-dap3-3.7.3-5/libnc-dap-3.7.3'
>> Making all in .
>> make[2]: Entering directory 
>> `/sw/src/fink.build/libnc-dap3-3.7.3-5/libnc-dap-3.7.3'
>> /bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
>> -I./fortran  -Df2cFortran -DLOCAL -I./lnetcdf -I/sw/include/libdap 
>> -I/sw/include -I/sw/include/libxml2 -I./fortran -I/sw/include  -g -O2 -MT 
>> NCArray.lo -MD -MP -MF .deps/NCArray.Tpo -c -o NCArray.lo NCArray.cc
>> /bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
>> -I./fortran  -Df2cFortran -DLOCAL -I./lnetcdf -I/sw/include/libdap 
>> -I/sw/include -I/sw/include/libxml2 -I./fortran -I/sw/include  -g -O2 -MT 
>> NCByte.lo -MD -MP -MF .deps/NCByte.Tpo -c -o NCByte.lo NCByte.cc
>> mkdir .libs
>>  g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf 
>> -I/sw/include/libdap -I/sw/include -I/sw/include/libxml2 -I./fortran 
>> -I/sw/include -g -O2 -MT NCArray.lo -MD -MP -MF .deps/NCArray.Tpo -c 
>> NCArray.cc  -fno-common -DPIC -o .libs/NCArray.o
>>  g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf 
>> -I/sw/include/libdap -I/sw/include -I/sw/include/libxml2 -I./fortran 
>> -I/sw/include -g -O2 -MT NCByte.lo -MD -MP -MF .deps/NCByte.Tpo -c NCByte.cc 
>>  -fno-common -DPIC -o .libs/NCByte.o
>> In file included from In file included from NCByte.cc:48:
>> In file included from ./Dnetcdf.h:39:
>> In file included from /sw/include/libdap/Connect.h:82:
>> /sw/include/libdap/HTTPConnect.h:33:10: fatal error: 'curl/types.h' file not 
>> found
>> #include <curl/types.h>
>>          ^
>> NCArray.cc:55:
>> In file included from ./Dnetcdf.h:39:
>> In file included from /sw/include/libdap/Connect.h:82:
>> /sw/include/libdap/HTTPConnect.h:33:10: fatal error: 'curl/types.h' file not 
>> found
>> #include <curl/types.h>
>>          ^
>> 1 error generated.
>> make[2]: *** [NCByte.lo] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> 1 error generated.
>> make[2]: *** [NCArray.lo] Error 1
>> make[2]: Leaving directory 
>> `/sw/src/fink.build/libnc-dap3-3.7.3-5/libnc-dap-3.7.3'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory 
>> `/sw/src/fink.build/libnc-dap3-3.7.3-5/libnc-dap-3.7.3'
>> make: *** [all] Error 2
>> ### execution of /tmp/fink.vTQym failed, exit code 2
>> ### execution of /tmp/fink.gCiS_ failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-libnc-dap3-3.7.3-5
>> (Reading database ... 340237 files and directories currently installed.)
>> Removing fink-buildlock-libnc-dap3-3.7.3-5 ...
>> Failed: phase compiling: libnc-dap3-3.7.3-5 failed
> 
> Hope this helps.
> 
> Gary K Olson
> 
> My kit is:
> 
> Package manager version: 0.34.2
> Distribution version: selfupdate-rsync Sat Aug 25 12:12:04 2012, 10.8, x86_64
> Trees: local/main stable/main local/injected
> Xcode.app: 4.4.1
> Xcode command-line tools: 4.4.0.0.1.1249367152
> Max. Fink build jobs:  2
> 
> 
> 

curl/types.h was a deprecated header from libcurl which finally got
removed fairly recently.

Updated libdap9 and libnc-dap3 packages should be available shortly via
"fink selfupdate".

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to