ubuntu-users Digest, Vol 27, Issue 217
David S. Anderson
davidscottanderson at gmail.com
Mon Nov 20 05:36:09 UTC 2006
On Mon, 2006-11-20 at 02:03 +0100, Mario Vukelic wrote:
>
> There are instructions for downloading the source code and compiling
> the application here: http://cvs.codeyard.net/kpilot/develop.php
>
> You might want to read and try, then google and/or ask questions on
> the list as you go
In addition to the suggestions above, do this as a start:
sudo apt-get install build-essentials
(This will install a basic compilation environment in Ubuntu)
sudo apt-get build-dep kpilot
(This will install all that is needed to compile kpilot as far as apt
knows. At the least this will get you most of the way)
---
Followed directions, got all the necessary files,
These are the install instructions that came with the package:
KPilot uses the CMake build system which is the native build system
for KDE4; for KDE3 applications like KPilot, CMake is also useable.
You need CMake installed on your system to compile KPilot, but CMake
is becoming more widespread now. You can get it from www.cmake.org .
To compile KPilot, just run
make -f Makefile.cmake
in the KPilot source directory (that is the one containing this
INSTALL file). This will run CMake to generate the real Makefiles,
then run make again to build the project in a build-* subdirectory.
Once it is done, you can run
make -f Makefile.cmake install
to install KPilot in the KDE directory.
Unfortunattely, I still cant install it. This is the input after running the
first command.
make -f Makefile.cmake
test -d "build-Linux2_6_17_10_386" || mkdir -p "build-Linux2_6_17_10_386"
test -d "build-Linux2_6_17_10_386"
SRC_DIR=`pwd` ; cd "build-Linux2_6_17_10_386" && cmake $SRC_DIR
-DCMAKE_INSTALL_PREFIX=
-- Found KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found pi-dlp.h in /usr/include
-- Found libpisock in /usr/lib/libpisock.so
-- Found pilot-link: /usr/lib/libpisock.so
-- icon: /home/davidanderson/kpilot/kpilot/Icons/mini-kpilot.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/fastsync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/nosync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/busysync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/hotsync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/kpilot-splash.png doesn't
fit naming conventions. ignoring.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/davidanderson/kpilot/build-Linux2_6_17_10_386
cd "build-Linux2_6_17_10_386" && make
make[1]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[2]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[3]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
[ 0%] Building CXX object lib/CMakeFiles/kpilot.dir/pilotDateEntry.o
/home/davidanderson/kpilot/lib/pilotDateEntry.cc:42:27: error:
libkcal/event.h: No such file or directory
/home/davidanderson/kpilot/lib/pilotRecord.h: In constructor
'PilotRecordBase::PilotRecordBase(int, int, recordid_t)':
/home/davidanderson/kpilot/lib/pilotRecord.h:64: warning: comparison between
signed and unsigned integer expressions
/home/davidanderson/kpilot/lib/pilotRecord.h: In member function 'void
PilotRecordBase::setCategory(int)':
/home/davidanderson/kpilot/lib/pilotRecord.h:78: warning: comparison between
signed and unsigned integer expressions
make[3]: *** [lib/CMakeFiles/kpilot.dir/pilotDateEntry.o] Error 1
make[3]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[2]: *** [lib/CMakeFiles/kpilot.dir/all] Error 2
make[2]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make: *** [app] Error 2
Then when I run the second command, this:
make -f Makefile.cmake install
test -d "build-Linux2_6_17_10_386" || mkdir -p "build-Linux2_6_17_10_386"
test -d "build-Linux2_6_17_10_386"
SRC_DIR=`pwd` ; cd "build-Linux2_6_17_10_386" && cmake $SRC_DIR
-DCMAKE_INSTALL_PREFIX=
-- Found KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found pi-dlp.h in /usr/include
-- Found libpisock in /usr/lib/libpisock.so
-- Found pilot-link: /usr/lib/libpisock.so
-- icon: /home/davidanderson/kpilot/kpilot/Icons/mini-kpilot.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/fastsync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/nosync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/busysync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/hotsync.png doesn't fit
naming conventions. ignoring.
-- icon: /home/davidanderson/kpilot/kpilot/Icons/kpilot-splash.png doesn't
fit naming conventions. ignoring.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/davidanderson/kpilot/build-Linux2_6_17_10_386
cd "build-Linux2_6_17_10_386" && make
make[1]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[2]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[3]: Entering directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
[ 0%] Building CXX object lib/CMakeFiles/kpilot.dir/pilotDateEntry.o
/home/davidanderson/kpilot/lib/pilotDateEntry.cc:42:27: error:
libkcal/event.h: No such file or directory
/home/davidanderson/kpilot/lib/pilotRecord.h: In constructor
'PilotRecordBase::PilotRecordBase(int, int, recordid_t)':
/home/davidanderson/kpilot/lib/pilotRecord.h:64: warning: comparison between
signed and unsigned integer expressions
/home/davidanderson/kpilot/lib/pilotRecord.h: In member function 'void
PilotRecordBase::setCategory(int)':
/home/davidanderson/kpilot/lib/pilotRecord.h:78: warning: comparison between
signed and unsigned integer expressions
make[3]: *** [lib/CMakeFiles/kpilot.dir/pilotDateEntry.o] Error 1
make[3]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[2]: *** [lib/CMakeFiles/kpilot.dir/all] Error 2
make[2]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/davidanderson/kpilot/build-Linux2_6_17_10_386'
make: *** [app] Error 2
davidanderson at apollonia:~/kpilot$
I have no idea what those errors mean. But Kpilot does not appear in the
menu, (I uninstalled the old version), and does not run from terminal so I
assume it did not install.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061119/655f4e6c/attachment.html>
More information about the ubuntu-users
mailing list