Monday, 11 July 2011

building alkimia

puneet@puneet-Studio-1458:~$ sudo apt-get install kdelibs5-dev
[sudo] password for puneet:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  build-essential dpkg-dev libalgorithm-diff-perl libalgorithm-merge-perl
  libdpkg-perl libkimproxy4 libknewstuff2-4 libkunitconversion4 libphonon-dev
  libsoprano-dev pkg-kde-tools
Suggested packages:
  debian-keyring libsoprano-doc debhelper cdbs
The following NEW packages will be installed:
  build-essential dpkg-dev kdelibs5-dev libalgorithm-diff-perl
  libalgorithm-merge-perl libdpkg-perl libkimproxy4 libknewstuff2-4
  libkunitconversion4 libphonon-dev libsoprano-dev pkg-kde-tools
0 upgraded, 12 newly installed, 0 to remove and 48 not upgraded.
Need to get 3,276kB of archives.
After this operation, 21.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main libdpkg-perl all 1.15.8.4ubuntu3.1 [505kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main dpkg-dev all 1.15.8.4ubuntu3.1 [772kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ maverick/main build-essential i386 11.5 [7,244B]
Get:4 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main libknewstuff2-4 i386 4:4.5.5-0ubuntu2 [139kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main libkimproxy4 i386 4:4.5.5-0ubuntu2 [41.5kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main libkunitconversion4 i386 4:4.5.5-0ubuntu2 [118kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ maverick/main pkg-kde-tools all 0.9.2ubuntu15 [105kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ maverick/main libsoprano-dev i386 2.5.2+dfsg.1-0ubuntu1 [112kB]
Get:9 http://in.archive.ubuntu.com/ubuntu/ maverick/main libphonon-dev i386 4:4.7.0really4.4.2-0ubuntu1 [44.3kB]
Get:10 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main kdelibs5-dev i386 4:4.5.5-0ubuntu2 [1,367kB]
Get:11 http://in.archive.ubuntu.com/ubuntu/ maverick/main libalgorithm-diff-perl all 1.19.02-1 [51.3kB]
Get:12 http://in.archive.ubuntu.com/ubuntu/ maverick/main libalgorithm-merge-perl all 0.08-1 [13.0kB]
Fetched 3,276kB in 3min 31s (15.5kB/s)                                        
Selecting previously deselected package libdpkg-perl.
(Reading database ... 153839 files and directories currently installed.)
Unpacking libdpkg-perl (from .../libdpkg-perl_1.15.8.4ubuntu3.1_all.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.8.4ubuntu3.1_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_i386.deb) ...
Selecting previously deselected package libknewstuff2-4.
Unpacking libknewstuff2-4 (from .../libknewstuff2-4_4%3a4.5.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package libkimproxy4.
Unpacking libkimproxy4 (from .../libkimproxy4_4%3a4.5.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package libkunitconversion4.
Unpacking libkunitconversion4 (from .../libkunitconversion4_4%3a4.5.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package pkg-kde-tools.
Unpacking pkg-kde-tools (from .../pkg-kde-tools_0.9.2ubuntu15_all.deb) ...
Selecting previously deselected package libsoprano-dev.
Unpacking libsoprano-dev (from .../libsoprano-dev_2.5.2+dfsg.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package libphonon-dev.
Unpacking libphonon-dev (from .../libphonon-dev_4%3a4.7.0really4.4.2-0ubuntu1_i386.deb) ...
Selecting previously deselected package kdelibs5-dev.
Unpacking kdelibs5-dev (from .../kdelibs5-dev_4%3a4.5.5-0ubuntu2_i386.deb) ...
Selecting previously deselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-1_all.deb) ...
Selecting previously deselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-1_all.deb) ...
Processing triggers for man-db ...
Setting up libdpkg-perl (1.15.8.4ubuntu3.1) ...
Setting up dpkg-dev (1.15.8.4ubuntu3.1) ...
Setting up build-essential (11.5) ...
Setting up libknewstuff2-4 (4:4.5.5-0ubuntu2) ...
Setting up libkimproxy4 (4:4.5.5-0ubuntu2) ...
Setting up libkunitconversion4 (4:4.5.5-0ubuntu2) ...
Setting up pkg-kde-tools (0.9.2ubuntu15) ...
Setting up libsoprano-dev (2.5.2+dfsg.1-0ubuntu1) ...
Setting up libphonon-dev (4:4.7.0really4.4.2-0ubuntu1) ...
Setting up kdelibs5-dev (4:4.5.5-0ubuntu2) ...
Setting up libalgorithm-diff-perl (1.19.02-1) ...
Setting up libalgorithm-merge-perl (0.08-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
puneet@puneet-Studio-1458:~$ ls
abc.c    build_svn.txt  Documents         Pictures    reliance
abc.qif  codechef       Downloads         Public      require_kde_svn
alkimia  def.qif        examples.desktop  puneet      Templates
a.out    Desktop        Music             puneet.kmy  Videos
puneet@puneet-Studio-1458:~$ cd alkimia/
puneet@puneet-Studio-1458:~/alkimia$ cd libalkimia/
puneet@puneet-Studio-1458:~/alkimia/libalkimia$ cd build
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ cmake ..
-- 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.7.0 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.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
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_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
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - 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.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found GMP: /usr/include
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/puneet/alkimia/libalkimia/build
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ ls
alkcompanytest_automoc.cpp.files    CMakeFiles             lib
alkimia_automoc.cpp.files           cmake_install.cmake    libalkimia.pc
alkquoteitemtest_automoc.cpp.files  CMakeTmp               Makefile
alkvaluetest_automoc.cpp.files      cmake_uninstall.cmake
CMakeCache.txt                      CTestTestfile.cmake
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ make
Scanning dependencies of target alkimia_automoc
Generating moc_alkcompany.cpp
Generating moc_alkquoteitem.cpp
[  0%] Built target alkimia_automoc
Scanning dependencies of target alkimia
[ 25%] Building CXX object CMakeFiles/alkimia.dir/alkimia_automoc.cpp.o
[ 50%] Building CXX object CMakeFiles/alkimia.dir/alkvalue.cpp.o
/home/puneet/alkimia/libalkimia/alkvalue.cpp:63: warning: ‘QString mpzToString(const mpz_class&)’ defined but not used
[ 75%] Building CXX object CMakeFiles/alkimia.dir/alkquoteitem.cpp.o
[100%] Building CXX object CMakeFiles/alkimia.dir/alkcompany.cpp.o
Linking CXX shared library lib/libalkimia.so
[100%] Built target alkimia
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ ls
alkcompanytest_automoc.cpp.files    CMakeFiles             libalkimia.pc
alkimia_automoc.cpp                 cmake_install.cmake    Makefile
alkimia_automoc.cpp.files           CMakeTmp               moc_alkcompany.cpp
alkquoteitemtest_automoc.cpp.files  cmake_uninstall.cmake  moc_alkquoteitem.cpp
alkvaluetest_automoc.cpp.files      CTestTestfile.cmake
CMakeCache.txt                      lib
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ cd lib
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build/lib$ ls
libalkimia.so  libalkimia.so.4  libalkimia.so.4.3.0
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build/lib$ cd ..
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ make install
Generating moc_alkcompany.cpp
Generating moc_alkquoteitem.cpp
[  0%] Built target alkimia_automoc
Scanning dependencies of target alkimia
[ 25%] Building CXX object CMakeFiles/alkimia.dir/alkimia_automoc.cpp.o
Linking CXX shared library lib/libalkimia.so
[100%] Built target alkimia
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/libalkimia.so.4.3.0
CMake Error at cmake_install.cmake:48 (FILE):
  file INSTALL cannot copy file
  "/home/puneet/alkimia/libalkimia/build/lib/libalkimia.so.4.3.0" to
  "/usr/lib/libalkimia.so.4.3.0".


make: *** [install] Error 1
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ make install
[  0%] Built target alkimia_automoc
[100%] Built target alkimia
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/libalkimia.so.4.3.0
CMake Error at cmake_install.cmake:48 (FILE):
  file INSTALL cannot copy file
  "/home/puneet/alkimia/libalkimia/build/lib/libalkimia.so.4.3.0" to
  "/usr/lib/libalkimia.so.4.3.0".


make: *** [install] Error 1
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ ls
alkcompanytest_automoc.cpp.files  alkquoteitemtest_automoc.cpp.files  CMakeFiles           cmake_uninstall.cmake  libalkimia.pc       moc_alkquoteitem.cpp
alkimia_automoc.cpp               alkvaluetest_automoc.cpp.files      cmake_install.cmake  CTestTestfile.cmake    Makefile
alkimia_automoc.cpp.files         CMakeCache.txt                      CMakeTmp             lib                    moc_alkcompany.cpp
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ gedit cmake_install.cmake
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ make install
[  0%] Built target alkimia_automoc
[100%] Built target alkimia
Install the project...
-- Install configuration: "RelWithDebInfo"
CMake Error at cmake_install.cmake:48 (FILE):
  file called with unknown argument
  "/home/puneet/alkimia/libalkimia/build/lib/libalkimia.so.4.3.0".


make: *** [install] Error 1
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ make install
[  0%] Built target alkimia_automoc
[100%] Built target alkimia
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/libalkimia.so.4.3.0
CMake Error at cmake_install.cmake:48 (FILE):
  file INSTALL cannot copy file
  "/home/puneet/alkimia/libalkimia/build/lib/libalkimia.so.4.3.0" to
  "/usr/lib/libalkimia.so.4.3.0".


make: *** [install] Error 1
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ su
Password:
su: Authentication failure
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$ sudo sudo ^C
puneet@puneet-Studio-1458:~/alkimia/libalkimia/build$

No comments:

Post a Comment