| Summary: | tde-style-qtcurve: library path to libr omitted resulting in build failure | ||
|---|---|---|---|
| Product: | TDE | Reporter: | aneejit1 |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | aneejit1, bugwatch |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | Patch for tde-style-qtcurve to include the libr library directory | ||
Created attachment 2970 [details] Patch for tde-style-qtcurve to include the libr library directory My build environment is as follows: - Trinity is installed to /opt/trinity - TQt3 is installed to /opt/trinity/i686-pc-linux-gnu and /opt/trinity/x86_64-unknown-linux-gnu The two copies of TQt3 are required to allow both 64-bit and 32-bit binaries to be generated as experience has shown me that this is the simplest and most reliable way to do this is rather than trying to overlay both versions. When tdelibs is built using libr a dependency is created in later projects for that library which those projects do pick up on. There are, however, many instances where the library path to libr has not been specified in the "link_directories" statement and therefore the build fails because the library file cannot be located. The path specified in "TQT_LIBRARY_DIRS" does not resolve libr's location in this instance and so the build fails. The patch attached is to rectify this problem. The ConfigureChecks.cmake file is amended to perform a non-mandatory check for the libr library on the system to allow LIBR_LIBRARY_DIRS to be set, if it is found. The CMakeLists.txt changes are to include the LIBR_LIBRARY_DIRS variable in the "link_directories" statement. This issue was found to occur in the 14.0.8 release. The patch has been applied to a cloned copy of the repository version and has built successfully.