Compiling 2.4.0 doesn't seem to honour C_INCLUDE_PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

i've tried to compile 2.4.0 yesterday with my usual recipe

  git:
    cd git.git-no_reduce &&\
    (for i in GETTEXT PYTHON TCLTK; do echo NO_$${i}=1; done;\
    cat Makefile) > Makefile.2nd &&\
    $(GMAKE) -f Makefile.2nd prefix=$(MYPREFIX) all &&\
    $(SUDO) $(GMAKE) -f Makefile.2nd prefix=$(MYPREFIX) install;\
    git clean -fxd; git reset --hard HEAD

but it failed:

      CC imap-send.o
  imap-send.c: In function ‘setup_curl’:
  imap-send.c:1428: error: ‘CURLOPT_LOGIN_OPTIONS’ undeclared (first use\
 in this function)
  imap-send.c:1428: error: (Each undeclared identifier is reported only \
once
  imap-send.c:1428: error: for each function it appears in.)
  Makefile.2nd:1894: recipe for target 'imap-send.o' failed
  gmake[1]: *** [imap-send.o] Error 1
  gmake[1]: Leaving directory '/Volumes/UDF/arena/code.extern/git.git-no\
_reduce'

It turned out that the C_INCLUDE_PATH setting doesn't seem to get
honoured, resulting in the wrong curl version to be used.  The
PATH setting seems to get honoured still, though:

  ?0[steffen@sherwood roff.git]$ curl --version
  curl 7.42.1..
  ?0[steffen@sherwood roff.git]$ /usr/bin/curl --version
  curl 7.19.7..

I'm right that CURLDIR shouldn't be needed here?
Compilation succeeded after explicitly setting that, but shouldn't
C_INCLUDE_PATH be honoured just as PATH is?
Thanks and Ciao,

--steffen
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]