Hi, I failed to install style Skulpture, anyone knows what packages are needed to get it to work?
Announcement
Collapse
No announcement yet.
trying to install style
Collapse
This topic is closed.
X
X
-
Re: trying to install style
I downloaded the package. Normally the INSTALL file with the code will address additional information. In this case it really does not address much. I think this style package was written for OpenSUSE and as such might not work with kubuntu. I am certain there are some library differences preventing it from installing.
What have you attempted so far?
Mike
- Top
- Bottom
Comment
-
Re: trying to install style
Originally posted by monte48lowesI downloaded the package. Normally the INSTALL file with the code will address additional information. In this case it really does not address much. I think this style package was written for OpenSUSE and as such might not work with kubuntu. I am certain there are some library differences preventing it from installing.
What have you attempted so far?
MikeCode:~/skulpture$ sudo sh install.sh [sudo] password for klerfayt4: install.sh: 3: kde4-config: not found -- WARNING: *** KDE4 not found, building a Qt-only version of Skulpture *** -- Found Qt-Version 4.3.4 -- Configuring done -- Generating done -- Build files have been written to: /home/klerfayt4/skulpture [ 33%] Building CXX object src/CMakeFiles/skulpture.dir/skulpture.o /home/klerfayt4/skulpture/src/skulpture.cpp:4244:26: error: q3scrollview.h: No such file or directory make[2]: *** [src/CMakeFiles/skulpture.dir/skulpture.o] Error 1 make[1]: *** [src/CMakeFiles/skulpture.dir/all] Error 2 make: *** [all] Error 2
- Top
- Bottom
Comment
-
Re: trying to install style
or how about this style - qtcurve (problem compiling the window decoration):
Code:~/qtcurve$ mkdir build ~/qtcurve$ cd build ~/qtcurve/build$ cmake .. -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.3.4 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE 4.0 include dir: /usr/lib/kde4/include -- Found KDE 4 library dir: /usr/lib/kde4/lib -- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler -- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc ** PREFIX=/usr/lib/kde4 ** KWin headers not found - KWin decoration will not be built -- Configuring done -- Generating done -- Build files have been written to: /home/klerfayt4/qtcurve/build
Code:~/float$ qmake ~/float$ make g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o floatstyle.o floatstyle.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o drawcontrol.o drawcontrol.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o helpers.o helpers.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o sizes.o sizes.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o drawcomplexcontrol.o drawcomplexcontrol.cpp /usr/bin/moc-qt4 -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. floatstyle.h -o moc_floatstyle.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_floatstyle.o moc_floatstyle.cpp /usr/bin/rcc -name images images.qrc -o qrc_images.cpp g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qrc_images.o qrc_images.cpp rm -f libfloatstyle.so g++ -Wl,--no-undefined -shared -o libfloatstyle.so floatstyle.o drawcontrol.o helpers.o sizes.o drawcomplexcontrol.o moc_floatstyle.o qrc_images.o -L/usr/lib -lQtGui -lQtCore -lpthread ~/float$ sudo ./install.sh Qt4 library path could not be determined from the pkg-config output Aborting
- Top
- Bottom
Comment
-
Re: trying to install style
Code:install.sh: 3: kde4-config: not found
What is the output of:
kde4-config --prefix
and
locate kdecoration
- Top
- Bottom
Comment
-
Re: trying to install style
Originally posted by dax918Code:install.sh: 3: kde4-config: not found
What is the output of:
kde4-config --prefix
and
locate kdecorationCode:~$ kde4-config --prefix /usr/lib/kde4 ~$ locate kdecoration /usr/lib/kde4/lib/libkdecorations.so.4 /usr/lib/kde4/lib/libkdecorations.so.4.0.0
- Top
- Bottom
Comment
-
Re: trying to install style
Originally posted by dax918Could be a couple of things, First of all you need kdecoration.h, check if you can find it here:
/usr/lib/kde4/include/kdecoration.h
If is there, then is matter of fixing the paths
- Top
- Bottom
Comment
-
Re: trying to install style
Right now I'm locked out of KDE4 still waiting of someone to answer my post, so I cannot give you the exact name of the libraries you need, but you're definitely missing them, on KDE3 that file is included either on kdebase-dev or kdelibs4-dev, the kde-devel package should install them both. On KDE4 they should be their equivalents with kde4 instead of kde, but IIRC the latter is named kdelibs5-dev.
I suscribed to this thread, once I am able to login on KDE4 again I can give you better assistance.
Edited: I reviewed your code, q3scrollview.h was not found either, you need the QT headers as well.
- Top
- Bottom
Comment
-
Re: trying to install style
Originally posted by dax918Right now I'm locked out of KDE4 still waiting of someone to answer my post, so I cannot give you the exact name of the libraries you need, but you're definitely missing them, on KDE3 that file is included either on kdebase-dev or kdelibs4-dev, the kde-devel package should install them both. On KDE4 they should be their equivalents with kde4 instead of kde, but IIRC the latter is named kdelibs5-dev.
I suscribed to this thread, once I am able to login on KDE4 again I can give you better assistance.
Edited: I reviewed your code, q3scrollview.h was not found either, you need the QT headers as well.
- Top
- Bottom
Comment
-
Re: trying to install style
Hi again, I was able to login to KDE4 again.
Originally posted by klerfaytinstalled kdelibs4-dev, nothing changed regards to compiling qtcurve with kwin decoration. kde4-devel, libqt4-dev, kdelibs5-dev, kdebase-dev-kde4 were already installed.
Code:$ locate kdecoration /usr/include/kde/kdecoration.h /usr/include/kde/kdecoration_p.h /usr/include/kde/kdecoration_plugins_p.h /usr/include/kde/kdecorationfactory.h /usr/lib/libkdecorations.la /usr/lib/libkdecorations.so /usr/lib/libkdecorations.so.1 /usr/lib/libkdecorations.so.1.0.0 /usr/lib/kde4/include/kdecoration.h /usr/lib/kde4/include/kdecorationbridge.h /usr/lib/kde4/include/kdecorationfactory.h /usr/lib/kde4/lib/libkdecorations.so /usr/lib/kde4/lib/libkdecorations.so.4 /usr/lib/kde4/lib/libkdecorations.so.4.0.0
Code:$ locate qcolor.h /usr/include/qt3/qcolor.h /usr/include/qt4/Qt/qcolor.h /usr/include/qt4/QtGui/qcolor.h /usr/share/qt4/doc/html/qcolor.html
Code:$ kde-config --prefix /usr $ kde4-config --prefix /usr/lib/kde4
- Top
- Bottom
Comment
-
Re: trying to install style
I found a way to fix the paths:
http://linux.derkeiler.com/Mailing-L.../msg00056.html
I'll try it in a couple of minutes, I'll log in back to this thread later today to see if it worked for you.
- Top
- Bottom
Comment
-
Re: trying to install style
Originally posted by dax918Could you also post sculpture output (if it differs from the original).
Code:[100%] Building CXX object src/CMakeFiles/skulpture.dir/skulpture.o /home/klerfayt4/skulpture/src/skulpture.cpp:4244:26: error: q3scrollview.h: No such file or directory make[2]: *** [src/CMakeFiles/skulpture.dir/skulpture.o] Error 1 make[1]: *** [src/CMakeFiles/skulpture.dir/all] Error 2 make: *** [all] Error 2
Code:~$ locate kdecoration /usr/lib/kde4/lib/libkdecorations.so.4 /usr/lib/kde4/lib/libkdecorations.so.4.0.0
Code:~$ locate qcolor.h /usr/include/qt4/Qt/qcolor.h /usr/include/qt4/QtGui/qcolor.h
Code:~$ kde-config --prefix /usr
Code:kde4-config --prefix /usr/lib/kde4
#edit:
this is hardy heron kde4 up-to-date alpha6
- Top
- Bottom
Comment
Comment