On 10/24/14, 11:03 PM, Matthew Stephen Hartmann wrote: > Hey everyone, > > I'm having trouble building libcurl4. The build seems to be looking for > headers in /usr/include ... but shouldn't it be checking /sw/include? > > I also attempted a `fink configure` (set build jobs to 1) and `fink > selfupdate`, but to no avail. > > If there's anything else you need from me, please let me know. > > Here's the output from my terminal: > > hogwarts:~ apple$> cat fink_packages.txt | xargs fink -b install > Information about 10076 packages read in 1 seconds. > The following 9 packages will be installed or updated: > curl libcurl4 libcurl4-shlibs libidn-shlibs nmap python27 > python27-shlibs xmlrpc-c xmlrpc-c-shlibs > The following 4 additional packages will be installed: > gtk-doc itstool libxml2-py27 openssl100-dev > Default answer will be chosen in 60 seconds... > Do you want to continue? [Y/n] Setting runtime build-lock... > dpkg-deb -b > /sw/src/fink.build/root-fink-buildlock-libcurl4-7.38.0-1+10.8 > /sw/src/fink.build > dpkg-deb: building package `fink-buildlock-libcurl4-7.38.0-1+10.8' in > `/sw/src/fink.build/fink-buildlock-libcurl4-7.38.0-1+10.8_2014.10.25-01.55.05_darwin-x86_64.deb'. > Installing build-lock package... > /sw/bin/dpkg-lockwait -i > /sw/src/fink.build/fink-buildlock-libcurl4-7.38.0-1+10.8_2014.10.25-01.55.05_darwin-x86_64.deb > Selecting previously deselected package > fink-buildlock-libcurl4-7.38.0-1+10.8. > (Reading database ... 25998 files and directories currently installed.) > Unpacking fink-buildlock-libcurl4-7.38.0-1+10.8 (from > .../fink-buildlock-libcurl4-7.38.0-1+10.8_2014.10.25-01.55.05_darwin-x86_64.deb) > ... > Setting up fink-buildlock-libcurl4-7.38.0-1+10.8 (2014.10.25-01.55.05) ... > > sudo -u fink-bld [ENV] sh -c /tmp/fink.ak9F1 > env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions > -xf /sw/src/curl-7.38.0.tar.bz2 > sudo -u fink-bld [ENV] sh -c /tmp/fink.HA_bz > /tmp/fink.aDs1w > + perl -pi -e s/link_all_deplibs=yes/link_all_deplibs=no/g configure > + perl -pi -e 's,\@LDFLAGS\@,,g; s,\@LIBCURL_LIBS\@,,g' curl-config.in > <http://curl-config.in> > + perl -pi -e 's,\@LDFLAGS\@,,g; s,\@LIBCURL_LIBS\@,,g' libcurl.pc.in > <http://libcurl.pc.in> > + perl -pi -e 's/\@libext\@/dylib/' curl-config.in <http://curl-config.in> > + /bin/cp '/usr/include/lber*.h' . > cp: /usr/include/lber*.h: No such file or directory > ### execution of /tmp/fink.aDs1w failed, exit code 1 > ### execution of /tmp/fink.HA_bz failed, exit code 1 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-libcurl4-7.38.0-1+10.8 > (Reading database ... 25999 files and directories currently installed.) > Removing fink-buildlock-libcurl4-7.38.0-1+10.8 ... > Failed: phase patching: libcurl4-7.38.0-1+10.8 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > Also try using "fink configure" to set your maximum build jobs to 1 and > attempt to build the package again. > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <[email protected] > <mailto:[email protected]>> > The Fink Beginners List <[email protected] > <mailto:[email protected]>>, > > with a carbon copy to the maintainer: > > Daniel Johnson <[email protected] > <mailto:[email protected]>> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.38.1 > Distribution version: selfupdate-rsync Sat Oct 25 01:54:50 2014, 10.10, > x86_64 > Trees: local/main stable/main stable/crypto > Xcode.app: 6.1 > Xcode command-line tools: 6.1.0.0.1.1413057044 > Max. Fink build jobs: 3 > > > -- > Matthew Stephen Hartmann > Franklin, Indiana > [email protected] <mailto:[email protected]> > > "Be well, do good work, and keep in touch.®" > - Garrison Keillor > >
Fink isn't completely self-contained. Many of our builds rely on system headers and libraries. Missing headers in /usr/include is genarally an indicator that you have the wrong command line tools for your OS. The 10.9 tools don't work on 10.10. Check if there's an update in the App Store, or do a "sudo xcode-select --install" and see if that installs them, and if those fail, download the 10.10 tools from developer.apple.com. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
