Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2552

Building Greenplum on Ubuntu fails due to the lack of dependent libraries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • build
    • None

    Description

      I tried ./gradlew gpdb-deb on Ubuntu 16.04, but it fails with the following error:

      sekikn@ubuntu:~/bigtop$ ./gradlew gpdb-deb
      
      (snip)
      
      make[1]: Entering directory '/home/sekikn/bigtop/output/gpdb/gpdb-4.3.99.0'
      bash debian/do-component-configure /usr/lib/gpdb
      + ./configure --prefix=/usr/lib/gpdb
      
      (snip)
      
      checking for apr-1-config... no
      configure: error: apr-1-config is required for gpfdist, unable to find binary
      debian/rules:32: recipe for target 'override_dh_auto_configure' failed
      make[1]: *** [override_dh_auto_configure] Error 1
      make[1]: Leaving directory '/home/sekikn/bigtop/output/gpdb/gpdb-4.3.99.0'
      debian/rules:27: recipe for target 'build' failed
      make: *** [build] Error 2
      dpkg-buildpackage: error: debian/rules build gave error exit status 2
      debuild: fatal error at line 1376:
      dpkg-buildpackage -rfakeroot -D -us -uc -b
       failed
      :gpdb-deb FAILED
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Script '/home/sekikn/bigtop/packages.gradle' line: 310
      
      * What went wrong:
      Execution failed for task ':gpdb-deb'.
      > Process 'command 'debuild'' finished with non-zero exit value 29
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 13.709 secs
      

      Eventually it required the following packages installed: libapr1-dev, libevent-dev, libcurl4-openssl-dev, bison, flex.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: