-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.20
-
None
-
None
-
Linux
Steps to reproduce:
- Create build directory mkdir builddir
- Enter build directory cd builddir
- Run ../configure with selected options
- Try to build and install with make and make install
Result:
Build and install both fail due to number of issues with paths.
Expected:
Build and install both complete successfully.
Attaching patch (builddir.patch
) which fixes all issues I've encountered:
- config.h is generated in $(top_builddir)/include/common instead of {{$(top_srcdir)
}} - similarly all libraries are found in $(top_builddir) too
- number of fixes to relative paths in $(srcdir) without $(srcdir) prefix
- dropped all #cgo LDFLAGS directives from globals_linux.go in favor of CGO_LDFLAGS populated by configure.ac which handles all of this already properly