Skip to content

fboss build fails with "folly/folly-config.h" no such file or directory.. #45

Closed

Description

@nbellari

Hi,

I am trying build fboss on my box, installed all the necessary dependencies with "getdeps.sh", but the build fails with the above error - I could see that in the repository pulled by the script, such a file does not exist.

Can somebody tell me how to get past this issue?

Thanks,
-nagp

Activity

  1. oridb commented on Oct 4, 2016

    @oridb
    Contributor

    To be clear, it's folly that's failing to build when you run getdeps.sh?

    Can you give me:

    1. The os version that you are trying to build on
    2. The command that you ran
    3. The full output of the build including the error

    Thanks.

  2. nbellari commented on Oct 5, 2016

    @nbellari
    Author

    Hi,
    Sorry for a late reply.
    Here is the full output of "getdeps.sh": http://pastebin.com/SvKifqJa

    I am compiling fboss on a ONL platform which is like this:

    root@localhost:~/fboss# uname -a
    Linux localhost 3.18.25-OpenNetworkLinux #1 SMP Thu Sep 1 18:34:44 UTC 2016 x86_64 GNU/Linux

    root@localhost:~/fboss#

    Please let me know if I can give any other information.

  3. oridb commented on Oct 5, 2016

    @oridb
    Contributor
    building folly/folly...
    configure: error: cannot find install-sh, install.sh, or shtool in build-aux "."/build-aux
    

    These come from automake/autoconf's setup scripts. Have you got them installed correctly? Can you manually try running the commands in getdeps.sh to build folly?

    Also, your clock seems to be extremely skewed -- this will probably impact the correctness of your builds.

  4. oridb commented on Oct 6, 2016

    @oridb
    Contributor

    Any luck?

    By the way, if you keep track of the packages that the package install command (./getdeps.sh pkg) is missing, can you either give me a pull request, or list them here so that I can add them?

  5. nbellari commented on Oct 7, 2016

    @nbellari
    Author

    I have installed the fboss packages from the ONL repository as mentioned in this link (https://goo.gl/pM1cLH).

    Thanks for your kind help!!

  6. nbellari commented on Oct 8, 2016

    @nbellari
    Author

    Hi Ori,

    The fboss package installation went successfully, but starting it is giving an error message as below. Can you please tell me if I am missing something?:

    fboss error

  7. oridb commented on Oct 9, 2016

    @oridb
    Contributor

    I don't believe that's a message printed by fboss. Try running the agent manually.

    I suspect that's going to be an issue with the init scripts.

  8. sonoble commented on Oct 14, 2016

    @sonoble
    Contributor

    You can edit the fboss_wedge_agent script in /etc/init.d and change it so that it checks for the wedge100.

    elif [ $PLATFORM != x86-64-facebook-wedge100-r0 ] ; then
    log_failure_msg "Failed: FBOSS not supported for platform $PLATFORM"
    exit 0

    This will still probably fail due to the fact that OpenNSL we download is for the Wedge40 and there is no public release of OpenNSL 6.4.6.6 for the Wedge100.

    We are currently working on FBOSS for the Wedge100 on ONL, but I don't have an ETA yet.

  9. sonoble commented on Oct 15, 2016

    @sonoble
    Contributor

    FBOSS for Wedge 100 on ONL is now in beta 👍

    From a clean install of the latest debian 8 version of ONL : http://opennetlinux.org/binaries/latest-DEB8-AMD64-installed.installer

    Run: dhclient ma1; apt-get update; apt-get install fboss-w100
    answer yes to the unsigned packages
    then you can run /etc/init.d/fboss_wedge_agent start

    most of the fboss_route.py options work, except for list_ports and list_optics (I need time to debug this).

    The sample config has all of the ports broken into 4x25G, so you will need to do some work there depending on your setup.

  10. capveg commented on May 15, 2017

    @capveg

    Just added Travis support so we get better alerts when the build breaks. I believe this has been fixed. Can you please confirm? Also, fyi: https://travis-ci.org/facebook/fboss

  11. capveg commented on May 23, 2017

    @capveg

    Closing this out - seems fixed.

  12. added a commit that references this issue on Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions