Summary: | kdebindings on solaris configure problem | ||
---|---|---|---|
Product: | [Developer tools] bindings | Reporter: | rcbapb |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | grundleborg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: |
Description
Bugzilla Maintainers
2001-03-01 12:23:22 UTC
Version: KDE 2.2.2 Installed from: Compiled From Sources Compiler: gcc 2.95/3 OS: Solaris OS/Compiler notes: Not Specified KDEbindings configure script does not work under solaris because the JAVA SDK/JRE is not laid out in the same directory structure as in LINUX since SPARC/SOLARIS is another machine type. When configure tries to find the various components in the java SDK/JRE the following should be noted. libhpi.so exists in /usr/j2se/jre/lib/sparc/native_threads The working javac javah jar binaries together with the jni.h jni_md.h exists below the path /usr/java1.2 AND As stated in bug 21144 "Solaris jmi_md.h resides under "solaris" rather than "genunix" which results in an error while building." To fix this up a bit I introduced a new line number 9784 in the KDEbindings configure script test -d "$kde_cv_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_cv_java_includedir/solaris" This allows configure to find the jni_md.h file. So far I cheated with the libhpi.so an simply copied it over from the /usr/j2se tree to the /usr/java1.2 tree. which allowed configure to run through to its end without errors. The next problem in building kdebindings on solaris is that KDEbindings requiers GNU-SED to do the parsing down in the Makefiles of qtjava/javalib/qtjava. The unix/solaris SED suffers from the same problem as vi(1) does when a line in a text file gets to long it gives up with "line too long" error. When all the hundreds of objects down in qtjava/javalib/qtjava gets listed on one line in the Makefile UNIX-SED simply fails. Therefore I recommend that KDEbindings configure should try to locate GNU-SED. On solaris 8 this would normally exist in /opt/gnu/bin/sed (Submitted via bugs.kde.org) *** Bug 21248 has been marked as a duplicate of this bug. *** This shouldn't effect KDE 4, since it uses cmake as the build system. However, please confirm if it still effects a recent version of KDE 3, such as 3.5.8. Closing due to no response by reporters. Please reopen if this bug still exists in a recent version of KDE, 3.5.8. |