-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Major
-
None
-
Affects Version/s: 7.0.20, 7.2.14, 7.4.4, 8.0.0alpha1
-
Component/s: None
-
None
-
Environment:Linux
-
S25-W50/51
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
- is duplicated by
-
ZBXNEXT-6077 Enable out of tree builds
-
- Open
-