Following errors during ccmake .
found the issue is with libqt4-opengl tried removing/installing libqt4-opengl-devCode:CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: QT_QTOPENGL_INCLUDE_DIR (ADVANCED)
iCode:xzavier@Dragon:~/projectm/projectM-Trunk/src$ sudo apt-get install libqt4-opengl-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libqt4-opengl-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/39.1kB of archives. After this operation, 233kB of additional disk space will be used. (Reading database ... 144249 files and directories currently installed.) Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4.4.0-1ubuntu4~hardy1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libqt4-opengl-dev_4.4.0-1ubuntu4~hardy1_i386.deb (--unpack): trying to overwrite `/usr/lib/pkgconfig/QtOpenGL.pc', which is also in package libqt4-dev Errors were encountered while processing: /var/cache/apt/archives/libqt4-opengl-dev_4.4.0-1ubuntu4~hardy1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) xzavier@Dragon:~/projectm/projectM-Trunk/src$
would love some help..
get:
[code]
@Xzavier:
as I posted earlier, this is a known bug. You can work around it by using "dpkg -i --force-overwrite package-name" to install the package. It will work then.
You can find the package in "/var/cache/apt/archives/" if apt-get/synaptic already downloaded it.
Last edited by bejurne; May 28th, 2008 at 10:56 AM.
my apologizes i must have over looked.. i did dig all the entries looking for a same situation.. i will attempt.. thank you
=-=
it appears my syntax is incorrect..
reading the man pages. i didnt find them very helpful on this issue..Code:xzavier@Dragon:~/projectm/projectM-Trunk/src$ sudo dpkg --force-overwrite /var/cache/apt/archives/libqt4-opengl_4.4.0-1ubuntu4~hardy1_i386.deb dpkg: need an action option
Last edited by Xzavier; May 19th, 2008 at 03:57 AM.
See the info below:
http://a2zhowto .blogspot.com/
http://learnphpwithme .blogspot.com/
Having the same issue when running 'ccmake .'
TriedCode:CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: QT_QTOPENGL_INCLUDE_DIR (ADVANCED)which turns up no errors. Synaptic says the libqt4-opengl is installed, however I get the following error when trying to install the -dev.Code:sudo dpkg -i --force-overwrite /var/cache/apt/archives/libqt4-opengl_4.4.0-1ubuntu4~hardy1_i386.deb
Have I missed something or is this not do-able till the bugs fixed?Code:E: /var/cache/apt/archives/libqt4-opengl-dev_4.4.0-1ubuntu4~hardy1_i386.deb: trying to overwrite `/usr/lib/pkgconfig/QtOpenGL.pc', which is also in package libqt4-dev
Not sure where I mucked up earlier but managed to get libqt4-opengl-dev installed with(--force-overwrite didn't work for me)Code:sudo dpkg --force-all -i /var/cache/apt/archives/libqt4-opengl-dev_4.4.0-1ubuntu4~hardy1_i386.deb
I redownloaded the projectM svn and ran 'cmake .' which didn't give me the blue interface while compiling like the first time which seemed odd but seemed to complete and make/install anyway. When invoking projectM-pulseaudio I getI realised I used 'cmake .' instead of 'ccmake .' oops... It installed into /usr/local instead.. Realised that when I was about to edit the makefile luckily... So compiled again with 'ccmake .' and all went well and is working great!Code:/usr/local/bin/projectM-pulseaudio: error while loading shared libraries: libprojectM-qt.so.1: cannot open shared object file: No such file or directory
Is there a way to 'uninstall' from the cmake since it installed into /usr/local the first time (instead of /usr like the guide says)?
Fantastic guide thanks for taking the time and sharing.
Custom Desktop / CPU: 4x2.40 GHz / Nvidia GeForce GTX 260 / RAM: 4Gb / Ubuntu Lucid (10.04 testing)
Dell XPS 1710 / CPU: 2x2.16 GHz / Nvidia GeForce Go 7950GTX / RAM: 4Gb / Ubuntu Karmic (9.10)
Hi Zularan:
I don't believe ccmake support uninstalls yet, so you'll have to go into /usr/local and manually remove the files if it bothers you I'm afraid.
Sam
Bookmarks