On Fri, 24 Oct 2014 23:09:01 -0700, Alexander Hansen 
<alexanderk.han...@gmail.com> wrote:
On 10/24/14, 11:03 PM, Matthew Stephen Hartmann wrote:
> >
> > 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
>
> 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. 

I just pushed some tweaks to fink (git master) that check for 
/usr/include early in the build process and give a loud complaint about 
the general problem of missing tools from apple rather than waiting 
until a specific package fails when it tries to use them. 

dan

  --
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
_______________________________________________
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