Thank you so much Dr. Hansen. Your instructions allowed the compile to succeed.

-Saul


On Jan 6, 2013, at 9:08 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
wrote:

> On 1/5/13 11:28 PM, Saul Villalobos wrote:
>> Hello, I was attempting to build rtorrent on Mountain Lion using Fink.
>> 
>> Dependency xmlrpc-c receives the following error.
>> 
>> gcc -c -o xmlrpc_curl_transport.o 
>> -I/sw/src/fink.build/xmlrpc-c-1.16.41-1/xmlrpc-c-1.16.41 
>> -I/sw/src/fink.build/xmlrpc-c-1.16.41-1/xmlrpc-c-1.16.41/include 
>> -I/sw/src/fink.build/xmlrpc-c-1.16.41-1/xmlrpc-c-1.16.41/include 
>> -I/sw/src/fink.build/xmlrpc-c-1.16.41-1/xmlrpc-c-1.16.41/lib/util/include 
>> -I/sw/include -DNDEBUG -Wall -Wundef -Wimplicit -W -Winline 
>> -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fno-common 
>> -g -O3   xmlrpc_curl_transport.c
>> xmlrpc_curl_transport.c:86:10: fatal error: 'curl/types.h' file not found
>> #include <curl/types.h>
>>         ^
>> 1 error generated.
>> make[2]: *** [xmlrpc_curl_transport.o] Error 1
>> make[1]: *** [curl_transport/all] Error 2
>> make: *** [lib/all] Error 2
>> ### execution of /tmp/fink.qa2Xv failed, exit code 2
>> ### execution of /tmp/fink.wxCX_ failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-xmlrpc-c-1.16.41-1
>> (Reading database ... 8039 files and directories currently installed.)
>> Removing fink-buildlock-xmlrpc-c-1.16.41-1 ...
>> Failed: phase compiling: xmlrpc-c-1.16.41-1 failed
>> 
>> 
>> System information:
>> Package manager version: 0.34.4
>> Distribution version: selfupdate-rsync Sat Jan  5 22:09:07 2013, 10.8, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 4.4.1
>> Xcode command-line tools: 4.4.0.0.1.1249367152
>> Max. Fink build jobs:  1
>> 
>> Thank you for any assistance you can provide.
>> 
>> -Saul
> 
> libcurl has deprecated curl/types.h in favor of curl/curl.h (the former
> just #included the latter) for a while, and they apparently removed it
> completely fairly recently.
> 
> Try editing /sw/fink/dists/stable/main/finkinfo/net/xmlrpc-c.info and
> add the following line at the end of the PatchScript block:
> 
> perl -pi -e 's,curl/types.h,curl/curl.h,' lib/curl_transport/curlmulti.c
> lib/curl_transport/curltransaction.c
> lib/curl_transport/xmlrpc_curl_transport.c
> 
> Or wait for the maintainer to update the build to make the same change,
> or use a newer version (if such exists) which is set up for the new
> libcurl file setup.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
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