Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84268 - skim-1.2.0 fails to build
Summary: skim-1.2.0 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 23:28 UTC by Jason Stubbs (RETIRED)
Modified: 2005-03-06 00:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patches configure to work (configure.patch,485 bytes, patch)
2005-03-05 23:29 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Stubbs (RETIRED) gentoo-dev 2005-03-05 23:28:12 UTC
checking for KDE... libraries /usr/kde/3.4/lib, headers /usr/kde/3.4/include
checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.

The relevant test is:

cat > actest.ui << EOF
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>NewConnectionDialog</class>
<widget class="QDialog">
   <widget class="KLineEdit">
        <property name="name">
           <cstring>testInput</cstring>
        </property>
   </widget>
</widget>
</UI>
EOF

kde_cv_uic_plugins=no
kde_line="$UIC_PATH -L $kde_widgetdir"
if test x$ac_uic_supports_nounload = xyes; then
   kde_line="$kde_line -nounload"
fi
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
  (eval $kde_line) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
        # if you're trying to debug this check and think it's incorrect,
        # better check your installation. The check _is_ correct - your
        # installation is not.
        if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
                kde_cv_uic_plugins=yes
        fi
fi
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-03-05 23:29:53 UTC
Created attachment 52763 [details, diff]
Patches configure to work

s/klineedit/KLineEdit/ for the grep check on the resulting cpp file
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-03-05 23:31:25 UTC
More problems:

inputwindow_settings.cpp: In constructor `ConfigInputWindowBase::ConfigInputWindowBase(QWidget*, const char*, uint)':
inputwindow_settings.cpp:57: error: invalid use of undefined type `struct KFontRequester'
inputwindow_settings.h:22: error: forward declaration of `struct KFontRequester'
inputwindow_settings.cpp:58: error: no matching function for call to `QVBoxLayout::addWidget(KFontRequester*&)'
/usr/qt/3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int)
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-03-05 23:52:17 UTC
Hmm.. the configure patch is wrong, I'd say. The problem with inputwindow_settings is that the appropriate #include was not added by uic. The grep in the configure script would have been checking for exactly that - hence, being lowercase is correct.

kde-3.4_rc1 here.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-03-06 00:40:36 UTC
Conflict in /usr/kde/3.4/lib/kde3/plugins/styles/phasestyle.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config", got "i686 Linux g++-3.* full-config no-opengl".

^^^ found this
Recompiling kdelibs now - although qt is built with USE="opengl". If that becomes a problem, I'll open a new bug for it.