[Slackbuilds-users] libproxy slackbuild error and solution

Shane Riddle sh4neriddle at yahoo.com
Sun Apr 15 16:44:22 UTC 2012


I posted this on linuxquestions for those who may not track this list, and figured this would be a good place to notify slackbuild's maintenance team. 

-------------------

The libproxy slackbuild, which is an openconnect dependency, fails with 


Code:
/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:398:37: error: 'read' was not declared in this scope
/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:423:13: error: 'close' was not declared in this scope
/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:439:13: error: 'close' was not declared in this scopeThe solution is to add this line in libproxy-0.4.7/libproxy/url.cpp (which is in the libproxy-0.4.7.tar.gz file) - 


Code:
#Include <unistd.h> //For close(), read()I don't know how to create a patch but that's what I added manually and the build completed successfully.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120415/29185f33/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libproxy-0.4.7.tar.gz
Type: application/x-gzip
Size: 87728 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120415/29185f33/attachment-0001.bin>


More information about the SlackBuilds-users mailing list