• xHarbour and curl

    From Enrico Maria Giordano@21:1/5 to All on Sun Nov 5 17:04:57 2023
    I'm trying to build curl libs with xHarbour but I get this error. Any ideas?

    ioapi.c
    e:\xhbsvn\curl-win32\include\zconf.h(494): fatal error C1083: Cannot
    open include file: 'unistd.h': No such file or directory

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Mon Nov 6 07:03:33 2023
    On Sunday, November 5, 2023 at 11:04:58 AM UTC-5, Enrico Maria Giordano wrote:
    I'm trying to build curl libs with xHarbour but I get this error. Any ideas?

    ioapi.c
    e:\xhbsvn\curl-win32\include\zconf.h(494): fatal error C1083: Cannot
    open include file: 'unistd.h': No such file or directory

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    unistd.h is a unix/linx posix header.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Mon Nov 6 16:43:56 2023
    Il 06/11/2023 16:03, Ron Pinkas ha scritto:

    I'm trying to build curl libs with xHarbour but I get this error. Any ideas? >>
    ioapi.c
    e:\xhbsvn\curl-win32\include\zconf.h(494): fatal error C1083: Cannot
    open include file: 'unistd.h': No such file or directory

    unistd.h is a unix/linx posix header.

    And why xHarbour would require that when it is building for Windows?
    What is the solution for this error?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Mon Nov 6 09:59:50 2023
    On Monday, November 6, 2023 at 10:43:59 AM UTC-5, Enrico Maria Giordano wrote:
    Il 06/11/2023 16:03, Ron Pinkas ha scritto:

    I'm trying to build curl libs with xHarbour but I get this error. Any ideas?

    ioapi.c
    e:\xhbsvn\curl-win32\include\zconf.h(494): fatal error C1083: Cannot
    open include file: 'unistd.h': No such file or directory

    unistd.h is a unix/linx posix header.
    And why xHarbour would require that when it is building for Windows?
    What is the solution for this error?
    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    I am not familiar with that code - this is a question to whom ever contributed it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Mon Nov 6 23:50:10 2023
    Il 06/11/2023 18:59, Ron Pinkas ha scritto:

    And why xHarbour would require that when it is building for Windows?
    What is the solution for this error?

    I am not familiar with that code - this is a question to whom ever contributed it.

    I find a workaroud: first I build all the libs except curl and then
    curl. So, now I am ready to publish new xHarbour builds. But I'm waiting
    for your OK regarding xbscript.

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Mon Nov 6 15:57:35 2023
    On Monday, November 6, 2023 at 5:50:14 PM UTC-5, Enrico Maria Giordano wrote:
    Il 06/11/2023 18:59, Ron Pinkas ha scritto:

    And why xHarbour would require that when it is building for Windows?
    What is the solution for this error?

    I am not familiar with that code - this is a question to whom ever contributed it.
    I find a workaroud: first I build all the libs except curl and then
    curl. So, now I am ready to publish new xHarbour builds. But I'm waiting
    for your OK regarding xbscript.
    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Thx. Ready. We just need to add info about git:

    Instructions for Existing Clones:
    1. Pull Latest Changes like usual:
    git pull

    2. Ensure the old utils/xbscript directory is completely removed since it likely had a sub folder for your platform!

    3. Now, you can initialize and fetch the content of the submodule:
    git submodule update --init --recursive

    Instructions for New Clones:
    1. ADD the git flag '--recurse-submodules' as follows:
    git clone --recurse-submodules https://github.com/xHarbour-org/xharbour.git

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)