| Summary: | Build issue: tdebase FTBFS without HAL | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | bugwatch, darrella |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
Build log and CMakeCache.txt
Possible patch to build without HAL |
||
|
Description
Darrell
2012-07-29 14:22:54 CDT
Created attachment 717 [details]
Build log and CMakeCache.txt
The build log includes a copy of CMakeCache.txt.
This failure occurs in 64-bit. I have not yet tried 32-bit.
Same failure with 32-bit. This is not a Slackware 14 problem as the error occurs with 13.1 as well. Created attachment 784 [details]
Possible patch to build without HAL
Turns out this failure is more fundamental. After comparing builds with WITH_HAL=ON and WITH_HAL=OFF, I noticed the latter build never looked for dbus-tqt and always failed.
I found success with the following temporary patch (also attached):
=================================================
diff -urN tdebase/ConfigureChecks.cmake tdebase.new/ConfigureChecks.cmake
--- tdebase/ConfigureChecks.cmake 2012-06-10 11:52:38.000000000 -0500
+++ tdebase.new/ConfigureChecks.cmake 2012-08-11 21:59:00.000000000 -0500
@@ -268,7 +268,7 @@
tde_message_fatal( "dbus-tqt-1 is required, but was not found on your system" )
endif( )
endif( )
- if( WITH_HAL )
+# if( WITH_HAL )
# check for dbus-tqt
# dbus-tqt need Qt flags
pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
@@ -284,6 +284,6 @@
if( NOT HAVE_DBUS_QT3_07 )
tde_message_fatal( "dbus-tqt is required, but was not found on your system" )
endif( )
- endif( )
+# endif( )
endif( )
=================================================
I considered changing if( WITH_HAL ) to if( WITH_HAL OR WITH_TDEHWLIB ), but I don't know whether WITH_TDEHWLIB is dependent upon dbus-tqt. I don't know whether dbus-tqt is required for all builds, regardless of HAL.
I really don't know what is the best all-around long-term solution for all distros.
Patch pushed to GIT in commit f34a07c4. Resolved. |